EU1KY AA FW
MSC_BOT_Private_Functions

Functions

void MSC_BOT_Init (USBD_HandleTypeDef *pdev)
 MSC_BOT_Init Initialize the BOT Process. More...
 
void MSC_BOT_Reset (USBD_HandleTypeDef *pdev)
 MSC_BOT_Reset Reset the BOT Machine. More...
 
void MSC_BOT_DeInit (USBD_HandleTypeDef *pdev)
 MSC_BOT_DeInit Deinitialize the BOT Machine. More...
 
void MSC_BOT_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum)
 MSC_BOT_DataIn Handle BOT IN data stage. More...
 
void MSC_BOT_DataOut (USBD_HandleTypeDef *pdev, uint8_t epnum)
 MSC_BOT_DataOut Process MSC OUT data. More...
 
void MSC_BOT_SendCSW (USBD_HandleTypeDef *pdev, uint8_t CSW_Status)
 MSC_BOT_SendCSW Send the Command Status Wrapper. More...
 
void MSC_BOT_CplClrFeature (USBD_HandleTypeDef *pdev, uint8_t epnum)
 MSC_BOT_CplClrFeature Complete the clear feature request. More...
 
static void MSC_BOT_CBW_Decode (USBD_HandleTypeDef *pdev)
 MSC_BOT_CBW_Decode Decode the CBW command and set the BOT state machine accordingly. More...
 
static void MSC_BOT_SendData (USBD_HandleTypeDef *pdev, uint8_t *buf, uint16_t len)
 MSC_BOT_SendData Send the requested data. More...
 
static void MSC_BOT_Abort (USBD_HandleTypeDef *pdev)
 MSC_BOT_Abort Abort the current transfer. More...
 

Detailed Description

Function Documentation

static void MSC_BOT_Abort ( USBD_HandleTypeDef pdev)
static

MSC_BOT_Abort Abort the current transfer.

Parameters
pdevdevice instance
Return values
status
static void MSC_BOT_CBW_Decode ( USBD_HandleTypeDef pdev)
static

MSC_BOT_CBW_Decode Decode the CBW command and set the BOT state machine accordingly.

Parameters
pdevdevice instance
Return values
None
void MSC_BOT_CplClrFeature ( USBD_HandleTypeDef pdev,
uint8_t  epnum 
)

MSC_BOT_CplClrFeature Complete the clear feature request.

Parameters
pdevdevice instance
epnumendpoint index
Return values
None
void MSC_BOT_DataIn ( USBD_HandleTypeDef pdev,
uint8_t  epnum 
)

MSC_BOT_DataIn Handle BOT IN data stage.

Parameters
pdevdevice instance
epnumendpoint index
Return values
None
void MSC_BOT_DataOut ( USBD_HandleTypeDef pdev,
uint8_t  epnum 
)

MSC_BOT_DataOut Process MSC OUT data.

Parameters
pdevdevice instance
epnumendpoint index
Return values
None
void MSC_BOT_DeInit ( USBD_HandleTypeDef pdev)

MSC_BOT_DeInit Deinitialize the BOT Machine.

Parameters
pdevdevice instance
Return values
None
void MSC_BOT_Init ( USBD_HandleTypeDef pdev)

MSC_BOT_Init Initialize the BOT Process.

Parameters
pdevdevice instance
Return values
None
void MSC_BOT_Reset ( USBD_HandleTypeDef pdev)

MSC_BOT_Reset Reset the BOT Machine.

Parameters
pdevdevice instance
Return values
None
void MSC_BOT_SendCSW ( USBD_HandleTypeDef pdev,
uint8_t  CSW_Status 
)

MSC_BOT_SendCSW Send the Command Status Wrapper.

Parameters
pdevdevice instance
status: CSW status
Return values
None
static void MSC_BOT_SendData ( USBD_HandleTypeDef pdev,
uint8_t *  buf,
uint16_t  len 
)
static

MSC_BOT_SendData Send the requested data.

Parameters
pdevdevice instance
bufpointer to data buffer
lenData Length
Return values
None