STM8S/A Standard Peripherals Drivers
|
Define Documentation
#define TIM2_ARRH_ARR ((uint8_t)0xFF) |
#define TIM2_ARRL_ARR ((uint8_t)0xFF) |
#define TIM2_CCER1_CC1E ((uint8_t)0x01) |
Capture/Compare 1 output enable mask.
Definition at line 922 of file stm8s.h.
Referenced by TI1_Config(), TIM2_CCxCmd(), TIM2_OC1Init(), and TIM2_SelectOCxM().
#define TIM2_CCER1_CC1P ((uint8_t)0x02) |
Capture/Compare 1 output Polarity mask.
Definition at line 921 of file stm8s.h.
Referenced by TI1_Config(), TIM2_OC1Init(), and TIM2_OC1PolarityConfig().
#define TIM2_CCER1_CC2E ((uint8_t)0x10) |
Capture/Compare 2 output enable mask.
Definition at line 920 of file stm8s.h.
Referenced by TI2_Config(), TIM2_CCxCmd(), TIM2_OC2Init(), and TIM2_SelectOCxM().
#define TIM2_CCER1_CC2P ((uint8_t)0x20) |
Capture/Compare 2 output Polarity mask.
Definition at line 919 of file stm8s.h.
Referenced by TI2_Config(), TIM2_OC2Init(), and TIM2_OC2PolarityConfig().
#define TIM2_CCER2_CC3E ((uint8_t)0x01) |
Capture/Compare 3 output enable mask.
Definition at line 925 of file stm8s.h.
Referenced by TI3_Config(), TIM2_CCxCmd(), TIM2_OC3Init(), and TIM2_SelectOCxM().
#define TIM2_CCER2_CC3P ((uint8_t)0x02) |
Capture/Compare 3 output Polarity mask.
Definition at line 924 of file stm8s.h.
Referenced by TI3_Config(), TIM2_OC3Init(), and TIM2_OC3PolarityConfig().
#define TIM2_CCMR_CCxS ((uint8_t)0x03) |
Capture/Compare x Selection mask.
Definition at line 917 of file stm8s.h.
Referenced by TI1_Config(), TI2_Config(), and TI3_Config().
#define TIM2_CCMR_ICxF ((uint8_t)0xF0) |
Input Capture x Filter mask.
Definition at line 914 of file stm8s.h.
Referenced by TI1_Config(), TI2_Config(), and TI3_Config().
#define TIM2_CCMR_ICxPSC ((uint8_t)0x0C) |
Input Capture x Prescaler mask.
Definition at line 913 of file stm8s.h.
Referenced by TIM2_SetIC1Prescaler(), TIM2_SetIC2Prescaler(), and TIM2_SetIC3Prescaler().
#define TIM2_CCMR_OCM ((uint8_t)0x70) |
Output Compare x Mode mask.
Definition at line 915 of file stm8s.h.
Referenced by TIM2_ForcedOC1Config(), TIM2_ForcedOC2Config(), TIM2_ForcedOC3Config(), TIM2_OC1Init(), TIM2_OC2Init(), TIM2_OC3Init(), and TIM2_SelectOCxM().
#define TIM2_CCMR_OCxPE ((uint8_t)0x08) |
Output Compare x Preload Enable mask.
Definition at line 916 of file stm8s.h.
Referenced by TIM2_OC1PreloadConfig(), TIM2_OC2PreloadConfig(), and TIM2_OC3PreloadConfig().
#define TIM2_CCR1H_CCR1 ((uint8_t)0xFF) |
#define TIM2_CCR1L_CCR1 ((uint8_t)0xFF) |
#define TIM2_CCR2H_CCR2 ((uint8_t)0xFF) |
#define TIM2_CCR2L_CCR2 ((uint8_t)0xFF) |
#define TIM2_CCR3H_CCR3 ((uint8_t)0xFF) |
#define TIM2_CCR3L_CCR3 ((uint8_t)0xFF) |
#define TIM2_CNTRH_CNT ((uint8_t)0xFF) |
#define TIM2_CNTRL_CNT ((uint8_t)0xFF) |
#define TIM2_CR1_ARPE ((uint8_t)0x80) |
Auto-Reload Preload Enable mask.
Definition at line 888 of file stm8s.h.
Referenced by TIM2_ARRPreloadConfig().
#define TIM2_CR1_CEN ((uint8_t)0x01) |
#define TIM2_CR1_OPM ((uint8_t)0x08) |
One Pulse Mode mask.
Definition at line 889 of file stm8s.h.
Referenced by TIM2_SelectOnePulseMode().
#define TIM2_CR1_UDIS ((uint8_t)0x02) |
Update DIsable mask.
Definition at line 891 of file stm8s.h.
Referenced by TIM2_UpdateDisableConfig().
#define TIM2_CR1_URS ((uint8_t)0x04) |
Update Request Source mask.
Definition at line 890 of file stm8s.h.
Referenced by TIM2_UpdateRequestConfig().
#define TIM2_EGR_CC1G ((uint8_t)0x02) |
#define TIM2_EGR_CC2G ((uint8_t)0x04) |
#define TIM2_EGR_CC3G ((uint8_t)0x08) |
#define TIM2_IER_CC1IE ((uint8_t)0x02) |
#define TIM2_IER_CC2IE ((uint8_t)0x04) |
#define TIM2_IER_CC3IE ((uint8_t)0x08) |
#define TIM2_IER_UIE ((uint8_t)0x01) |
#define TIM2_PSCR_PSC ((uint8_t)0xFF) |
#define TIM2_SR1_CC1IF ((uint8_t)0x02) |
#define TIM2_SR1_CC2IF ((uint8_t)0x04) |
#define TIM2_SR1_CC3IF ((uint8_t)0x08) |
#define TIM2_SR1_UIF ((uint8_t)0x01) |
#define TIM2_SR2_CC1OF ((uint8_t)0x02) |
#define TIM2_SR2_CC2OF ((uint8_t)0x04) |