USBD_EP_Abort

Description

Abort I/O transfer on endpoint.

Files

usbd_core.h/usbd_ep.c

Prototype

void  USBD_EP_Abort (CPU_INT08U   dev_nbr,
                     CPU_INT08U   ep_addr,
                     USBD_ERR    *p_err);


Arguments

dev_nbr

Device number.

ep_addr

Endpoint address.

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_EP_INVALID_ADDR
USBD_ERR_EP_INVALID_STATE
USBD_ERR_EP_ABORT
USBD_ERR_EP_OS_FAIL

Returned Value

None.

Callers

Classes.

Notes / Warnings

None.