diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-30 13:54:04 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-30 13:54:04 +0000 |
commit | e40ae9763814661fa99e2b546e4f2562fb48650b (patch) | |
tree | f3157c29964739ef5e7fcc46688861d63c5b9313 /os/hal/ports/STM32/STM32F4xx | |
parent | a2ee0679d1525a80cdaccc020413bfbb61d9b070 (diff) | |
download | ChibiOS-e40ae9763814661fa99e2b546e4f2562fb48650b.tar.gz ChibiOS-e40ae9763814661fa99e2b546e4f2562fb48650b.tar.bz2 ChibiOS-e40ae9763814661fa99e2b546e4f2562fb48650b.zip |
Enhanced PWM driver
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7208 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx')
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/stm32_registry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h index 8f2d9c442..50a082b33 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -193,6 +193,8 @@ #endif /* !(defined(STM32F427_437xx) || defined(STM32F429_439xx)) */
/* TIM attributes.*/
+#define STM32_TIM_MAX_CHANNELS 4
+
#define STM32_HAS_TIM1 TRUE
#define STM32_TIM1_IS_32BITS FALSE
#define STM32_TIM1_CHANNELS 4
|