stm8af6199 STMicroelectronics, stm8af6199 Datasheet - Page 32

no-image

stm8af6199

Manufacturer Part Number
stm8af6199
Description
Automotive 8-bit Mcu, With Up To 128 Kbytes Flash, Eeprom, 10-bit Adc, Timers, Lin, Can, Usart, Spi, I 2c, 3 V To 5.5 V
Manufacturer
STMicroelectronics
Datasheet
Pinouts and pin description
Table 6.
1. In the open-drain output column, ‘T’ defines a true open-drain I/O (P-buffer and protection diode to V
6.2.1
As shown in the rightmost column of
ports by programming one of eight AFR (alternate function remap) option bits. Refer to
Option bytes on page
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 STM8A microcontroller family reference manual, RM0009).
32/100
73 57 41 25 PD0/TIM3_CC2
74 58 42 26 PD1/SWIM
75 59 43 27 PD2/TIM3_CC1
76 60 44 28 PD3/TIM2_CC2
77 61 45 29
78 62 46 30
79 63 47 31
80 64 48 32 PD7/TLI
Pin number
implemented)
STM8A microcontroller family pin description (continued)
Alternate function remapping
PD4/TIM2_CC1/B
EEP
PD5/
LINUART_TX
PD6/
LINUART_RX
Pin name
49. When the remapping option is active, the default alternate function is no longer
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
I/O X
Table
Input
X
X
X
X
X
X
X
X
6, some alternate functions can be remapped at different I/O
X
X
X
X
X
X
X
X
HS O3
HS O4
HS O3
HS O3
HS O3
Output
O1
O1
O1
X
X
X
X
X
X
X
X
X Port D0
X Port D1
X Port D2
X Port D3
X Port D4
X Port D5
X
X Port D7 Top level interrupt
Port D6
Caution: This pin must be held low
during power on
function
reset)
(after
Main
STM8AF61xx, STM8AF51xx
Timer 3 - channel
2
SWIM data
interface
Timer 3 - channel
1
Timer 2 - channel
2
Timer 2 - channel
1
LINUART data
transmit
LINUART data
receive
Default alternate
function
DD
are not
Section 10:
TIM1_BKIN
[AFR3]/
CLK_CCO
[AFR2]
TIM2_CC3
[AFR1]
ADC_ETR
[AFR0]
BEEP
output
[AFR7]
TIM1_CC4
[AFR4]
[option bit]
Alternate
function
remap
after

Related parts for stm8af6199