40 #define BOT_DIR_IN 0x80
41 #define BOT_DIR_OUT 0x00
43 #define CSW_SIGNATURE 0x53425355
44 #define CBW_SIGNATURE 0x43425355
61 uint8_t Reserved1 : 6;
63 uint8_t Direction : 1;
72 uint8_t Reserved2 : 4;
81 uint8_t Reserved3 : 3;
113 #if defined(USB_HOST)
MSDBOT_Status_TypeDef
MSDBOT status enumerator.
#define SL_PACK_END()
Macro for handling packed structs. Use this macro after the struct definition. With GCC...
uint32_t dCBWDataTransferLength
#define SL_PACK_START(x)
Macro for handling packed structs. Use this macro before the struct definition. X denotes the max...
int MSDBOT_Xfer(void *cbw, void *data)
Perform an MSD Bulk Only Transfer (BOT).
Bulk Only Transport (BOT) Command Block Wrapper (CBW) typedef.
#define SL_ATTRIBUTE_PACKED
GCC style macro for handling packed structs.
Bulk Only Transport (BOT) Command Status Wrapper (CSW) typedef.
USB HOST endpoint status data.
int MSDBOT_Init(USBH_Ep_TypeDef *out, USBH_Ep_TypeDef *in)
MSDBOT module initialization.