Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Modify stall state condition on non-control endpoints.

Files

usbd_core.h/usbd_ep.c

Prototype

Arguments

dev_nbr

Device number.

ep_addr

Line control change notification callback (see note #1).

state

Endpoint stall state.

ValueStall state
DEF_SET
Set
DEF_CLR
Clear

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
USBD_ERR_EP_INVALID_STATE
USBD_ERR_EP_STALL
USBD_ERR_EP_ABORT
USBD_ERR_OS_FAIL

Returned Value

None.

Callers

Classes.

Notes / Warnings

None.

  • No labels