5-34
MSM66573 Family User's Manual
Chapter 5 Port Functions
5.15 Port 11 (P11)
Port 11 is a 6-bit I/O port. Each individual bit can be specified as input or output by the port
11 mode register (P11IO). When output is specified (corresponding bits of P11IO = "1"),
the value of the corresponding bits in the port 11 data register (P11) will be output from their
appropriate pins.
In addition to its port function, P11 is assigned secondary functions (such as WAIT input).
If a secondary function output is to be used, set the corresponding bits of the port 11 mode
register (P11IO) and the port 11 secondary function control register (P11SF) to "1". If a
secondary function input is to be used, reset corresponding bits of the port 11 mode register
(P11IO) 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 P11IO = "0") and the port 11 secondary
function control register (P11SF) is set to "1", the pin inputs corresponding to those bits will
be pulled-up.
If bits 0, 1, and 7 of port 11 are set as secondary function outputs (P11IOn = 1, P11SFn =
1), the output will be fixed at "0", regardless of the value of the port 11 data register.
Figure 5-18 shows the configuration of the port 11 data register (P11), port 11 mode register
(P11IO) and the port 11 secondary function control register (P11SF).
Figure 5-18 P11, P11IO, P11SF Configuration
7
P11IO7
6
5
4
3
2
1
0
P11IO6
P11IO3 P11IO2 P11IO1 P11IO0
7
P11SF7
6
5
4
3
2
1
0
PTM9OUT
P11SF6
P11SF1 P11SF0
7
P11_7
6
5
4
3
2
1
0
P11_6
P11_3
P11_2
P11_1
P11_0
000
0
00
0
00
000
0
XTOUT
P11SF3
CLKOUT
P11SF2
—
——
0
Not pulled-up
P11_0 input
WAIT input
Primary function
P11_0 output
1
Pulled-up
Secondary function
0 output*
Not pulled-up
P11_1 output
Pulled-up
Secondary function
0 output*
Not pulled-up
Primary function
P11_2 output
Pulled-up
Secondary function Main clock output
Not pulled-up
P11_3 output
Pulled-up
Secondary function Sub clock output
Not pulled-up
P11_6 output
Pulled-up
Secondary function Timer 9 output
Not pulled-up
P11_7 input, timer 9
External event input
Primary function
P11_7 output
Pulled-up
Secondary function
0 output*
0
1
0
1
0
1
0
1
0
1
0 (Input setting)
1 (Output setting)
P11IO
At reset
P11SF
At reset
P11
At reset
Address:
R/W access:
00CB [H]
R/W
P11_6 input
Primary function
P11_1 input
HOLD mode
request input
Primary function
P11_3 input
Primary function
P11_2 input
Address:
R/W access:
00C3 [H]
R/W
Address:
R/W access:
00BB [H]
R/W
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."