blob: 396cfd9378b1a884da06a389b61001d11590c7c2 [file] [log] [blame]
Kristofer Jonssone56b6e42022-09-29 11:52:22 +02001/*
2 * SPDX-FileCopyrightText: Copyright 2016-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Licensed under the Apache License, Version 2.0 (the License); you may
7 * not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
14 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 * Name: EventRecorderConf.h
19 * Purpose: Event Recorder software component configuration options
20 * Rev.: V1.1.0
21 */
22
23//-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
24
25// <h>Event Recorder
26
27// <o>Number of Records
28// <8=>8 <16=>16 <32=>32 <64=>64 <128=>128 <256=>256 <512=>512 <1024=>1024
29// <2048=>2048 <4096=>4096 <8192=>8192 <16384=>16384 <32768=>32768
30// <65536=>65536
31// <i>Configures size of Event Record Buffer (each record is 16 bytes)
32// <i>Must be 2^n (min=8, max=65536)
33#define EVENT_RECORD_COUNT 1024U
34
35// <o>Time Stamp Source
36// <0=> DWT Cycle Counter <1=> SysTick <2=> CMSIS-RTOS2 System Timer
37// <3=> User Timer (Normal Reset) <4=> User Timer (Power-On Reset)
38// <i>Selects source for 32-bit time stamp
39#define EVENT_TIMESTAMP_SOURCE 0
40
41// <o>Time Stamp Clock Frequency [Hz] <0-1000000000>
42// <i>Defines initial time stamp clock frequency (0 when not used)
43#define EVENT_TIMESTAMP_FREQ 0U
44
45// </h>
46
47//------------- <<< end of configuration section >>> ---------------------------