Subversion Repositories dashGPS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*------------------------------------------------------------------------------
  2.  * MDK - Component ::Event Recorder
  3.  * Copyright (c) 2016 ARM Germany GmbH. All rights reserved.
  4.  *------------------------------------------------------------------------------
  5.  * Name:    EventRecorderConf.h
  6.  * Purpose: Event Recorder Configuration
  7.  * Rev.:    V1.0.0
  8.  *----------------------------------------------------------------------------*/
  9.  
  10. //-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
  11.  
  12. // <h>Event Recorder
  13.  
  14. //   <o>Number of Records
  15. //     <8=>8 <16=>16 <32=>32 <64=>64 <128=>128 <256=>256 <512=>512 <1024=>1024
  16. //     <2048=>2048 <4096=>4096 <8192=>8192 <16384=>16384 <32768=>32768
  17. //     <65536=>65536 <131072=>131072 <262144=>262144 <524288=>524288
  18. //     <1048576=>1048576
  19. //   <i>Configure size of Event Record Buffer (each record is 16 bytes)
  20. //   <i>Must be 2^n (min=8, max=1048576)
  21. #define EVENT_RECORD_COUNT      64U
  22.  
  23. //   <o>Time Stamp Source
  24. //      <0=> DWT Cycle Counter  <1=> SysTick
  25. //      <3=> User Timer (Normal Reset)  <4=> User Timer (Power-On Reset)
  26. //   <i>Selects source for 32-bit time stamp
  27. #define EVENT_TIMESTAMP_SOURCE  1
  28.  
  29. //   <h>SysTick Configuration
  30. //   <i>Configure values when Time Stamp Source is set to SysTick
  31.  
  32. //     <o>SysTick Input Clock Frequency [Hz] <1-1000000000>
  33. //     <i>Defines SysTick input clock (typical identical with processor clock)
  34. #define SYSTICK_CLOCK           100000000U
  35.  
  36. //     <o>SysTick Interrupt Period [us] <1-1000000000>
  37. //     <i>Defines time period of the SysTick timer interrupt
  38. #define SYSTICK_PERIOD_US       1000U
  39.  
  40. //   </h>
  41.  
  42. // </h>
  43.  
  44. //------------- <<< end of configuration section >>> ---------------------------
  45.