ST STM8S Reference Manual page 6

Hide thumbs Also See for STM8S:
Table of Contents

Advertisement

Contents
11.6
Low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
11.7
Input mode details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
11.7.1
11.7.2
11.7.3
11.7.4
11.8
Output mode details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
11.8.1
11.8.2
11.9
GPIO registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
11.9.1
11.9.2
11.9.3
11.9.4
11.9.5
11.9.6
12
Auto-wakeup (AWU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
12.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
12.2
LSI clock measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
12.3
AWU functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
12.3.1
12.3.2
12.3.3
12.4
AWU registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
12.4.1
12.4.2
12.4.3
12.4.4
13
Beeper (BEEP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
13.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
13.2
Beeper functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
13.2.1
13.2.2
13.3
Beeper registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
6/449
Alternate function input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Interrupt capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Analog channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Schmitt trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Alternate function output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Slope control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Port x output data register (Px_ODR) . . . . . . . . . . . . . . . . . . . . . . . . . 111
Port x pin input register (Px_IDR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Port x data direction register (Px_DDR) . . . . . . . . . . . . . . . . . . . . . . . 112
Port x control register 1 (Px_CR1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Port x control register 2 (Px_CR2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
GPIO register map and reset values . . . . . . . . . . . . . . . . . . . . . . . . . . 113
AWU operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Time base selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
LSI clock frequency measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Control/status register (AWU_CSR) . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Asynchronous prescaler register (AWU_APR) . . . . . . . . . . . . . . . . . . 118
Timebase selection register (AWU_TBR) . . . . . . . . . . . . . . . . . . . . . . 119
AWU register map and reset values . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Beeper operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Beeper calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Doc ID 14587 Rev 8
RM0016

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Stm8a

Table of Contents

Save PDF