|
libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|

Data Fields | |
| uint8_t | cbw_cnt |
| union { | |
| struct usb_msc_cbw cbw | |
| uint8_t buf [1] | |
| } | cbw |
| uint32_t | bytes_to_read |
| uint32_t | bytes_to_write |
| uint32_t | byte_count |
| uint32_t | lba_start |
| uint32_t | block_count |
| uint32_t | current_block |
| uint8_t | msd_buf [512] |
| bool | csw_valid |
| uint8_t | csw_sent |
| union { | |
| struct usb_msc_csw csw | |
| uint8_t buf [1] | |
| } | csw |
| uint32_t usb_msc_trans::block_count |
Definition at line 160 of file usb_msc.c.
Referenced by msc_data_rx_cb(), msc_data_tx_cb(), scsi_read_10(), scsi_read_6(), scsi_write_10(), scsi_write_6(), and usb_msc_init().
| uint32_t usb_msc_trans::byte_count |
Definition at line 156 of file usb_msc.c.
Referenced by msc_data_rx_cb(), msc_data_tx_cb(), scsi_command(), and usb_msc_init().
| uint32_t usb_msc_trans::bytes_to_read |
Definition at line 154 of file usb_msc.c.
Referenced by msc_data_rx_cb(), scsi_command(), scsi_write_10(), scsi_write_6(), and usb_msc_init().
| uint32_t usb_msc_trans::bytes_to_write |
Definition at line 155 of file usb_msc.c.
Referenced by msc_data_rx_cb(), msc_data_tx_cb(), scsi_command(), scsi_inquiry(), scsi_mode_sense_6(), scsi_read_10(), scsi_read_6(), scsi_read_capacity(), scsi_request_sense(), and usb_msc_init().
| struct usb_msc_cbw usb_msc_trans::cbw |
Definition at line 150 of file usb_msc.c.
Referenced by get_cbw_buf(), msc_data_rx_cb(), scsi_command(), scsi_mode_sense_6(), and scsi_request_sense().
| union { ... } usb_msc_trans::cbw |
| uint8_t usb_msc_trans::cbw_cnt |
Definition at line 148 of file usb_msc.c.
Referenced by msc_data_rx_cb(), and usb_msc_init().
| struct usb_msc_csw usb_msc_trans::csw |
Definition at line 168 of file usb_msc.c.
Referenced by scsi_command(), scsi_inquiry(), and scsi_mode_sense_6().
| union { ... } usb_msc_trans::csw |
| uint8_t usb_msc_trans::csw_sent |
Definition at line 166 of file usb_msc.c.
Referenced by scsi_command(), and usb_msc_init().
| bool usb_msc_trans::csw_valid |
Definition at line 165 of file usb_msc.c.
Referenced by msc_data_rx_cb(), msc_data_tx_cb(), and usb_msc_init().
| uint32_t usb_msc_trans::current_block |
Definition at line 161 of file usb_msc.c.
Referenced by msc_data_rx_cb(), msc_data_tx_cb(), scsi_read_6(), scsi_write_10(), scsi_write_6(), and usb_msc_init().
| uint32_t usb_msc_trans::lba_start |
Definition at line 159 of file usb_msc.c.
Referenced by msc_data_rx_cb(), msc_data_tx_cb(), scsi_read_10(), scsi_read_6(), scsi_write_10(), scsi_write_6(), and usb_msc_init().
| uint8_t usb_msc_trans::msd_buf[512] |
Definition at line 163 of file usb_msc.c.
Referenced by msc_data_rx_cb(), msc_data_tx_cb(), scsi_format_unit(), scsi_inquiry(), scsi_mode_sense_6(), scsi_read_capacity(), and scsi_request_sense().