osMailGet() function
Get a mail from a queue
Arguments
queue_id
mail queue ID obtained with osMailCreate.
millisec
timeout value or 0 in case of no time-out
Return value
event that contains mail information or error code.
Notes
MUST REMAIN UNCHANGED: \b osMailGet shall be consistent in every CMSIS-RTOS.
osMailGet() calls 3 functions:
![]()
osMailGet()
osMailGet() reads 7 variables and writes 2 variables:
![]()
osMailGet()