From 26ca4cc88a678a68d1e8720b6f109ea166c2ae6a Mon Sep 17 00:00:00 2001 From: Jordi Pakey-Rodriguez Date: Wed, 12 Apr 2017 12:19:57 -0500 Subject: [PATCH] stm32: timer: Add missing TIM_CCER_CC4NP --- include/libopencm3/stm32/common/timer_common_all.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/libopencm3/stm32/common/timer_common_all.h b/include/libopencm3/stm32/common/timer_common_all.h index d4fe478c..46ada5fd 100644 --- a/include/libopencm3/stm32/common/timer_common_all.h +++ b/include/libopencm3/stm32/common/timer_common_all.h @@ -953,6 +953,9 @@ depending on the level of the complementary input. */ /* --- TIMx_CCER values ---------------------------------------------------- */ +/* CC4NP: Capture/compare 4 complementary output polarity */ +#define TIM_CCER_CC4NP (1 << 15) + /* CC4P: Capture/compare 4 output polarity */ #define TIM_CCER_CC4P (1 << 13) @@ -1264,4 +1267,3 @@ END_DECLS #endif /** @endcond */ /**@}*/ -