5-32
MSM66573 Family User's Manual
Chapter 5 Port Functions
5.14 Port 10 (P10)
Port 10 is a 7-bit I/O port. Each individual bit can be specified as input or output by the port
10 mode register (P10IO). When output is specified (corresponding bits of P10IO = "1"),
the value of the corresponding bits in the port 10 data register (P10) will be output from their
appropriate pins.
In addition to its port function, P10 is assigned secondary functions (such as SIO3 transmit-
receive clock I/O). If a secondary function output is to be used, set the corresponding bits
of the port 10 mode register (P10IO) and the port 10 secondary function control register
(P10SF) to "1". If a secondary function input is to be used, reset corresponding bits of the
port 10 mode register (P10IO) to "0" to configure the input mode (same input as the primary
function input).
If the port is set as an input (corresponding bits of P10IO = "0") and the port 10 secondary
function control register (P10SF) is set to "1", the pin inputs corresponding to those bits will
be pulled-up.
If bits 1, 3, 4, 5, and 7 of port 10 are set as secondary function outputs (P10IOn = 1, P10SFn
= 1), the output will be fixed at "0", regardless of the value of the port 10 data register.
Figure 5-17 shows the configuration of the port 10 data register (P10), port 10 mode register
(P10IO) and the port 10 secondary function control register (P10SF).
Figure 5-17 P10, P10IO, P10SF Configuration
7
P10IO7
6
5
4
3
2
1
0
P10IO3
P10IO5
P10IO2 P10IO1 P10IO0
7
P10SF7
6
5
4
3
2
1
0
P10SF3
P10SF1
SIOCK3
P10SF0
7
P10_7
6
5
4
3
2
1
0
P10_3
P10_5
P10_2
P10_1
P10_0
000
0
00
0
00
000
0
P10SF5
SIOO3
P10SF2
—
P10IO4
P10SF4
P10_4
0
Not pulled-up
P10_0 input
SIO3 transmit-
receive clock input
Primary function
P10_0 output
1
Pulled-up
Secondary function
SIO3 transmit-receive
clock output
Not pulled-up
P10_1 output
Pulled-up
Secondary function
0 output*
Not pulled-up
Primary function
P10_2 output
Pulled-up
Secondary function SIO3 transmit data output
Not pulled-up
P10_3 output
Pulled-up
Secondary function
0 output*
Not pulled-up
P10_4 output
Pulled-up
Secondary function
0 output*
Not pulled-up
P10_5 input
Primary function
P10_5 output
Pulled-up
Secondary function
0 output*
Not pulled-up
P10_7 output
Pulled-up
Secondary function
0 output*
0
1
0
1
0
1
0
1
0
1
0
1
0 (Input setting)
1 (Output setting)
P10IO
At reset
P10SF
At reset
P10
At reset
Address:
R/W access:
00CA [H]
R/W
P10_4 input
Primary function
Address:
R/W access:
00C2 [H]
R/W
Address:
R/W access:
00BA [H]
R/W
P10_1 input
SIO3 receive
data input
Primary function
P10_3 input
Primary function
P10_2 input
P10_7 input, timer 5
External event input
Primary function
0 output*: "0" is output, regardless of the value of the port data register
"—" indicates a bit that does not exist. If read, the value will be "0."