USBD_DrvEP_Abort

Description

Abort any pending transfer on endpoint.

Files

Every device driver’s usbd_drv.c

Prototype

static  CPU_BOOLEAN  USBD_DrvEP_Abort (USBD_DRV    *p_drv,
                                       CPU_INT08U   ep_addr);


Arguments

p_drv

Pointer to USB device driver structure.

ep_addr

Endpoint Address.

Returned Value

DEF_OK, if NO error(s).

DEF_FAIL, otherwise.

Callers

USB device core layer.

Notes / Warnings

None.