USBD_HID_OS_TmrTask
USBD_HID_OS_TmrTask
Description
Process periodic input reports according to idle duration set by the host with the SET_IDLE request.
Files
usbd_hid_os.h
/usbd_hid_os.c
Prototype
static void USBD_HID_OS_TmrTask (void *p_arg);
Arguments
p_arg
Pointer to task initialization argument.
Callers
This is a task.
Implementation Guidelines
The task body is usually implemented as an infinite loop. The task should perform the following steps:
- Delay for 4 ms. This delay corresponds to the 4 ms unit used to express the idle duration transported by the
SET_IDLE
request. - Call
USBD_HID_Report_TmrTaskHandler()
function defined in the HID parser module. This function implements the periodic input reports processing.
, multiple selections available,
Related content
USBD_HID_OS_InputDataPend
USBD_HID_OS_InputDataPend
More like this
USBD_HID_Add
USBD_HID_Add
More like this
USBD_HID_Rd
USBD_HID_Rd
More like this
USBD_HID_OS_OutputDataPend
USBD_HID_OS_OutputDataPend
More like this
USBD_HID_OS_InputDataPendAbort
USBD_HID_OS_InputDataPendAbort
More like this
USBD_HID_OS_OutputDataPendAbort
USBD_HID_OS_OutputDataPendAbort
More like this