USBD_DrvEP_Close
Description
Close a device endpoint, and un-initialize/clear endpoint configuration in hardware.
Files
Every device driver’s usbd_drv.c
Prototype
static void USBD_DrvEP_Close (USBD_DRV *p_drv, CPU_INT08U ep_addr);
Arguments
p_drv
Pointer to USB device driver structure.
ep_addr
Endpoint address.
Returned Value
None.
Callers
USB device core layer.
Notes / Warnings
- Typically, the endpoint close function clears the endpoint information in the device controller. For some controllers, this may not be necessary.