STM8S/A Standard Peripherals Drivers
|
Define Documentation
#define CCMR_TIxDirect_Set ((uint8_t)0x01) |
Definition at line 755 of file stm8s.h.
Referenced by TIM1_EncoderInterfaceConfig().
#define TIM1_ARRH_ARR ((uint8_t)0xFF) |
#define TIM1_ARRL_ARR ((uint8_t)0xFF) |
#define TIM1_BKR_AOE ((uint8_t)0x40) |
#define TIM1_BKR_LOCK ((uint8_t)0x03) |
#define TIM1_BKR_MOE ((uint8_t)0x80) |
Main Output Enable mask.
Definition at line 798 of file stm8s.h.
Referenced by TIM1_CtrlPWMOutputs().
#define TIM1_BKR_OSSI ((uint8_t)0x04) |
#define TIM1_BKR_OSSR ((uint8_t)0x08) |
#define TIM1_CCER1_CC1E ((uint8_t)0x01) |
Capture/Compare 1 output enable mask.
Definition at line 764 of file stm8s.h.
Referenced by TI1_Config(), TIM1_CCxCmd(), TIM1_OC1Init(), and TIM1_SelectOCxM().
#define TIM1_CCER1_CC1NE ((uint8_t)0x04) |
Capture/Compare 1 Complementary output enable mask.
Definition at line 762 of file stm8s.h.
Referenced by TIM1_CCxNCmd(), and TIM1_OC1Init().
#define TIM1_CCER1_CC1NP ((uint8_t)0x08) |
Capture/Compare 1 Complementary output Polarity mask.
Definition at line 761 of file stm8s.h.
Referenced by TIM1_OC1Init(), and TIM1_OC1NPolarityConfig().
#define TIM1_CCER1_CC1P ((uint8_t)0x02) |
Capture/Compare 1 output Polarity mask.
Definition at line 763 of file stm8s.h.
Referenced by TI1_Config(), TIM1_EncoderInterfaceConfig(), TIM1_OC1Init(), and TIM1_OC1PolarityConfig().
#define TIM1_CCER1_CC2E ((uint8_t)0x10) |
Capture/Compare 2 output enable mask.
Definition at line 760 of file stm8s.h.
Referenced by TI2_Config(), TIM1_CCxCmd(), TIM1_OC2Init(), and TIM1_SelectOCxM().
#define TIM1_CCER1_CC2NE ((uint8_t)0x40) |
Capture/Compare 2 Complementary output enable mask.
Definition at line 758 of file stm8s.h.
Referenced by TIM1_CCxNCmd(), and TIM1_OC2Init().
#define TIM1_CCER1_CC2NP ((uint8_t)0x80) |
Capture/Compare 2 Complementary output Polarity mask.
Definition at line 757 of file stm8s.h.
Referenced by TIM1_OC2Init(), and TIM1_OC2NPolarityConfig().
#define TIM1_CCER1_CC2P ((uint8_t)0x20) |
Capture/Compare 2 output Polarity mask.
Definition at line 759 of file stm8s.h.
Referenced by TI2_Config(), TIM1_EncoderInterfaceConfig(), TIM1_OC2Init(), and TIM1_OC2PolarityConfig().
#define TIM1_CCER2_CC3E ((uint8_t)0x01) |
Capture/Compare 3 output enable mask.
Definition at line 771 of file stm8s.h.
Referenced by TI3_Config(), TIM1_CCxCmd(), TIM1_OC3Init(), and TIM1_SelectOCxM().
#define TIM1_CCER2_CC3NE ((uint8_t)0x04) |
Capture/Compare 3 Complementary output enable mask.
Definition at line 769 of file stm8s.h.
Referenced by TIM1_CCxNCmd(), and TIM1_OC3Init().
#define TIM1_CCER2_CC3NP ((uint8_t)0x08) |
Capture/Compare 3 Complementary output Polarity mask.
Definition at line 768 of file stm8s.h.
Referenced by TIM1_OC3Init(), and TIM1_OC3NPolarityConfig().
#define TIM1_CCER2_CC3P ((uint8_t)0x02) |
Capture/Compare 3 output Polarity mask.
Definition at line 770 of file stm8s.h.
Referenced by TI3_Config(), TIM1_OC3Init(), and TIM1_OC3PolarityConfig().
#define TIM1_CCER2_CC4E ((uint8_t)0x10) |
Capture/Compare 4 output enable mask.
Definition at line 767 of file stm8s.h.
Referenced by TI4_Config(), TIM1_CCxCmd(), TIM1_OC4Init(), and TIM1_SelectOCxM().
#define TIM1_CCER2_CC4P ((uint8_t)0x20) |
Capture/Compare 4 output Polarity mask.
Definition at line 766 of file stm8s.h.
Referenced by TI4_Config(), TIM1_OC4Init(), and TIM1_OC4PolarityConfig().
#define TIM1_CCMR_CCxS ((uint8_t)0x03) |
Capture/Compare x Selection mask.
Definition at line 753 of file stm8s.h.
Referenced by TI1_Config(), TI2_Config(), TI3_Config(), TI4_Config(), and TIM1_EncoderInterfaceConfig().
#define TIM1_CCMR_ICxF ((uint8_t)0xF0) |
Input Capture x Filter mask.
Definition at line 749 of file stm8s.h.
Referenced by TI1_Config(), TI2_Config(), TI3_Config(), and TI4_Config().
#define TIM1_CCMR_ICxPSC ((uint8_t)0x0C) |
Input Capture x Prescaler mask.
Definition at line 748 of file stm8s.h.
Referenced by TIM1_SetIC1Prescaler(), TIM1_SetIC2Prescaler(), TIM1_SetIC3Prescaler(), and TIM1_SetIC4Prescaler().
#define TIM1_CCMR_OCM ((uint8_t)0x70) |
Output Compare x Mode mask.
Definition at line 750 of file stm8s.h.
Referenced by TIM1_ForcedOC1Config(), TIM1_ForcedOC2Config(), TIM1_ForcedOC3Config(), TIM1_ForcedOC4Config(), TIM1_OC1Init(), TIM1_OC2Init(), TIM1_OC3Init(), TIM1_OC4Init(), and TIM1_SelectOCxM().
#define TIM1_CCMR_OCxFE ((uint8_t)0x04) |
Output Compare x Fast Enable mask.
Definition at line 752 of file stm8s.h.
Referenced by TIM1_OC1FastConfig(), TIM1_OC2FastConfig(), TIM1_OC3FastConfig(), and TIM1_OC4FastConfig().
#define TIM1_CCMR_OCxPE ((uint8_t)0x08) |
Output Compare x Preload Enable mask.
Definition at line 751 of file stm8s.h.
Referenced by TIM1_OC1PreloadConfig(), TIM1_OC2PreloadConfig(), TIM1_OC3PreloadConfig(), and TIM1_OC4PreloadConfig().
#define TIM1_CCR1H_CCR1 ((uint8_t)0xFF) |
#define TIM1_CCR1L_CCR1 ((uint8_t)0xFF) |
#define TIM1_CCR2H_CCR2 ((uint8_t)0xFF) |
#define TIM1_CCR2L_CCR2 ((uint8_t)0xFF) |
#define TIM1_CCR3H_CCR3 ((uint8_t)0xFF) |
#define TIM1_CCR3L_CCR3 ((uint8_t)0xFF) |
#define TIM1_CCR4H_CCR4 ((uint8_t)0xFF) |
#define TIM1_CCR4L_CCR4 ((uint8_t)0xFF) |
#define TIM1_CNTRH_CNT ((uint8_t)0xFF) |
#define TIM1_CNTRL_CNT ((uint8_t)0xFF) |
#define TIM1_CR1_ARPE ((uint8_t)0x80) |
Auto-Reload Preload Enable mask.
Definition at line 694 of file stm8s.h.
Referenced by TIM1_ARRPreloadConfig().
#define TIM1_CR1_CEN ((uint8_t)0x01) |
#define TIM1_CR1_CMS ((uint8_t)0x60) |
Center-aligned Mode Selection mask.
Definition at line 695 of file stm8s.h.
Referenced by TIM1_CounterModeConfig(), and TIM1_TimeBaseInit().
#define TIM1_CR1_DIR ((uint8_t)0x10) |
Direction mask.
Definition at line 696 of file stm8s.h.
Referenced by TIM1_CounterModeConfig(), and TIM1_TimeBaseInit().
#define TIM1_CR1_OPM ((uint8_t)0x08) |
One Pulse Mode mask.
Definition at line 697 of file stm8s.h.
Referenced by TIM1_SelectOnePulseMode().
#define TIM1_CR1_UDIS ((uint8_t)0x02) |
Update DIsable mask.
Definition at line 699 of file stm8s.h.
Referenced by TIM1_UpdateDisableConfig().
#define TIM1_CR1_URS ((uint8_t)0x04) |
Update Request Source mask.
Definition at line 698 of file stm8s.h.
Referenced by TIM1_UpdateRequestConfig().
#define TIM1_CR2_CCPC ((uint8_t)0x01) |
Capture/Compare Preloaded Control mask.
Definition at line 705 of file stm8s.h.
Referenced by TIM1_CCPreloadControl().
#define TIM1_CR2_COMS ((uint8_t)0x04) |
Capture/Compare Control Update Selection mask.
Definition at line 704 of file stm8s.h.
Referenced by TIM1_SelectCOM().
#define TIM1_CR2_MMS ((uint8_t)0x70) |
MMS Selection mask.
Definition at line 703 of file stm8s.h.
Referenced by TIM1_SelectOutputTrigger().
#define TIM1_CR2_TI1S ((uint8_t)0x80) |
#define TIM1_DTR_DTG ((uint8_t)0xFF) |
#define TIM1_EGR_CC1G ((uint8_t)0x02) |
#define TIM1_EGR_CC2G ((uint8_t)0x04) |
#define TIM1_EGR_CC3G ((uint8_t)0x08) |
#define TIM1_EGR_CC4G ((uint8_t)0x10) |
#define TIM1_EGR_COMG ((uint8_t)0x20) |
#define TIM1_EGR_TG ((uint8_t)0x40) |
#define TIM1_ETR_ECE ((uint8_t)0x40) |
External Clock mask.
Definition at line 712 of file stm8s.h.
Referenced by TIM1_ETRClockMode2Config().
#define TIM1_ETR_ETF ((uint8_t)0x0F) |
#define TIM1_ETR_ETP ((uint8_t)0x80) |
#define TIM1_ETR_ETPS ((uint8_t)0x30) |
#define TIM1_IER_BIE ((uint8_t)0x80) |
#define TIM1_IER_CC1IE ((uint8_t)0x02) |
#define TIM1_IER_CC2IE ((uint8_t)0x04) |
#define TIM1_IER_CC3IE ((uint8_t)0x08) |
#define TIM1_IER_CC4IE ((uint8_t)0x10) |
#define TIM1_IER_COMIE ((uint8_t)0x20) |
#define TIM1_IER_TIE ((uint8_t)0x40) |
#define TIM1_IER_UIE ((uint8_t)0x01) |
#define TIM1_OISR_OIS1 ((uint8_t)0x01) |
Output Idle state 1 (OC1 output) mask.
Definition at line 814 of file stm8s.h.
Referenced by TIM1_OC1Init().
#define TIM1_OISR_OIS1N ((uint8_t)0x02) |
Output Idle state 1 (OC1N output) mask.
Definition at line 813 of file stm8s.h.
Referenced by TIM1_OC1Init().
#define TIM1_OISR_OIS2 ((uint8_t)0x04) |
Output Idle state 2 (OC2 output) mask.
Definition at line 812 of file stm8s.h.
Referenced by TIM1_OC2Init().
#define TIM1_OISR_OIS2N ((uint8_t)0x08) |
Output Idle state 2 (OC2N output) mask.
Definition at line 811 of file stm8s.h.
Referenced by TIM1_OC2Init().
#define TIM1_OISR_OIS3 ((uint8_t)0x10) |
Output Idle state 3 (OC3 output) mask.
Definition at line 810 of file stm8s.h.
Referenced by TIM1_OC3Init().
#define TIM1_OISR_OIS3N ((uint8_t)0x20) |
Output Idle state 3 (OC3N output) mask.
Definition at line 809 of file stm8s.h.
Referenced by TIM1_OC3Init().
#define TIM1_OISR_OIS4 ((uint8_t)0x40) |
Output Idle state 4 (OC4 output) mask.
Definition at line 808 of file stm8s.h.
Referenced by TIM1_OC4Init().
#define TIM1_PSCH_PSC ((uint8_t)0xFF) |
#define TIM1_PSCL_PSC ((uint8_t)0xFF) |
#define TIM1_RCR_REP ((uint8_t)0xFF) |
#define TIM1_SMCR_MSM ((uint8_t)0x80) |
Master/Slave Mode mask.
Definition at line 707 of file stm8s.h.
Referenced by TIM1_EncoderInterfaceConfig(), and TIM1_SelectMasterSlaveMode().
#define TIM1_SMCR_SMS ((uint8_t)0x07) |
Slave Mode Selection mask.
Definition at line 709 of file stm8s.h.
Referenced by TIM1_ETRClockMode1Config(), TIM1_InternalClockConfig(), and TIM1_SelectSlaveMode().
#define TIM1_SMCR_TS ((uint8_t)0x70) |
Trigger Selection mask.
Definition at line 708 of file stm8s.h.
Referenced by TIM1_EncoderInterfaceConfig(), TIM1_ETRClockMode1Config(), and TIM1_SelectInputTrigger().
#define TIM1_SR1_BIF ((uint8_t)0x80) |
#define TIM1_SR1_CC1IF ((uint8_t)0x02) |
#define TIM1_SR1_CC2IF ((uint8_t)0x04) |
#define TIM1_SR1_CC3IF ((uint8_t)0x08) |
#define TIM1_SR1_CC4IF ((uint8_t)0x10) |
#define TIM1_SR1_COMIF ((uint8_t)0x20) |
#define TIM1_SR1_TIF ((uint8_t)0x40) |
#define TIM1_SR1_UIF ((uint8_t)0x01) |
#define TIM1_SR2_CC1OF ((uint8_t)0x02) |
#define TIM1_SR2_CC2OF ((uint8_t)0x04) |
#define TIM1_SR2_CC3OF ((uint8_t)0x08) |