USB HID class configuration

nRF5 SDK v15.2.0

Macros

#define APP_USBD_HID_ENABLED
Enabling USBD HID Class library. More...
#define APP_USBD_HID_DEFAULT_IDLE_RATE
Default idle rate for HID class. More...
#define APP_USBD_HID_REPORT_IDLE_TABLE_SIZE
Size of idle rate table. More...

Detailed Description

Macro Definition Documentation

#define APP_USBD_HID_DEFAULT_IDLE_RATE

Default idle rate for HID class.

0 means indefinite duration, any other value is multiplied by 4 milliseconds. Refer to Chapter 7.2.4 of HID 1.11 Specification.

Minimum value: 0 Maximum value: 255

Note
This is an NRF_CONFIG macro.
#define APP_USBD_HID_ENABLED

Enabling USBD HID Class library.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define APP_USBD_HID_REPORT_IDLE_TABLE_SIZE

Size of idle rate table.

Must be higher than the highest report ID used.

Minimum value: 1 Maximum value: 255

Note
This is an NRF_CONFIG macro.