Nirvana Jay / Mbed 2 deprecated F7DISCO_Demo

Dependencies:   BSP_DISCO_F746NG_patch mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

MSC_SCSI_Private_Functions

MSC_SCSI_Private_Functions
[MSC_SCSI]

Functions

int8_t SCSI_ProcessCmd (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_ProcessCmd Process SCSI commands.
void SCSI_SenseCode (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t sKey, uint8_t ASC)
 SCSI_SenseCode Load the last error code in the error list.
static int8_t SCSI_TestUnitReady (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_TestUnitReady Process SCSI Test Unit Ready Command.
static int8_t SCSI_Inquiry (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_Inquiry Process Inquiry command.
static int8_t SCSI_ReadCapacity10 (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_ReadCapacity10 Process Read Capacity 10 command.
static int8_t SCSI_ReadFormatCapacity (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_ReadFormatCapacity Process Read Format Capacity command.
static int8_t SCSI_ModeSense6 (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_ModeSense6 Process Mode Sense6 command.
static int8_t SCSI_ModeSense10 (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_ModeSense10 Process Mode Sense10 command.
static int8_t SCSI_RequestSense (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_RequestSense Process Request Sense command.
static int8_t SCSI_StartStopUnit (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_StartStopUnit Process Start Stop Unit command.
static int8_t SCSI_Read10 (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_Read10 Process Read10 command.
static int8_t SCSI_Write10 (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_Write10 Process Write10 command.
static int8_t SCSI_Verify10 (USBD_HandleTypeDef *pdev, uint8_t lun, uint8_t *params)
 SCSI_Verify10 Process Verify10 command.
static int8_t SCSI_CheckAddressRange (USBD_HandleTypeDef *pdev, uint8_t lun, uint32_t blk_offset, uint16_t blk_nbr)
 SCSI_CheckAddressRange Check address range.
static int8_t SCSI_ProcessRead (USBD_HandleTypeDef *pdev, uint8_t lun)
 SCSI_ProcessRead Handle Read Process.
static int8_t SCSI_ProcessWrite (USBD_HandleTypeDef *pdev, uint8_t lun)
 SCSI_ProcessWrite Handle Write Process.

Function Documentation

static int8_t SCSI_CheckAddressRange ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint32_t  blk_offset,
uint16_t  blk_nbr 
) [static]

SCSI_CheckAddressRange Check address range.

Parameters:
lun,:Logical unit number
blk_offset,:first block address
blk_nbr,:number of block to be processed
Return values:
status

Definition at line 647 of file usbd_msc_scsi.c.

static int8_t SCSI_Inquiry ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_Inquiry Process Inquiry command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 215 of file usbd_msc_scsi.c.

static int8_t SCSI_ModeSense10 ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_ModeSense10 Process Mode Sense10 command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 356 of file usbd_msc_scsi.c.

static int8_t SCSI_ModeSense6 ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_ModeSense6 Process Mode Sense6 command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 335 of file usbd_msc_scsi.c.

int8_t SCSI_ProcessCmd ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
)

SCSI_ProcessCmd Process SCSI commands.

Parameters:
pdev,:device instance
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 121 of file usbd_msc_scsi.c.

static int8_t SCSI_ProcessRead ( USBD_HandleTypeDef *  pdev,
uint8_t  lun 
) [static]

SCSI_ProcessRead Handle Read Process.

Parameters:
lun,:Logical unit number
Return values:
status

Definition at line 668 of file usbd_msc_scsi.c.

static int8_t SCSI_ProcessWrite ( USBD_HandleTypeDef *  pdev,
uint8_t  lun 
) [static]

SCSI_ProcessWrite Handle Write Process.

Parameters:
lun,:Logical unit number
Return values:
status

Definition at line 715 of file usbd_msc_scsi.c.

static int8_t SCSI_Read10 ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_Read10 Process Read10 command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 455 of file usbd_msc_scsi.c.

static int8_t SCSI_ReadCapacity10 ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_ReadCapacity10 Process Read Capacity 10 command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 254 of file usbd_msc_scsi.c.

static int8_t SCSI_ReadFormatCapacity ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_ReadFormatCapacity Process Read Format Capacity command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 290 of file usbd_msc_scsi.c.

static int8_t SCSI_RequestSense ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_RequestSense Process Request Sense command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 379 of file usbd_msc_scsi.c.

void SCSI_SenseCode ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t  sKey,
uint8_t  ASC 
)

SCSI_SenseCode Load the last error code in the error list.

Parameters:
lun,:Logical unit number
sKey,:Sense Key
ASC,:Additional Sense Key
Return values:
none

Definition at line 422 of file usbd_msc_scsi.c.

static int8_t SCSI_StartStopUnit ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_StartStopUnit Process Start Stop Unit command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 441 of file usbd_msc_scsi.c.

static int8_t SCSI_TestUnitReady ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_TestUnitReady Process SCSI Test Unit Ready Command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 180 of file usbd_msc_scsi.c.

static int8_t SCSI_Verify10 ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_Verify10 Process Verify10 command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 615 of file usbd_msc_scsi.c.

static int8_t SCSI_Write10 ( USBD_HandleTypeDef *  pdev,
uint8_t  lun,
uint8_t *  params 
) [static]

SCSI_Write10 Process Write10 command.

Parameters:
lun,:Logical unit number
params,:Command parameters
Return values:
status

Definition at line 524 of file usbd_msc_scsi.c.