STM8S/A Standard Peripherals Drivers
|
Define Documentation
#define TIM3_ARRH_ARR ((uint8_t)0xFF) |
#define TIM3_ARRL_ARR ((uint8_t)0xFF) |
#define TIM3_CCER1_CC1E ((uint8_t)0x01) |
Capture/Compare 1 output enable mask.
Definition at line 1034 of file stm8s.h.
Referenced by TI1_Config(), TIM3_CCxCmd(), TIM3_OC1Init(), and TIM3_SelectOCxM().
#define TIM3_CCER1_CC1P ((uint8_t)0x02) |
Capture/Compare 1 output Polarity mask.
Definition at line 1033 of file stm8s.h.
Referenced by TI1_Config(), TIM3_OC1Init(), and TIM3_OC1PolarityConfig().
#define TIM3_CCER1_CC2E ((uint8_t)0x10) |
Capture/Compare 2 output enable mask.
Definition at line 1032 of file stm8s.h.
Referenced by TI2_Config(), TIM3_CCxCmd(), TIM3_OC2Init(), and TIM3_SelectOCxM().
#define TIM3_CCER1_CC2P ((uint8_t)0x20) |
Capture/Compare 2 output Polarity mask.
Definition at line 1031 of file stm8s.h.
Referenced by TI2_Config(), TIM3_OC2Init(), and TIM3_OC2PolarityConfig().
#define TIM3_CCMR_CCxS ((uint8_t)0x03) |
Capture/Compare x Selection mask.
Definition at line 1029 of file stm8s.h.
Referenced by TI1_Config(), and TI2_Config().
#define TIM3_CCMR_ICxF ((uint8_t)0xF0) |
Input Capture x Filter mask.
Definition at line 1026 of file stm8s.h.
Referenced by TI1_Config(), and TI2_Config().
#define TIM3_CCMR_ICxPSC ((uint8_t)0x0C) |
Input Capture x Prescaler mask.
Definition at line 1025 of file stm8s.h.
Referenced by TIM3_SetIC1Prescaler(), and TIM3_SetIC2Prescaler().
#define TIM3_CCMR_OCM ((uint8_t)0x70) |
Output Compare x Mode mask.
Definition at line 1027 of file stm8s.h.
Referenced by TIM3_ForcedOC1Config(), TIM3_ForcedOC2Config(), TIM3_OC1Init(), TIM3_OC2Init(), and TIM3_SelectOCxM().
#define TIM3_CCMR_OCxPE ((uint8_t)0x08) |
Output Compare x Preload Enable mask.
Definition at line 1028 of file stm8s.h.
Referenced by TIM3_OC1PreloadConfig(), and TIM3_OC2PreloadConfig().
#define TIM3_CCR1H_CCR1 ((uint8_t)0xFF) |
#define TIM3_CCR1L_CCR1 ((uint8_t)0xFF) |
#define TIM3_CCR2H_CCR2 ((uint8_t)0xFF) |
#define TIM3_CCR2L_CCR2 ((uint8_t)0xFF) |
#define TIM3_CNTRH_CNT ((uint8_t)0xFF) |
#define TIM3_CNTRL_CNT ((uint8_t)0xFF) |
#define TIM3_CR1_ARPE ((uint8_t)0x80) |
Auto-Reload Preload Enable mask.
Definition at line 1004 of file stm8s.h.
Referenced by TIM3_ARRPreloadConfig().
#define TIM3_CR1_CEN ((uint8_t)0x01) |
#define TIM3_CR1_OPM ((uint8_t)0x08) |
One Pulse Mode mask.
Definition at line 1005 of file stm8s.h.
Referenced by TIM3_SelectOnePulseMode().
#define TIM3_CR1_UDIS ((uint8_t)0x02) |
Update DIsable mask.
Definition at line 1007 of file stm8s.h.
Referenced by TIM3_UpdateDisableConfig().
#define TIM3_CR1_URS ((uint8_t)0x04) |
Update Request Source mask.
Definition at line 1006 of file stm8s.h.
Referenced by TIM3_UpdateRequestConfig().
#define TIM3_EGR_CC1G ((uint8_t)0x02) |
#define TIM3_EGR_CC2G ((uint8_t)0x04) |
#define TIM3_EGR_UG ((uint8_t)0x01) |
#define TIM3_IER_CC1IE ((uint8_t)0x02) |
#define TIM3_IER_CC2IE ((uint8_t)0x04) |
#define TIM3_IER_UIE ((uint8_t)0x01) |
#define TIM3_PSCR_PSC ((uint8_t)0xFF) |
#define TIM3_SR1_CC1IF ((uint8_t)0x02) |
#define TIM3_SR1_CC2IF ((uint8_t)0x04) |
#define TIM3_SR1_UIF ((uint8_t)0x01) |
#define TIM3_SR2_CC1OF ((uint8_t)0x02) |