![]() |
nRF5 SDK
v12.3.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
Class interface function set. More...
#include <app_usbd_class_base.h>
Data Fields | |
| ret_code_t(* | event_handler )(app_usbd_class_inst_t const *const p_inst, app_usbd_complex_evt_t const *const p_event) |
| Instance callback function. More... | |
| const void *(* | get_descriptors )(app_usbd_class_inst_t const *const p_inst, size_t *p_size) |
| Instance get descriptors. More... | |
Class interface function set.
| ret_code_t(* app_usbd_class_methods_t::event_handler)(app_usbd_class_inst_t const *const p_inst, app_usbd_complex_evt_t const *const p_event) |
Instance callback function.
The function used by every class instance.
| [in,out] | p_inst | Instance of the class |
| [in] | p_event | Event to process |
| const void*(* app_usbd_class_methods_t::get_descriptors)(app_usbd_class_inst_t const *const p_inst, size_t *p_size) |
Instance get descriptors.
The function used by every class instance.
| [in,out] | p_inst | Instance of the class |
| [out] | p_size | Descriptor size |