Versions Compared

Key

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

...

usbd_hid_os.h/usbd_hid_os.c

Prototype

Code Block
languagecpp
void  USBD_HID_OS_OutputDataPend (CPU_INT08U   class_nbr
                                  CPU_INT16U   timeout_ms,
                                  USBD_ERR    *p_err);


Arguments

class_nbr

Class instance number.

...

The wait operation typically consists of pending on a semaphore. When the output report transfer is complete, the task is woken up by the Core layer internal task responsible for asynchronous communication. The p_err argument should be assigned as described in Table - Error code assignment according to pend operation result.