3 \defgroup freertos_setup Event Recorder Setup
4 \ingroup freertos_specific
5 \brief Information about Event Recorder configuration and setup
7 CMSIS-FreeRTOS interfaces to the
8 <a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/index.html" target="_blank"><b>Event Recorder</b></a>
9 to provide event information which helps you to understand and analyze the operation.
11 To use the Event Recorder together with CMSIS-FreeRTOS, it is required to create an image that generates event information.
12 The steps are described under \ref cre_freertos_proj.
17 \fn void EvrFreeRTOSSetup (uint32_t reset)
19 The function \b EvrFreeRTOSSetup initializes Event Recorder and configures recording level filter. It must be called before any event is sent to the Event Recorder.
21 The argument \a reset specifies if reset of previously applied configuration is performed in case if EvrFreeRTOSSetup was already called.
23 Behavior of this function execution is defined with Event Recorder Configuration (\ref cmsis_freertos_evr_config). Calling this function has
24 no effect when Event Recorder component is not selected.
26 \note \b EvrFreeRTOSSetup is called by function \b osKernelInitialize when CMSIS-RTOS2 API is in use and should not be called explicitly.
37 \defgroup freertos_evr Event functions
38 \ingroup freertos_specific
39 \brief FreeRTOS Event Recorder functions
41 CMSIS-FreeRTOS interfaces to the
42 <a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/index.html" target="_blank"><b>Event Recorder</b></a>
43 to provide event information which helps you to understand and analyze the operation.
45 To use the Event Recorder together with CMSIS-FreeRTOS, it is required to create an image that generates event information.
47 - <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>.
48 - <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>.
49 - <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.
50 - Build the application code and download it to the debug hardware.
52 Once the target application generates event information, it can be viewed in the µVision debugger using the \b Event
59 \defgroup freertos_evr_tasks Tasks Functions
60 \brief Events generated by tasks functions
66 \fn void EvrFreeRTOSTasks_TaskCreate (TCB_t pxNewTCB)
68 The event \b TaskCreate is generated when task object is successfully created.
70 \b Value in the Event Recorder shows:
71 - \b pxNewTCB : pointer to task object handle (control block address).
75 \fn void EvrFreeRTOSTasks_TaskCreateFailed (void)
77 The event \b TaskCreateFailed is generated when task object create fails due to insufficient heap memory.
81 \fn void EvrFreeRTOSTasks_TaskDelete (TCB_t pxTCB)
83 The event \b TaskDelete is generated when the task is successfully added into thread termination list.
85 \b Value in the Event Recorder shows:
86 - \b pxTCB : pointer to task object handle (control block address).
90 \fn void EvrFreeRTOSTasks_TaskDelayUntil (uint32_t xTimeToWake)
92 The event \b TaskDelayUntil is generated before the current running task execution is delayed.
94 \b Value in the Event Recorder shows:
95 - \b xTimeToWake : wake time in ticks.
99 \fn void EvrFreeRTOSTasks_TaskDelay (uint32_t xTicksToDelay)
101 The event \b TaskDelay is generated when the current running task execution is delayed.
103 \b Value in the Event Recorder shows:
104 - \b xTicksToDelay : number of ticks to delay.
108 \fn void EvrFreeRTOSTasks_TaskPrioritySet (TCB_t pxTCB, uint32_t uxNewPriority)
110 The event \b TaskPrioritySet is generated when task priority is set.
112 \b Value in the Event Recorder shows:
113 - \b pxTCB : pointer to task object handle (control block address).
114 - \b uxNewPriority : task new priority .
118 \fn void EvrFreeRTOSTasks_TaskSuspend (TCB_t pxTCB)
120 The event \b TaskSuspend is generated when task execution is suspended.
122 \b Value in the Event Recorder shows:
123 - \b pxTCB : pointer to task object handle (control block address).
127 \fn void EvrFreeRTOSTasks_TaskResume (TCB_t pxTCB)
129 The event \b TaskResume is generated when task execution is resumed.
131 \b Value in the Event Recorder shows:
132 - \b pxTCB : pointer to task object handle (control block address).
136 \fn void EvrFreeRTOSTasks_TaskResumeFromIsr (TCB_t pxTCB)
138 The event \b TaskResumeFromIsr is generated when task execution is resumed from the ISR.
140 \b Value in the Event Recorder shows:
141 - \b pxTCB : pointer to task object handle (control block address).
145 \fn void EvrFreeRTOSTasks_TaskIncrementTick (uint32_t xTickCount)
147 The event \b TaskIncrementTick is generated on every tick increment.
149 \b Value in the Event Recorder shows:
150 - \b xTickCount : tick count before increment.
154 \fn void EvrFreeRTOSTasks_IncreaseTickCount (uint32_t xTicksToJump)
156 The event \b IncreaseTickCount is generated when tick count is increased by the number of ticks spent in low power mode.
158 \b Value in the Event Recorder shows:
159 - \b xTicksToJump : number of ticks by which the tick count is increased.
163 \fn void EvrFreeRTOSTasks_TaskSwitchedOut (TCB_t pxCurrentTCB)
165 The event \b TaskSwitchedOut is generated before a new task is selected to run.
167 \b Value in the Event Recorder shows:
168 - \b pxCurrentTCB : pointer to task object handle (control block address).
172 \fn void EvrFreeRTOSTasks_TaskSwitchedIn (TCB_t pxCurrentTCB, uint32_t uxTopPriority)
174 The event \b TaskSwitchedIn is generated after a task has been selected to run.
176 \b Value in the Event Recorder shows:
177 - \b pxCurrentTCB : pointer to task object handle (control block address).
178 - \b uxTopPriority : task priority
182 \fn void EvrFreeRTOSTasks_TaskPriorityInherit (TCB_t pxTCBOfMutexHolder, uint32_t uxInheritedPriority)
184 The event \b TaskPriorityInherit is generated when task priority is inherited from the current running task.
186 \b Value in the Event Recorder shows:
187 - \b pxTCBOfMutexHolder : pointer to task object handle (control block address).
188 - \b uxInheritedPriority : inherited task priority
192 \fn void EvrFreeRTOSTasks_TaskPriorityDisinherit (TCB_t pxTCBOfMutexHolder, uint32_t uxOriginalPriority)
194 The event \b TaskPriorityDisinherit is generated when task priority is disinherited to its base priority.
196 \b Value in the Event Recorder shows:
197 - \b pxTCBOfMutexHolder : pointer to task object handle (control block address).
198 - \b uxOriginalPriority : task base priority
202 \fn void EvrFreeRTOSTasks_MovedTaskToReadyState (TCB_t pxTCB)
204 The event \b MovedTaskToReadyState is generated before the task is transitioned into the Ready state.
206 \b Value in the Event Recorder shows:
207 - \b pxTCB : pointer to task object handle (control block address).
211 \fn void EvrFreeRTOSTasks_PostMovedTaskToReadyState (TCB_t pxTCB)
213 The event \b PostMovedTaskToReadyState is generated after the task is transitioned into the Ready state.
215 \b Value in the Event Recorder shows:
216 - \b pxTCB : pointer to task object handle (control block address).
220 \fn void EvrFreeRTOSTasks_LowPowerIdleBegin (uint32_t xExpectedIdleTime)
222 The event \b LowPowerIdleBegin is generated when task scheduler enters the low power mode.
224 \b Value in the Event Recorder shows:
225 - \b xExpectedIdleTime : expected idle time in ticks.
229 \fn void EvrFreeRTOSTasks_LowPowerIdleEnd (void)
231 The event \b LowPowerIdleEnd is generated when task scheduler exits from the low power mode.
235 \fn void EvrFreeRTOSTasks_TaskNotifyTakeBlock (uint32_t uxIndexToWait, uint32_t xTicksToWait)
237 The event \b TaskNotifyTakeBlock is generated when the current running task is about to block and wait to take notification.
239 \b Value in the Event Recorder shows:
240 - \b uxIndexToWait : task notification index
241 - \b xTicksToWait : wait timeout in ticks.
245 \fn void EvrFreeRTOSTasks_TaskNotifyTake (uint32_t uxIndexToWait, uint32_t ulNotifiedValue)
247 The event \b TaskNotifyTake is generated when task notify take is successfully executed.
249 \b Value in the Event Recorder shows:
250 - \b uxIndexToWait : task notification index
251 - \b ulNotifiedValue : current state of the notification value.
255 \fn void EvrFreeRTOSTasks_TaskNotifyWaitBlock (uint32_t uxIndexToWait, uint32_t xTicksToWait)
257 The event \b TaskNotifyWaitBlock is generated when the current running task is about to block and wait to receive notification.
259 \b Value in the Event Recorder shows:
260 - \b uxIndexToWait : task notification index
261 - \b xTicksToWait : wait timeout in ticks.
265 \fn void EvrFreeRTOSTasks_TaskNotifyWait (uint32_t uxIndexToWait, uint32_t ulNotifiedValue)
267 The event \b TaskNotifyWait is generated when task notify wait is completed.
269 \b Value in the Event Recorder shows:
270 - \b uxIndexToWait : task notification index
271 - \b ulNotifiedValue : current state of the notification value.
275 \fn void EvrFreeRTOSTasks_TaskNotify (TCB_t xTaskToNotify, uint32_t uxIndexToWait, uint32_t eAction, uint32_t ulNotifiedValue)
277 The event \b TaskNotify is generated when task notify is successfully executed.
279 \b Value in the Event Recorder shows:
280 - \b xTaskToNotify : pointer to task object handle (control block address).
281 - \b uxIndexToWait : task notification index
282 - \b eAction : task notification action (eNotifyAction).
283 - \b ulNotifiedValue : current state of the notification value.
287 \fn void EvrFreeRTOSTasks_TaskNotifyFromIsr (TCB_t xTaskToNotify, uint32_t uxIndexToWait, uint32_t eAction, uint32_t ulNotifiedValue)
289 The event \b TaskNotifyFromIsr is generated when task notify from ISR is successfully executed.
291 \b Value in the Event Recorder shows:
292 - \b xTaskToNotify : pointer to task object handle (control block address).
293 - \b uxIndexToWait : task notification index
294 - \b eAction : task notification action (eNotifyAction).
295 - \b ulNotifiedValue : current state of the notification value.
299 \fn void EvrFreeRTOSTasks_TaskNotifyGiveFromIsr (TCB_t xTaskToNotify, uint32_t ulNotifiedValue)
301 The event \b TaskNotifyGiveFromIsr is generated when task notify give from ISR is successfully executed.
303 \b Value in the Event Recorder shows:
304 - \b xTaskToNotify : pointer to task object handle (control block address).
305 - \b uxIndexToWait : task notification index
306 - \b ulNotifiedValue : current state of the notification value.
315 \defgroup freertos_evr_queue Message Queue Functions
316 \brief Events generated by message queue functions
322 \fn void EvrFreeRTOSQueue_QueueCreate (Queue_t pxQueue)
324 The event \b QueueCreate is generated when queue object is successfully created.
326 \b Value in the Event Recorder shows:
327 - \b pxQueue : pointer to queue object handle (control block address).
331 \fn void EvrFreeRTOSQueue_QueueCreateFailed (uint32_t ucQueueType)
333 The event \b QueueCreateFailed is generated when queue object create fails due to insufficient heap memory.
335 \b Value in the Event Recorder shows:
340 \fn void EvrFreeRTOSQueue_CreateMutex (Queue_t pxNewQueue)
342 The event \b CreateMutex is generated when mutex object is successfully created.
344 \b Value in the Event Recorder shows:
345 - \b pxNewQueue : pointer to mutex (queue) object handle (control block address).
349 \fn void EvrFreeRTOSQueue_CreateMutexFailed (void)
351 The event \b CreateMutexFailed is generated when mutex object create fails due to insufficient heap memory.
355 \fn void EvrFreeRTOSQueue_GiveMutexRecursive (Queue_t pxMutex)
357 The event \b GiveMutexRecursive is generated when mutex give operation is successfully executed.
359 \b Value in the Event Recorder shows:
360 - \b pxMutex : pointer to mutex (queue) object handle (control block address).
364 \fn void EvrFreeRTOSQueue_GiveMutexRecursiveFailed (Queue_t pxMutex)
366 The event \b GiveMutexRecursiveFailed is generated when recursive mutex give operation was not successful.
368 \b Value in the Event Recorder shows:
369 - \b pxMutex : pointer to mutex (queue) object handle (control block address).
373 \fn void EvrFreeRTOSQueue_TakeMutexRecursive (Queue_t pxMutex)
375 The event \b TakeMutexRecursive is generated when recursive mutex take operation is successfully executed.
377 \b Value in the Event Recorder shows:
378 - \b pxMutex : pointer to mutex (queue) object handle (control block address).
382 \fn void EvrFreeRTOSQueue_TakeMutexRecursiveFailed (Queue_t pxMutex)
384 The event \b TakeMutexRecursiveFailed is generated when recursive mutex take operation is not successful.
386 \b Value in the Event Recorder shows:
387 - \b pxMutex : pointer to mutex (queue) object handle (control block address).
391 \fn void EvrFreeRTOSQueue_CreateCountingSemaphore (Queue_t xHandle)
393 The event \b CreateCountingSemaphore is generated when counting semaphore object is successfully created.
395 \b Value in the Event Recorder shows:
396 - \b xHandle : pointer to semaphore (queue) object handle (control block address).
400 \fn void EvrFreeRTOSQueue_CreateCountingSemaphoreFailed (void)
402 The event \b CreateCountingSemaphoreFailed is generated when semaphore object create fails due to insufficient heap memory.
406 \fn void EvrFreeRTOSQueue_QueueSend (Queue_t pxQueue)
408 The event \b QueueSend is generated when the queue send operation was successful.
410 \b Value in the Event Recorder shows:
411 - \b pxQueue : pointer to queue object handle (control block address).
415 \fn void EvrFreeRTOSQueue_QueueSendFailed (Queue_t pxQueue)
417 The event \b QueueSendFailed is generated when the queue send operation fails due to the queue being full.
419 \b Value in the Event Recorder shows:
420 - \b pxQueue : pointer to queue object handle (control block address).
424 \fn void EvrFreeRTOSQueue_QueueReceive (Queue_t pxQueue)
426 The event \b QueueReceive is generated when the queue receive operation was successful.
428 \b Value in the Event Recorder shows:
429 - \b pxQueue : pointer to queue object handle (control block address).
433 \fn void EvrFreeRTOSQueue_QueuePeek (Queue_t pxQueue)
435 The event \b QueuePeek is generated when the queue peek operation was successful.
437 \b Value in the Event Recorder shows:
438 - \b pxQueue : pointer to queue object handle (control block address).
442 \fn void EvrFreeRTOSQueue_QueuePeekFromIsr (Queue_t pxQueue)
444 The event \b QueuePeekFromIsr is generated when the queue peek from ISR operation was successful.
446 \b Value in the Event Recorder shows:
447 - \b pxQueue : pointer to queue object handle (control block address).
451 \fn void EvrFreeRTOSQueue_QueueReceiveFailed (Queue_t pxQueue)
453 The event \b QueueReceiveFailed is generated when the queue receive operation failed because the queue was empty.
455 \b Value in the Event Recorder shows:
456 - \b pxQueue : pointer to queue object handle (control block address).
460 \fn void EvrFreeRTOSQueue_QueueSendFromIsr (Queue_t pxQueue)
462 The event \b QueueSendFromIsr is generated when the queue send from ISR operation was successful.
464 \b Value in the Event Recorder shows:
465 - \b pxQueue : pointer to queue object handle (control block address).
469 \fn void EvrFreeRTOSQueue_QueueSendFromIsrFailed (Queue_t pxQueue)
471 The event \b QueueSendFromIsrFailed is generated when the queue send operation fails due to the queue already being full.
473 \b Value in the Event Recorder shows:
474 - \b pxQueue : pointer to queue object handle (control block address).
478 \fn void EvrFreeRTOSQueue_QueueReceiveFromIsr (Queue_t pxQueue)
480 The event \b QueueReceiveFromIsr is generated when the queue receive from ISR operation was successful.
482 \b Value in the Event Recorder shows:
483 - \b pxQueue : pointer to queue object handle (control block address).
487 \fn void EvrFreeRTOSQueue_QueueReceiveFromIsrFailed (Queue_t pxQueue)
489 The event \b QueueReceiveFromIsrFailed is generated when the queue receive operation fails due to the queue already being empty.
491 \b Value in the Event Recorder shows:
492 - \b pxQueue : pointer to queue object handle (control block address).
496 \fn void EvrFreeRTOSQueue_QueuePeekFromIsrFailed (Queue_t pxQueue)
498 The event \b QueuePeekFromIsrFailed is generated when queue peek operation is executed from an ISR and the queue is empty.
500 \b Value in the Event Recorder shows:
501 - \b pxQueue : pointer to queue object handle (control block address).
505 \fn void EvrFreeRTOSQueue_QueueDelete (Queue_t pxQueue)
507 The event \b QueueDelete is generated when the function vQueueDelete is called.
509 \b Value in the Event Recorder shows:
510 - \b pxQueue : pointer to queue object handle (control block address).
514 \fn void EvrFreeRTOSQueue_QueueRegistryAdd (Queue_t pxQueue, const char *pcQueueName)
516 The event \b QueueRegistryAdd is generated when a human readable name is registered to the specified queue.
518 \b Value in the Event Recorder shows:
519 - \b pxQueue : pointer to queue object handle (control block address).
520 - \b pcQueueName : pointer to the ASCII string.
524 \fn void EvrFreeRTOSQueue_BlockingOnQueueReceive (Queue_t pxQueue)
526 The event \b BlockingOnQueueReceive is generated when the currently executing task is about to block following
527 an attempt to read from an empty queue, or an attempt to 'take' an empty semaphore or mutex.
529 \b Value in the Event Recorder shows:
530 - \b pxQueue : pointer to queue object handle (control block address).
534 \fn void EvrFreeRTOSQueue_BlockingOnQueueSend (Queue_t pxQueue)
536 The event \b BlockingOnQueueSend is generated when the currently executing task is about to block following
537 an attempt to write to a full queue.
539 \b Value in the Event Recorder shows:
540 - \b pxQueue : pointer to queue object handle (control block address).
549 \defgroup freertos_evr_timers Timer Functions
550 \brief Events generated by timer functions
556 \fn void EvrFreeRTOSTimers_TimerCreate (Timer_t pxNewTimer)
558 The event \b TimerCreate is generated when timer object is successfully created.
560 \b Value in the Event Recorder shows:
561 - \b pxNewTimer : pointer to timer object handle (control block address).
565 \fn void EvrFreeRTOSTimers_TimerCreateFailed (void)
567 The event \b TimerCreateFailed is generated when timer object create fails due to insufficient heap memory.
571 \fn void EvrFreeRTOSTimers_TimerCommandSend (Timer_t pxTimer, uint32_t xCommandID, uint32_t xOptionalValue, uint32_t xReturn)
573 The event \b TimerCommandSend is generated when a command is sent to the timer service task,
575 \b Value in the Event Recorder shows:
576 - \b pxTimer : pointer to timer object handle (control block address).
577 - \b xCommandID : timer command ID.
578 - \b xOptionalValue : optional command value.
579 - \b xReturn : execution status (0: failed, command was not sent to the timer command queue, 1: passed, command sent)
583 \fn void EvrFreeRTOSTimers_TimerCommandReceived (Timer_t pxTimer, uint32_t xCommandID, uint32_t xOptionalValue)
585 The event \b TimerCommandReceived is generated when the timer service task receives a command and before the command is actually processed.
587 \b Value in the Event Recorder shows:
588 - \b pxTimer : pointer to timer object handle (control block address).
589 - \b xCommandID : timer command ID.
590 - \b xOptionalValue : optional command value.
594 \fn void EvrFreeRTOSTimers_TimerExpired (Timer_t pxTimer)
596 The event \b TimerExpired is generated when a software timer expires and before the timer callback is executed.
598 \b Value in the Event Recorder shows:
599 - \b pxTimer : pointer to timer object handle (control block address).
603 \fn void EvrFreeRTOSTimers_PendFuncCall (PendedFunction_t pxFunctionToPend, void *pvParameter1, uint32_t ulParameter2, uint32_t xReturn)
605 The event \b PendFuncCall is generated before the function xTimerPendFunctionCall returns.
607 \b Value in the Event Recorder shows:
608 - \b pxFunctionToPend : callback function to execute from the timer service/deamon task.
609 - \b pvParameter1 : the value passed into the callback function as the first parameter.
610 - \b ulParameter2 : the value passed into the callback function as the second parameter.
611 - \b xReturn : execution status (1=callback passed to the timer sevice task, any other value: queue full, failed to register the callback execution)
615 \fn void EvrFreeRTOSTimers_PendFuncCallFromIsr (PendedFunction_t pxFunctionToPend, void *pvParameter1, uint32_t ulParameter2, uint32_t xReturn)
617 The event \b PendFuncCallFromIsr is generated before the function xTimerPendFunctionCallFromISR returns.
619 \b Value in the Event Recorder shows:
620 - \b pxFunctionToPend : callback function to execute from the timer service/deamon task.
621 - \b pvParameter1 : the value passed into the callback function as the first parameter.
622 - \b ulParameter2 : the value passed into the callback function as the second parameter.
623 - \b xReturn : execution status (1=callback passed to the timer sevice task, any other value: queue full, failed to register the callback execution)
632 \defgroup freertos_evr_event_groups Event Groups Functions
633 \brief Events generated by event groups functions
639 \fn void EvrFreeRTOSEventGroups_EventGroupCreate (EventGroup_t pxEventGroup)
641 The event \b EventGroupCreate is generated when Event Groups object is successfully created.
643 \b Value in the Event Recorder shows:
644 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
648 \fn void EvrFreeRTOSEventGroups_EventGroupCreateFailed (void)
650 The event \b EventGroupCreateFailed is generated when Event Groups object create fails due to insufficient heap memory.
654 \fn void EvrFreeRTOSEventGroups_EventGroupSyncBlock (EventGroup_t pxEventGroup, uint32_t uxBitsToSet, uint32_t uxBitsToWaitFor)
656 The event \b EventGroupSyncBlock is generated before the function xEventGroupSync enters blocked state.
658 \b Value in the Event Recorder shows:
659 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
660 - \b uxBitsToSet : event bits that shall be set.
661 - \b uxBitsToWaitFor : event bits to wait for.
665 \fn void EvrFreeRTOSEventGroups_EventGroupSyncEnd (EventGroup_t pxEventGroup, uint32_t uxBitsToSet, uint32_t uxBitsToWaitFor, uint32_t xTimeoutOccurred)
667 The event \b EventGroupSyncEnd is generated before the function xEventGroupSync returns.
669 \b Value in the Event Recorder shows:
670 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
671 - \b uxBitsToSet : event bits that shall be set.
672 - \b uxBitsToWaitFor : event bits to wait for.
673 - \b xTimeoutOccurred : timeout value (0=timeout occurred, 1=no timeout)
677 \fn void EvrFreeRTOSEventGroups_EventGroupWaitBitsBlock (EventGroup_t pxEventGroup, uint32_t uxBitsToWaitFor)
679 The event \b EventGroupWaitBitsBlock is generated before the function xEventGroupWaitBits enters blocked state.
681 \b Value in the Event Recorder shows:
682 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
683 - \b uxBitsToWaitFor : event bits to wait for.
687 \fn void EvrFreeRTOSEventGroups_EventGroupWaitBitsEnd (EventGroup_t pxEventGroup, uint32_t uxBitsToWaitFor, uint32_t xTimeoutOccurred)
689 The event \b EventGroupWaitBitsEnd is generated before the function xEventGroupWaitBits returns.
691 \b Value in the Event Recorder shows:
692 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
693 - \b uxBitsToWaitFor : event bits to wait for.
694 - \b xTimeoutOccurred : timeout value (0=timeout occurred, 1=no timeout)
698 \fn void EvrFreeRTOSEventGroups_EventGroupClearBits (EventGroup_t pxEventGroup, uint32_t uxBitsToClear)
700 The event \b EventGroupClearBits is generated when the function xEventGroupClearBits is called.
702 \b Value in the Event Recorder shows:
703 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
704 - \b uxBitsToClear : event bits that shall be cleared.
708 \fn void EvrFreeRTOSEventGroups_EventGroupClearBitsFromIsr (EventGroup_t pxEventGroup, uint32_t uxBitsToClear)
710 The event \b EventGroupClearBitsFromIsr is generated when the function xEventGroupClearBitsFromISR is called.
712 \b Value in the Event Recorder shows:
713 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
714 - \b uxBitsToClear : event bits that shall be cleared.
718 \fn void EvrFreeRTOSEventGroups_EventGroupSetBits (EventGroup_t pxEventGroup, uint32_t uxBitsToSet)
720 The event \b EventGroupSetBits is generated when the function xEventGroupSetBits is called.
722 \b Value in the Event Recorder shows:
723 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
724 - \b uxBitsToSet : event bits that shall be set.
728 \fn void EvrFreeRTOSEventGroups_EventGroupSetBitsFromIsr (EventGroup_t pxEventGroup, uint32_t uxBitsToSet)
730 The event \b EventGroupSetBitsFromIsr is generated when the function xEventGroupSetBitsFromISR is called.
732 \b Value in the Event Recorder shows:
733 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
734 - \b uxBitsToSet : event bits that shall be set.
738 \fn void EvrFreeRTOSEventGroups_EventGroupDelete (EventGroup_t pxEventGroup)
740 The event \b EventGroupDelete is generated when Event Group object is successfully added to object delete queue.
742 \b Value in the Event Recorder shows:
743 - \b pxEventGroup : pointer to Event Groups object handle (control block address)
752 \defgroup freertos_evr_streambuf Stream Buffer Functions
753 \brief Events generated by Stream Buffer and Message Buffer functions
759 \fn void EvrFreeRTOSStreamBuf_StreamBufferCreateFailed (uint32_t uxIsMessageBuffer)
761 The event \b StreamBufferCreateFailed is generated when Stream Buffer or Message Buffer object create fails due to insufficient heap memory.
763 \b Value in the Event Recorder shows:
764 - \b uxIsMessageBuffer : buffer type designator, 0 for stream buffer and 1 for message buffer.
768 \fn void EvrFreeRTOSStreamBuf_StreamBufferCreateStaticFailed (StreamBuffer_t pxStreamBuffer, uint32_t uxIsMessageBuffer)
770 The event \b StreamBufferCreateStaticFailed is generated when statically allocated Stream Buffer or Message Buffer object fails to initialize.
772 \b Value in the Event Recorder shows:
773 - \b pxStreamBuffer : pointer to statically allocated Stream Buffer object handle.
774 - \b uxIsMessageBuffer : buffer type designator, 0 for stream buffer and 1 for message buffer.
778 \fn void EvrFreeRTOSStreamBuf_StreamBufferCreate (StreamBuffer_t pxStreamBuffer, uint32_t uxIsMessageBuffer)
780 The event \b StreamBufferCreate is generated when Stream Buffer object was successfully created.
782 \b Value in the Event Recorder shows:
783 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
784 - \b uxIsMessageBuffer : buffer type designator, 0 for stream buffer and 1 for message buffer.
788 \fn void EvrFreeRTOSStreamBuf_StreamBufferDelete (StreamBuffer_t pxStreamBuffer)
790 The event \b StreamBufferDelete is generated when Stream Buffer object is deallocated or cleared in case of static allocation.
792 \b Value in the Event Recorder shows:
793 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
797 \fn void EvrFreeRTOSStreamBuf_StreamBufferReset (StreamBuffer_t pxStreamBuffer)
799 The event \b StreamBufferReset is generated when Stream Buffer object is reset and re-initialized.
801 \b Value in the Event Recorder shows:
802 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
806 \fn void EvrFreeRTOSStreamBuf_StreamBufferBlockingOnSend (StreamBuffer_t pxStreamBuffer)
808 The event \b StreamBufferBlockingOnSend is generated when Stream Buffer send is blocked to wait for free space in the buffer.
810 \b Value in the Event Recorder shows:
811 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
815 \fn void EvrFreeRTOSStreamBuf_StreamBufferSend (StreamBuffer_t pxStreamBuffer, uint32_t xBytesSent)
817 The event \b StreamBufferSend is generated when Stream Buffer sends the data into the buffer.
819 \b Value in the Event Recorder shows:
820 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
821 - \b xBytesSent : number of bytes copied into the stream buffer
825 \fn void EvrFreeRTOSStreamBuf_StreamBufferSendFailed (StreamBuffer_t pxStreamBuffer)
827 The event \b StreamBufferSendFailed is generated when Stream Buffer failed to send data into the buffer.
829 \b Value in the Event Recorder shows:
830 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
834 \fn void EvrFreeRTOSStreamBuf_StreamBufferSendFromIsr (StreamBuffer_t pxStreamBuffer, uint32_t xBytesSent)
836 The event \b StreamBufferSendFromIsr is generated when Stream Buffer send was called from the ISR.
838 \b Value in the Event Recorder shows:
839 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
840 - \b xBytesSent : number of bytes copied into the stream buffer
844 \fn void EvrFreeRTOSStreamBuf_StreamBufferBlockingOnReceive (StreamBuffer_t pxStreamBuffer)
846 The event \b StreamBufferBlockingOnReceive is generated when Stream Buffer receive is blocked to wait for data to be available.
848 \b Value in the Event Recorder shows:
849 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
853 \fn void EvrFreeRTOSStreamBuf_StreamBufferReceive (StreamBuffer_t pxStreamBuffer, uint32_t xReceivedLength)
855 The event \b StreamBufferReceive is generated when Stream Buffer receive is called.
857 \b Value in the Event Recorder shows:
858 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
859 - \b xReceivedLength : number of bytes copied from the stream buffer
863 \fn void EvrFreeRTOSStreamBuf_StreamBufferReceiveFailed (StreamBuffer_t pxStreamBuffer)
865 The event \b StreamBufferReceiveFailed is generated when Stream Buffer receive is called and there is no data to receive.
867 \b Value in the Event Recorder shows:
868 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
872 \fn void EvrFreeRTOSStreamBuf_StreamBufferReceiveFromIsr (StreamBuffer_t pxStreamBuffer, uint32_t xReceivedLength)
874 The event \b StreamBufferReceiveFromIsr is generated when Stream Buffer receive is called from the ISR.
876 \b Value in the Event Recorder shows:
877 - \b pxStreamBuffer : pointer to Stream Buffer object handle.
878 - \b xReceivedLength : number of bytes copied from the stream buffer
887 \defgroup freertos_evr_heap Heap Functions
888 \brief Events generated by heap functions
894 \fn void EvrFreeRTOSHeap_Malloc (void *pvAddress, uint32_t uiSize)
896 The event \b Heap_Malloc is generated when a heap memory block is successfully allocated.
898 \b Value in the Event Recorder shows:
899 - \b pvAddress : pointer to allocated memory block.
900 - \b uiSize : memory block size in bytes.
904 \fn void EvrFreeRTOSHeap_Free (void *pvAddress, uint32_t uiSize)
906 The event \b Heap_Free is generated when a memory block previously allocated by malloc is deallocated.
908 \b Value in the Event Recorder shows:
909 - \b pvAddress : pointer to deallocated memory block.
910 - \b uiSize : memory block size in bytes.
920 // end group Event Recorder