Table 9-11 Port 6 Pin Functions in Modes 1 to 6
Pin
Pin Functions and Selection Method
P6
6
/
LWR
Functions as follows regardless of P6
6
DDR
P6
6
DDR
0
1
Pin function
LWR
output
P6
5
/
HWR
Functions as follows regardless of P6
5
DDR
P6
5
DDR
0
1
Pin function
HWR
output
P6
4
/
RD
Functions as follows regardless of P6
4
DDR
P6
4
DDR
0
1
Pin function
RD
output
P6
3
/
AS
Functions as follows regardless of P6
3
DDR
P6
3
DDR
0
1
Pin function
AS
output
P6
2
/
BACK
Bit BRLE in BRCR and bit P6
2
DDR select the pin function as follows
BRLE
0
1
P6
2
DDR
0
1
—
Pin function
P6
2
input
P6
2
output
BACK
output
P6
1
/
BREQ
Bit BRLE in BRCR and bit P6
1
DDR select the pin function as follows
BRLE
0
1
P6
1
DDR
0
1
—
Pin function
P6
1
input
P6
1
output
BREQ
input
P6
0
/
WAIT
Bits WCE7 to WCE0 in WCER, bit WMS1 in WCR, and bit P6
0
DDR select the
pin function as follows
WCER
All 1s
Not all 1s
WMS1
0
1
—
P6
0
DDR
0
1
0
*
0
*
Pin function
P6
0
input
P6
0
output
WAIT
input
Note:
*
Do not set bit P6
0
DDR to 1.
264
www.DataSheet4U.com