TMP92CZ26A
92CZ26A-125
3.7.5 Port 7 (P70 to P76)
Port7 is a 7-bit general-purpose I/O port (P70 is used for output only). Bits can be
individually set as either inputs or outputs by control register P7CR and function register
P7FC. In addition to functioning as a general-purpose I/O port, P70 to P76 pins can also
function interface-pin for external memory.
A reset initializes P70 pin to output port mode, and P71 to P76 pins to input port mode.
Setting the AM1 and AM0 pins as shown below and resetting the device initialize port 7
to the following function pins:
Initial setting of P70 pin
AM1 AM0 Function Setting after reset is released
0
0
1
1
0
1
0
1
Don’t use this setting
RD
pin
Don’t use this setting
Output port (P70)
Figure 3.7.9 Port7
P7 register
S
0
1
Selecto
r
Port read data
P70 (
RD
)
RD
P7FC register
Selecto
r
Selecto
r
P7 register
S
1
0
Port read data
P7CR register
P7FC register
S
0
1
NDRE ,NDWE
WRLL
, WRLU
S
0
1
P71 (
WRLL
,
NDRE
)
P72 (
WRLU
,
NDWE
)
Selecto
r