
Preliminary W79E217A Data Sheet
Publication Release Date: December 14, 2007
- 40 -
Revision A3.0
BIT
NAME
FUNCTION
7
-
Reserved.
6
WFWIN
On-chip FLASH EPROM bank select for in-system programming.
0= AP FLASH EPROM bank is selected as destination for re-programming.
1= LD FLASH EPROM bank is selected as destination for re-programming.
5
NOE
Flash EPROM output enable.
4
NCE
Flash EPROM chip enable.
3-0
CTRL
The Flash Control Signals.
ISP MODE
WFWIN
NOE
NCE
CTRL[3:0]
SFRAH,
SFRAL
SFRFD
Erase 4KB LD Flash
1
1
0
0010
X
X
Erase 64K AP Flash0
0
1
0
0010
X
X
Program 4KB LD Flash
1
1
0
0001
Address in
Data in
Program 64KB AP Flash0
0
1
0
0001
Address in
Data in
Read 4KB LD Flash
1
0
0
0000
Address in
Data out
Read 64KB AP Flash0
0
0
0
0000
Address in
Data out
PORT 3
Bit:
7
6
5
4
3
2
1
0
P3.7
P3.6
P3.5
P3.4
P3.3
P3.2
P3.1
P3.0
Mnemonic: P3
Address: B0h
BIT
NAME
FUNCTION
7-0
P3
General purpose I/O port. Each pin also has an alternate input or output function
that is controlled by other SFRs. The alternate function is enabled if the
corresponding port latch bit is set to 1.
ALTERNATE FUNCTION
P3.7
RD Strobe for read from external RAM.
P3.6
WR Strobe for write to external RAM.
P3.5
P3.4
T1/IC1/QEB; Timer/counter 1 external count input/Input Capture 1/QEI input B.
T0/IC0/QEA; Timer/counter 0 external count input/Input Capture 0/QEI input A.
P3.3
INT0 External interrupt 1.
P3.2
INT1 External interrupt 0.
P3.1
TxD Serial port output.
P3.0
RxD Serial port input.