STM8L15x Standard Peripherals Drivers
|
Define Documentation
#define CLK_CBEEPR_BEEPSWBSY ((uint8_t)0x01) |
BEEP clock busy in switch
Definition at line 814 of file stm8l15x.h.
#define CLK_CBEEPR_CLKBEEPSEL ((uint8_t)0x06) |
Configurable BEEP clock source selection
Definition at line 813 of file stm8l15x.h.
#define CLK_CCOR_CCODIV ((uint8_t)0xE0) |
Configurable Clock output prescaler
Definition at line 787 of file stm8l15x.h.
#define CLK_CCOR_CCOSEL ((uint8_t)0x1E) |
Configurable clock output selection
Definition at line 788 of file stm8l15x.h.
#define CLK_CCOR_CCOSWBSY ((uint8_t)0x01) |
Configurable clock output switch busy flag
Definition at line 789 of file stm8l15x.h.
#define CLK_CKDIVR_CKM ((uint8_t)0x07) |
System clock prescaler mask
Definition at line 750 of file stm8l15x.h.
Referenced by CLK_GetClockFreq().
#define CLK_CRTCR_RTCDIV ((uint8_t)0xE0) |
RTC clock prescaler mask
Definition at line 752 of file stm8l15x.h.
#define CLK_CRTCR_RTCSEL ((uint8_t)0x1E) |
RTC clock output selection mask
Definition at line 753 of file stm8l15x.h.
#define CLK_CRTCR_RTCSWBSY ((uint8_t)0x01) |
RTC clock switch busy
Definition at line 754 of file stm8l15x.h.
#define CLK_CSSR_AUX ((uint8_t)0x02) |
Auxiliary oscillator connected to master clock
Definition at line 810 of file stm8l15x.h.
#define CLK_CSSR_CSSD ((uint8_t)0x08) |
Clock security sytem detection
Definition at line 808 of file stm8l15x.h.
#define CLK_CSSR_CSSDGON ((uint8_t)0x10) |
Clock security sytem deglitcher system
Definition at line 807 of file stm8l15x.h.
Referenced by CLK_ClockSecuritySytemDeglitchCmd().
#define CLK_CSSR_CSSDIE ((uint8_t)0x04) |
Clock security system detection interrupt enable
Definition at line 809 of file stm8l15x.h.
Referenced by CLK_ITConfig().
#define CLK_CSSR_CSSEN ((uint8_t)0x01) |
Clock security system enable
Definition at line 811 of file stm8l15x.h.
Referenced by CLK_ClockSecuritySystemEnable().
#define CLK_ECKCR_HSEBYP ((uint8_t)0x10) |
High speed external clock bypass
Definition at line 792 of file stm8l15x.h.
Referenced by CLK_HSEConfig().
#define CLK_ECKCR_HSEON ((uint8_t)0x01) |
High speed external crystal oscillator enable
Definition at line 796 of file stm8l15x.h.
Referenced by CLK_HSEConfig().
#define CLK_ECKCR_HSERDY ((uint8_t)0x02) |
High speed external crystal oscillator ready
Definition at line 795 of file stm8l15x.h.
#define CLK_ECKCR_LSEBYP ((uint8_t)0x20) |
Low speed external clock bypass
Definition at line 791 of file stm8l15x.h.
Referenced by CLK_LSEConfig().
#define CLK_ECKCR_LSEON ((uint8_t)0x04) |
Low speed external crystal oscillator enable
Definition at line 794 of file stm8l15x.h.
Referenced by CLK_LSEConfig().
#define CLK_ECKCR_LSERDY ((uint8_t)0x08) |
Low speed external crystal oscillator ready
Definition at line 793 of file stm8l15x.h.
#define CLK_HSICALR_HSICAL ((uint8_t)0xFF) |
Copy of otpion byte trimming HSI oscillator
Definition at line 816 of file stm8l15x.h.
#define CLK_HSITRIMR_HSITRIM ((uint8_t)0xFF) |
High speed internal oscillator trimmer
Definition at line 818 of file stm8l15x.h.
#define CLK_HSIUNLCKR_HSIUNLCK ((uint8_t)0xFF) |
High speed internal oscillator trimmer unlock
Definition at line 820 of file stm8l15x.h.
#define CLK_ICKCR_BEEPAHALT ((uint8_t)0x40) |
BEEP clock Active Halt/Halt mode
Definition at line 756 of file stm8l15x.h.
#define CLK_ICKCR_FHWU ((uint8_t)0x20) |
Fast Wake-up from Active Halt/Halt mode
Definition at line 757 of file stm8l15x.h.
#define CLK_ICKCR_HSION ((uint8_t)0x01) |
High speed internal RC oscillator enable
Definition at line 762 of file stm8l15x.h.
Referenced by CLK_HSICmd().
#define CLK_ICKCR_HSIRDY ((uint8_t)0x02) |
High speed internal RC oscillator ready
Definition at line 761 of file stm8l15x.h.
#define CLK_ICKCR_LSION ((uint8_t)0x04) |
Low speed internal RC oscillator enable
Definition at line 760 of file stm8l15x.h.
Referenced by CLK_LSICmd().
#define CLK_ICKCR_LSIRDY ((uint8_t)0x08) |
Low speed internal RC oscillator ready
Definition at line 759 of file stm8l15x.h.
#define CLK_ICKCR_SAHALT ((uint8_t)0x10) |
Slow Active-halt mode
Definition at line 758 of file stm8l15x.h.
#define CLK_PCKENR1_BEEP ((uint8_t)0x40) |
BEEP clock enable
Definition at line 770 of file stm8l15x.h.
#define CLK_PCKENR1_DAC ((uint8_t)0x80) |
DAC clock enable
Definition at line 771 of file stm8l15x.h.
#define CLK_PCKENR1_I2C1 ((uint8_t)0x08) |
I2C1 clock enable
Definition at line 767 of file stm8l15x.h.
#define CLK_PCKENR1_SPI1 ((uint8_t)0x10) |
SPI1 clock enable
Definition at line 768 of file stm8l15x.h.
#define CLK_PCKENR1_TIM2 ((uint8_t)0x01) |
Timer 2 clock enable
Definition at line 764 of file stm8l15x.h.
#define CLK_PCKENR1_TIM3 ((uint8_t)0x02) |
Timer 3 clock enable
Definition at line 765 of file stm8l15x.h.
#define CLK_PCKENR1_TIM4 ((uint8_t)0x04) |
Timer 4 clock enable
Definition at line 766 of file stm8l15x.h.
#define CLK_PCKENR1_USART1 ((uint8_t)0x20) |
USART1 clock enable
Definition at line 769 of file stm8l15x.h.
#define CLK_PCKENR2_ADC1 ((uint8_t)0x01) |
ADC1 clock enable
Definition at line 773 of file stm8l15x.h.
#define CLK_PCKENR2_BOOTROM ((uint8_t)0x80) |
Boot ROM clock enable
Definition at line 779 of file stm8l15x.h.
#define CLK_PCKENR2_COMP ((uint8_t)0x20) |
Comparator clock enable
Definition at line 778 of file stm8l15x.h.
#define CLK_PCKENR2_DMA1 ((uint8_t)0x10) |
DMA1 clock enable
Definition at line 777 of file stm8l15x.h.
#define CLK_PCKENR2_LCD ((uint8_t)0x08) |
LCD clock enable
Definition at line 776 of file stm8l15x.h.
#define CLK_PCKENR2_RTC ((uint8_t)0x04) |
RTC clock enable
Definition at line 775 of file stm8l15x.h.
#define CLK_PCKENR2_TIM1 ((uint8_t)0x02) |
TIM1 clock enable
Definition at line 774 of file stm8l15x.h.
#define CLK_PCKENR3_AES ((uint8_t)0x01) |
AES clock enable
Definition at line 781 of file stm8l15x.h.
#define CLK_PCKENR3_SPI2 ((uint8_t)0x04) |
SPI2 clock enable
Definition at line 783 of file stm8l15x.h.
#define CLK_PCKENR3_TIM5 ((uint8_t)0x02) |
Timer 5 clock enable
Definition at line 782 of file stm8l15x.h.
#define CLK_PCKENR3_UASRT2 ((uint8_t)0x08) |
USART2 clock enable
Definition at line 784 of file stm8l15x.h.
#define CLK_PCKENR3_USART3 ((uint8_t)0x10) |
USART3 clock enable
Definition at line 785 of file stm8l15x.h.
#define CLK_REGCSR_EEBUSY ((uint8_t)0x40) |
Flash program memory and Data EEPROM busy
Definition at line 823 of file stm8l15x.h.
#define CLK_REGCSR_EEREADY ((uint8_t)0x80) |
Flash program memory and Data EEPROM ready
Definition at line 822 of file stm8l15x.h.
#define CLK_REGCSR_HSEPD ((uint8_t)0x10) |
HSE power-down
Definition at line 825 of file stm8l15x.h.
#define CLK_REGCSR_HSIPD ((uint8_t)0x04) |
HSI power-down
Definition at line 827 of file stm8l15x.h.
#define CLK_REGCSR_LSEPD ((uint8_t)0x20) |
LSE power-down
Definition at line 824 of file stm8l15x.h.
#define CLK_REGCSR_LSIPD ((uint8_t)0x08) |
LSI power-down
Definition at line 826 of file stm8l15x.h.
#define CLK_REGCSR_REGOFF ((uint8_t)0x02) |
#define CLK_REGCSR_REGREADY ((uint8_t)0x01) |
Main regulator ready
Definition at line 829 of file stm8l15x.h.
#define CLK_SCSR_CKM ((uint8_t)0x0F) |
System clock status bits
Definition at line 798 of file stm8l15x.h.
#define CLK_SWCR_SWBSY ((uint8_t)0x01) |
Switch busy
Definition at line 805 of file stm8l15x.h.
#define CLK_SWCR_SWEN ((uint8_t)0x02) |
Switch start/stop
Definition at line 804 of file stm8l15x.h.
Referenced by CLK_SYSCLKSourceSwitchCmd().
#define CLK_SWCR_SWIEN ((uint8_t)0x04) |
Clock switch interrupt enable
Definition at line 803 of file stm8l15x.h.
Referenced by CLK_ITConfig().
#define CLK_SWCR_SWIF ((uint8_t)0x08) |
Clock switch interrupt flag
Definition at line 802 of file stm8l15x.h.
Referenced by CLK_ClearITPendingBit().
#define CLK_SWR_SWI ((uint8_t)0x0F) |
System clock selection bits
Definition at line 800 of file stm8l15x.h.