diff options
| author | Keith Packard <keithp@keithp.com> | 2013-05-01 08:58:17 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-05-07 20:08:01 -0700 |
| commit | 091582c446319fe4a79154153ece5372b2faec83 (patch) | |
| tree | a0b16053cc636cac751129db75e3cdc20fe857d1 /src/stm/ao_arch.h | |
| parent | b7b0ddfddee3f8e21f21d67cd9f522fa50777265 (diff) | |
altos: Use SYSTICK on STM32L
It's probably more power efficient than using one of the timers, and
it's certainly easier to configure.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch.h')
| -rw-r--r-- | src/stm/ao_arch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h index 007f7e2e..27a942f2 100644 --- a/src/stm/ao_arch.h +++ b/src/stm/ao_arch.h @@ -99,6 +99,7 @@ extern const uint32_t ao_radio_cal; #define AO_HCLK (AO_SYSCLK / AO_AHB_PRESCALER) #define AO_PCLK1 (AO_HCLK / AO_APB1_PRESCALER) #define AO_PCLK2 (AO_HCLK / AO_APB2_PRESCALER) +#define AO_SYSTICK (AO_HCLK / 8) #if AO_APB1_PRESCALER == 1 #define AO_TIM23467_CLK AO_PCLK1 |
