sl_usbd_hid_callbacks_t Struct Reference
HID callbacks.
#include <sl_usbd_class_hid.h>
Data Fields |
|
void(* | enable )(uint8_t class_nbr) |
Callback for enable event.
|
|
void(* | disable )(uint8_t class_nbr) |
Callback for disable event.
|
|
void(* | get_report_desc )(uint8_t class_nbr, const uint8_t **p_report_ptr, uint16_t *p_report_len) |
Callback for get report descriptor event.
|
|
void(* | get_phy_desc )(uint8_t class_nbr, const uint8_t **p_report_ptr, uint16_t *p_report_len) |
Callback for get physical descriptor event.
|
|
void(* | 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.
|
|
void(* | 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.
|
|
void(* | 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.
|
|
void(* | get_protocol )(uint8_t class_nbr, uint8_t *p_protocol) |
Callback for get protocol event.
|
|
void(* | set_protocol )(uint8_t class_nbr, uint8_t protocol) |
Callback for set protocol event.
|
HID callbacks.
Field Documentation
◆ enable
void(* sl_usbd_hid_callbacks_t::enable) (uint8_t class_nbr) |
Callback for enable event.
◆ disable
void(* sl_usbd_hid_callbacks_t::disable) (uint8_t class_nbr) |
Callback for disable event.
◆ 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.
◆ 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.
◆ 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.
◆ 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.
◆ 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.
◆ get_protocol
void(* sl_usbd_hid_callbacks_t::get_protocol) (uint8_t class_nbr, uint8_t *p_protocol) |
Callback for get protocol event.
◆ set_protocol
void(* sl_usbd_hid_callbacks_t::set_protocol) (uint8_t class_nbr, uint8_t protocol) |
Callback for set protocol event.