Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

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:

  1. Delay for 4 ms. This delay corresponds to the 4 ms unit used to express the idle duration transported by the SET_IDLE request.
  2. Call USBD_HID_Report_TmrTaskHandler() function defined in the HID parser module. This function implements the periodic input reports processing.
  • No labels