Datasheet

STM8L052C6 Pin description
Doc ID 022924 Rev 2 25/52
Note: The slope control of all GPIO pins, except true open drain pins, can be programmed. By
default, the slope control is limited to 2 MHz.
48
PE7/LCD_SEG27
I/O TT
(2)
XXXHSXXPort E7 LCD segment 27
32 PF0/ADC1_IN24 I/O X X X HS X X Port F0
ADC1_IN24
13 VLCD S LCD booster external capacitor
13 Reserved Reserved. Must be tied to V
DD
10 V
DD
S Digital power supply
11 V
DDA
S Analog supply voltage
12 V
REF+
S ADC1 positive voltage reference
9V
SS1
/V
SSA/
V
REF-
S
I/O ground / Analog ground voltage /
ADC1 negative voltage reference
39 V
DD2
S IOs supply voltage
40 V
SS2
S IOs ground voltage
1
PA 0
(6)
/[USART1_CK]
(8)
/
SWIM/BEEP/IR_TIM
(7)
I/O X X
(6)
X
HS
(7)
XXPort A0
[USART1 synchronous
clock]
(8)
/ SWIM input and
output /Beep output
/ Infrared Timer output
1. At power-up, the PA1/NRST pin is a reset input pin with pull-up. To be used as a general purpose pin (PA1), it can be
configured only as output open-drain or push-pull, not as a general purpose input. Refer to Section Configuring NRST/PA1
pin as general purpose output in the STM8L15x and STM8L16x reference manual (RM0031).
2. In the 3.6 V tolerant I/Os, protection diode to V
DD
is not implemented.
3. In the 5 V tolerant I/Os, protection diode to V
DD
is not implemented.
4. A pull-up is applied to PB0 and PB4 during the reset phase. These two pins are input floating after reset release.
5. In the open-drain output column, ‘T’ defines a true open-drain I/O (P-buffer, weak pull-up and protection diode to V
DD
are
not implemented).
6. The PA0 pin is in input pull-up during the reset phase and after reset release.
7. High Sink LED driver capability available on PA0.
8. [ ] Alternate function remapping option (if the same alternate function is shown twice, it indicates an exclusive choice not
aduplication of the function).
Table 4. Medium density value line STM8L05xxx pin description (continued)
Pin
number
Pin name
Type
I/O level
Input Output
Main function
(after reset)
Default alternate function
LQFP48
floating
wpu
Ext. interrupt
High sink/source
OD
PP