STM8S003K3 STM8S003F3
Product overview
Encoder mode
•
Interrupt sources: 3 x input capture/output compare, 1 x overflow/update, 1 x break
•
4.11
4.12
TIM2 - 16-bit general purpose timer
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 timer
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
Counter
size (bits)
Counting CAPCOM Complem. Ext.
Timer
Prescaler
mode
channels outputs
trigger
Any integer
from 1 to
65536
TIM1
16
16
8
Up/down
4
3
0
3
0
0
Yes
Any power of
2 from 1 to
32768
No
TIM2
TIM4
Up
Up
No
No
Any power of
2 from 1 to
128
4.13
Analog-to-digital converter (ADC1)
The STM8S003xx products contain a 10-bit successive approximation A/D converter (ADC1)
with up to 5 external multiplexed inputs channels and the following features:
The STM8S105xx products contain a 10-bit successive approximation A/D converter (ADC1)
with up to 10 multiplexed input channels and the following main features:
Input voltage range: 0 to VDD
•
Input voltage range: 0 to VDDA
•
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
•
DocID018576 Rev 2
15/99