Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Driver configuration structure. More...
#include <usb_msd.h>
Data Fields | |
USBDriver * | usbp |
USB driver to use for communication. More... | |
BaseBlockDevice * | bbdp |
Block device to use for storage. More... | |
usbep_t | bulk_ep |
Index of the USB endpoint to use for transfers. More... | |
void(* | rw_activity_callback )(bool) |
Optional callback that will be called whenever there is read/write activity. More... | |
uint8_t | short_vendor_id [8] |
Short vendor identification. More... | |
uint8_t | short_product_id [16] |
Short product identification. More... | |
uint8_t | short_product_version [4] |
Short product revision. More... | |
BaseBlockDevice* USBMassStorageConfig::bbdp |
Block device to use for storage.
Definition at line 132 of file usb_msd.h.
Referenced by msd_scsi_process_start_read_write_10(), msd_scsi_process_test_unit_ready(), and msdStart().
usbep_t USBMassStorageConfig::bulk_ep |
Index of the USB endpoint to use for transfers.
Definition at line 137 of file usb_msd.h.
Referenced by msd_read_command_block(), msd_start_receive(), msd_start_transmit(), msdConfigureHookI(), msdRequestsHook(), msdStart(), and msdStop().
void(* USBMassStorageConfig::rw_activity_callback)(bool) |
Optional callback that will be called whenever there is read/write activity.
Definition at line 145 of file usb_msd.h.
Referenced by msd_read_command_block().
uint8_t USBMassStorageConfig::short_product_id[16] |
Short product identification.
Definition at line 157 of file usb_msd.h.
Referenced by msdStart().
uint8_t USBMassStorageConfig::short_product_version[4] |
Short product revision.
Definition at line 163 of file usb_msd.h.
Referenced by msdStart().
uint8_t USBMassStorageConfig::short_vendor_id[8] |
Short vendor identification.
Definition at line 151 of file usb_msd.h.
Referenced by msdStart().
USBDriver* USBMassStorageConfig::usbp |
USB driver to use for communication.
Definition at line 127 of file usb_msd.h.
Referenced by mass_storage_thread(), msd_read_command_block(), msd_start_receive(), msd_start_transmit(), msdConfigureHookI(), msdRequestsHook(), msdStart(), and msdStop().