Datasheet
Functional overview STM8S001J3
18/84 DocID030584 Rev 2
4.12 Analog-to-digital converter (ADC1)
STM8S001J3 contains a 10-bit successive approximation A/D converter (ADC1) with up to
three external multiplexed input channels and the following main features:
• Input voltage range: 0 to V
DDA
• Conversion time: 14 clock cycles
• Single and continuous, buffered continuous conversion modes
• Buffer size (10 x 10 bits)
• Scan mode for single and continuous conversion of a sequence of channels
• Analog watchdog capability with programmable upper and lower thresholds
• Analog watchdog interrupt
• External trigger input
• Trigger from TIM1 TRGO
• End of conversion (EOC) interrupt
4.13 Communication interfaces
The following communication interfaces are implemented:
• UART1: full feature UART, synchronous mode, SmartCard mode, IrDA mode, LIN2.1
master capability
• SPI: master mode transmit/receive only, slave mode receive only, 8 Mbit/s
• I²C: up to 400 Kbit/s
4.13.1 UART1
Main features
• 1 Mbit/s full duplex SCI
• High precision baud rate generator
• Smartcard reader emulation
• IrDA SIR encoder decoder
• LIN master mode
• Single wire half duplex mode
Table 3. TIM timer features
Timer
Counter
size
(bits)
Prescaler
Counting
mode
CAPCOM
channels
Complem.
outputs
Ext.
trigger
Timer
synchr-
onization/
chaining
TIM1 16 Any integer from 1 to 65536 Up/down 2 1
(1)
No
No
TIM2 16 Any power of 2 from 1 to 32768 Up 3 0 No
TIM4 8 Any power of 2 from 1 to 128 Up 0 0 No
1. TIM1_CH2N with TIM1_CH1
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.