libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/common/timer_common_all.h>
Go to the source code of this file.
Macros | |
#define | TIM_OR1(tim_base) MMIO32((tim_base) + 0x50) |
#define | TIM2_OR1 TIM_OR1(TIM2) |
#define | TIM3_OR1 TIM_OR1(TIM3) |
#define | TIM_AF1(tim_base) MMIO32((tim_base) + 0x60) |
#define | TIM2_AF1 TIM_AF1(TIM2) |
#define | TIM3_AF1 TIM_AF1(TIM3) |
#define | TIM16_AF1 TIM_AF1(TIM16) |
#define | TIM17_AF1 TIM_AF1(TIM17) |
#define | TIM_TISEL(tim_base) MMIO32((tim_base) + 0x68) |
#define | TIM2_TISEL TIM_TISEL(TIM2) |
#define | TIM3_TISEL TIM_TISEL(TIM3) |
#define | TIM14_TISEL TIM_TISEL(TIM14) |
#define | TIM16_TISEL TIM_TISEL(TIM16) |
#define | TIM17_TISEL TIM_TISEL(TIM17) |
#define | TIM_OR1_OCREF_CLR (1 << 0) |
#define | TIM_OR1_OCREF_CLR_COMP1 (0) |
#define | TIM_OR1_OCREF_CLR_COMP2 (1) |