]> begriffs open source - cmsis/blob - CMSIS/DoxyGen/RTOS2/src/rtx_evr.txt
Release preparation: Aligned version information and updated change histories.
[cmsis] / CMSIS / DoxyGen / RTOS2 / src / rtx_evr.txt
1 /** 
2 \defgroup rtx_evr Event functions
3 \ingroup rtx5_specific 
4 \brief RTX5 Event Recorder functions
5 \details
6 RTX5 interfaces to the <a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/index.html" target="_blank"><b>Event Recorder</b></a> 
7 to provide event information which helps you to understand and analyze the operation.
8
9 To use the Event Recorder together with RTX5, it is required to create an image that generates event information. The steps are:
10   - <a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/UseDebugViews.html#Add_Event_Recorder" target="_blank"><b>Add Event Recorder</b></a>: Select in the RTE management dialog the software component <b>Compiler:Event Recorder</b>.
11   - <a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/UseDebugViews.html#Debug_Variants" target="_blank"><b>Select Debug Variant</b></a>: Select in the RTE management dialog the \b Source variant for the software component <b>CMSIS:RTOS2 (API):Keil RTX5</b>.
12   - <a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/group__EventRecorder__Setup.htm" target="_blank"><b>Add Initialization Code</b></a>: Call the function <b>EventRecorderInitialize</b> in your application code.
13   - Build the application code and download it to the debug hardware.
14   
15 Once the target application generates event information, it can be viewed in the µVision debugger using the \b Event
16  \b Recorder.
17
18 @{
19 */
20
21 /**
22 \defgroup rtx_evr_memory Memory Functions
23 \brief Events generated memory functions 
24 \details
25 @{
26 */
27
28 /**
29 \fn void EvrRtxMemoryInit (void *mem, uint32_t size, uint32_t result)
30 \details
31 The event \b MemoryInit is generated when initialization of a variable size memory block completes.
32
33 \b Value in the Event Recorder shows:
34   - \b mem : memory address of memory pool.
35   - \b size : size of a memory pool in bytes.
36   - \b result : execution status: 1 - success, 0 - failure.
37 */
38
39 /**
40 \fn void EvrRtxMemoryAlloc (void *mem, uint32_t size, uint32_t type, void *block)
41 \details
42 The event \b MemoryAlloc is generated when allocation of a variable size memory block completes.
43
44 \b Value in the Event Recorder shows:
45   - \b mem : memory address of memory pool.
46   - \b size : size of a memory block in bytes.
47   - \b type : memory block type: 0 - generic, 1 - control block
48   - \b block : memory address of allocated memory block or 0 in case of no memory is available.
49 */
50
51 /**
52 \fn void EvrRtxMemoryFree (void *mem, void *block, uint32_t result)
53 \details
54 The event \b MemoryFree is generated when deallocation of a variable size memory block completes.
55
56 \b Value in the Event Recorder shows:
57   - \b mem : memory address of memory pool.
58   - \b block : memory address of block to be returned to the memory pool.
59   - \b result : execution status: 1 - success, 0 - failure.
60 */
61
62 /**
63 \fn void EvrRtxMemoryBlockInit (osRtxMpInfo_t *mp_info, uint32_t block_count, uint32_t block_size, void *block_mem)
64 \details
65 The event \b MemoryBlockInit is generated when initialization of a fixed size memory block completes.
66
67 \b Value in the Event Recorder shows:
68   - \b mp_info : memory address of memory pool info.
69   - \b block_count : maximum number of memory blocks in memory pool.
70   - \b block_size : size of a memory block in bytes.
71   - \b block_mem : memory address of memory for block storage.
72 */
73
74 /**
75 \fn void EvrRtxMemoryBlockAlloc (osRtxMpInfo_t *mp_info, void *block)
76 \details
77 The event \b MemoryBlockAlloc is generated when allocation of a fixed size memory block completes.
78
79 \b Value in the Event Recorder shows:
80   - \b mp_info : memory address of memory pool info.
81   - \b block : memory address of the allocated memory block or 0 in case of no memory is available.
82 */
83
84 /**
85 \fn void EvrRtxMemoryBlockFree (osRtxMpInfo_t *mp_info, void *block, int32_t status)
86 \details
87 The event \b MemoryBlockFree is generated when deallocation of a fixed size memory block completes.
88
89 \b Value in the Event Recorder shows:
90   - \b mp_info : memory address of memory pool info.
91   - \b block : memory address of the allocated memory block to be returned to the memory pool.
92   - \b status : execution status \ref osStatus_t
93 */
94
95 /**
96 @}
97 */
98
99 /**
100 \defgroup rtx_evr_kernel Kernel Functions
101 \brief Events generated by kernel functions 
102 \details
103 @{
104 */
105
106 /**
107 \fn void EvrRtxKernelError (int32_t status)
108 \details
109 The event \b KernelError is generated when \ref CMSIS_RTOS_KernelCtrl routines complete their execution due to an error.
110
111 The status parameter indicates the execution status and can be one of the \ref osStatus_t "osStatus_t codes" or one
112 of the extended execution status codes which are summarized in the table below.
113
114 |      Extended Status Code     | Description |
115 |:------------------------------|:------------|
116 | osRtxErrorKernelNotReady      | Kernel scheduler is not in Ready state. |
117 | osRtxErrorKernelNotRunning    | Kernel scheduler is not executing - there is no running thread. |
118 | osRtxErrorInvalidControlBlock | Object control block with invalid alignment or size was specified. |
119 | osRtxErrorInvalidDataMemory   | Object data memory with invalid alignment or size was specified. |
120 | osRtxErrorInvalidThreadStack  | Thread stack memory with invalid alignment or size was specified. |
121 | osRtxErrorInvalidPriority     | Invalid thread priority was specified. |
122 | osRtxErrorThreadNotJoinable   | Specified thread is not joinable. |
123 | osRtxErrorMutexNotOwned       | Specified mutex is not owned by the current running thread. |
124 | osRtxErrorMutexNotLocked      | Specified mutex is not locked. |
125 | osRtxErrorMutexLockLimit      | Maximum number of recursive mutex locks reached. |
126 | osRtxErrorSemaphoreCountLimit | Semaphore count limit reached. |
127 | osRtxErrorTZ_InitContext_S    | Secure context memory system initialization failed. |
128 | osRtxErrorTZ_AllocContext_S   | Secure context memory allocation failed. |
129 | osRtxErrorTZ_FreeContext_S    | Secure context memory deallocation failed. |
130 | osRtxErrorTZ_LoadContext_S    | Secure context load failed. |
131 | osRtxErrorTZ_SaveContext_S    | Secure context save failed. |
132
133 \b Value in the Event Recorder shows:
134   - \b status : execution status code.
135 */
136
137 /**
138 \fn void EvrRtxKernelInitialize (void)
139 \details
140 The event \b KernelInitialize is generated when the function \ref osKernelInitialize is called.
141 */
142
143 /**
144 \fn void EvrRtxKernelInitializeCompleted (void)
145 \details
146 The event \b KernelInitializeCompleted is generated when the function \ref osKernelInitialize successfully initializes the RTOS kernel.
147 */
148
149 /**
150 \fn void EvrRtxKernelGetInfo (osVersion_t *version, char *id_buf, uint32_t id_size)
151 \details
152 The event \b KernelGetInfo is generated when the function \ref osKernelGetInfo is called.
153
154 \b Value in the Event Recorder shows:
155   - \b version : memory address of buffer for retrieving version information.
156   - \b id_buf : memory address of buffer for retrieving kernel identification string.
157   - \b id_size : size of id_buf in bytes.
158 */
159
160 /**
161 \fn void EvrRtxKernelInfoRetrieved (osVersion_t *version, char *id_buf)
162 \details
163 The event \b KernelInfoRetrieved is generated when the function \ref osKernelGetInfo successfully retrieves kernel information.
164
165 \b Value in the Event Recorder shows:
166   - \b version : memory address of buffer for retrieving version information.
167   - \b id_buf : memory address of buffer for retrieving kernel identification string.
168 */
169
170 /**
171 \fn void EvrRtxKernelGetState (osKernelState_t state)
172 \details
173 The event \b KernelGetState is generated when the function \ref osKernelGetState is called and its execution result is known.
174
175 \b Value in the Event Recorder shows:
176   - \b state : retrieved current \ref osKernelState_t "RTOS Kernel state".
177 */
178
179 /**
180 \fn void EvrRtxKernelStart (void)
181 \details
182 The event \b KernelStart is generated when the function \ref osKernelStart is called.
183 */
184
185 /**
186 \fn void EvrRtxKernelStarted (void)
187 \details
188 The event \b KernelStarted is generated when the function \ref osKernelStart successfully starts the RTOS kernel execution.
189 */
190
191 /**
192 \fn void EvrRtxKernelLock (void)
193 \details
194 The event \b KernelLock is generated when the function \ref osKernelLock is called.
195 */
196
197 /**
198 \fn void EvrRtxKernelLocked (int32_t lock)
199 \details
200 The event \b KernelLocked is generated when the functions \ref osKernelLock successfully completes its execution.
201
202 \b Value in the Event Recorder shows:
203   - \b lock : previous lock state (1 - locked, 0 - not locked).
204 */
205
206 /**
207 \fn void EvrRtxKernelUnlock (void)
208 \details
209 The event \b KernelUnlock is generated when the function \ref osKernelUnlock is called.
210 */
211
212 /**
213 \fn void EvrRtxKernelUnlocked (int32_t lock)
214 \details
215 The event \b KernelUnlocked is generated when the function \ref osKernelUnlock successfully completes its execution.
216
217 \b Value in the Event Recorder shows:
218   - \b lock : previous lock state (1 - locked, 0 - not locked).
219 */
220
221 /**
222 \fn void EvrRtxKernelRestoreLock (int32_t lock)
223 \details
224 The event \b KernelRestoreLock is generated when the function \ref osKernelRestoreLock is called.
225
226 \b Value in the Event Recorder shows:
227   - \b lock : lock state obtained by \ref osKernelLock or \ref osKernelUnlock.
228 */
229
230 /**
231 \fn void EvrRtxKernelLockRestored (int32_t lock)
232 \details
233 The event \b KernelLockRestored is generated when the function \ref osKernelRestoreLock successfully completes its execution.
234
235 \b Value in the Event Recorder shows:
236   - \b lock : new lock state (1 - locked, 0 - not locked).
237 */
238
239 /**
240 \fn void EvrRtxKernelSuspend (void)
241 \details
242 The event \b KernelSuspend is generated when the function \ref osKernelSuspend is called.
243 */
244
245 /**
246 \fn void EvrRtxKernelSuspended (uint32_t sleep_ticks)
247 \details
248 The event \b KernelSuspended is generated when the function \ref osKernelSuspend successfully suspends RTOS kernel execution.
249
250 \b Value in the Event Recorder shows:
251   - \b sleep_ticks : time in ticks, for how long the system can sleep or power-down.
252 */
253
254 /**
255 \fn void EvrRtxKernelResume (uint32_t sleep_ticks)
256 \details
257 The event \b KernelResume is generated when the function \ref osKernelResume is called.
258
259 \b Value in the Event Recorder shows:
260   - \b sleep_ticks : time in ticks, for how long the system was in sleep or power-down mode.
261 */
262
263 /**
264 \fn void EvrRtxKernelResumed (void)
265 \details
266 The event \b KernelResumed is generated when the function \ref osKernelResume successfully resumes RTOS kernel execution.
267 */
268
269 /**
270 \fn void EvrRtxKernelGetTickCount (uint32_t count)
271 \details
272 The event \b KernelGetTickCount is generated when the function \ref osKernelGetTickCount is called.
273
274 \b Value in the Event Recorder shows:
275   - \b count : retrieved kernel current tick count.
276 */
277
278 /**
279 \fn void EvrRtxKernelGetTickFreq (uint32_t freq)
280 \details
281 The event \b KernelGetTickFreq is generated when the function \ref osKernelGetTickFreq called.
282
283 \b Value in the Event Recorder shows:
284   - \b freq : retrieved frequency of the kernel tick in Hz.
285 */
286
287 /**
288 \fn void EvrRtxKernelGetSysTimerCount (uint32_t count)
289 \details
290 The event \b KernelGetSysTimerCount is generated when the function \ref osKernelGetSysTimerCount is called.
291
292 \b Value in the Event Recorder shows:
293   - \b count : retrieved kernel current system timer count as 32-bit value.
294 */
295
296 /**
297 \fn void EvrRtxKernelGetSysTimerFreq (uint32_t freq)
298 \details
299 The event \b KernelGetSysTimerFreq is generated when the function \ref osKernelGetSysTimerFreq is called.
300
301 \b Value in the Event Recorder shows:
302   - \b freq : retrieved frequency of the system timer in Hz.
303 */
304
305 /**
306 @}
307 */
308
309 /**
310 \defgroup rtx_evr_thread Thread Functions
311 \brief Events generated by thread functions 
312 \details
313 @{
314 */
315
316 /**
317 \fn void EvrRtxThreadError (osThreadId_t thread_id, int32_t status)
318 \details
319 The event \b ThreadError is generated when \ref CMSIS_RTOS_ThreadFlagsMgmt and \ref CMSIS_RTOS_ThreadMgmt routines complete their execution due to an error.
320
321 The status parameter indicates the execution status and can be one of the \ref osStatus_t "osStatus_t codes" or one
322 of the extended execution status codes which are summarized in the table below.
323
324 |      Extended Status Code     | Description |
325 |:------------------------------|:------------|
326 | osRtxErrorKernelNotReady      | Kernel scheduler is not in Ready state. |
327 | osRtxErrorKernelNotRunning    | Kernel scheduler is not executing - there is no running thread. |
328 | osRtxErrorInvalidControlBlock | Object control block with invalid alignment or size was specified. |
329 | osRtxErrorInvalidDataMemory   | Object data memory with invalid alignment or size was specified. |
330 | osRtxErrorInvalidThreadStack  | Thread stack memory with invalid alignment or size was specified. |
331 | osRtxErrorInvalidPriority     | Invalid thread priority was specified. |
332 | osRtxErrorThreadNotJoinable   | Specified thread is not joinable. |
333 | osRtxErrorMutexNotOwned       | Specified mutex is not owned by the current running thread. |
334 | osRtxErrorMutexNotLocked      | Specified mutex is not locked. |
335 | osRtxErrorMutexLockLimit      | Maximum number of recursive mutex locks reached. |
336 | osRtxErrorSemaphoreCountLimit | Semaphore count limit reached. |
337 | osRtxErrorTZ_InitContext_S    | Secure context memory system initialization failed. |
338 | osRtxErrorTZ_AllocContext_S   | Secure context memory allocation failed. |
339 | osRtxErrorTZ_FreeContext_S    | Secure context memory deallocation failed. |
340 | osRtxErrorTZ_LoadContext_S    | Secure context load failed. |
341 | osRtxErrorTZ_SaveContext_S    | Secure context save failed. |
342
343 \b Value in the Event Recorder shows:
344   - \b thread_id : thread ID.
345   - \b status : execution status code.
346 */
347
348 /**
349 \fn void EvrRtxThreadNew (osThreadFunc_t func, void *argument, const osThreadAttr_t *attr)
350 \details
351 The event \b ThreadNew is generated when the function \ref osThreadNew is called.
352
353 \b Value in the Event Recorder shows:
354   - \b func : memory address of thread function. 
355   - \b argument : memory address of thread function start argument.
356   - \b attr : memory address of Thread attributes or 0 when they are not specified.
357
358 In case when \ref osThreadAttr_t "thread attributes" are provided in the API call they are also detailed in the Event Recorder.
359 */
360
361 /**
362 \fn void EvrRtxThreadCreated (osThreadId_t thread_id, uint32_t thread_addr)
363 \details
364 The event \b ThreadCreated is generated when the function \ref osThreadNew successfully creates a thread object.
365
366 \b Value in the Event Recorder shows:
367   - \b thread_id : thread ID.
368 */
369
370 /**
371 \fn void EvrRtxThreadGetName (osThreadId_t thread_id, const char *name)
372 \details
373 The event \b ThreadGetName is generated when the function \ref osThreadGetName is called and its execution result is known.
374
375 \b Value in the Event Recorder shows:
376   - \b thread_id : thread ID.
377   - \b name : retrieved memory address of name string (0 in case of a failure).
378 */
379
380 /**
381 \fn void EvrRtxThreadGetId (osThreadId_t thread_id)
382 \details
383 The event \b ThreadGetId is generated when the function \ref osThreadGetId is called and its execution result is known.
384
385 \b Value in the Event Recorder shows:
386   - \b thread_id : retrieved thread (0 in case of a failure).
387 */
388
389 /**
390 \fn void EvrRtxThreadGetState (osThreadId_t thread_id, osThreadState_t state)
391 \details
392 The event \b ThreadGetState is generated when the function \ref osThreadGetState is called and its execution result is known.
393
394 \b Value in the Event Recorder shows:
395   - \b thread_id : thread ID.
396   - \b state : retrieved current thread state.
397 */
398
399 /**
400 \fn void EvrRtxThreadGetStackSize (osThreadId_t thread_id, uint32_t stack_size)
401 \details
402 The event \b ThreadGetStackSize is generated when the function \ref osThreadGetStackSize is called and its execution result is known.
403
404 \b Value in the Event Recorder shows:
405   - \b thread_id : thread ID.
406   - \b stack_size : retrieved remaining stack space in bytes (0 in case of a failure). 
407 */
408
409 /**
410 \fn void EvrRtxThreadGetStackSpace (osThreadId_t thread_id, uint32_t stack_space)
411 \details
412 The event \b ThreadGetStackSpace is generated when the function \ref osThreadGetStackSpace is called and its execution result is known.
413
414 \b Value in the Event Recorder shows:
415   - \b thread_id : thread ID.
416   - \b stack_space : retrieved remaining stack space in bytes (0 in case of a failure).
417 */
418
419 /**
420 \fn void EvrRtxThreadSetPriority (osThreadId_t thread_id, osPriority_t priority)
421 \details
422 The event \b ThreadSetPriority is generated when the function \ref osThreadSetPriority is called.
423
424 \b Value in the Event Recorder shows:
425   - \b thread_id : thread ID.
426   - \b priority : new priority value for the thread function. 
427 */
428
429 /**
430 \fn void EvrRtxThreadGetPriority (osThreadId_t thread_id, osPriority_t priority)
431 \details
432 The event \b ThreadGetPriority is generated when the function \ref osThreadGetPriority is called and its execution result is known.
433
434 \b Value in the Event Recorder shows:
435   - \b thread_id : thread ID.
436   - \b priority : current priority value of the specified thread.
437 */
438
439 /**
440 \fn void EvrRtxThreadYield (void)
441 \details
442 The event \b ThreadYield is generated when the function \ref osThreadYield is called.
443 */
444
445 /**
446 \fn void EvrRtxThreadSuspend (osThreadId_t thread_id)
447 \details
448 The event \b ThreadSuspend is generated when the function \ref osThreadSuspend is called.
449
450 \b Value in the Event Recorder shows:
451   - \b thread_id : thread ID.
452 */
453
454 /**
455 \fn void EvrRtxThreadSuspended (osThreadId_t thread_id)
456 \details
457 The event \b ThreadSuspended is generated when the function \ref osThreadSuspend successfully suspends the specified thread.
458
459 \b Value in the Event Recorder shows:
460   - \b thread_id : thread ID.
461 */
462
463 /**
464 \fn void EvrRtxThreadResume (osThreadId_t thread_id)
465 \details
466 The event \b ThreadResume is generated when the function \ref osThreadResume is called.
467
468 \b Value in the Event Recorder shows:
469   - \b thread_id : thread ID.
470 */
471
472 /**
473 \fn void EvrRtxThreadResumed (osThreadId_t thread_id)
474 \details
475 The event \b ThreadResumed is generated when the function \ref osThreadResume successfully resumes the specified thread.
476
477 \b Value in the Event Recorder shows:
478   - \b thread_id : thread ID.
479 */
480
481 /**
482 \fn void EvrRtxThreadDetach (osThreadId_t thread_id)
483 \details
484 The event \b ThreadDetach is generated when the function \ref osThreadDetach is called.
485
486 \b Value in the Event Recorder shows:
487   - \b thread_id : thread ID.
488 */
489
490 /**
491 \fn void EvrRtxThreadDetached (osThreadId_t thread_id)
492 \details
493 The event \b ThreadDetached is generated when the function \ref osThreadDetach successfully detaches the specified thread.
494
495 \b Value in the Event Recorder shows:
496   - \b thread_id : thread ID.
497 */
498
499 /**
500 \fn void EvrRtxThreadJoin (osThreadId_t thread_id)
501 \details
502 The event \b ThreadJoin is generated when the function \ref osThreadJoin is called.
503
504 \b Value in the Event Recorder shows:
505   - \b thread_id : thread ID.
506 */
507
508 /**
509 \fn void EvrRtxThreadJoinPending (osThreadId_t thread_id)
510 \details
511 The event \b ThreadJoinPending is generated when the function \ref osThreadJoin suspends current running thread until the specified thread terminates.
512
513 \b Value in the Event Recorder shows:
514   - \b thread_id : thread ID.
515 */
516
517 /**
518 \fn void EvrRtxThreadJoined (osThreadId_t thread_id)
519 \details
520 The event \b ThreadJoined is generated when the function \ref osThreadJoin successfully joins the specified thread.
521
522 \b Value in the Event Recorder shows:
523   - \b thread_id : thread ID.
524 */
525
526 /**
527 \fn void EvrRtxThreadBlocked (osThreadId_t thread_id, uint32_t timeout)
528 \details
529 The event \b ThreadBlocked is generated when the current running thread execution is blocked.
530
531 \b Value in the Event Recorder shows:
532   - \b thread_id : thread ID.
533   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
534 */
535
536 /**
537 \fn void EvrRtxThreadUnblocked (osThreadId_t thread_id, uint32_t ret_val)
538 \details
539 The event \b ThreadUnblocked is generated when the blocked thread execution is unblocked.
540
541 \b Value in the Event Recorder shows:
542   - \b thread_id : thread ID.
543   - \b ret_val : 
544 */
545
546 /**
547 \fn void EvrRtxThreadPreempted (osThreadId_t thread_id)
548 \details
549 The event \b ThreadPreempted is generated when current running thread execution is preempted.
550
551 \b Value in the Event Recorder shows:
552   - \b thread_id : thread ID.
553 */
554
555 /**
556 \fn void EvrRtxThreadSwitched (osThreadId_t thread_id)
557 \details
558 The event \b ThreadSwitched is generated when current running thread execution switches.
559
560 \b Value in the Event Recorder shows:
561   - \b thread_id : thread ID.
562 */
563
564 /**
565 \fn void EvrRtxThreadExit (void)
566 \details
567 The event \b ThreadExit is generated when the function \ref osThreadExit is called.
568 */
569
570 /**
571 \fn void EvrRtxThreadTerminate (osThreadId_t thread_id)
572 \details
573 The event \b ThreadTerminate is generated when the function \ref osThreadTerminate is called.
574
575 \b Value in the Event Recorder shows:
576   - \b thread_id : thread ID.
577 */
578
579 /**
580 \fn void EvrRtxThreadDestroyed (osThreadId_t thread_id)
581 \details
582 The event \b ThreadDestroyed is generated when the function \ref osThreadExit or \ref osThreadTerminate successfully terminates the thread.
583
584 \b Value in the Event Recorder shows:
585   - \b thread_id : thread ID.
586 */
587
588 /**
589 \fn void EvrRtxThreadGetCount (uint32_t count)
590 \details
591 The event \b ThreadGetCount is generated when the function \ref osThreadGetCount is called and its execution result is known.
592
593 \b Value in the Event Recorder shows:
594   - \b count : retrieved number of active threads (0 in case of a failure).
595 */
596
597 /**
598 \fn void EvrRtxThreadEnumerate (osThreadId_t *thread_array, uint32_t array_items, uint32_t count)
599 \details
600 The event \b ThreadEnumerate is generated when the function \ref osThreadEnumerate is called and its execution result is known.
601
602 \b Value in the Event Recorder shows:
603   - \b thread_array : memory address of array for retrieving thread IDs.
604   - \b array_items : maximum number of items in thread_array.
605   - \b count : number of enumerated threads (0 in case of a failure).
606 */
607
608 /**
609 \fn void EvrRtxThreadFlagsSet (osThreadId_t thread_id, int32_t flags)
610 \details
611 The event \b ThreadFlagsSet is generated when the function \ref osThreadFlagsSet is called.
612
613 \b Value in the Event Recorder shows:
614   - \b thread_id : thread ID.
615   - \b flags : flags that shall be set.
616 */
617
618 /**
619 \fn void EvrRtxThreadFlagsSetDone (osThreadId_t thread_id, int32_t thread_flags)
620 \details
621 The event \b ThreadFlagsSetDone is generated when thread flags are successfully set.
622
623 \b Value in the Event Recorder shows:
624   - \b thread_id : thread ID.
625   - \b thread_flags : thread flags after setting.
626 */
627
628 /**
629 \fn void EvrRtxThreadFlagsClear (int32_t flags)
630 \details
631 The event \b ThreadFlagsClear is generated when the function \ref osThreadFlagsClear is called.
632
633 \b Value in the Event Recorder shows:
634   - \b flags : flags that shall be cleared. 
635 */
636
637 /**
638 \fn void EvrRtxThreadFlagsClearDone (int32_t thread_flags)
639 \details
640 The event \b ThreadFlagsClearDone is generated when the function \ref osThreadFlagsClear successfully clears thread flags.
641
642 \b Value in the Event Recorder shows:
643   - \b thread_flags : thread flags before clearing.
644 */
645
646 /**
647 \fn void EvrRtxThreadFlagsGet (int32_t thread_flags)
648 \details
649 The event \b ThreadFlagsGet is generated when the function \ref osThreadFlagsGet is called and its execution result is known.
650
651 \b Value in the Event Recorder shows:
652   - \b thread_flags : current thread flags.
653 */
654
655 /**
656 \fn void EvrRtxThreadFlagsWait (int32_t flags, uint32_t options, uint32_t timeout)
657 \details
658 The event \b ThreadFlagsWait is generated when the function \ref osThreadFlagsWait is called.
659
660 \b Value in the Event Recorder shows:
661   - \b flags : flags to wait for.
662   - \b options : flags options (refer to \ref osThreadFlagsWait "thread flags options").
663   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
664 */
665
666 /**
667 \fn void EvrRtxThreadFlagsWaitPending (int32_t flags, uint32_t options, uint32_t timeout)
668 \details
669 The event \b ThreadFlagsWaitPending is generated when the function \ref osThreadFlagsWait starts waiting for thread flags to become signaled.
670
671 \b Value in the Event Recorder shows:
672   - \b flags : flags to wait for.
673   - \b options : flags options (refer to \ref osThreadFlagsWait "thread flags options").
674   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
675 */
676
677 /**
678 \fn void EvrRtxThreadFlagsWaitTimeout (void)
679 \details
680 The event \b ThreadFlagsWaitTimeout is generated when wait for thread flags to become signaled is aborted due to expired wait timeout.
681 */
682
683 /**
684 \fn void EvrRtxThreadFlagsWaitCompleted (int32_t flags, uint32_t options, int32_t thread_flags)
685 \details
686 The event \b ThreadFlagsWaitCompleted is generated when waiting for thread flags ends because requested flags were signaled.
687
688 \b Value in the Event Recorder shows:
689   - \b flags : flags thread was waiting for.
690   - \b option : flags options (refer to \ref osThreadFlagsWait "thread flags options").
691   - \b thread_flags : thread flags before clearing.
692 */
693
694 /**
695 \fn void EvrRtxThreadFlagsWaitNotCompleted (int32_t flags, uint32_t options)
696 \details
697 The event \b ThreadFlagsWaitNotCompleted is generated when the function \ref osThreadFlagsWait returns without timeout and specified thread flags were not signaled.
698
699 \b Value in the Event Recorder shows:
700   - \b flags : flags thread was waiting for.
701   - \b options : flags options (refer to \ref osThreadFlagsWait "thread flags options").
702 */
703
704 /**
705 \fn void EvrRtxThreadDelay (uint32_t ticks)
706 \details
707 The event \b ThreadDelay is generated when the function \ref osDelay is called.
708
709 \b Value in the Event Recorder shows:
710   - \b ticks : \ref CMSIS_RTOS_TimeOutValue "time ticks" value. 
711 */
712
713 /**
714 \fn void EvrRtxThreadDelayUntil (uint32_t ticks)
715 \details
716 The event \b ThreadDelayUntil is generated when the function \ref osDelayUntil is called.
717
718 \b Value in the Event Recorder shows:
719   - \b ticks : absolute delay time in ticks.
720 */
721
722 /**
723 \fn void EvrRtxThreadDelayCompleted (void)
724 \details
725 The event \b ThreadDelayCompleted is generated when thread delay expires.
726 */
727
728 /**
729 @}
730 */
731
732 /**
733 \defgroup rtx_evr_timer Timer Functions
734 \brief Events generated by timer functions 
735 \details
736 @{
737 */
738
739 /**
740 \fn void EvrRtxTimerError (osTimerId_t timer_id, int32_t status)
741 \details
742 The event \b TimerError is generated when \ref CMSIS_RTOS_TimerMgmt routines complete their execution due to an error.
743
744 The status parameter indicates the execution status and can be one of the \ref osStatus_t "osStatus_t codes" or one
745 of the extended execution status codes which are summarized in the table below.
746
747 | Extended Status Code          | Description |
748 |:------------------------------|:------------|
749 | osRtxErrorKernelNotReady      | Kernel scheduler is not in Ready state. |
750 | osRtxErrorKernelNotRunning    | Kernel scheduler is not executing - there is no running thread. |
751 | osRtxErrorInvalidControlBlock | Object control block with invalid alignment or size was specified. |
752 | osRtxErrorInvalidDataMemory   | Object data memory with invalid alignment or size was specified. |
753 | osRtxErrorInvalidThreadStack  | Thread stack memory with invalid alignment or size was specified. |
754 | osRtxErrorInvalidPriority     | Invalid thread priority was specified. |
755 | osRtxErrorThreadNotJoinable   | Specified thread is not joinable. |
756 | osRtxErrorMutexNotOwned       | Specified mutex is not owned by the current running thread. |
757 | osRtxErrorMutexNotLocked      | Specified mutex is not locked. |
758 | osRtxErrorMutexLockLimit      | Maximum number of recursive mutex locks reached. |
759 | osRtxErrorSemaphoreCountLimit | Semaphore count limit reached. |
760 | osRtxErrorTZ_InitContext_S    | Secure context memory system initialization failed. |
761 | osRtxErrorTZ_AllocContext_S   | Secure context memory allocation failed. |
762 | osRtxErrorTZ_FreeContext_S    | Secure context memory deallocation failed. |
763 | osRtxErrorTZ_LoadContext_S    | Secure context load failed. |
764 | osRtxErrorTZ_SaveContext_S    | Secure context save failed. |
765
766 \b Value in the Event Recorder shows:
767   - \b timer_id : timer ID.
768   - \b status : execution status code.
769 */
770
771 /**
772 \fn void EvrRtxTimerCallback (osTimerFunc_t func, void *argument)
773 \details
774 The event \b TimerCallback is generated when the timer callback function is called.
775
776 \b Value in the Event Recorder shows:
777   - \b func : start address of a timer call back function. 
778   - \b argument : memory address of argument to the timer call back function.
779 */
780
781 /**
782 \fn void EvrRtxTimerNew (osTimerFunc_t func, osTimerType_t type, void *argument, const osTimerAttr_t *attr)
783 \details
784 The event \b TimerNew is generated when the function \ref osTimerNew is called.
785
786 \b Value in the Event Recorder shows:
787   - \b func : start address of a timer call back function.
788   - \b type : timer type: osTimerOnce for one-shot or osTimerPeriodic for periodic behavior.
789   - \b argument : memory address of argument to the timer call back function.
790   - \b attr : memory address of Timer attributes or 0 when they are not specified.
791
792 In case when \ref osTimerAttr_t "timer attributes" are provided in the API call they are also detailed in the Event Recorder.
793 */
794
795 /**
796 \fn void EvrRtxTimerCreated (osTimerId_t timer_id, const char *name)
797 \details
798 The event \b TimerCreated is generated when the function \ref osTimerNew successfully creates a timer object.
799
800 \b Value in the Event Recorder shows:
801   - \b timer_id : timer ID.
802 */
803
804 /**
805 \fn void EvrRtxTimerGetName (osTimerId_t timer_id, const char *name)
806 \details
807 The event \b TimerGetName is generated when the function \ref osTimerGetName is called and its execution result is known.
808
809 \b Value in the Event Recorder shows:
810   - \b timer_id : timer ID.
811   - \b name : retrieved memory address of name string (0 in case of a failure).
812 */
813
814 /**
815 \fn void EvrRtxTimerStart (osTimerId_t timer_id, uint32_t ticks)
816 \details
817 The event \b TimerStart is generated when the function \ref osTimerStart is called.
818
819 \b Value in the Event Recorder shows:
820   - \b timer_id : timer ID.
821   - \b ticks : \ref CMSIS_RTOS_TimeOutValue "time ticks" value of the timer.
822 */
823
824 /**
825 \fn void EvrRtxTimerStarted (osTimerId_t timer_id)
826 \details
827 The event \b TimerStarted is generated when the function \ref osTimerStart successfully starts or restarts the timer operation.
828
829 \b Value in the Event Recorder shows:
830   - \b timer_id : timer ID.
831 */
832
833 /**
834 \fn void EvrRtxTimerStop (osTimerId_t timer_id)
835 \details
836 The event \b TimerStop is generated when the function \ref osTimerStop is called.
837
838 \b Value in the Event Recorder shows:
839   - \b timer_id : timer ID.
840 */
841
842 /**
843 \fn void EvrRtxTimerStopped (osTimerId_t timer_id)
844 \details
845 The event \b TimerStopped is generated when the function \ref osTimerStop successfully stops the timer operation.
846
847 \b Value in the Event Recorder shows:
848   - \b timer_id : timer ID.
849 */
850
851 /**
852 \fn void EvrRtxTimerIsRunning (osTimerId_t timer_id, uint32_t running)
853 \details
854 The event \b TimerIsRunning is generated when the function \ref osTimerIsRunning is called and its execution result is known.
855
856 \b Value in the Event Recorder shows:
857   - \b timer_id : timer ID.
858   - \b running : timer running state: 0 not running, 1 running.
859 */
860
861 /**
862 \fn void EvrRtxTimerDelete (osTimerId_t timer_id)
863 \details
864 The event \b TimerDelete is generated when the function \ref osTimerDelete is called.
865
866 \b Value in the Event Recorder shows:
867   - \b timer_id : timer ID.
868 */
869
870 /**
871 \fn void EvrRtxTimerDestroyed (osTimerId_t timer_id)
872 \details
873 The event \b TimerDestroyed is generated when the function \ref osTimerDelete successfully deletes the timer object.
874
875 \b Value in the Event Recorder shows:
876   - \b timer_id : timer ID.
877 */
878
879 /**
880 @}
881 */
882
883 /**
884 \defgroup rtx_evr_event_flasg Event Flags Functions
885 \brief Events generated by event flag functions 
886 \details
887 @{
888 */
889
890 /**
891 \fn void EvrRtxEventFlagsError (osEventFlagsId_t ef_id, int32_t status)
892 \details
893 The event \b EventFlagsError is generated when \ref CMSIS_RTOS_EventFlags routines complete their execution due to an error.
894
895 The status parameter indicates the execution status and can be one of the \ref osStatus_t "osStatus_t codes" or one
896 of the extended execution status codes which are summarized in the table below.
897
898 |      Extended Status Code     | Description |
899 |:------------------------------|:------------|
900 | osRtxErrorKernelNotReady      | Kernel scheduler is not in Ready state. |
901 | osRtxErrorKernelNotRunning    | Kernel scheduler is not executing - there is no running thread. |
902 | osRtxErrorInvalidControlBlock | Object control block with invalid alignment or size was specified. |
903 | osRtxErrorInvalidDataMemory   | Object data memory with invalid alignment or size was specified. |
904 | osRtxErrorInvalidThreadStack  | Thread stack memory with invalid alignment or size was specified. |
905 | osRtxErrorInvalidPriority     | Invalid thread priority was specified. |
906 | osRtxErrorThreadNotJoinable   | Specified thread is not joinable. |
907 | osRtxErrorMutexNotOwned       | Specified mutex is not owned by the current running thread. |
908 | osRtxErrorMutexNotLocked      | Specified mutex is not locked. |
909 | osRtxErrorMutexLockLimit      | Maximum number of recursive mutex locks reached. |
910 | osRtxErrorSemaphoreCountLimit | Semaphore count limit reached. |
911 | osRtxErrorTZ_InitContext_S    | Secure context memory system initialization failed. |
912 | osRtxErrorTZ_AllocContext_S   | Secure context memory allocation failed. |
913 | osRtxErrorTZ_FreeContext_S    | Secure context memory deallocation failed. |
914 | osRtxErrorTZ_LoadContext_S    | Secure context load failed. |
915 | osRtxErrorTZ_SaveContext_S    | Secure context save failed. |
916
917 \b Value in the Event Recorder shows:
918   - \b ef_id : event flags ID.
919   - \b status : execution status code.
920 */
921
922 /**
923 \fn void EvrRtxEventFlagsNew (const osEventFlagsAttr_t *attr)
924 \details
925 The event \b EventFlagsNew is generated when the function \ref osEventFlagsNew is called.
926
927 \b Value in the Event Recorder shows:
928   - \b attr : memory address of Event Flags attributes or 0 when they are not specified.
929
930 In case when \ref osEventFlagsAttr_t "event flags attributes" are provided in the API call they are also detailed in the Event Recorder.
931 */
932
933 /**
934 \fn void EvrRtxEventFlagsCreated (osEventFlagsId_t ef_id, const char *name)
935 \details
936 The event \b EventFlagsCreated is generated when the function \ref osEventFlagsNew successfully creates a event flags object.
937
938 \b Value in the Event Recorder shows:
939   - \b ef_id : event flags ID.
940 */
941
942 /**
943 \fn void EvrRtxEventFlagsGetName (osEventFlagsId_t ef_id, const char *name)
944 \details
945 The event \b EventFlagsGetName is generated when the function \ref osEventFlagsGetName is called and its execution result is known.
946
947 \b Value in the Event Recorder shows:
948   - \b ef_id : event flags ID.
949   - \b name : retrieved memory address of name string (0 in case of a failure).
950 */
951
952 /**
953 \fn void EvrRtxEventFlagsSet (osEventFlagsId_t ef_id, int32_t flags)
954 \details
955 The event \b EventFlagsSet is generated when the function \ref osEventFlagsSet is called.
956
957 \b Value in the Event Recorder shows:
958   - \b ef_id : event flags ID.
959   - \b flags : flags that shall be set.
960 */
961
962 /**
963 \fn void EvrRtxEventFlagsSetDone (osEventFlagsId_t ef_id, int32_t event_flags)
964 \details
965 The event \b EventFlagsSetDone is generated when event flags are successfully set.
966
967 \b Value in the Event Recorder shows:
968   - \b ef_id : event flags ID.
969   - \b event_flags : event flags after setting.
970 */
971
972 /**
973 \fn void EvrRtxEventFlagsClear (osEventFlagsId_t ef_id, int32_t flags)
974 \details
975 The event \b EventFlagsClear is generated when the function \ref osEventFlagsClear is called.
976
977 \b Value in the Event Recorder shows:
978   - \b ef_id : event flags ID.
979   - \b flags : flags that shall be cleared.
980 */
981
982 /**
983 \fn void EvrRtxEventFlagsClearDone (osEventFlagsId_t ef_id, int32_t event_flags)
984 \details
985 The event \b EventFlagsClearDone is generated when the function \ref osEventFlagsClear successfully clears the event flags.
986
987 \b Value in the Event Recorder shows:
988   - \b ef_id : event flags ID.
989   - \b event_flags : event flags before clearing.
990 */
991
992 /**
993 \fn void EvrRtxEventFlagsGet (osEventFlagsId_t ef_id, int32_t event_flags)
994 \details
995 The event \b EventFlagsGet is generated when the function \ref osEventFlagsGet is called and its execution result is known.
996
997 \b Value in the Event Recorder shows:
998   - \b ef_id : event flags ID.
999   - \b event_flags : retrieved current event flags.
1000 */
1001
1002 /**
1003 \fn void EvrRtxEventFlagsWait (osEventFlagsId_t ef_id, int32_t flags, uint32_t options, uint32_t timeout)
1004 \details
1005 The event \b EventFlagsWait is generated when the function \ref osEventFlagsWait is called.
1006
1007 \b Value in the Event Recorder shows:
1008   - \b ef_id : event flags ID.
1009   - \b flags : flags to wait for. 
1010   - \b options : flags options (refer to \ref osEventFlagsWait "event flags options").
1011   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1012 */
1013
1014 /**
1015 \fn void EvrRtxEventFlagsWaitPending (osEventFlagsId_t ef_id, int32_t flags, uint32_t options, uint32_t timeout)
1016 \details
1017 The event \b EventFlagsWaitPending is generated when the function \ref osEventFlagsWait starts waiting for event flags to become signaled.
1018
1019 \b Value in the Event Recorder shows:
1020   - \b ef_id : event flags ID.
1021   - \b flags : flags to wait for.
1022   - \b options : flags options (refer to \ref osEventFlagsWait "event flags options").
1023   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1024 */
1025
1026 /**
1027 \fn void EvrRtxEventFlagsWaitTimeout (osEventFlagsId_t ef_id);
1028 \details
1029 The event \b EventFlagsWaitTimeout is generated when wait for event flags to become signaled is aborted due to expired wait timeout.
1030
1031 \b Value in the Event Recorder shows:
1032   - \b ef_id : event flags ID.
1033 */
1034
1035 /**
1036 \fn void EvrRtxEventFlagsWaitCompleted (osEventFlagsId_t ef_id, int32_t flags, uint32_t options, int32_t event_flags)
1037 \details
1038 The event \b EventFlagsWaitCompleted is generated when waiting for event flags ends because requested flags were signaled.
1039
1040 \b Value in the Event Recorder shows:
1041   - \b ef_id : event flags ID.
1042   - \b flags : flags to wait for.
1043   - \b options : flags option (refer to \ref osEventFlagsWait "event flags options").
1044   - \b event_flags : event flags before clearing or 0 if specified flags have not been set.
1045 */
1046
1047 /**
1048 \fn void EvrRtxEventFlagsWaitNotCompleted (osEventFlagsId_t ef_id, int32_t flags, uint32_t options)
1049 \details
1050 The event \b EventFlagsWaitNotCompleted is generated when the function \ref osEventFlagsWait returns without timeout and specified event flags were not signaled.
1051
1052 \b Value in the Event Recorder shows:
1053   - \b ef_id : event flags ID.
1054   - \b flags : flags to wait for.
1055   - \b options : flags options (refer to \ref osEventFlagsWait "event flags options").
1056 */
1057
1058 /**
1059 \fn void EvrRtxEventFlagsDelete (osEventFlagsId_t ef_id)
1060 \details
1061 The event \b EventFlagsDelete is generated when the function \ref osEventFlagsDelete is called.
1062
1063 \b Value in the Event Recorder shows:
1064   - \b ef_id : event flags ID.
1065 */
1066
1067 /**
1068 \fn void EvrRtxEventFlagsDestroyed (osEventFlagsId_t ef_id)
1069 \details
1070 The event \b EventFlagsDestroyed is generated when the function \ref osEventFlagsDelete successfully deletes the event flags object.
1071
1072 \b Value in the Event Recorder shows:
1073   - \b ef_id : event flags ID.
1074 */
1075
1076 /**
1077 @}
1078 */
1079
1080 /**
1081 \defgroup rtx_evr_mutex Mutex Functions
1082 \brief Events generated by mutex functions 
1083 \details
1084 @{
1085 */
1086
1087 /**
1088 \fn void EvrRtxMutexError (osMutexId_t mutex_id, int32_t status)
1089 \details
1090 The event \b MutexError is generated when \ref CMSIS_RTOS_MutexMgmt routines complete their execution due to an error.
1091
1092 The status parameter indicates the execution status and can be one of the \ref osStatus_t "osStatus_t codes" or one
1093 of the extended execution status codes which are summarized in the table below.
1094
1095 |      Extended Status Code     | Description |
1096 |:------------------------------|:------------|
1097 | osRtxErrorKernelNotReady      | Kernel scheduler is not in Ready state. |
1098 | osRtxErrorKernelNotRunning    | Kernel scheduler is not executing - there is no running thread. |
1099 | osRtxErrorInvalidControlBlock | Object control block with invalid alignment or size was specified. |
1100 | osRtxErrorInvalidDataMemory   | Object data memory with invalid alignment or size was specified. |
1101 | osRtxErrorInvalidThreadStack  | Thread stack memory with invalid alignment or size was specified. |
1102 | osRtxErrorInvalidPriority     | Invalid thread priority was specified. |
1103 | osRtxErrorThreadNotJoinable   | Specified thread is not joinable. |
1104 | osRtxErrorMutexNotOwned       | Specified mutex is not owned by the current running thread. |
1105 | osRtxErrorMutexNotLocked      | Specified mutex is not locked. |
1106 | osRtxErrorMutexLockLimit      | Maximum number of recursive mutex locks reached. |
1107 | osRtxErrorSemaphoreCountLimit | Semaphore count limit reached. |
1108 | osRtxErrorTZ_InitContext_S    | Secure context memory system initialization failed. |
1109 | osRtxErrorTZ_AllocContext_S   | Secure context memory allocation failed. |
1110 | osRtxErrorTZ_FreeContext_S    | Secure context memory deallocation failed. |
1111 | osRtxErrorTZ_LoadContext_S    | Secure context load failed. |
1112 | osRtxErrorTZ_SaveContext_S    | Secure context save failed. |
1113
1114 \b Value in the Event Recorder shows:
1115   - \b mutex_id : mutex ID.
1116   - \b status : execution status code.
1117 */
1118
1119 /**
1120 \fn void EvrRtxMutexNew (const osMutexAttr_t *attr)
1121 \details
1122 The event \b MutexNew is generated when the function \ref osMutexNew is called.
1123
1124 \b Value in the Event Recorder shows:
1125   - \b attr : memory address of Mutex attributes or 0 when they are not specified.
1126
1127 In case when \ref osMutexAttr_t "mutex attributes" are provided in the API call they are also detailed in the Event Recorder.
1128 */
1129
1130 /**
1131 \fn void EvrRtxMutexCreated (osMutexId_t mutex_id, const char *name)
1132 \details
1133 The event \b MutexCreated is generated when the function \ref osMutexNew successfully creates a mutex object.
1134
1135 \b Value in the Event Recorder shows:
1136   - \b mutex_id : mutex ID.
1137 */
1138
1139 /**
1140 \fn void EvrRtxMutexGetName (osMutexId_t mutex_id, const char *name)
1141 \details
1142 The event \b MutexGetName is generated when the function \ref osMutexGetName is called and its execution result is known.
1143
1144 \b Value in the Event Recorder shows:
1145   - \b mutex_id : mutex ID.
1146   - \b name : retrieved memory address of name string (0 in case of a failure).
1147 */
1148
1149 /**
1150 \fn void EvrRtxMutexAcquire (osMutexId_t mutex_id, uint32_t timeout)
1151 \details
1152 The event \b MutexAcquire is generated when the function \ref osMutexAcquire is called.
1153
1154 \b Value in the Event Recorder shows:
1155   - \b mutex_id : mutex ID.
1156   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1157 */
1158
1159 /**
1160 \fn void EvrRtxMutexAcquirePending (osMutexId_t mutex_id, uint32_t timeout)
1161 \details
1162 The event \b MutexAcquirePending is generated when the function \ref osMutexAcquire blocks current running thread and waits for mutex to become available.
1163
1164 \b Value in the Event Recorder shows:
1165   - \b mutex_id : mutex ID.
1166   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1167 */
1168
1169 /**
1170 \fn void EvrRtxMutexAcquireTimeout (osMutexId_t mutex_id)
1171 \details
1172 The event \b MutexAcquireTimeout is generated when wait for mutex to become available is aborted due to expired wait timeout.
1173
1174 \b Value in the Event Recorder shows:
1175   - \b mutex_id : mutex ID.
1176 */
1177
1178 /**
1179 \fn void EvrRtxMutexAcquired (osMutexId_t mutex_id, uint32_t lock)
1180 \details
1181 The event \b MutexAcquired is generated when the function \ref osMutexAcquire successfully acquires a mutex.
1182
1183 \b Value in the Event Recorder shows:
1184   - \b mutex_id : mutex ID.
1185   - \b lock : current lock counter state.
1186 */
1187
1188 /**
1189 \fn void EvrRtxMutexNotAcquired (osMutexId_t mutex_id)
1190 \details
1191 The event \b MutexNotAcquired is generated when the function \ref osMutexAcquire returns without timeout and mutex was not acquired.
1192
1193 \b Value in the Event Recorder shows:
1194   - \b mutex_id : mutex ID.
1195 */
1196
1197 /**
1198 \fn void EvrRtxMutexRelease (osMutexId_t mutex_id)
1199 \details
1200 The event \b MutexRelease is generated when the function \ref osMutexRelease is called.
1201
1202 \b Value in the Event Recorder shows:
1203   - \b mutex_id : mutex ID.
1204 */
1205
1206 /**
1207 \fn void EvrRtxMutexReleased (osMutexId_t mutex_id, uint32_t lock)
1208 \details
1209 The event \b MutexReleased is generated when the function \ref osMutexRelease successfully releases a mutex.
1210
1211 \b Value in the Event Recorder shows:
1212   - \b mutex_id : mutex ID.
1213   - \b lock : current lock counter state.
1214 */
1215
1216 /**
1217 \fn void EvrRtxMutexGetOwner (osMutexId_t mutex_id, osThreadId_t thread_id)
1218 \details
1219 The event \b MutexGetOwner is generated when the function \ref osMutexGetOwner is called and its execution result is known.
1220
1221 \b Value in the Event Recorder shows:
1222   - \b mutex_id : mutex ID.
1223   - \b thread_id : retrieved owner thread ID (0 in case of a failure or when mutex is not locked)
1224 */
1225
1226 /**
1227 \fn void EvrRtxMutexDelete (osMutexId_t mutex_id)
1228 \details
1229 The event \b MutexDelete is generated when the function \ref osMutexDelete is called.
1230
1231 \b Value in the Event Recorder shows:
1232   - \b mutex_id : mutex ID.
1233 */
1234
1235 /**
1236 \fn void EvrRtxMutexDestroyed (osMutexId_t mutex_id)
1237 \details
1238 The event \b MutexDestroyed is generated when the function \ref osMutexDelete successfully deletes the mutex object.
1239
1240 \b Value in the Event Recorder shows:
1241   - \b mutex_id : mutex ID.
1242 */
1243
1244 /**
1245 @}
1246 */
1247
1248 /**
1249 \defgroup rtx_evr_semaphore Semaphore Functions
1250 \brief Events generated by semaphore functions 
1251 \details
1252 @{
1253 */
1254
1255 /**
1256 \fn void EvrRtxSemaphoreError (osSemaphoreId_t semaphore_id, int32_t status)
1257 \details
1258 The event \b SemaphoreError is generated when \ref CMSIS_RTOS_SemaphoreMgmt routines complete their execution due to an error.
1259
1260 The status parameter indicates the execution status and can be one of the \ref osStatus_t "osStatus_t codes" or one
1261 of the extended execution status codes which are summarized in the table below.
1262
1263 |      Extended Status Code     | Description |
1264 |:------------------------------|:------------|
1265 | osRtxErrorKernelNotReady      | Kernel scheduler is not in Ready state. |
1266 | osRtxErrorKernelNotRunning    | Kernel scheduler is not executing - there is no running thread. |
1267 | osRtxErrorInvalidControlBlock | Object control block with invalid alignment or size was specified. |
1268 | osRtxErrorInvalidDataMemory   | Object data memory with invalid alignment or size was specified. |
1269 | osRtxErrorInvalidThreadStack  | Thread stack memory with invalid alignment or size was specified. |
1270 | osRtxErrorInvalidPriority     | Invalid thread priority was specified. |
1271 | osRtxErrorThreadNotJoinable   | Specified thread is not joinable. |
1272 | osRtxErrorMutexNotOwned       | Specified mutex is not owned by the current running thread. |
1273 | osRtxErrorMutexNotLocked      | Specified mutex is not locked. |
1274 | osRtxErrorMutexLockLimit      | Maximum number of recursive mutex locks reached. |
1275 | osRtxErrorSemaphoreCountLimit | Semaphore count limit reached. |
1276 | osRtxErrorTZ_InitContext_S    | Secure context memory system initialization failed. |
1277 | osRtxErrorTZ_AllocContext_S   | Secure context memory allocation failed. |
1278 | osRtxErrorTZ_FreeContext_S    | Secure context memory deallocation failed. |
1279 | osRtxErrorTZ_LoadContext_S    | Secure context load failed. |
1280 | osRtxErrorTZ_SaveContext_S    | Secure context save failed. |
1281
1282 \b Value in the Event Recorder shows:
1283   - \b semaphore_id : semaphore ID.
1284   - \b status : execution status code.
1285 */
1286
1287 /**
1288 \fn void EvrRtxSemaphoreNew (uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t *attr)
1289 \details
1290 The event \b SemaphoreNew is generated when the function \ref osSemaphoreNew is called.
1291
1292 \b Value in the Event Recorder shows:
1293   - \b max_count : maximum number of available tokens. 
1294   - \b initial_count : initial number of available tokens.
1295   - \b attr : memory address of Semaphore attributes or 0 when they are not specified.
1296
1297 In case when \ref osSemaphoreAttr_t "semaphore attributes" are provided in the API call they are also detailed in the Event Recorder.
1298 */
1299
1300 /**
1301 \fn void EvrRtxSemaphoreCreated (osSemaphoreId_t semaphore_id, const char *name)
1302 \details
1303 The event \b SemaphoreCreated is generated when the function \ref osSemaphoreNew successfully creates a semaphore object.
1304
1305 \b Value in the Event Recorder shows:
1306   - \b semaphore_id : semaphore ID.
1307 */
1308
1309 /**
1310 \fn void EvrRtxSemaphoreGetName (osSemaphoreId_t semaphore_id, const char *name)
1311 \details
1312 The event \b SemaphoreGetName is generated when the function \ref osSemaphoreGetName is called and its execution result is known.
1313
1314 \b Value in the Event Recorder shows:
1315   - \b semaphore_id : semaphore ID.
1316   - \b name : retrieved memory address of name string (0 in case of a failure).
1317 */
1318
1319 /**
1320 \fn void EvrRtxSemaphoreAcquire (osSemaphoreId_t semaphore_id, uint32_t timeout)
1321 \details
1322 The event \b SemaphoreAcquire is generated when the function \ref osSemaphoreAcquire is called.
1323
1324 \b Value in the Event Recorder shows:
1325   - \b semaphore_id : semaphore ID.
1326   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1327 */
1328
1329 /**
1330 \fn void EvrRtxSemaphoreAcquirePending (osSemaphoreId_t semaphore_id, uint32_t timeout)
1331 \details
1332 The event \b SemaphoreAcquirePending is generated when the function \ref osSemaphoreAcquire blocks current running thread and waits for semaphore token to become available.
1333
1334 \b Value in the Event Recorder shows:
1335   - \b semaphore_id : semaphore ID.
1336   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1337 */
1338
1339 /**
1340 \fn void EvrRtxSemaphoreAcquireTimeout (osSemaphoreId_t semaphore_id)
1341 \details
1342 The event \b SemaphoreAcquireTimeout is generated when wait for semaphore to become available is aborted due to expired wait timeout.
1343
1344 \b Value in the Event Recorder shows:
1345   - \b semaphore_id : semaphore ID.
1346 */
1347
1348 /**
1349 \fn void EvrRtxSemaphoreAcquired (osSemaphoreId_t semaphore_id)
1350 \details
1351 The event \b SemaphoreAcquired is generated when the function \ref osSemaphoreAcquire successfully acquires the semaphore token.
1352
1353 \b Value in the Event Recorder shows:
1354   - \b semaphore_id : semaphore ID.
1355 */
1356
1357 /**
1358 \fn void EvrRtxSemaphoreNotAcquired (osSemaphoreId_t semaphore_id)
1359 \details
1360 The event \b SemaphoreNotAcquired is generated when the function \ref osMutexAcquire returns without timeout and semaphore token was not acquired.
1361
1362 \b Value in the Event Recorder shows:
1363   - \b semaphore_id : semaphore ID.
1364 */
1365
1366 /**
1367 \fn void EvrRtxSemaphoreRelease (osSemaphoreId_t semaphore_id)
1368 \details
1369 The event \b SemaphoreRelease is generated when the function \ref osSemaphoreRelease is called.
1370
1371 \b Value in the Event Recorder shows:
1372   - \b semaphore_id : semaphore ID.
1373 */
1374
1375 /**
1376 \fn void EvrRtxSemaphoreReleased (osSemaphoreId_t semaphore_id)
1377 \details
1378 The event \b SemaphoreReleased is generated when the function \ref osSemaphoreRelease successfully releases the semaphore token.
1379
1380 \b Value in the Event Recorder shows:
1381   - \b semaphore_id : semaphore ID.
1382 */
1383
1384 /**
1385 \fn void EvrRtxSemaphoreGetCount (osSemaphoreId_t semaphore_id, uint32_t count)
1386 \details
1387 The event \b SemaphoreGetCount is generated when the function \ref osSemaphoreGetCount is called and its execution result is known.
1388
1389 \b Value in the Event Recorder shows:
1390   - \b semaphore_id : semaphore ID.
1391   - \b count : retrieved current number of available tokens. 
1392 */
1393
1394 /**
1395 \fn void EvrRtxSemaphoreDelete (osSemaphoreId_t semaphore_id)
1396 \details
1397 The event \b SemaphoreDelete is generated when the function \ref osSemaphoreDelete is called.
1398
1399 \b Value in the Event Recorder shows:
1400   - \b semaphore_id : semaphore ID.
1401 */
1402
1403 /**
1404 \fn void EvrRtxSemaphoreDestroyed (osSemaphoreId_t semaphore_id)
1405 \details
1406 The event \b SemaphoreDestroyed is generated when the function \ref osSemaphoreDelete successfully deletes the semaphore object.
1407
1408 \b Value in the Event Recorder shows:
1409   - \b semaphore_id : semaphore ID.
1410 */
1411
1412 /**
1413 @}
1414 */
1415
1416 /**
1417 \defgroup rtx_evr_memory_pool Memory Pool Functions
1418 \brief Events generated by memory pool functions 
1419 \details
1420 @{
1421 */
1422
1423 /**
1424 \fn void EvrRtxMemoryPoolError (osMemoryPoolId_t mp_id, int32_t status)
1425 \details
1426 The event \b MemoryPoolError is generated when \ref CMSIS_RTOS_PoolMgmt routines complete their execution due to an error.
1427
1428 The status parameter indicates the execution status and can be one of the \ref osStatus_t "osStatus_t codes" or one
1429 of the extended execution status codes which are summarized in the table below.
1430
1431 |      Extended Status Code     | Description |
1432 |:------------------------------|:------------|
1433 | osRtxErrorKernelNotReady      | Kernel scheduler is not in Ready state. |
1434 | osRtxErrorKernelNotRunning    | Kernel scheduler is not executing - there is no running thread. |
1435 | osRtxErrorInvalidControlBlock | Object control block with invalid alignment or size was specified. |
1436 | osRtxErrorInvalidDataMemory   | Object data memory with invalid alignment or size was specified. |
1437 | osRtxErrorInvalidThreadStack  | Thread stack memory with invalid alignment or size was specified. |
1438 | osRtxErrorInvalidPriority     | Invalid thread priority was specified. |
1439 | osRtxErrorThreadNotJoinable   | Specified thread is not joinable. |
1440 | osRtxErrorMutexNotOwned       | Specified mutex is not owned by the current running thread. |
1441 | osRtxErrorMutexNotLocked      | Specified mutex is not locked. |
1442 | osRtxErrorMutexLockLimit      | Maximum number of recursive mutex locks reached. |
1443 | osRtxErrorSemaphoreCountLimit | Semaphore count limit reached. |
1444 | osRtxErrorTZ_InitContext_S    | Secure context memory system initialization failed. |
1445 | osRtxErrorTZ_AllocContext_S   | Secure context memory allocation failed. |
1446 | osRtxErrorTZ_FreeContext_S    | Secure context memory deallocation failed. |
1447 | osRtxErrorTZ_LoadContext_S    | Secure context load failed. |
1448 | osRtxErrorTZ_SaveContext_S    | Secure context save failed. |
1449
1450 \b Value in the Event Recorder shows:
1451   - \b mp_id : memory pool ID.
1452   - \b status : execution status code.
1453 */
1454
1455 /**
1456 \fn void EvrRtxMemoryPoolNew (uint32_t block_count, uint32_t block_size, const osMemoryPoolAttr_t *attr)
1457 \details
1458 The event \b MemoryPoolNew is generated when the function \ref osMemoryPoolNew is called.
1459
1460 \b Value in the Event Recorder shows:
1461   - \b block_count : maximum number of memory blocks in memory pool.
1462   - \b block_size : memory block size in bytes.
1463   - \b attr : memory address of Memory Pool attributes or 0 when they are not specified.
1464
1465 In case when \ref osMemoryPoolAttr_t "memory pool attributes" are provided in the API call they are also detailed in the Event Recorder.
1466 */
1467
1468 /**
1469 \fn void EvrRtxMemoryPoolCreated (osMemoryPoolId_t mp_id, const char *name)
1470 \details
1471 The event \b MemoryPoolCreated is generated when the function \ref osMemoryPoolNew successfully creates a memory pool object.
1472
1473 \b Value in the Event Recorder shows:
1474   - \b mp_id : memory pool ID.
1475 */
1476
1477 /**
1478 \fn void EvrRtxMemoryPoolGetName (osMemoryPoolId_t mp_id, const char *name)
1479 \details
1480 The event \b MemoryPoolGetName is generated when the function \ref osMemoryPoolGetName is called and its execution result is known.
1481
1482 \b Value in the Event Recorder shows:
1483   - \b mp_id : memory pool ID.
1484   - \b name : retrieved memory address of name string (0 in case of a failure).
1485 */
1486
1487 /**
1488 \fn void EvrRtxMemoryPoolAlloc (osMemoryPoolId_t mp_id, uint32_t timeout)
1489 \details
1490 The event \b MemoryPoolAlloc is generated when the function \ref osMemoryPoolAlloc is called.
1491
1492 \b Value in the Event Recorder shows:
1493   - \b mp_id : memory pool ID.
1494   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1495 */
1496
1497 /**
1498 \fn void EvrRtxMemoryPoolAllocPending (osMemoryPoolId_t mp_id, uint32_t timeout)
1499 \details
1500 The event \b MemoryPoolAllocPending is generated when the function \ref osMemoryPoolAlloc blocks current running thread and waits for memory block to become available.
1501
1502 \b Value in the Event Recorder shows:
1503   - \b mp_id : memory pool ID.
1504   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1505 */
1506
1507 /**
1508 \fn void EvrRtxMemoryPoolAllocTimeout (osMemoryPoolId_t mp_id)
1509 \details
1510 The event \b MemoryPoolAllocTimeout is generated when wait for memory pool to become available is aborted due to expired wait timeout.
1511
1512 \b Value in the Event Recorder shows:
1513   - \b mp_id : memory pool ID.
1514 */
1515
1516 /**
1517 \fn void EvrRtxMemoryPoolAllocated (osMemoryPoolId_t mp_id, void *block)
1518 \details
1519 The event \b MemoryPoolAllocated is generated when the function \ref osMemoryPoolAlloc successfully allocates the memory block.
1520
1521 \b Value in the Event Recorder shows:
1522   - \b mp_id : memory pool ID.
1523   - \b block : memory address of the allocated memory block.
1524 */
1525
1526 /**
1527 \fn void EvrRtxMemoryPoolAllocFailed (osMemoryPoolId_t mp_id)
1528 \details
1529 The event \b MemoryPoolAllocFailed is generated when the function \ref osMemoryPoolAlloc fails to allocate the memory block due to out of available memory.
1530
1531 \b Value in the Event Recorder shows:
1532   - \b mp_id : memory pool ID.
1533 */
1534
1535 /**
1536 \fn void EvrRtxMemoryPoolFree (osMemoryPoolId_t mp_id, void *block)
1537 \details
1538 The event \b MemoryPoolFree is generated when the function \ref osMemoryPoolFree is called.
1539
1540 \b Value in the Event Recorder shows:
1541   - \b mp_id : memory pool ID.
1542   - \b block : memory address of the memory block to be returned to the memory pool.
1543 */
1544
1545 /**
1546 \fn void EvrRtxMemoryPoolDeallocated (osMemoryPoolId_t mp_id, void *block)
1547 \details
1548 The event \b MemoryPoolDeallocated is generated when the function \ref osMemoryPoolFree successfully deallocates the memory block.
1549
1550 \b Value in the Event Recorder shows:
1551   - \b mp_id : memory pool ID.
1552   - \b block : memory address of the memory block returned to the memory pool. 
1553 */
1554
1555 /**
1556 \fn void EvrRtxMemoryPoolFreeFailed (osMemoryPoolId_t mp_id, void *block)
1557 \details
1558 The event \b MemoryPoolFreeFailed is generated when the function \ref osMemoryPoolFree fails to deallocate the memory block.
1559
1560 \b Value in the Event Recorder shows:
1561   - \b mp_id : memory pool ID.
1562   - \b block : memory address of the memory block to be returned to the memory pool.
1563 */
1564
1565 /**
1566 \fn void EvrRtxMemoryPoolGetCapacity (osMemoryPoolId_t mp_id, uint32_t capacity)
1567 \details
1568 The event \b MemoryPoolGetCapacity is generated when the function \ref osMemoryPoolGetCapacity is called and its execution result is known.
1569
1570 \b Value in the Event Recorder shows:
1571   - \b mp_id : memory pool ID.
1572   - \b capacity : retrieved maximum number of memory blocks (0 in case of a failure). 
1573 */
1574
1575 /**
1576 \fn void EvrRtxMemoryPoolGetBlockSize (osMemoryPoolId_t mp_id, uint32_t block_size)
1577 \details
1578 The event \b MemoryPoolGetBlockSize is generated when the function \ref osMemoryPoolGetBlockSize is called and its execution result is known.
1579
1580 \b Value in the Event Recorder shows:
1581   - \b mp_id : memory pool ID.
1582   - \b block_size : retrieved memory block size in bytes (0 in case of a failure).
1583 */
1584
1585 /**
1586 \fn void EvrRtxMemoryPoolGetCount (osMemoryPoolId_t mp_id, uint32_t count)
1587 \details
1588 The event \b MemoryPoolGetCount is generated when the function \ref osMemoryPoolGetCount is called and its execution result is known.
1589
1590 \b Value in the Event Recorder shows:
1591   - \b mp_id : memory pool ID.
1592   - \b count : retrieved number of memory block used (0 in case of a failure).
1593 */
1594
1595 /**
1596 \fn void EvrRtxMemoryPoolGetSpace (osMemoryPoolId_t mp_id, uint32_t space)
1597 \details
1598 The event \b MemoryPoolGetSpace is generated when the function \ref osMemoryPoolGetSpace is called and its execution result is known.
1599
1600 \b Value in the Event Recorder shows:
1601   - \b mp_id : memory pool ID.
1602   - \b space : retrieved number of memory blocks available (0 in case of a failure).
1603 */
1604
1605 /**
1606 \fn void EvrRtxMemoryPoolDelete (osMemoryPoolId_t mp_id)
1607 \details
1608 The event \b MemoryPoolDelete is generated when the function \ref osMemoryPoolDelete is called.
1609
1610 \b Value in the Event Recorder shows:
1611   - \b mp_id : memory pool ID.
1612 */
1613
1614 /**
1615 \fn void EvrRtxMemoryPoolDestroyed (osMemoryPoolId_t mp_id)
1616 \details
1617 The event \b MemoryPoolDestroyed is generated when the function \ref osMemoryPoolDelete successfully deletes the memory pool object.
1618
1619 \b Value in the Event Recorder shows:
1620   - \b mp_id : memory pool ID.
1621 */
1622
1623 /**
1624 @}
1625 */
1626
1627 /**
1628 \defgroup rtx_evr_message_queue Message Queue Functions
1629 \brief Events generated by message queue functions 
1630 \details
1631 @{
1632 */
1633
1634 /**
1635 \fn void EvrRtxMessageQueueError (osMessageQueueId_t mq_id, int32_t status)
1636 \details
1637 The event \b MessageQueueError is generated when \ref CMSIS_RTOS_Message routines complete their execution due to an error.
1638
1639 The status parameter indicates the execution status and can be one of the \ref osStatus_t "osStatus_t codes" or one
1640 of the extended execution status codes which are summarized in the table below.
1641
1642 |      Extended Status Code     | Description |
1643 |:------------------------------|:------------|
1644 | osRtxErrorKernelNotReady      | Kernel scheduler is not in Ready state. |
1645 | osRtxErrorKernelNotRunning    | Kernel scheduler is not executing - there is no running thread. |
1646 | osRtxErrorInvalidControlBlock | Object control block with invalid alignment or size was specified. |
1647 | osRtxErrorInvalidDataMemory   | Object data memory with invalid alignment or size was specified. |
1648 | osRtxErrorInvalidThreadStack  | Thread stack memory with invalid alignment or size was specified. |
1649 | osRtxErrorInvalidPriority     | Invalid thread priority was specified. |
1650 | osRtxErrorThreadNotJoinable   | Specified thread is not joinable. |
1651 | osRtxErrorMutexNotOwned       | Specified mutex is not owned by the current running thread. |
1652 | osRtxErrorMutexNotLocked      | Specified mutex is not locked. |
1653 | osRtxErrorMutexLockLimit      | Maximum number of recursive mutex locks reached. |
1654 | osRtxErrorSemaphoreCountLimit | Semaphore count limit reached. |
1655 | osRtxErrorTZ_InitContext_S    | Secure context memory system initialization failed. |
1656 | osRtxErrorTZ_AllocContext_S   | Secure context memory allocation failed. |
1657 | osRtxErrorTZ_FreeContext_S    | Secure context memory deallocation failed. |
1658 | osRtxErrorTZ_LoadContext_S    | Secure context load failed. |
1659 | osRtxErrorTZ_SaveContext_S    | Secure context save failed. |
1660
1661 \b Value in the Event Recorder shows:
1662   - \b mq_id : message queue ID.
1663   - \b status : execution status code.
1664 */
1665
1666 /**
1667 \fn void EvrRtxMessageQueueNew (uint32_t msg_count, uint32_t msg_size, const osMessageQueueAttr_t *attr)
1668 \details
1669 The event \b MessageQueueNew is generated when the function \ref osMessageQueueNew is called.
1670
1671 \b Value in the Event Recorder shows:
1672   - \b msg_count : maximum number of messages in queue.
1673   - \b msg_size : maximum message size in bytes.
1674   - \b attr : memory address of Message Queue attributes or 0 when they are not specified.
1675
1676 In case when \ref osMessageQueueAttr_t "message queue attributes" are provided in the API call they are also detailed in the Event Recorder.
1677 */
1678
1679 /**
1680 \fn void EvrRtxMessageQueueCreated (osMessageQueueId_t mq_id, const char *name)
1681 \details
1682 The event \b MessageQueueCreated is generated when the function \ref osMessageQueueNew successfully creates a message queue object.
1683
1684 \b Value in the Event Recorder shows:
1685   - \b mq_id : message queue ID.
1686 */
1687
1688 /**
1689 \fn void EvrRtxMessageQueueGetName (osMessageQueueId_t mq_id, const char *name)
1690 \details
1691 The event \b MessageQueueGetName is generated when the function \ref osMessageQueueGetName is called and its execution result is known.
1692
1693 \b Value in the Event Recorder shows:
1694   - \b mq_id : message queue ID.
1695   - \b name : retrieved memory address of name string (0 in case of a failure).
1696 */
1697
1698 /**
1699 \fn void EvrRtxMessageQueuePut (osMessageQueueId_t mq_id, const void *msg_ptr, uint8_t msg_prio, uint32_t timeout)
1700 \details
1701 The event \b MessageQueuePut is generated when the function \ref osMessageQueuePut is called.
1702
1703 \b Value in the Event Recorder shows:
1704   - \b mq_id : message queue ID.
1705   - \b msg_ptr : memory address of message buffer.
1706   - \b msg_prio : message priority.
1707   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1708 */
1709
1710 /**
1711 \fn void EvrRtxMessageQueuePutPending (osMessageQueueId_t mq_id, const void *msg_ptr, uint32_t timeout)
1712 \details
1713 The event \b MessageQueuePutPending is generated when the function \ref osMessageQueuePut starts waiting to put message into the queue.
1714
1715 \b Value in the Event Recorder shows:
1716   - \b mq_id : message queue ID.
1717   - \b msg_ptr : memory address of message buffer.
1718   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1719 */
1720
1721 /**
1722 \fn void EvrRtxMessageQueuePutTimeout (osMessageQueueId_t mq_id)
1723 \details
1724 The event \b MessageQueuePutTimeout is generated when the function \ref osMessageQueuePut fails to insert a message into the queue until timeout expires.
1725
1726 \b Value in the Event Recorder shows:
1727   - \b mq_id : message queue ID.
1728 */
1729
1730 /**
1731 \fn void EvrRtxMessageQueueInsertPending (osMessageQueueId_t mq_id, const void *msg_ptr)
1732 \details
1733 The event \b MessageQueueInsertPending is generated when the function \ref osMessageQueuePut is called from ISR and message is registered to be put into the queue. 
1734
1735 \b Value in the Event Recorder shows:
1736   - \b mq_id : message queue ID.
1737   - \b msg_ptr : memory address of message buffer.
1738 */
1739
1740 /**
1741 \fn void EvrRtxMessageQueueInserted (osMessageQueueId_t mq_id, const void *msg_ptr)
1742 \details
1743 The event \b MessageQueueInserted is generated when a message is successfully inserted into the queue.
1744
1745 \b Value in the Event Recorder shows:
1746   - \b mq_id : message queue ID.
1747   - \b msg_ptr : memory address of message buffer.
1748 */
1749
1750 /**
1751 \fn void EvrRtxMessageQueueNotInserted (osMessageQueueId_t mq_id, const void *msg_ptr)
1752 \details
1753 The event \b MessageQueueNotInserted is generated when the function \ref osMessageQueuePut fails to insert a message into the queue.
1754 Usually this happens when queue is out of memory.
1755
1756 \b Value in the Event Recorder shows:
1757   - \b mq_id : message queue ID.
1758   - \b msg_ptr : memory address of message buffer.
1759 */
1760
1761 /**
1762 \fn void EvrRtxMessageQueueGet (osMessageQueueId_t mq_id, void *msg_ptr, uint8_t *msg_prio, uint32_t timeout)
1763 \details
1764 The event \b MessageQueueGet is generated when the function \ref osMessageQueueGet is called.
1765
1766 \b Value in the Event Recorder shows:
1767   - \b mq_id : message queue ID.
1768   - \b msg_ptr : memory address of buffer for message.
1769   - \b msg_prio : memory address of buffer for message priority.
1770   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1771 */
1772
1773 /**
1774 \fn void EvrRtxMessageQueueGetPending (osMessageQueueId_t mq_id, void *msg_ptr, uint32_t timeout)
1775 \details
1776 The event \b MessageQueueGetPending is generated when the function \ref osMessageQueueGet starts waiting for message to be retrieved from the queue.
1777
1778 \b Value in the Event Recorder shows:
1779   - \b mq_id : message queue ID.
1780   - \b msg_ptr : memory address of buffer for message.
1781   - \b timeout : \ref CMSIS_RTOS_TimeOutValue.
1782 */
1783
1784 /**
1785 \fn void EvrRtxMessageQueueGetTimeout (osMessageQueueId_t mq_id)
1786 \details
1787 The event \b MessageQueueGetTimeout is generated when the function \ref osMessageQueueGet is called and there is no message available in queue until timeout expires.
1788
1789 \b Value in the Event Recorder shows:
1790   - \b mq_id : message queue ID.
1791 */
1792
1793 /**
1794 \fn void EvrRtxMessageQueueRetrieved (osMessageQueueId_t mq_id, void *msg_ptr)
1795 \details
1796 The event \b MessageQueueRetrieved is generated when message is retrieved from the message queue.
1797
1798 \b Value in the Event Recorder shows:
1799   - \b mq_id : message queue ID.
1800   - \b msg_ptr : memory address of buffer for message.
1801 */
1802
1803 /**
1804 \fn void EvrRtxMessageQueueNotRetrieved (osMessageQueueId_t mq_id, void *msg_ptr)
1805 \details
1806 The event \b MessageQueueNotRetrieved is generated when the function \ref osMessageQueueGet is called without the wait timeout and there is no message available in queue.
1807
1808 \b Value in the Event Recorder shows:
1809   - \b mq_id : message queue ID.
1810   - \b msg_ptr : memory address of buffer for message.
1811 */
1812
1813 /**
1814 \fn void EvrRtxMessageQueueGetCapacity (osMessageQueueId_t mq_id, uint32_t capacity)
1815 \details
1816 The event \b MessageQueueGetCapacity is generated when the function \ref osMessageQueueGetCapacity is called and its execution result is known.
1817
1818 \b Value in the Event Recorder shows:
1819   - \b mq_id : message queue ID.
1820   - \b capacity : retrieved maximum number of messages (0 in case of a failure).
1821 */
1822
1823 /**
1824 \fn void EvrRtxMessageQueueGetMsgSize (osMessageQueueId_t mq_id, uint32_t msg_size)
1825 \details
1826 The event \b MessageQueueGetMsgSize is generated when the function \ref osMessageQueueGetMsgSize is called and its execution result is known.
1827
1828 \b Value in the Event Recorder shows:
1829   - \b mq_id : message queue ID.
1830   - \b msg_size : retrieved maximum message size in bytes (0 in case of a failure).
1831 */
1832
1833 /**
1834 \fn void EvrRtxMessageQueueGetCount (osMessageQueueId_t mq_id, uint32_t count)
1835 \details
1836 The event \b MessageQueueGetCount is generated when the function \ref osMessageQueueGetCount is called and its execution result is known.
1837
1838 \b Value in the Event Recorder shows:
1839   - \b mq_id : message queue ID.
1840   - \b count : retrieved number of queued messages (0 in case of a failure).
1841 */
1842
1843 /**
1844 \fn void EvrRtxMessageQueueGetSpace (osMessageQueueId_t mq_id, uint32_t space)
1845 \details
1846 The event \b MessageQueueGetSpace is generated when the function \ref osMessageQueueGetSpace is called and its execution result is known.
1847
1848 \b Value in the Event Recorder shows:
1849   - \b mq_id : message queue ID.
1850   - \b space : retrieved number of available slots for messages (0 in case of a failure).
1851 */
1852
1853 /**
1854 \fn void EvrRtxMessageQueueReset (osMessageQueueId_t mq_id)
1855 \details
1856 The event \b MessageQueueReset is generated when the function \ref osMessageQueueReset is called.
1857
1858 \b Value in the Event Recorder shows:
1859   - \b mq_id : message queue ID.
1860 */
1861
1862 /**
1863 \fn void EvrRtxMessageQueueResetDone (osMessageQueueId_t mq_id)
1864 \details
1865 The event \b MessageQueueResetDone is generated when the function \ref osMessageQueueReset successfully completes message queue reset.
1866
1867 \b Value in the Event Recorder shows:
1868   - \b mq_id : message queue ID.
1869 */
1870
1871 /**
1872 \fn void EvrRtxMessageQueueDelete (osMessageQueueId_t mq_id)
1873 \details
1874 The event \b MessageQueueDelete is generated when the function \ref osMessageQueueDelete is called.
1875
1876 \b Value in the Event Recorder shows:
1877   - \b mq_id : message queue ID.
1878 */
1879
1880 /**
1881 \fn void EvrRtxMessageQueueDestroyed (osMessageQueueId_t mq_id)
1882 \details
1883 The event \b MessageQueueDestroyed is generated when the function \ref osMessageQueueDelete successfully deletes the message queue object.
1884
1885 \b Value in the Event Recorder shows:
1886   - \b mq_id : message queue ID.
1887 */
1888
1889 /**
1890 @}
1891 */
1892
1893 /**
1894 @} 
1895 */
1896 // end group Event Recorder