You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This section describes the configuration settings for the <a href="http://www.keil.com/pack/doc/compiler/EventRecorder/html/index.html" target="_blank">Event Recorder</a>
249
+
annotations. For more information refer to section \ref native_freertos_er "Add Event Recorder Visibility to native FreeRTOS project" or
250
+
\ref cmsis_freertos_er "Add Event Recorder Visibility to CMSIS-FreeRTOS project".
251
+
252
+
Use below definitions to configure Event Recorder initialization and recording level filter setup.
253
+
254
+
\code
255
+
#define configEVR_INITIALIZE
256
+
\endcode
257
+
258
+
Value | Description |
259
+
-------|---------------------------------------|
260
+
0 | Disable Event Recorder initialization |
261
+
1 | Enable Event Recorder initialization |
262
+
263
+
Definition configEVR_INITIALIZE enables Event Recorder initialization during execution of function \ref EvrFreeRTOSSetup. Default value is \token{1}.
264
+
265
+
\code
266
+
#define configEVR_SETUP_LEVEL
267
+
\endcode
268
+
269
+
Value | Description |
270
+
-------|---------------------------------------|
271
+
0 | Disable recording level filter setup |
272
+
1 | Enable recording level filter setup |
273
+
274
+
Definition configEVR_SETUP_LEVEL enables setup of recording level filter for events generated by FreeRTOS. Recording level is configured during execution of function \ref EvrFreeRTOSSetup. Default value is \token{1}.
0x05 | Enable generation of error and operational events |
290
+
0x0F | Enable generation of all events |
291
+
292
+
Definitions configEVR_LEVEL_x set the recording level bitmask for events generated by each function group. They are taken into account only when recording level filter setup is enabled. Default value is \token{0x05}.
to provide event information which helps you to understand and analyze the operation.
10
+
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.
13
+
@{
14
+
*/
15
+
16
+
/**
17
+
\fn void EvrFreeRTOSSetup (void)
18
+
\details
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.
20
+
21
+
Behavior of this function execution is defined with Event Recorder Configuration (\ref cmsis_freertos_evr_config). Calling this function has
22
+
no effect when Event Recorder component is not selected.
23
+
24
+
\note \b EvrFreeRTOSSetup is called by function \b osKernelInitialize when CMSIS-RTOS2 API is in use and should not be called explicitly.
0 commit comments