Description
Wait for Output report data read completion.
Files
usbd_hid_os.h
/usbd_hid_os.c
Prototype
Arguments
class_nbr
Class instance number.
timeout_ms
Signal wait timeout in milliseconds
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
OS error code(s) relevant to failure(s)
Callers
HID Class.
Implementation Guidelines
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