/
USBD_DrvEP_Stall
USBD_DrvEP_Stall
Description
Set or clear stall condition on endpoint.
Files
Every device driver’s usbd_drv.c
Prototype
static CPU_BOOLEAN USBD_DrvEP_Stall (USBD_DRV *p_drv, CPU_INT08U ep_addr, CPU_BOOLEAN state);
Arguments
p_drv
Pointer to USB device driver structure.
ep_addr
Endpoint address.
state
Endpoint stall state.
Returned Value
DEF_OK
, if NO error(s).
DEF_FAIL
, otherwise.
Callers
USB device core layer.
Notes / Warnings
None.
Related content
USBD_EP_Stall
USBD_EP_Stall
More like this
USBD_EP_IsStalled
USBD_EP_IsStalled
More like this
USBD_DrvEP_Abort
USBD_DrvEP_Abort
More like this
USBD_OS_EP_LockRelease
USBD_OS_EP_LockRelease
More like this
USBD_OS_EP_LockAcquire
USBD_OS_EP_LockAcquire
More like this
USBD_DrvEP_RxZLP
USBD_DrvEP_RxZLP
More like this