MSDDStateMachine.h
Default mainpageat91libusbdevicemassstorageMSDDStateMachine.h
Description Overview
Classes Brief description
 MSDCommandState Status of an executing command.
 MSDDriver MSD driver state variables.
 MSDTransfer Structure for holding the result of a USB transfer.
Methods  
 MSDD_Halt HALT Specified USB pipe.
 MSDD_Read Reads from host through MSD defined bulk OUT pipe.
 MSDD_StateMachine State machine for the MSD device driver.
 MSDD_Write Writes to host through MSD defined bulk IN pipe.
Defines  
 MSDD_CASE_PHASE_ERROR Indicates that the CSW should report a phase error.
 MSDD_CASE_STALL_IN The driver should halt the Bulk IN pipe after the transfer.
 MSDD_CASE_STALL_OUT The driver should halt the Bulk OUT pipe after the transfer.
 MSDD_STATE_PROCESS_CBW Driver is processing the received command.
 MSDD_STATE_READ_CBW Driver is expecting a command block wrapper.
 MSDD_STATE_SEND_CSW Driver is starting the transmission of a command status wrapper.
 MSDD_STATE_WAIT_CBW Driver is waiting for the transfer to finish.
 MSDD_STATE_WAIT_CSW Driver is waiting for the CSW transmission to finish.
 MSDD_STATUS_ERROR There was an error when trying to perform a method.
 MSDD_STATUS_INCOMPLETE No error was encountered but the application should call the method again to continue the operation.
 MSDD_STATUS_PARAMETER A wrong parameter has been passed to the method.
 MSDD_STATUS_SUCCESS Method was successful.