sl_usbd_msc_subclass_driver_t Struct Reference

MSC subclass driver.

#include <sl_usbd_class_msc.h>

Data Fields

sl_status_t(* enable )(uint8_t class_nbr, void *p_subclass_arg)
sl_status_t(* disable )(uint8_t class_nbr, void *p_subclass_arg)
sl_status_t(* process_command )(uint8_t class_nbr, void *p_lun_data, const uint8_t *p_cbwcb, uint8_t *p_data_buf, uint32_t *p_resp_len, uint8_t *p_data_dir, void *p_subclass_arg)
sl_status_t(* read_data )(uint8_t class_nbr, void *p_lun_data, uint8_t command, uint8_t *p_data_buf, uint32_t data_len, void *p_subclass_arg)
sl_status_t(* write_data )(uint8_t class_nbr, void *p_lun_data, uint8_t command, void *p_data_buf, uint32_t data_len, void *p_subclass_arg)

MSC subclass driver.