USBUS MSC device interface context. More...
#include <msc.h>
Data Fields | |
usbus_handler_t | handler_ctrl |
Control interface handler. | |
usbus_interface_t | iface |
MSC interface. | |
usbus_endpoint_t * | ep_in |
Data endpoint in. | |
usbus_endpoint_t * | ep_out |
Data endpoint out. | |
uint8_t * | out_buf |
Pointer to internal out endpoint buffer. | |
uint8_t * | in_buf |
Pointer to internal in endpoint buffer. | |
usbus_descr_gen_t | msc_descr |
MSC descriptor generator. | |
usbus_t * | usbus |
Pointer to the USBUS context. | |
cbw_info_t | cmd |
Command Block Wrapper information. | |
event_t | rx_event |
Transmit ready event. | |
usbus_msc_state_t | state |
Internal state machine for msc. | |
uint8_t * | buffer |
Pointer to the current data transfer buffer. | |
uint32_t | buffer_size |
Size of the internal buffer used for data transfer. | |
uint32_t | block |
First block to transfer data from/to. | |
uint16_t | block_nb |
Number of block to transfer for READ and WRITE operations. | |
uint16_t | block_offset |
Internal offset for endpoint size chunk transfer. | |
usbus_msc_lun_t * | lun_dev |
Array holding exported logical unit descriptor. | |
uint32_t usbus_msc_device::block |
uint16_t usbus_msc_device::block_nb |
uint16_t usbus_msc_device::block_offset |
uint8_t* usbus_msc_device::buffer |
uint32_t usbus_msc_device::buffer_size |
cbw_info_t usbus_msc_device::cmd |
usbus_endpoint_t* usbus_msc_device::ep_in |
usbus_endpoint_t* usbus_msc_device::ep_out |
usbus_handler_t usbus_msc_device::handler_ctrl |
usbus_interface_t usbus_msc_device::iface |
uint8_t* usbus_msc_device::in_buf |
usbus_msc_lun_t* usbus_msc_device::lun_dev |
usbus_descr_gen_t usbus_msc_device::msc_descr |
uint8_t* usbus_msc_device::out_buf |
usbus_msc_state_t usbus_msc_device::state |