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

Aborts any wait operation on signal/semaphore.

Files

usbd_internal.h/usbd_os.c

Prototype

Arguments

dev_nbr

Device number.

ep_ix

Endpoint index.

p_err

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

Returned Value

None.

Callers

Endpoints abort functions.

Implementation guidelines

  1. This function should abort all pend operations performed on the signal / semaphore associated to the specified endpoint.
  2. If any error happen, USBD_ERR_OS_FAIL should be assigned to p_err. Otherwise, USBD_ERR_NONE should be assigned to p_err.
  • No labels