9.7
Port 9
Port 9 is a 2-bit input-only port. Port 9 has the following register.
• Port 9 register (PORT9)
9.7.1
Port 9 Register (PORT9)
PORT9 is an 8-bit read-only register that shows port 4 pin states.
PORT9 cannot be modified.
Bit
Bit Name
Initial Value
7
—
Undefined
6
—
Undefined
5
P95
—*
4
P94
—*
3
—
Undefined
2
—
Undefined
1
—
Undefined
0
—
Undefined
Note: * Determined by the states of pins P95 and P94.
9.7.2
Pin Functions
Port 9 also functions as the pins for A/D converter analog input and D/A converter analog output.
The correspondence between pins are as follows.
P95/AN13/DA3
Pin function
P94/AN12/DA2
Pin function
R/W
Description
R
Reserved
If read they will return an undefined value.
R
R
The pin states are always read when a port 9 read
is performed.
R
R
Reserved
If read they will return an undefined value.
R
R
R
AN13 input
DA3 output
AN12 input
DA2 output
Rev. 2.00, 05/03, page 339 of 820