TMP91C824
91C824-61
3.5.4
Port6 (P60 to P67)
Port60 to 67 are 8bit output ports. Resetting sets output latch of P62 to “0” and output latchs of P60 to
P61,P63 to P67 to “1”.
Port6 also function as chip-select output (/CS0 to /CS3), extend address output(EA24).
Writing “1” in the corresponding bit of P6FC, P6FC2 enables the respective functions.
Resetting resets the P6FC, P6FC2 to “0”, and sets all bits to output ports.
Funtion
control
(on bit basis)
Output
lacth
P6 read
Reset
P60 (/CS0),
P61 (/CS1),
P62 (/CS2,/CS2A)
P63 (/CS3),
P64 (EA24,/CS2B)
P65 (EA25,/CS2C)
P66 (/CS2D)
P67 (/CS2E)
/CS0,/CS1,/CS2,/CS3,EA24,EA25
Selector
P6FC write
P6 write
S
A
B
Function
control 2
(on bit basis)
P6FC2 write
“1”,”1”,/CS2A,”1”, /CS2B
C
Figure 3.5.7 Port 6
Port 6 Register
7
6
5
4
3
2
1
0
bit Symbol
P67
P66
P65
P64
P63
P62
P61
P60
Read/Write
R/W
After reset
1
1
1
1
1
0
1
1
Port 6 Function Register
7
6
5
4
3
2
1
0
bit Symbol
P65F
P64F
P63F
P62F
P61F
P60F
Read/Write
W
After reset
0
Function
Always write “0”
0:PORT
1:EA25
0: PORT
1: EA24
0: PORT
1: /CS3
0: PORT
1: /CS2
0: PORT
1: /CS1
0: PORT
1: /CS0
Port 6 Function Register 2
7
6
5
4
3
2
1
0
bit Symbol
P67F2
P66F2
P65F2
P64F2
P62F2
Read/Write
W
W
After reset
0
0
Function
0: <P67F>
1: /CS2E
0: <P66F>
1: /CS2D
0: <P65F>
1: /CS2C
0: <P64F>
1: /CS2B
Always
write “0”
0: <P62F>
1: /CS2A
Always write “0”
P6
(0012H)
P6FC
(0015H)
P6FC2
(001BH)
(note): Read-modify-write is prohibited for P6FC and P6FC2 .
Figure 3.5.8 Register for Port 6