![]() |
Event Recorder
Version 1.0.0
MDK Debugger Views for Status and Event Information
|
Functions that initialize and control the event recorder and configure event filtering. More...
Content | |
Recording Controls | |
Controls for Event Recorder set up. | |
Functions | |
uint32_t | EventRecorderInitialize (uint32_t recording, uint32_t start) |
Initialize Event Recorder. More... | |
uint32_t | EventRecorderEnable (uint32_t recording, uint32_t comp_start, uint32_t comp_end) |
Enable recording of events with specified level and component range. More... | |
uint32_t | EventRecorderDisable (uint32_t recording, uint32_t comp_start, uint32_t comp_end) |
Disable recording of events with specified level and component range. More... | |
uint32_t | EventRecorderStart (void) |
Start event recording. More... | |
uint32_t | EventRecorderStop (void) |
Stop event recording. More... | |
Functions that initialize and control the event recorder and configure event filtering.
This section contains the functions that initialize and control the event recorder and configure event filtering.
The event ID can have an additional event level that is used for filtering of the event recording. The parameter recording configures the event level that is recorded using the values EventRecordXxx.
uint32_t EventRecorderDisable | ( | uint32_t | recording, |
uint32_t | comp_start, | ||
uint32_t | comp_end | ||
) |
Disable recording of events with specified level and component range.
[in] | recording | level mask for event record filter |
[in] | comp_start | first component number of range |
[in] | comp_end | last Component number of range |
The function EventRecorderDisable configures the event filter for a software component. The events will be generated for the event level recording and between the range specified with comp_start and comp_end. The parameter recording takes values from Recording Controls.
Multiple calls to EventRecorderDisable are permitted and disable the recording of event messages.
Code Example
uint32_t EventRecorderEnable | ( | uint32_t | recording, |
uint32_t | comp_start, | ||
uint32_t | comp_end | ||
) |
Enable recording of events with specified level and component range.
[in] | recording | level mask for event record filter |
[in] | comp_start | first component number of range |
[in] | comp_end | last Component number of range |
The function EventRecorderEnable configures the event filter for a software component. The events will be generated for the event level recording and between the range specified with comp_start and comp_end. The parameter recording takes values from Recording Controls.
Multiple calls to EventRecorderEnable are permitted and enable the recording of different event messages.
Code Example
uint32_t EventRecorderInitialize | ( | uint32_t | recording, |
uint32_t | start | ||
) |
Initialize Event Recorder.
[in] | recording | initial level mask for event record filter |
[in] | start | initial recording setup (1=start, 0=stop) |
Call the function EventRecorderInitialize from the user code to set up the Event Recorder. The function initializes all buffers and configures the timer (if configureds).
The parameter recording takes values from Recording Controls.
Code Example
uint32_t EventRecorderStart | ( | void | ) |
Start event recording.
The function EventRecorderStart enables the recording of the events that are configured for recording using EventRecorderEnable or EventRecorderInitialize
Code Example
uint32_t EventRecorderStop | ( | void | ) |
Stop event recording.
The function EventRecorderStop disables the recording of all events.
Code Example