SBCMethods.h
Default mainpageat91libusbdevicemassstorageSBCMethods.h
Description Overview  
Description
Purpose
SCSI commands implementation.

Usage
  1. After a CBW is received from host, use SBC_GetCommandInformation to check if the command is supported, and get the command length and type information before processing it.
  2. Then SBC_ProcessCommand can be used to handle a valid command, to perform the command operations.
  3. SBC_UpdateSenseData is used to update the sense data that will be sent to host.