INTERFACE CLASS DRIVER.

Public Attributes#

void(*

Notify class that cfg is active.

void(*

Notify class that cfg is not active.

void(*

Notify class that alt setting has been updated.

void(*

Notify class that EP state has been updated.

void(*

Construct IF functional descriptor.

uint16_t(*

Get size of IF functional descriptor.

void(*

Construct EP functional descriptor.

uint16_t(*

Get size of EP functional descriptor.

bool(*

Interface request callback.

bool(*

Class-specific request callback.

bool(*

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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 575 of file protocol/usb/inc/sl_usbd_core.h