Functions | |
static | __attribute__ ((aligned(32))) |
uint8_t | USBD_MSC_RegisterStorage (USBD_HandleTypeDef *pdev, USBD_StorageTypeDef *fops) |
USBD_MSC_RegisterStorage. More... | |
uint8_t | USBD_MSC_DeInit (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
USBD_MSC_DeInit DeInitilaize the mass storage configuration. More... | |
uint8_t | USBD_MSC_Setup (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) |
USBD_MSC_Setup Handle the MSC specific requests. More... | |
uint8_t | USBD_MSC_DataIn (USBD_HandleTypeDef *pdev, uint8_t epnum) |
USBD_MSC_DataIn handle data IN Stage. More... | |
uint8_t | USBD_MSC_DataOut (USBD_HandleTypeDef *pdev, uint8_t epnum) |
USBD_MSC_DataOut handle data OUT Stage. More... | |
uint8_t * | USBD_MSC_GetHSCfgDesc (uint16_t *length) |
USBD_MSC_GetHSCfgDesc return configuration descriptor. More... | |
uint8_t * | USBD_MSC_GetFSCfgDesc (uint16_t *length) |
USBD_MSC_GetFSCfgDesc return configuration descriptor. More... | |
uint8_t * | USBD_MSC_GetOtherSpeedCfgDesc (uint16_t *length) |
USBD_MSC_GetOtherSpeedCfgDesc return other speed configuration descriptor. More... | |
uint8_t * | USBD_MSC_GetDeviceQualifierDescriptor (uint16_t *length) |
DeviceQualifierDescriptor return Device Qualifier descriptor. More... | |
|
static |
uint8_t USBD_MSC_DataIn | ( | USBD_HandleTypeDef * | pdev, |
uint8_t | epnum | ||
) |
USBD_MSC_DataIn handle data IN Stage.
pdev | device instance |
epnum | endpoint index |
status |
uint8_t USBD_MSC_DataOut | ( | USBD_HandleTypeDef * | pdev, |
uint8_t | epnum | ||
) |
USBD_MSC_DataOut handle data OUT Stage.
pdev | device instance |
epnum | endpoint index |
status |
uint8_t USBD_MSC_DeInit | ( | USBD_HandleTypeDef * | pdev, |
uint8_t | cfgidx | ||
) |
USBD_MSC_DeInit DeInitilaize the mass storage configuration.
pdev | device instance |
cfgidx | configuration index |
status |
uint8_t * USBD_MSC_GetDeviceQualifierDescriptor | ( | uint16_t * | length | ) |
DeviceQualifierDescriptor return Device Qualifier descriptor.
length | : pointer data length |
pointer | to descriptor buffer |
uint8_t * USBD_MSC_GetFSCfgDesc | ( | uint16_t * | length | ) |
USBD_MSC_GetFSCfgDesc return configuration descriptor.
length | : pointer data length |
pointer | to descriptor buffer |
uint8_t * USBD_MSC_GetHSCfgDesc | ( | uint16_t * | length | ) |
USBD_MSC_GetHSCfgDesc return configuration descriptor.
length | : pointer data length |
pointer | to descriptor buffer |
uint8_t * USBD_MSC_GetOtherSpeedCfgDesc | ( | uint16_t * | length | ) |
USBD_MSC_GetOtherSpeedCfgDesc return other speed configuration descriptor.
length | : pointer data length |
pointer | to descriptor buffer |
uint8_t USBD_MSC_RegisterStorage | ( | USBD_HandleTypeDef * | pdev, |
USBD_StorageTypeDef * | fops | ||
) |
USBD_MSC_RegisterStorage.
fops | storage callback |
status |
uint8_t USBD_MSC_Setup | ( | USBD_HandleTypeDef * | pdev, |
USBD_SetupReqTypedef * | req | ||
) |
USBD_MSC_Setup Handle the MSC specific requests.
pdev | device instance |
req | USB request |
status |