Functions
MSC_BOT_Private_Functions
Collaboration diagram for MSC_BOT_Private_Functions:

Functions

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

Detailed Description

Function Documentation

static void MSC_BOT_Abort ( USB_OTG_CORE_HANDLE pdev)
static

MSC_BOT_Abort Abort the current transfer.

Parameters
pdevdevice instance
Return values
status

Definition at line 349 of file usbd_msc_bot.c.

static void MSC_BOT_CBW_Decode ( USB_OTG_CORE_HANDLE pdev)
static

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

Parameters
pdevdevice instance
Return values
None

Definition at line 246 of file usbd_msc_bot.c.

void MSC_BOT_CplClrFeature ( USB_OTG_CORE_HANDLE pdev,
uint8_t  epnum 
)

MSC_BOT_CplClrFeature Complete the clear feature request.

Parameters
pdevdevice instance
epnumendpoint index
Return values
None

Definition at line 377 of file usbd_msc_bot.c.

void MSC_BOT_DataIn ( USB_OTG_CORE_HANDLE pdev,
uint8_t  epnum 
)

MSC_BOT_DataIn Handle BOT IN data stage.

Parameters
pdevdevice instance
epnumendpoint index
Return values
None

Definition at line 181 of file usbd_msc_bot.c.

void MSC_BOT_DataOut ( USB_OTG_CORE_HANDLE pdev,
uint8_t  epnum 
)

MSC_BOT_DataOut Proccess MSC OUT data.

Parameters
pdevdevice instance
epnumendpoint index
Return values
None

Definition at line 213 of file usbd_msc_bot.c.

void MSC_BOT_DeInit ( USB_OTG_CORE_HANDLE pdev)

MSC_BOT_DeInit Uninitialize the BOT Machine.

Parameters
pdevdevice instance
Return values
None

Definition at line 168 of file usbd_msc_bot.c.

void MSC_BOT_Init ( USB_OTG_CORE_HANDLE pdev)

MSC_BOT_Init Initialize the BOT Process.

Parameters
pdevdevice instance
Return values
None

Definition at line 130 of file usbd_msc_bot.c.

void MSC_BOT_Reset ( USB_OTG_CORE_HANDLE pdev)

MSC_BOT_Reset Reset the BOT Machine.

Parameters
pdevdevice instance
Return values
None

Definition at line 151 of file usbd_msc_bot.c.

void MSC_BOT_SendCSW ( USB_OTG_CORE_HANDLE pdev,
uint8_t  CSW_Status 
)

MSC_BOT_SendCSW Send the Command Status Wrapper.

Parameters
pdevdevice instance
status: CSW status
Return values
None

Definition at line 322 of file usbd_msc_bot.c.

static void MSC_BOT_SendData ( USB_OTG_CORE_HANDLE 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

Definition at line 302 of file usbd_msc_bot.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28