![]() |
nRF5 SDK
v12.3.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
nRF52840 only: Module with descriptors used by the HID generic class. More...
Macros | |
| #define | APP_USBD_HID_GENERIC_INTERFACE_DSC(interface_number, endpoints_num) |
| 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 | |||
| ) |
Initializer of interface descriptor for HID generic class.
| interface_number | Interface number |
| endpoints_num | Endpoint number |