CONFIG_USB_HID_REPORTS

Number of HID idle reports in the instance

Type: int

Help

This configuration is only necessary if the application must
support USB HID idle rate and Set/Get Idle Requests.
The application can use Report ID to identify data fields
in the report descriptor and report itself.
This configuration value should correspond to the number of Input
Report IDs, the gaps and offset in Report IDs can not be supported.
Set this configuration value to 1 if Report IDs are not used but
idle rate must be supported.

Direct dependencies

USB_DEVICE_HID && USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At <Zephyr>/subsys/usb/class/hid/Kconfig:46

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:49<Zephyr>/subsys/usb/Kconfig:155<Zephyr>/subsys/usb/class/Kconfig:16

Menu path: (Top) → Sub Systems and OS Services → USB Device Support → USB Human Interface Device support

config USB_HID_REPORTS
    int "Number of HID idle reports in the instance"
    range 1 256
    default 1
    depends on USB_DEVICE_HID && USB_DEVICE_STACK
    help
      This configuration is only necessary if the application must
      support USB HID idle rate and Set/Get Idle Requests.
      The application can use Report ID to identify data fields
      in the report descriptor and report itself.
      This configuration value should correspond to the number of Input
      Report IDs, the gaps and offset in Report IDs can not be supported.
      Set this configuration value to 1 if Report IDs are not used but
      idle rate must be supported.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)