/
USBD_DrvCfgSet
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.
Related content
USBD_DrvCfgClr
USBD_DrvCfgClr
More like this
USBD_DrvAddrEn
USBD_DrvAddrEn
More like this
USBD_DrvAddrSet
USBD_DrvAddrSet
More like this
USBD_DrvInit
USBD_DrvInit
More like this
App_USBD_EventCfgSet
App_USBD_EventCfgSet
More like this
Device and Device Controller Driver Configuration
Device and Device Controller Driver Configuration
More like this