Functions that initialize and control the event recorder and configure event filtering. More...
Content | |
Recording Control | |
Defines for parameter recording of Event Recorder Setup functions. | |
Functions | |
uint32_t | EventRecorderInitialize (uint32_t recording, uint32_t start) |
Initialize Event Recorder. | |
uint32_t | EventRecorderEnable (uint32_t recording, uint32_t comp_start, uint32_t comp_end) |
Enable recording of events with specified level and component range. | |
uint32_t | EventRecorderDisable (uint32_t recording, uint32_t comp_start, uint32_t comp_end) |
Disable recording of events with specified level and component range. | |
uint32_t | EventRecorderStart (void) |
Start event recording. | |
uint32_t | EventRecorderStop (void) |
Stop event recording. | |
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.
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 configured).
The parameter recording takes values from Recording Control.
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 Control.
Multiple calls to EventRecorderEnable are permitted and enable the recording of different event messages.
Code Example
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 Control.
Multiple calls to EventRecorderDisable are permitted and disable the recording of event messages.
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