#include <MassStorage.h>
Data Fields | |
struct { | |
uint8_t DataINPipeNumber | |
uint8_t DataOUTPipeNumber | |
} | Config |
struct { | |
bool IsActive | |
uint8_t InterfaceNumber | |
uint16_t DataINPipeSize | |
uint16_t DataOUTPipeSize | |
uint32_t TransactionTag | |
} | State |
Class state structure. An instance of this structure should be made within the user application, and passed to each of the HID class driver functions as the HIDInterfaceInfo parameter. This stores each HID interface's configuration and state information.
struct { ... } USB_ClassInfo_MS_Host_t::Config |
Config data for the USB class interface within the device. All elements in this section must be set or the interface will fail to enumerate and operate correctly.
Pipe number of the MS interface's IN data pipe
Size in bytes of the MS interface's IN data pipe
Pipe number of the MS interface's OUT data pipe
Size in bytes of the MS interface's OUT data pipe
Interface index of the HID interface within the attached device
Indicates if the current interface instance is connected to an attached device, valid after HID_Host_ConfigurePipes() is called and the Host state machine is in the Configured state
struct { ... } USB_ClassInfo_MS_Host_t::State |
State data for the USB class interface within the device. All elements in this section may be set to initial values, but may also be ignored to default to sane values when the interface is enumerated.
Current transaction tag for data synchronising of packets