/
USBD_MSC_OS_Init
USBD_MSC_OS_Init
Description
Initialize MSC OS interface.
Files
usbd_msc_os.h / usbd_msc_os.c
Prototype
void USBD_MSC_OS_Init (USBD_ERR *p_err)
Arguments
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_OS_FAIL
Returned Value
None.
Callers
Mass Storage Class.
Implementation Guidelines
Initialization of the MSC OS interface must include creating:
- Two semaphores, one for MSC communication and one for enumeration.
- A MSC task to handle the MSC protocol.
- A Refresh task if µC/FS storage layer is used with removable media.
Related content
MSC Configuration
MSC Configuration
More like this
USBD_MSC_Init
USBD_MSC_Init
More like this
USBD_MSC_OS_EnumSignalPend
USBD_MSC_OS_EnumSignalPend
More like this
USBD_MSC_OS_CommSignalDel
USBD_MSC_OS_CommSignalDel
More like this
USBD_MSC_OS_CommSignalPost
USBD_MSC_OS_CommSignalPost
More like this
Using the MSC Demo Application
Using the MSC Demo Application
More like this