nRF52840 only: Module with descriptors used by the HID generic class. More...
Macros | |
#define | APP_USBD_HID_GENERIC_INTERFACE_DSC(interface_number,endpoints_num,subclass,protocol) |
Initializer of interface descriptor for HID generic class. More... | |
#define | APP_USBD_HID_GENERIC_HID_DSC(...) APP_USBD_HID_HID_DSC(__VA_ARGS__) |
Initializer of HID descriptor for HID generic class. More... | |
#define | APP_USBD_HID_GENERIC_EP_DSC(endpoint) APP_USBD_HID_EP_DSC(endpoint, NRF_DRV_USBD_EPSIZE, 1) |
Initializer of endpoint descriptor for HID generic class. More... | |
nRF52840 only: Module with descriptors used by the HID generic class.
#define APP_USBD_HID_GENERIC_EP_DSC | ( | endpoint | ) | APP_USBD_HID_EP_DSC(endpoint, NRF_DRV_USBD_EPSIZE, 1) |
Initializer of endpoint descriptor for HID generic class.
endpoint | Endpoint number. |
#define APP_USBD_HID_GENERIC_HID_DSC | ( | ... | ) | APP_USBD_HID_HID_DSC(__VA_ARGS__) |
Initializer of HID descriptor for HID generic class.
... | Report descriptor item. |
#define APP_USBD_HID_GENERIC_INTERFACE_DSC | ( | interface_number, | |
endpoints_num, | |||
subclass, | |||
protocol | |||
) |
Initializer of interface descriptor for HID generic class.
interface_number | Interface number. |
endpoints_num | Number of endpoints. |
subclass | Subclass type app_usbd_hid_subclass_t. |
protocol | Protocol type app_usbd_hid_protocol_t. |