STM8L15x Standard Peripherals Drivers
|
TIM4_Registers_Bits_Definition
Defines | |
#define | TIM4_ARR_ARR ((uint8_t)0xFF) |
#define | TIM4_CNTR_CNT ((uint8_t)0xFF) |
#define | TIM4_CR1_ARPE ((uint8_t)0x80) |
#define | TIM4_CR1_CEN ((uint8_t)0x01) |
#define | TIM4_CR1_OPM ((uint8_t)0x08) |
#define | TIM4_CR1_UDIS ((uint8_t)0x02) |
#define | TIM4_CR1_URS ((uint8_t)0x04) |
#define | TIM4_CR2_MMS ((uint8_t)0x70) |
#define | TIM4_DER_UDE ((uint8_t)0x01) |
#define | TIM4_EGR_TG ((uint8_t)0x40) |
#define | TIM4_EGR_UG ((uint8_t)0x01) |
#define | TIM4_IER_TIE ((uint8_t)0x40) |
#define | TIM4_IER_UIE ((uint8_t)0x01) |
#define | TIM4_PSCR_PSC ((uint8_t)0x0F) |
#define | TIM4_SMCR_MSM ((uint8_t)0x80) |
#define | TIM4_SMCR_SMS ((uint8_t)0x07) |
#define | TIM4_SMCR_TS ((uint8_t)0x70) |
#define | TIM4_SR1_TIF ((uint8_t)0x40) |
#define | TIM4_SR1_UIF ((uint8_t)0x01) |
Define Documentation
#define TIM4_ARR_ARR ((uint8_t)0xFF) |
Autoreload Value Mask.
Definition at line 2180 of file stm8l15x.h.
#define TIM4_CNTR_CNT ((uint8_t)0xFF) |
Counter Value (LSB) Mask.
Definition at line 2174 of file stm8l15x.h.
#define TIM4_CR1_ARPE ((uint8_t)0x80) |
Auto-Reload Preload Enable Mask.
Definition at line 2144 of file stm8l15x.h.
Referenced by TIM4_ARRPreloadConfig().
#define TIM4_CR1_CEN ((uint8_t)0x01) |
#define TIM4_CR1_OPM ((uint8_t)0x08) |
One Pulse Mode Mask.
Definition at line 2145 of file stm8l15x.h.
Referenced by TIM4_SelectOnePulseMode().
#define TIM4_CR1_UDIS ((uint8_t)0x02) |
Update DIsable Mask.
Definition at line 2147 of file stm8l15x.h.
Referenced by TIM4_UpdateDisableConfig().
#define TIM4_CR1_URS ((uint8_t)0x04) |
Update Request Source Mask.
Definition at line 2146 of file stm8l15x.h.
Referenced by TIM4_UpdateRequestConfig().
#define TIM4_CR2_MMS ((uint8_t)0x70) |
MMS Selection Mask.
Definition at line 2151 of file stm8l15x.h.
Referenced by TIM4_SelectOutputTrigger().
#define TIM4_DER_UDE ((uint8_t)0x01) |
Update DMA request Enable mask.
Definition at line 2159 of file stm8l15x.h.
#define TIM4_EGR_TG ((uint8_t)0x40) |
Trigger Generation Mask.
Definition at line 2171 of file stm8l15x.h.
#define TIM4_EGR_UG ((uint8_t)0x01) |
Update Generation Mask.
Definition at line 2170 of file stm8l15x.h.
Referenced by TIM4_PrescalerConfig().
#define TIM4_IER_TIE ((uint8_t)0x40) |
Trigger Interrupt Enable Mask.
Definition at line 2162 of file stm8l15x.h.
#define TIM4_IER_UIE ((uint8_t)0x01) |
Update Interrupt Enable Mask.
Definition at line 2163 of file stm8l15x.h.
#define TIM4_PSCR_PSC ((uint8_t)0x0F) |
Prescaler Value Mask.
Definition at line 2177 of file stm8l15x.h.
#define TIM4_SMCR_MSM ((uint8_t)0x80) |
Master/Slave Mode Mask.
Definition at line 2154 of file stm8l15x.h.
Referenced by TIM4_SelectMasterSlaveMode().
#define TIM4_SMCR_SMS ((uint8_t)0x07) |
Slave Mode Selection Mask.
Definition at line 2156 of file stm8l15x.h.
Referenced by TIM4_InternalClockConfig(), and TIM4_SelectSlaveMode().
#define TIM4_SMCR_TS ((uint8_t)0x70) |
Trigger Selection Mask.
Definition at line 2155 of file stm8l15x.h.
Referenced by TIM4_SelectInputTrigger().
#define TIM4_SR1_TIF ((uint8_t)0x40) |
Trigger Interrupt Flag Mask.
Definition at line 2167 of file stm8l15x.h.
#define TIM4_SR1_UIF ((uint8_t)0x01) |
Update Interrupt Flag Mask.
Definition at line 2166 of file stm8l15x.h.