Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

usbd_internal.h/usbd_os.c

Prototype

Code Block
languagecpp
void  *USBD_OS_CoreEventGet (CPU_INT32U   timeout_ms,
                             USBD_ERR    *p_err);


Arguments

timeout_ms

Timeout in milliseconds.

...

  1. A call to this function should block until an event is added to queue and return it.
  2. describes Table - Error code for pend operations describes the error codes that should be assigned to p_err depending on the operation result.