![]() |
![]() |
This structure defines the private instance data and state variables for the mass storage class. The memory for this structure is pointed to by the psPrivateData field in the tUSBDMSCDevice structure passed on USBDMSCInit() and should not be modified by any code outside of the mass storage device code. More...
#include <usbdmsc.h>
Data Fields | |
| uint8_t | ucErrorCode |
| void * | pvMedia |
| uint32_t | ulFlags |
This structure defines the private instance data and state variables for the mass storage class. The memory for this structure is pointed to by the psPrivateData field in the tUSBDMSCDevice structure passed on USBDMSCInit() and should not be modified by any code outside of the mass storage device code.
| void* tMSCInstance::pvMedia |
The pointer to the instance returned from the Open call to the media.
| uint8_t tMSCInstance::ucErrorCode |
These three values are used to return the current sense data for an instance of the mass storage class.
| uint32_t tMSCInstance::ulFlags |
Holds the flag settings for this instance.