diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-25 00:58:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-25 00:58:07 +0000 |
commit | c01a8bc5821936b2463e2a529db89beaaba998a1 (patch) | |
tree | 46ba8b3159990f66718fd465f4820f8389af7564 /nuttx/arch/arm | |
parent | fef03d096b69014ed282252dc722d1ba9713d12d (diff) | |
download | px4-nuttx-c01a8bc5821936b2463e2a529db89beaaba998a1.tar.gz px4-nuttx-c01a8bc5821936b2463e2a529db89beaaba998a1.tar.bz2 px4-nuttx-c01a8bc5821936b2463e2a529db89beaaba998a1.zip |
Ooops part of last checkin was still in the editor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4425 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_qencoder.h | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_qencoder.h b/nuttx/arch/arm/src/stm32/stm32_qencoder.h index fc1a1dcbf..5effa7163 100644 --- a/nuttx/arch/arm/src/stm32/stm32_qencoder.h +++ b/nuttx/arch/arm/src/stm32/stm32_qencoder.h @@ -88,12 +88,31 @@ #undef CONFIG_STM32_TIM14_QE /* Clock out frequency. This value is used to calculation the timer CLKIN in - * prescaler value. At present, this is a single global value for all timers. - * it really should be customize-able for each timer. + * prescaler value. */ -#ifndef CONFIG_STM32_TIM_QECLKOUT -# define CONFIG_STM32_TIM_QECLKOUT 28000000 +#ifndef CONFIG_STM32_TIM1_QECLKOUT +# define CONFIG_STM32_TIM1_QECLKOUT 28000000 +#endif + +#ifndef CONFIG_STM32_TIM2_QECLKOUT +# define CONFIG_STM32_TIM2_QECLKOUT 28000000 +#endif + +#ifndef CONFIG_STM32_TIM3_QECLKOUT +# define CONFIG_STM32_TIM3_QECLKOUT 28000000 +#endif + +#ifndef CONFIG_STM32_TIM4_QECLKOUT +# define CONFIG_STM32_TIM4_QECLKOUT 28000000 +#endif + +#ifndef CONFIG_STM32_TIM5_QECLKOUT +# define CONFIG_STM32_TIM5_QECLKOUT 28000000 +#endif + +#ifndef CONFIG_STM32_TIM8_QECLKOUT +# define CONFIG_STM32_TIM8_QECLKOUT 28000000 #endif /************************************************************************************ |