Functions | |
uint8_t | USBD_MSC_DataIn (void *pdev, uint8_t epnum) |
USBD_MSC_DataIn handle data IN Stage. More... | |
uint8_t | USBD_MSC_DataOut (void *pdev, uint8_t epnum) |
USBD_MSC_DataOut handle data OUT Stage. More... | |
uint8_t | USBD_MSC_DeInit (void *pdev, uint8_t cfgidx) |
USBD_MSC_DeInit DeInitilaize the mass storage configuration. More... | |
uint8_t * | USBD_MSC_GetCfgDesc (uint8_t speed, uint16_t *length) |
USBD_MSC_GetCfgDesc return configuration descriptor. More... | |
uint8_t | USBD_MSC_Init (void *pdev, uint8_t cfgidx) |
USBD_MSC_Init Initialize the mass storage configuration. More... | |
uint8_t | USBD_MSC_Setup (void *pdev, USB_SETUP_REQ *req) |
USBD_MSC_Setup Handle the MSC specific requests. More... | |
uint8_t USBD_MSC_DataIn | ( | void * | pdev, |
uint8_t | epnum | ||
) |
USBD_MSC_DataIn handle data IN Stage.
pdev | device instance |
epnum | endpoint index |
status |
Definition at line 435 of file usbd_msc_core.c.
uint8_t USBD_MSC_DataOut | ( | void * | pdev, |
uint8_t | epnum | ||
) |
USBD_MSC_DataOut handle data OUT Stage.
pdev | device instance |
epnum | endpoint index |
status |
Definition at line 449 of file usbd_msc_core.c.
uint8_t USBD_MSC_DeInit | ( | void * | pdev, |
uint8_t | cfgidx | ||
) |
USBD_MSC_DeInit DeInitilaize the mass storage configuration.
pdev | device instance |
cfgidx | configuration index |
status |
Definition at line 304 of file usbd_msc_core.c.
uint8_t * USBD_MSC_GetCfgDesc | ( | uint8_t | speed, |
uint16_t * | length | ||
) |
USBD_MSC_GetCfgDesc return configuration descriptor.
speed | : current device speed |
length | : pointer data length |
pointer | to descriptor buffer |
Definition at line 463 of file usbd_msc_core.c.
uint8_t USBD_MSC_Init | ( | void * | pdev, |
uint8_t | cfgidx | ||
) |
USBD_MSC_Init Initialize the mass storage configuration.
pdev | device instance |
cfgidx | configuration index |
status |
Definition at line 274 of file usbd_msc_core.c.
uint8_t USBD_MSC_Setup | ( | void * | pdev, |
USB_SETUP_REQ * | req | ||
) |
USBD_MSC_Setup Handle the MSC specific requests.
pdev | device instance |
req | USB request |
status |
Definition at line 323 of file usbd_msc_core.c.