Port - Toshiba TMP91C815F Data Book

16bit micro controller tlcs-900/l1 series
Table of Contents

Advertisement

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,EA25) and
extend chip-select output(/CS2A,/CS2B,/CS2C,/CS2D,/CS2E).
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.
Reset
(on bit basis)
(on bit basis)
7
P6
bit Symbol
P67
(0012H)
Read/Write
After reset
1
7
P6FC
bit Symbol
(0015H)
Read/Write
After reset
Always write "0"
Function
7
P6FC2
bit Symbol
P67F2
(001BH)
Read/Write
After reset
0: <P67F>
Function
1: /CS2E
(note): Read-modify-write is prohibited for P6FC and P6FC2 .
Function
control 2
P6FC2 write
Funtion
control
P6FC write
S
A
Output
B
lacth
Selector
C
P6 write
"1","1",/CS2A,"1", /CS2B, /CS2C, /CS2D, /CS2E
P6 read
/CS0,/CS1,/CS2,/CS3,EA24,EA25,"1","1"
Figure 3.5.10 Port 6
Port 6 Register
6
5
P66
P65
1
1
Port 6 Function Register
6
5
P65F

0: PORT

0: PORT
1: EA25
Port 6 Function Register 2
6
5
P66F2
P65F2
W
0
0: <P66F>
0: <P65F>
0: <P64F>
1: /CS2D
1: /CS2C
1: /CS2B
Figure 3.5.11 Register for Port 6
91C815-61
P60 (/CS0),
P61 (/CS1),
P62 (/CS2,/CS2A),
P63 (/CS3),
P64(EA24,/CS2B),
P65(EA25,/CS2C),
P66(/CS2D),
P67(/CS2E)
4
3
2
P64
P63
P62
R/W
1
1
0
4
3
2
P64F
P63F
P62F
W
0
0: PORT
0: PORT
1: EA24
1: /CS3
1: /CS2
4
3
2
P64F2
P62F2
W
0
Always
0: <P62F>
write "0"
1: /CS2A
TMP91C815
1
0
P61
P60
1
1
1
0
P61F
P60F
0: PORT
0: PORT
1: /CS1
1: /CS0
1
0
Always write "0"

Advertisement

Table of Contents
loading

Table of Contents