USBD_OS_CoreEventGet
USBD_OS_CoreEventGet
Description
Wait until a core event is ready.
Files
usbd_internal.h/usbd_os.c
Prototype
void *USBD_OS_CoreEventGet (CPU_INT32U timeout_ms, USBD_ERR *p_err);
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.
- Table - Error code for pend operations describes the error codes that should be assigned to
p_err
depending on the operation result.
, multiple selections available,
Related content
USBD_OS_CoreEventPut
USBD_OS_CoreEventPut
More like this
App_USBD_EventReset
App_USBD_EventReset
More like this
App_USBD_EventConn
App_USBD_EventConn
More like this
App_USBD_EventResume
App_USBD_EventResume
More like this
USBD_CoreTaskHandler
USBD_CoreTaskHandler
More like this
USBD_OS_EP_SignalPend
USBD_OS_EP_SignalPend
More like this