USBD_MSC_Add

USBD_MSC_Add

Description

Create a new instance of the MSC.

Files

usbd_msc.h / usbd_msc.c

Prototype

CPU_INT08U USBD_MSC_Add (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_ALLOC

Returned Value

Class instance number, if NO error(s).

USBD_CLASS_NBR_NONE, otherwise.

Callers

Application.

Notes / Warnings

None.