Pinouts and pin descriptions
STM8S007C8
Table 4. Legend/abbreviations for STM8S007C8 pin description table
Type
I = input, O = output, S = power supply
floating
Input
wpu = weak pull-up
Ext. interrupt = external interrupt
HS = high sink
O1 = Slow (up to 2 MHz)
Output
Speed
O3 = Fast/slow programmability with slow as default state after reset
O4 = Fast/slow programmability with fast as default state after reset
OD = open drain
PP = push pull
Reset state
Bold X (pin state after internal reset release)
Unless otherwise specified, the pin state is the same during the reset phase and
after the internal reset release.
Pin name
Table 5. STM8S007C8 pin description
Input
Output
Default
alternate
function
Alternate
function
after remap
[option bit]
1 NRST
I/O
X
Reset
2 PA1/OSCIN
I/O X X
O1 X
X
Port A1
Resonator/ï€
crystal in
3 PA2/OSCOUT I/O X X X
O1 X
X
Port A2
Resonator/
crystal out
4 VSSIO_1
S
5 VSS
S
6 VCAP
S
I/O ground
Digital ground
1.8 V regulator capacitor
7 VDD
8 VDDIO_1
9 PA3/TIM2_CH3
S
S
I/O X X X
Digital power supply
I/O power supply
O1 X
X
Port A3
Timer 2 -
channel3
TIM3_CH1ï€
[AFR1]
10
PA4/UART1_RX
(1)
I/O X
X
X
HS O3 X
X
Port A4
UART1
receive
11 PA5/UART1_TX
I/O X X
X
HS O3 X
X
Port A5
UART1
transmit
UART1ï€
12 PA6/UART1_CK I/O X X X HS O3 X X Port A6 synchronous
clock
22/92
DocID022171 Rev 5