/
USBD_DevStop
USBD_DevStop
Description
Stops device. This function disconnects the device from the USB host.
Files
usbd_core.h/usbd_core.c
Prototype
void USBD_DevStop (CPU_INT08U dev_nbr, USBD_ERR *p_err);
Arguments
dev_nbr
Device number.
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_DEV_INVALID_NBR
USBD_ERR_DEV_INVALID_STATE
Returned Value
None.
Callers
Application.
Notes / Warnings
None.
Related content
App_USBD_EventDisconn
App_USBD_EventDisconn
More like this
USBD_EP_Abort
USBD_EP_Abort
More like this
USBD_DrvStop
USBD_DrvStop
More like this
USBD_DrvEP_Abort
USBD_DrvEP_Abort
More like this
USBD_EventDisconn
USBD_EventDisconn
More like this
USBD_DrvEP_Close
USBD_DrvEP_Close
More like this