EasyManuals Logo
Home>ST>Microcontrollers>STM8S

ST STM8S Reference Manual

ST STM8S
449 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #114 background imageLoading...
Page #114 background image
Auto-wakeup (AWU) RM0016
114/449 Doc ID 14587 Rev 8
12 Auto-wakeup (AWU)
12.1 Introduction
The AWU is used to provide an internal wakeup time base that is used when the MCU goes
into Active-halt power saving mode. This time base is clocked by the low speed internal
(LSI) RC oscillator clock or the HSE crystal oscillator clock divided by a prescaler.
12.2 LSI clock measurement
To ensure the best possible accuracy when using the LSI clock, its frequency can be
measured with TIM3 or TIM1 timer input capture 1 (see datasheet for information on which
timer is connected in the specific product).
Figure 25. AWU block diagram
1. The LS clock source is selected by programming the CKAWUSEL option bit as explained in the clock
controller chapter.
COUNTER
AWU COUNTERS
6-BIT PROG
LSI RC
128 kHz
AWUTB[3:0]
15 time bases
AWU interrupt
AWUEN & HALT/WAIT
MSR
APR[5:0]
Prescaler
~ 128 kHz LS clock
OPTION bit
HSE clock
OPTION bits
PRSC[1:0]
(for measurement)
CKAWUSEL
(1 - 24 MHz)
fLS
fLS
To timer input capture

Table of Contents

Other manuals for ST STM8S

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM8S and is the answer not in the manual?

ST STM8S Specifications

General IconGeneral
BrandST
ModelSTM8S
CategoryMicrocontrollers
LanguageEnglish

Related product manuals