INTERFACE CLASS DRIVER.
Public Attributes#
Notify class that cfg is active.
Notify class that cfg is not active.
Notify class that alt setting has been updated.
Notify class that EP state has been updated.
Construct IF functional descriptor.
Get size of IF functional descriptor.
Construct EP functional descriptor.
Get size of EP functional descriptor.
Interface request callback.
Class-specific request callback.
Vendor-specific request callback.
Public Attribute Documentation#
enable#
void(* sl_usbd_class_driver_t::enable) (uint8_t cfg_nbr, void *p_if_class_arg)
Notify class that cfg is active.
524
of file protocol/usb/inc/sl_usbd_core.h
disable#
void(* sl_usbd_class_driver_t::disable) (uint8_t cfg_nbr, void *p_if_class_arg)
Notify class that cfg is not active.
527
of file protocol/usb/inc/sl_usbd_core.h
alt_settings_update#
void(* sl_usbd_class_driver_t::alt_settings_update) (uint8_t cfg_nbr, uint8_t if_nbr, uint8_t if_alt_nbr, void *p_if_class_arg, void *p_if_alt_class_arg)
Notify class that alt setting has been updated.
530
of file protocol/usb/inc/sl_usbd_core.h
endpoint_state_update#
void(* sl_usbd_class_driver_t::endpoint_state_update) (uint8_t cfg_nbr, uint8_t if_nbr, uint8_t if_alt_nbr, uint8_t ep_addr, void *p_if_class_arg, void *p_if_alt_class_arg)
Notify class that EP state has been updated.
536
of file protocol/usb/inc/sl_usbd_core.h
interface_descriptor#
void(* sl_usbd_class_driver_t::interface_descriptor) (uint8_t cfg_nbr, uint8_t if_nbr, uint8_t if_alt_nbr, void *p_if_class_arg, void *p_if_alt_class_arg)
Construct IF functional descriptor.
543
of file protocol/usb/inc/sl_usbd_core.h
interface_get_descriptor_size#
uint16_t(* sl_usbd_class_driver_t::interface_get_descriptor_size) (uint8_t cfg_nbr, uint8_t if_nbr, uint8_t if_alt_nbr, void *p_if_class_arg, void *p_if_alt_class_arg)
Get size of IF functional descriptor.
549
of file protocol/usb/inc/sl_usbd_core.h
endpoint_descriptor#
void(* sl_usbd_class_driver_t::endpoint_descriptor) (uint8_t cfg_nbr, uint8_t if_nbr, uint8_t if_alt_nbr, uint8_t ep_addr, void *p_if_class_arg, void *p_if_alt_class_arg)
Construct EP functional descriptor.
555
of file protocol/usb/inc/sl_usbd_core.h
endpoint_get_descriptor_size#
uint16_t(* sl_usbd_class_driver_t::endpoint_get_descriptor_size) (uint8_t cfg_nbr, uint8_t if_nbr, uint8_t if_alt_nbr, uint8_t ep_addr, void *p_if_class_arg, void *p_if_alt_class_arg)
Get size of EP functional descriptor.
562
of file protocol/usb/inc/sl_usbd_core.h
interface_req#
bool(* sl_usbd_class_driver_t::interface_req) (const sl_usbd_setup_req_t *p_setup_req, void *p_if_class_arg)
Interface request callback.
569
of file protocol/usb/inc/sl_usbd_core.h
class_req#
bool(* sl_usbd_class_driver_t::class_req) (const sl_usbd_setup_req_t *p_setup_req, void *p_if_class_arg)
Class-specific request callback.
572
of file protocol/usb/inc/sl_usbd_core.h
vendor_req#
bool(* sl_usbd_class_driver_t::vendor_req) (const sl_usbd_setup_req_t *p_setup_req, void *p_if_class_arg)
Vendor-specific request callback.
575
of file protocol/usb/inc/sl_usbd_core.h