USBD_DrvCfgSet
Description
Bring device into configured state.
Files
Every device driver’s usbd_drv.c
Prototype
static CPU_BOOLEAN USBD_DrvCfgSet (USBD_DRV *p_drv, CPU_INT08U cfg_val);
Arguments
p_drv
Pointer to USB device driver structure.
cfg_val
Configuration value.
Returned Value
DEF_OK
,
if NO error(s).
DEF_FAIL
,
otherwise.
Callers
USB device core layer.
Notes / Warnings
Typically, the set configuration function sets the device as configured. For some controllers, this may not be necessary.