USBD_DrvCfgClr
Description
Bring device into de-configured state.
Files
Every device driver’s usbd_drv.c
Prototype
static void USBD_DrvCfgClr (USBD_DRV *p_drv, CPU_INT08U cfg_val);
Arguments
p_drv
Pointer to USB device driver structure.
cfg_val
Configuration value.
Returned Value
None.
Callers
USB device core layer.
Notes / Warnings
- Typically, the clear configuration function sets the device as not being configured. For some controllers, this may not be necessary.
- This function in invoked after a bus reset or before the status stage of some
SET_CONFIGURATION
requests.