Datasheet

Break input to force the timer outputs into a defined state
Three complementary outputs with adjustable dead time
Encoder mode
Interrupt sources: 3 x input capture/output compare, 1 x overflow/update, 1 x break
TIM2 - 16-bit general purpose timer4.11
16-bit autoreload (AR) up-counter
15-bit prescaler adjustable to fixed power of 2 ratios 1…32768
3 individually configurable capture/compare channels
PWM mode
Interrupt sources: 3 x input capture/output compare, 1 x overflow/update
TIM4 - 8-bit basic timer4.12
8-bit autoreload, adjustable prescaler ratio to any power of 2 from 1 to 128
Clock source: CPU clock
Interrupt source: 1 x overflow/update
Table 3: TIM timer features
Timer
synchronization/
chaining
Ext.
trigger
Complem.
outputs
CAPCOM
channels
Counting
mode
Prescaler
Counter
size (bits)
Timer
No
Yes34Up/down
Any integer
from 1 to
65536
16TIM1
No03Up
Any power of
2 from 1 to
32768
16TIM2
No00Up
Any power of
2 from 1 to
128
8TIM4
Analog-to-digital converter (ADC1)4.13
The STM8S103xx family products contain a 10-bit successive approximation A/D converter
(ADC1) with up to 5 external multiplexed input channels and the following main features:
Input voltage range: 0 to V
DD
Conversion time: 14 clock cycles
Single and continuous and buffered continuous conversion modes
Buffer size (n x 10 bits) where n = number of input channels
Scan mode for single and continuous conversion of a sequence of channels
DocID15441 Rev 916/117
STM8S103K3 STM8S103F3 STM8S103F2Product overview