32 #define MEDIA_BUFSIZ 4096
45 enum { XFER_MEMORYMAPPED = 0, XFER_INDIRECT } xferType;
52 void MSDD_Init(
int activityLedPort, uint32_t activityLedPin);
55 USBD_State_TypeDef newState);
Status info for one BOT CBW -> Data I/O -> CSW cycle.
void MSDD_StateChangeEvent(USBD_State_TypeDef oldState, USBD_State_TypeDef newState)
Called whenever the USB device has changed its device state.
int MSDD_SetupCmd(const USB_Setup_TypeDef *setup)
Called whenever a USB setup command is received. This function overrides standard CLEAR_FEATURE comma...
bool MSDD_Handler(void)
Serve the MSD state machine. This function should be called on a regular basis from your main loop...
void MSDD_Init(int activityLedPort, uint32_t activityLedPin)
Initialize MSD device.