CONFIDENTIAL STi5512
Peripheral inputs connected to the alternative function input of a PIO bit are permanently connected to the input pin.
The output signal from a peripheral is only connected when the PIO bit is configured into either push-pull or open drain
driver alternative function mode.
I/O pin
Push-pull
tristate
open drain
weak pull-up
Alternative function
Alternative function output
10
Output latch
Alternative function input
Input latch
Figure 4 I/O port pin
Table 15 shows the assignment of the alternative functions to the PIO bits. Parentheses ( ) in the table indicate
suggested or possible pin usages as a PIO, not an alternative function connection.
Port bit
0
1
2
3
Alternative function of PIO pins
PIO port 0
PIO port 1
ASC0TxD or
Sc1DataOut
ASC0TRxD or
Sc1DataIn
Sc1ClkGenExtClk
Sc1Clk
SSC0 MTSR
SSC0 MRST
SSC0 SClk
PWMOut0
PIO port 2
ASC2TxD or
Sc0DataOut
ASC2RxD or
Sc0DataIn
Sc0ClkGenExtClk
Sc0Clk
PIO port 3
SSC1 MTSR
SSC1 MRST
SSC1 SClk
CaptureIn0
4
(Sc1RST)
PWMOut1
(Sc0RST)
CaptureIn1
5
(Sc1CmdVcc)
6
(Sc1CmdVpp)
Sc1Dir
7
(Sc1Detect)
ASC1TxD
ASC1RxD
PWMOut2
(Sc0CmdVcc)
(Sc0CmdVpp)
Sc2Dir
(Sc0Detect)
CaptureIn2
CompareOut2
1284InnotOut
Table 15 Alternative function of PIO pins
PIO port 4
ASC3TxD
ASC3RxD
TtxtClockIn
1284PeriphLogicH/
ASC3 CTS
1284HostLogicH/ASC3
RTS
Interrupt2
Interrupt3
TtxtData
18//23
7110123 B