USBD_EP_IsStalled

USBD_EP_IsStalled

Description

Gets stall status of non-control endpoint

Files

usbd_core.h/usbd_ep.c

Prototype

CPU_BOOLEAN USBD_EP_IsStalled (CPU_INT08U dev_nbr, CPU_INT08U ep_addr, USBD_ERR *p_err);

 

Arguments

dev_nbr

Device number.

ep_addr

Pointer to the structure where the current line coding will be stored.

p_err

Pointer to variable that will receive the return error code from this function.

USBD_ERR_NONE

USBD_ERR_DEV_INVALID_ARG

USBD_ERR_EP_INVALID_ADDR

Returned Value

DEF_TRUE, if endpoint is stalled.

DEF_FALSE, otherwise.

Callers

Classes,

Application.

Notes / Warnings

None.