FreeRTOS + 0/2 examples
CodeScope will show references to osMailCreate() from the following samples and libraries:
Examples
STM32F412G-Discovery
Applications
FreeRTOS
STM32F413ZH-Nucleo
Applications
FreeRTOS
 
Symbols
loading...
Files
loading...

osMailCreate() function

Create and Initialize mail queue

Syntax

osMailQId osMailCreate (const osMailQDef_t *queue_def,     osThreadId thread_id);
Implemented in cmsis_os.c:1168

Arguments

queue_def

reference to the mail queue definition obtain with osMailQ

thread_id

thread ID (obtained by osThreadCreate or osThreadGetId) or NULL.

Return value

mail queue ID for reference by other functions or NULL in case of error.

Notes

MUST REMAIN UNCHANGED: \b osMailCreate shall be consistent in every CMSIS-RTOS.

Examples

osMailCreate() is referenced by 2 libraries and example projects.

Call Tree

Functions called by osMailCreate()
osMailCreate()
Type of osMailCreate()
osMailCreate()
all items filtered out
Types freed by osMailCreate()
Types allocated by osMailCreate()
all items filtered out
osMailCreate()
all items filtered out