diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2013-08-25 19:22:09 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2013-08-25 19:22:09 +0200 |
commit | b386407dbbedb495fcdc651a439c918eff9fd5a3 (patch) | |
tree | 0d98ca949a79f97e2da770fadf15467a52f17887 | |
parent | c982426fd492b8645a04698f5a2b24e242902100 (diff) |
Added timers to F3.
-rw-r--r-- | timer/timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timer/timer.h b/timer/timer.h index 5085524..54c0d37 100644 --- a/timer/timer.h +++ b/timer/timer.h @@ -24,7 +24,7 @@ struct TIM_t { volatile uint32_t DMAR; }; -#if defined(STM32F1) +#if defined(STM32F1) || defined(STM32F3) static TIM_t& TIM1 = *(TIM_t*)0x40012c00; static TIM_t& TIM2 = *(TIM_t*)0x40000000; static TIM_t& TIM3 = *(TIM_t*)0x40000400; |