nRF5 SDK v17.1.0
Macros
USB HID keyboard descriptors

nRF52840 only: Module with types, definitions, and API used by the HID keyboard class. More...

Macros

#define APP_USBD_HID_KBD_INTERFACE_DSC(interface_number)
 Initializer of interface descriptor for HID keyboard class. More...
 
#define APP_USBD_HID_KBD_HID_DSC(...)   APP_USBD_HID_HID_DSC(__VA_ARGS__)
 Initializer of HID descriptor for HID keyboard class. More...
 
#define APP_USBD_HID_KBD_EP_DSC(endpoint)   APP_USBD_HID_EP_DSC(endpoint, 8, 1)
 Initializer of endpoint descriptor for HID keyboard class. More...
 
#define APP_USBD_HID_KBD_REPORT_DSC()
 Example of USB HID keyboard report descriptor.
 

Detailed Description

nRF52840 only: Module with types, definitions, and API used by the HID keyboard class.

Macro Definition Documentation

#define APP_USBD_HID_KBD_EP_DSC (   endpoint)    APP_USBD_HID_EP_DSC(endpoint, 8, 1)

Initializer of endpoint descriptor for HID keyboard class.

Parameters
endpointEndpoint number.
#define APP_USBD_HID_KBD_HID_DSC (   ...)    APP_USBD_HID_HID_DSC(__VA_ARGS__)

Initializer of HID descriptor for HID keyboard class.

Parameters
...Report descriptor item.
#define APP_USBD_HID_KBD_INTERFACE_DSC (   interface_number)
Value:

Initializer of interface descriptor for HID keyboard class.

Parameters
interface_numberInterface number.

Documentation feedback | Developer Zone | Subscribe | Updated