app_usbd_hid_ctx_t

nRF5 SDK v15.2.0

HID internal context. More...

#include <app_usbd_hid.h>

Data Fields

nrf_atomic_u32_t state_flags
HID state flags app_usbd_hid_state_flag_t .
nrf_atomic_flag_t access_lock
Lock flag to internal data.
uint8_t idle_rate [ APP_USBD_HID_REPORT_IDLE_TABLE_SIZE ]
HID idle rate (4ms units).
app_usbd_hid_protocol_select_t selected_protocol
Currently selected HID protocol.
app_usbd_hid_idle_handler_t idle_handler
Idle report handler.
uint32_t first_idle [ APP_USBD_HID_REPORT_IDLE_TABLE_SIZE ]
Number of frame at first idle transaction.
bool lock_idle [ APP_USBD_HID_REPORT_IDLE_TABLE_SIZE ]
Lock flag to idle transactions.
bool idle_on
Idle transactions flag.
bool idle_id_report
Idle transactions with nonzero report id flag.

Detailed Description

HID internal context.

  • components/libraries/usbd/class/hid/app_usbd_hid.h