English
Language : 

W78E054D Datasheet, PDF (27/89 Pages) List of Unclassifed Manufacturers – 8-bit microcontroller
W78E054D/W78E052D Data Sheet
6 IPH.6
5 IPH.5
4 IPH.4
3 IPH.3
2 IPH.2
1 IPH.1
0 IPH.0
1: Interrupt high priority of INT2 is highest priority level.
1: Interrupt high priority of Timer 2 is highest priority level.
1: Interrupt high priority of Serial Port 0 is highest priority level.
1: Interrupt high priority of Timer 1 is highest priority level.
1: Interrupt high priority of External interrupt 1 is highest priority level.
1: Interrupt high priority of Timer 0 is highest priority level.
1: Interrupt high priority of External interrupt 0 is highest priority level.
Interrupt Priority
Bit: 7
6
5
4
3
2
1
-
-
PT2
PS
PT1
PX1
PT0
Mnemonic: IP
BIT NAME
FUNCTION
5 PT2
1: Interrupt priority of Timer 2 is higher priority level.
4 PS
1: Interrupt priority of Serial port 0 is higher priority level.
3 PT1
1: Interrupt priority of Timer 1 is higher priority level.
2 PX1
1: Interrupt priority of External interrupt 1 is higher priority level.
1 PT0
1: Interrupt priority of Timer 0 is higher priority level.
0 PX0
1: Interrupt priority of External interrupt 0 is higher priority level.
0
PX0
Address: B8h
EAPAGE ERASE PAGE Operation Modes
Bit: 7
6
5
4
-
-
-
-
Mnemonic: EAPAGE
3
-
2
-
1
0
EAPG1
EAPG0
Address: BD
BIT NAME
FUNCTION
1 EAPG1 1: To ease PAGE1 when ease command is set. (LDROM)
0 EAPG0 1: To ease PAGE0 when ease command is set. (APROM)
;CPU Clock = 12MHz/12T mode
READ_TIME
EQU
1
PROGRAM_TIME
EQU
50
ERASE_TIME
EQU
5000
Erase_APROM:
mov
EAPAGE,#01h
;set EAPAGE is APROM
mov
SFRCN,#ERASE_ROM
mov
TL0,#LOW (65536-ERASE_TIME)
mov
TH0,#HIGH(65536-ERASE_TIME)
setb TR0
- 27 -
Publication Release Date: Jun 9, 2015
Revision A13