nRF52840 only: Module with types, definitions, and API used by the HID keyboard class.
More...
nRF52840 only: Module with types, definitions, and API used by the HID keyboard class.
#define APP_USBD_HID_KBD_CONFIG |
( |
|
iface, |
|
|
|
ep |
|
) |
| ((iface, ep)) |
#define APP_USBD_HID_KBD_GLOBAL_DEF_INTERNAL |
( |
|
instance_name, |
|
|
|
interface_number, |
|
|
|
endpoint, |
|
|
|
user_ev_handler, |
|
|
|
subclass_boot |
|
) |
| |
Value:
APP_USBD_HID_GENERIC_GLOBAL_OUT_REP_DEF(
CONCAT_2(instance_name, _out), 1 + 1); \
APP_USBD_CLASS_INST_GLOBAL_DEF( \
instance_name, \
app_usbd_hid_kbd, \
user_ev_handler, \
subclass_boot)) \
)
Global definition of app_usbd_hid_kbd_t class.
APP_USBD_HID_KBD_GLOBAL_DEF
#define APP_USBD_HID_KBD_INST_CONFIG |
( |
|
report_buff_in, |
|
|
|
report_buff_out, |
|
|
|
user_ev_handler, |
|
|
|
subclass_boot |
|
) |
| |
Value:.inst = { \
subclass_boot, \
report_buff_in, \
report_buff_out, \
user_ev_handler, \
}
Configure internal part of HID keyboard instance.
- Parameters
-
report_buff_in | Input report buffers array. |
report_buff_out | Output report buffer. |
user_ev_handler | User event handler. |
subclass_boot | Subclass boot. (app_usbd_hid_subclass_t) |