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
Implementation guidelines
- A call to this function should block until an event is added to queue and return it.
- describes the error codes that should be assigned to
p_err
depending on the operation result.