Datasheet
Alternate
function after
remap
[option bit]
Default alternate
function
Main function
(after reset)
OutputInputTypePin namePin number
PPODSpeedHigh
sink
Ext.
interrupt
wpufloatingSDIP32LQFP32/
UFQFPN32
LQFP44LQFP48
TIM1_ BKIN
[AFR3]/
Timer 3 -
channel 2
Port D0XXO3HSXXXI/OPD0/
TIM3_
CH2
[TIM1_
30253741
CLK_ CCO
[AFR2]
BKIN]
[CLK_
CCO]
SWIM data
interface
Port D1XXO4HSXXXI/OPD1/
SWIM
(5)
31263842
TIM2_CH3
[AFR1]
Timer 3 -
channel 1
Port D2XXO3HSXXXI/OPD2/
TIM3_
CH1
[TIM2_
CH3]
32273943
ADC_ ETR
[AFR0]
Timer 2 -
channel 2
Port D3XXO3HSXXXI/OPD3/
TIM2_
CH2
[ADC_
ETR]
1284044
BEEP output
[AFR7]
Timer 2 -
channel 1
Port D4XXO3HSXXXI/OPD4/
TIM2_
CH1
[BEEP]
2294145
UART2 data
transmit
Port D5XXO1XXXI/OPD5/
UART2_
TX
3304246
UART2 data
receive
Port D6XXO1XXXI/OPD6/
UART2_
RX
4314347
TIM1_ CH4
[AFR4]
Top level interruptPort D7XXO1XXXI/OPD7/ TLI
[TIM1_
CH4]
5324448
(1)
A pull-up is applied to PF4 during the reset phase. This pin is input floating after reset release.
(2)
AIN12 is not selectable in ADC scan mode or with analog watchdog.
(3)
In 44-pin package, AIN9 cannot be used by ADC scan mode.
(4)
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).
(5)
The PD1 pin is in input pull-up during the reset phase and after internal reset release.
Alternate function remapping5.1.1
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.
27/124DocID14771 Rev 12
Pinout and pin descriptionSTM8S105xx