Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Pakey-Rodriguez <jordi.orlando@gmail.com>2017-04-12 20:19:57 +0300
committerKarl Palsson <karlp@tweak.net.au>2017-08-25 00:44:28 +0300
commit26ca4cc88a678a68d1e8720b6f109ea166c2ae6a (patch)
tree5828d5aadc620dc9b096ca28d26bdeac57482046 /include/libopencm3/stm32/common/timer_common_all.h
parenta42a058966d89fcd44f7221a9bd0e131117fed8a (diff)
stm32: timer: Add missing TIM_CCER_CC4NP
Diffstat (limited to 'include/libopencm3/stm32/common/timer_common_all.h')
-rw-r--r--include/libopencm3/stm32/common/timer_common_all.h4
1 files changed, 3 insertions, 1 deletions
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 */
/**@}*/
-