HID callbacks.

Public Attributes#

void(*

Callback for enable event.

void(*

Callback for disable event.

void(*

Callback for get report descriptor event.

void(*

Callback for get physical descriptor event.

void(*

Callback for set output report event.

void(*

Callback for get feature report event.

void(*

Callback for set feature report event.

void(*

Callback for get protocol event.

void(*

Callback for set protocol event.

Public Attribute Documentation#

enable#

void(* sl_usbd_hid_callbacks_t::enable) (uint8_t class_nbr)

Callback for enable event.


Definition at line 349 of file protocol/usb/inc/sl_usbd_class_hid.h

disable#

void(* sl_usbd_hid_callbacks_t::disable) (uint8_t class_nbr)

Callback for disable event.


Definition at line 351 of file protocol/usb/inc/sl_usbd_class_hid.h

get_report_desc#

void(* sl_usbd_hid_callbacks_t::get_report_desc) (uint8_t class_nbr, const uint8_t **p_report_ptr, uint16_t *p_report_len)

Callback for get report descriptor event.


Definition at line 353 of file protocol/usb/inc/sl_usbd_class_hid.h

get_phy_desc#

void(* sl_usbd_hid_callbacks_t::get_phy_desc) (uint8_t class_nbr, const uint8_t **p_report_ptr, uint16_t *p_report_len)

Callback for get physical descriptor event.


Definition at line 357 of file protocol/usb/inc/sl_usbd_class_hid.h

set_output_report#

void(* sl_usbd_hid_callbacks_t::set_output_report) (uint8_t class_nbr, uint8_t report_id, uint8_t *p_report_buf, uint16_t report_len)

Callback for set output report event.


Definition at line 361 of file protocol/usb/inc/sl_usbd_class_hid.h

get_feature_report#

void(* sl_usbd_hid_callbacks_t::get_feature_report) (uint8_t class_nbr, uint8_t report_id, uint8_t *p_report_buf, uint16_t report_len)

Callback for get feature report event.


Definition at line 366 of file protocol/usb/inc/sl_usbd_class_hid.h

set_feature_report#

void(* sl_usbd_hid_callbacks_t::set_feature_report) (uint8_t class_nbr, uint8_t report_id, uint8_t *p_report_buf, uint16_t report_len)

Callback for set feature report event.


Definition at line 371 of file protocol/usb/inc/sl_usbd_class_hid.h

get_protocol#

void(* sl_usbd_hid_callbacks_t::get_protocol) (uint8_t class_nbr, uint8_t *p_protocol)

Callback for get protocol event.


Definition at line 376 of file protocol/usb/inc/sl_usbd_class_hid.h

set_protocol#

void(* sl_usbd_hid_callbacks_t::set_protocol) (uint8_t class_nbr, uint8_t protocol)

Callback for set protocol event.


Definition at line 379 of file protocol/usb/inc/sl_usbd_class_hid.h