Purpose
SCSI commands implementation.
Usage
- 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.
- Then SBC_ProcessCommand can be used to handle a valid command, to perform the command operations.
- SBC_UpdateSenseData is used to update the sense data that will be sent to host.