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

Wait until a core event is ready.

Files

usbd_internal.h/usbd_os.c

Prototype

Arguments

timeout_ms

Timeout in milliseconds.

p_err

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

Returned Value

Pointer to core event, if no errors.

Null pointer, otherwise.

Callers

USBD_CoreTaskHandler.

Implementation guidelines

  1. A call to this function should block until an event is added to queue and return it.
  2. describes the error codes that should be assigned to p_err depending on the operation result.
  • No labels