Event Recorder  Version 1.0.0
MDK Debugger Views for Status and Event Information
 All Files Functions Macros Groups Pages
Configuration

The file EventRecorderConf.h is used to define the configuration parameters of the Event Recorder. This file must be part of every project that is using the Event Recorder.

The configuration file uses Configuration Wizard Annotations that shows a graphical representation of the settings in MDK:

config_wizard.png
EventRecorderConf.h in Configuration Wizard View

The configuration settings are explained below:

Option #define Description
Number of Records EVENT_RECORD_COUNT Specifies the number or records stored in the Event Record Buffer. Each record is 16 bytes.
Time Stamp Source EVENT_TIMESTAMP_SOURCE Specifies timer that is used as time base. Default is the DWT Cycle Counter that is part of that CoreSight debug interface. The DWT Cycle Counter is not available in Cortex-M0 and Cortex-M0+.
SysTick Configuration If the SysTick timer is used as time stamp source the following setting are relevant.
SysTick Input Clock Frequency [Hz] SYSTICK_CLOCK Defines SysTick input clock that is typical identical with processor clock.
SysTick Interrupt Frequency [us] SYSTICK_PERIOD_US Defines time period of the SysTick timer interrupt.

Use SysTick Timer

Todo:
provide example