brazos-trapezoidal
TimerInterrupt_prm.h
Go to the documentation of this file.
1
11#ifndef INCLUDES_DRIVERS_TIMERINTERRUPT_PRM_H_
12 #define INCLUDES_DRIVERS_TIMERINTERRUPT_PRM_H_
13
14#include "includes.h"
15
16//=====================================================================================================================
17//-------------------------------------- PUBLIC (Extern Variables, Constants & Defines) -------------------------------
18//=====================================================================================================================
19
20#define SYSTICK_PER_CNT 10000 // 10K/40M = 250us Max Counter is 6M
21
22//=====================================================================================================================
30//=====================================================================================================================
31#define INTERRUPT_METHOD SysTickCallBack
32
33//=====================================================================================================================
49//=====================================================================================================================
50#define TIM2_CLOCK_DIV TIM_CFG_CLK_DIV_DIV8
51
52//=====================================================================================================================
62//=====================================================================================================================
63#define TIM2_PER 625
64
65//=====================================================================================================================
66//-------------------------------------- PUBLIC (Function Prototypes) -------------------------------------------------
67//=====================================================================================================================
68
69
70#endif // INCLUDES_DRIVERS_TIMERINTERRUPT_PRM_H_
71
72