sl_usbd_cdc_subclass_driver_t Struct Reference

CDC Subclass Driver.

#include <sl_usbd_class_cdc.h>

Data Fields

void(* enable )(void *p_subclass_arg)
 Callback for enable event.
 
void(* disable )(void *p_subclass_arg)
 Callback for disable event.
 
bool(* mgmt_req )(const sl_usbd_setup_req_t *p_setup_req, void *p_subclass_arg)
 Callback to handle management requests.
 
void(* notify_cmpl )(void *p_subclass_arg)
 Callback to handle notification completion.
 
void(* fnct_descriptor )(void *p_subclass_arg, uint8_t first_dci_if_nbr)
 Callback to build functional desc.
 
uint16_t(* fnct_get_descriptor_size )(void *p_subclass_arg)
 Callback to get the size of the functional desc.

CDC Subclass Driver.

Field Documentation

◆ enable

void(* sl_usbd_cdc_subclass_driver_t::enable) (void *p_subclass_arg)

Callback for enable event.

◆ disable

void(* sl_usbd_cdc_subclass_driver_t::disable) (void *p_subclass_arg)

Callback for disable event.

◆ mgmt_req

bool(* sl_usbd_cdc_subclass_driver_t::mgmt_req) (const sl_usbd_setup_req_t *p_setup_req, void *p_subclass_arg)

Callback to handle management requests.

◆ notify_cmpl

void(* sl_usbd_cdc_subclass_driver_t::notify_cmpl) (void *p_subclass_arg)

Callback to handle notification completion.

◆ fnct_descriptor

void(* sl_usbd_cdc_subclass_driver_t::fnct_descriptor) (void *p_subclass_arg, uint8_t first_dci_if_nbr)

Callback to build functional desc.

◆ fnct_get_descriptor_size

uint16_t(* sl_usbd_cdc_subclass_driver_t::fnct_get_descriptor_size) (void *p_subclass_arg)

Callback to get the size of the functional desc.