STM8S105C4B3 STMICROELECTRONICS [STMicroelectronics], STM8S105C4B3 Datasheet - Page 28

no-image

STM8S105C4B3

Manufacturer Part Number
STM8S105C4B3
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
Pinout and pin description
5.1.1
28/127
Pin number
LQFP48
41
42
43
44
45
46
47
48
(1)
(2)
(3)
AIN12 is not selectable in ADC scan mode or with analog watchdog.
In 44-pin package, AIN9 cannot be used by ADC scan mode.
In the open-drain output column, ‘T’ defines a true open-drain I/O (P-buffer and protection diode to V DD are not implemented).
LQFP44
37
38
39
40
41
42
43
44
Alternate function remapping
As shown in the rightmost column of the pin description table, some alternate functions can
be remapped at different I/O ports by programming one of eight AFR (alternate function
remap) option bits. When the remapping option is active, the default alternate function is no
longer available.
To use an alternate function, the corresponding peripheral must be enabled in the peripheral
registers.
Alternate function remapping does not effect GPIO capabilities of the I/O ports (see the GPIO
section of the family reference manual, RM0016).
LQFP32/
VFQFPN32/
UFQFPN32
25
26
27
28
29
30
31
32
SDIP32
30
31
32
1
2
3
4
5
Pin
name
PD0/
TIM3_
CH2
[TIM1_
BKIN]
[CLK_
CCO]
PD1/
SWIM
PD2/
TIM3_
CH1
[TIM2_
CH3]
PD3/
TIM2_
CH2
[ADC_
ETR]
PD4/
TIM2_
CH1
[BEEP]
PD5/
UART2_
TX
PD6/
UART2_
RX
PD7/
TLI
[TIM1_
CH4]
Type
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Input
floating
X
X
X
X
X
X
X
X
wpu
X
X
X
X
X
X
X
X
DocID14771 Rev 9
Ext.
interrupt
X
X
X
X
X
X
X
X
Output
High
sink
HS
HS
HS
HS
HS
Speed
O3
O4
O3
O3
O3
O1
O1
O1
OD
X
X
X
X
X
X
X
X
PP
X
X
X
X
X
X
X
X
Main function
(after reset)
Port D0
Port D1
Port D2
Port D3
Port D4
Port D5
Port D6
Port D7
Default alternate
function
Timer 3 -
channel 2
SWIM data
interface
Timer 3 -
channel 1
Timer 2 -
channel 2
Timer 2 -
channel 1
UART2 data
transmit
UART2 data
receive
Top level interrupt
STM8S105xx
Alternate
function after
remap
[option bit]
TIM1_ BKIN
[AFR3]/
CLK_ CCO
[AFR2]
TIM2_CH3
[AFR1]
ADC_ ETR
[AFR0]
BEEP output
[AFR7]
TIM1_ CH4
[AFR4]

Related parts for STM8S105C4B3