TMP91C824
91C824-57
Port 1 Register
7
6
5
4
3
2
1
0
bit Symbol
P17
P16
P15
P14
P13
P12
P11
P10
Read/Write
R/W
After Reset
Input mode (Output latch register is cleared to 0.)
Port 1 Control Register
7
6
5
4
3
2
1
0
bit Symbol
P17C
P16C
P15C
P14C
P13C
P12C
P11C
P10C
Read/Write
W
After Reset
0
0
0
0
0
0
0
0
Function
0: IN 1: OUT
Port 2 Register
7
6
5
4
3
2
1
0
bit Symbol
P27
P26
P25
P24
P23
P22
P21
P20
Read/Write
R/W
After Reset
Output latch register is set to “1”
Port 2 Function Register
7
6
5
4
3
2
1
0
bit Symbol
P27F
P26F
P25F
P24F
P23F
P22F
P21F
P20F
Read/Write
W
After Reset
1
1
1
1
1
1
1
1
Function
0: Port 1: Address bus (A23 to A16)
P0
(0000H)
P1
(0001H)
Port 1 I/O setting
0: Input
1: Output
P1CR
(0004H)
P2FC
(0009H)
(note): Read-modify-write is prohibited for P1CR and P2FC.
P2
(0006H)
Figure 3.5.3 Registers for Ports 1 and 2