Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

usbd_phdc_os.h / usbd_phdc_os.c

Prototype

Code Block
languagecpp
void  USBD_PHDC_OS_WrIntrLock (CPU_INT08U   class_nbr,
                               CPU_INT16U   timeout,
                               USBD_ERR    *p_err);


Arguments

class_nbr

PHDC instance number.

...

  1. Typical implementation will consist in pending on a semaphore that locks the write interrupt pipe.
  2. p_err argument should be assigned as described in Table - Error Code Assignment in Function of Lock Operation Result.