English
Language : 

STM8S003F3U6TR Datasheet, PDF (15/100 Pages) STMicroelectronics – Value line, 16 MHz STM8S 8-bit MCU, 8 Kbytes Flash, 128 bytes data EEPROM, 10-bit ADC, 3 timers, UART, SPI, I²C
STM8S003K3 STM8S003F3
Product overview
• Encoder mode
• Interrupt sources: 3 x input capture/output compare, 1 x overflow/update, 1 x break
4.11
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
4.12
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
Timer
TIM1
Table 3: TIM timer features
Counter
size (bits)
Prescaler
Counting
mode
CAPCOM
channels
Complem. Ext.
outputs trigger
Timer
synchronization/
chaining
Any integer
16
from 1 to
Up/down 4
3
Yes
65536
Any power of
TIM2 16
2 from 1 to Up
3
0
No
No
32768
TIM4 8
Any power of
2 from 1 to Up
0
0
No
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:
• Input voltage range: 0 to VDD
• 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
• Analog watchdog capability with programmable upper and lower thresholds
• Analog watchdog interrupt
DocID018576 Rev 3
15/100