English
Language : 

W78E054D Datasheet, PDF (30/89 Pages) List of Unclassifed Manufacturers – 8-bit microcontroller
W78E054D/W78E052D Data Sheet
5 OEN
FLASH EPROM output enable.
4 CEN
FLASH EPROM chip enable.
3-0 CTRL[3:0] CTRL[3:0]: The flash control signals
Mode
OEN
Flash Standby
1
Read Company ID
0
Read Device ID High
0
Read Device ID Low
1
Erase APROM
1
Erase Verify APROM
0
Program APROM
1
Program Verify APROM
0
Read APROM
0
CEN
CTRL<3:0>
SFRAH, SFRAL
SFRFD
1
X
X
X
0
1011
0FFh, 0FFh
Data out
0
1100
0FFh, 0FFh
Data out
0
1100
0FFh, 0FEh
Data out
0
0010
X
X
0
1001
Address in
Data out
0
0001
Address in
Data in
0
1010
Address in
Data out
0
0000
Address in
Data out
Timer 2 Control
Bit: 7
TF2
6
EXF2
5
RCLK
4
TCLK
3
2
EXEN2 TR2
1
C / T2
0
CP / RL2
Mnemonic: T2CON
BIT NAME
7 TF2
6 EXF2
5 RCLK
4 TCLK
3 EXEN2
Address: C8h
FUNCTION
Timer 2 overflow flag: This bit is set when Timer 2 overflows. It is also set
when the count is equal to the capture register in down count mode. It can be
set only if RCLK and TCLK are both 0. It is cleared only by software. Software
can also set or clear this bit.
Timer 2 External Flag: A negative transition on the T2EX pin (P1.1) or timer 2
overflow will cause this flag to set based on the CP / RL2 , EXEN2 and DCEN
bits. If set by a negative transition, this flag must be cleared by software. Set-
ting this bit in software or detection of a negative transition on T2EX pin will
force a timer interrupt if enabled.
Receive Clock Flag: This bit determines the serial port 0 time-base when re-
ceiving data in serial modes 1 or 3. If it is 0, then timer 1 overflow is used for
baud rate generation, otherwise timer 2 overflow is used. Setting this bit forces
timer 2 in baud rate generator mode.
Transmit Clock Flag: This bit determines the serial port 0 time-base when
transmitting data in modes 1 and 3. If it is set to 0, the timer 1 overflow is used
to generate the baud rate clock otherwise timer 2 overflow is used. Setting this
bit forces timer 2 in baud rate generator mode.
Timer 2 External Enable. This bit enables the capture/reload function on the
T2EX pin if Timer 2 is not generating baud clocks for the serial port. If this bit
is 0, then the T2EX pin will be ignored, otherwise a negative transition detect-
ed on the T2EX pin will result in capture or reload.
- 30 -
Publication Release Date: Jun 9, 2015
Revision A13