osMessageQueuePut() function
Put a Message into a Queue or timeout if Queue is full.
Arguments
mq_id
message queue ID obtained by osMessageQueueNew.
msg_ptr
pointer to buffer with message to put into a queue.
msg_prio
message priority.
timeout
CMSIS_RTOS_TimeOutValue or 0 in case of no time-out.
Return value
status code that indicates the execution status of the function.
Examples
osMessageQueuePut() is referenced by 1 libraries and example projects: