sl_usbd_vendor_callbacks_t Struct Reference

Vendor callbacks.

#include <sl_usbd_class_vendor.h>

Data Fields

void(* enable )(uint8_t class_nbr)
Callback for enable event.
void(* disable )(uint8_t class_nbr)
Callback for disable event.
void(* setup_req )(uint8_t class_nbr, const sl_usbd_setup_req_t *p_setup_req)
Callback for setup req event.

Vendor callbacks.

Field Documentation

enable

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

Callback for enable event.

disable

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

Callback for disable event.

setup_req

void(* sl_usbd_vendor_callbacks_t::setup_req) (uint8_t class_nbr, const sl_usbd_setup_req_t *p_setup_req)

Callback for setup req event.