STM8S/A Standard Peripherals Drivers
|
Define Documentation
#define CLK_CCOR_CCOBSY ((uint8_t)0x40) |
#define CLK_CCOR_CCOEN ((uint8_t)0x01) |
Configurable clock output enable
Definition at line 597 of file stm8s.h.
Referenced by CLK_CCOCmd(), CLK_CCOConfig(), and CLK_DeInit().
#define CLK_CCOR_CCORDY ((uint8_t)0x20) |
#define CLK_CCOR_CCOSEL ((uint8_t)0x1E) |
Configurable clock output selection
Definition at line 596 of file stm8s.h.
Referenced by CLK_CCOConfig().
#define CLK_CKDIVR_CPUDIV ((uint8_t)0x07) |
#define CLK_CKDIVR_HSIDIV ((uint8_t)0x18) |
High speed internal clock prescaler
Definition at line 570 of file stm8s.h.
Referenced by CLK_GetClockFreq(), CLK_HSIPrescalerConfig(), and CLK_SYSCLKConfig().
#define CLK_CMSR_CKM ((uint8_t)0xFF) |
#define CLK_CSSR_AUX ((uint8_t)0x02) |
#define CLK_CSSR_CSSD ((uint8_t)0x08) |
Clock security system detection
Definition at line 589 of file stm8s.h.
Referenced by CLK_ClearITPendingBit().
#define CLK_CSSR_CSSDIE ((uint8_t)0x04) |
Clock security system detection interrupt enable
Definition at line 590 of file stm8s.h.
Referenced by CLK_ITConfig().
#define CLK_CSSR_CSSEN ((uint8_t)0x01) |
Clock security system enable
Definition at line 592 of file stm8s.h.
Referenced by CLK_ClockSecuritySystemEnable().
#define CLK_ECKR_HSEEN ((uint8_t)0x01) |
High speed external crystal oscillator enable
Definition at line 559 of file stm8s.h.
Referenced by CLK_ClockSwitchConfig(), and CLK_HSECmd().
#define CLK_ECKR_HSERDY ((uint8_t)0x02) |
#define CLK_HSITRIMR_HSITRIM ((uint8_t)0x07) |
High speed internal oscillator trimmer
Definition at line 599 of file stm8s.h.
Referenced by CLK_AdjustHSICalibrationValue().
#define CLK_ICKR_FHWU ((uint8_t)0x04) |
Fast Wake-up from Active Halt/Halt mode
Definition at line 554 of file stm8s.h.
Referenced by CLK_FastHaltWakeUpCmd().
#define CLK_ICKR_HSIEN ((uint8_t)0x01) |
High speed internal RC oscillator enable
Definition at line 556 of file stm8s.h.
Referenced by CLK_ClockSwitchConfig(), and CLK_HSICmd().
#define CLK_ICKR_HSIRDY ((uint8_t)0x02) |
#define CLK_ICKR_LSIEN ((uint8_t)0x08) |
Low speed internal RC oscillator enable
Definition at line 553 of file stm8s.h.
Referenced by CLK_ClockSwitchConfig(), and CLK_LSICmd().
#define CLK_ICKR_LSIRDY ((uint8_t)0x10) |
#define CLK_ICKR_SWUAH ((uint8_t)0x20) |
Slow Wake-up from Active Halt/Halt modes
Definition at line 551 of file stm8s.h.
Referenced by CLK_SlowActiveHaltWakeUpCmd().
#define CLK_PCKENR1_TIM1 ((uint8_t)0x80) |
#define CLK_PCKENR1_TIM2 ((uint8_t)0x20) |
#define CLK_PCKENR1_TIM3 ((uint8_t)0x40) |
#define CLK_PCKENR1_TIM4 ((uint8_t)0x10) |
#define CLK_PCKENR1_TIM5 ((uint8_t)0x20) |
#define CLK_PCKENR1_TIM6 ((uint8_t)0x10) |
#define CLK_PCKENR1_UART1 ((uint8_t)0x04) |
#define CLK_PCKENR1_UART2 ((uint8_t)0x08) |
#define CLK_PCKENR1_UART3 ((uint8_t)0x08) |
#define CLK_SWCR_SWBSY ((uint8_t)0x01) |
Switch busy flag
Definition at line 568 of file stm8s.h.
Referenced by CLK_ClockSwitchConfig(), and CLK_SYSCLKEmergencyClear().
#define CLK_SWCR_SWEN ((uint8_t)0x02) |
Switch start/stop
Definition at line 567 of file stm8s.h.
Referenced by CLK_ClockSwitchCmd(), and CLK_ClockSwitchConfig().
#define CLK_SWCR_SWIEN ((uint8_t)0x04) |
Clock switch interrupt enable
Definition at line 566 of file stm8s.h.
Referenced by CLK_ClockSwitchConfig(), and CLK_ITConfig().
#define CLK_SWCR_SWIF ((uint8_t)0x08) |
Clock switch interrupt flag
Definition at line 565 of file stm8s.h.
Referenced by CLK_ClearITPendingBit(), and CLK_ClockSwitchConfig().
#define CLK_SWIMCCR_SWIMDIV ((uint8_t)0x01) |