English
Language : 

W78E054D Datasheet, PDF (32/89 Pages) List of Unclassifed Manufacturers – 8-bit microcontroller
W78E054D/W78E052D Data Sheet
TL2.7
Mnemonic: TL2
BIT NAME
7-0 TL2.[7:0]
TL2.6
TL2.5
FUNCTION
Timer 2 LSB
TL2.4
TL2.3
TL2.2
TL2.1
TL2.0
Address: CCh
Timer 2 MSB
Bit: 7
6
5
TH2.7
TH2.6
TH2.5
Mnemonic: TH2
BIT NAME
FUNCTION
7-0 TH2.[7:0]
Timer 2 MSB
4
TH2.4
3
TH2.3
2
TH2.2
1
0
TH2.1
TH2.0
Address: CDh
Program Status Word
Bit: 7
6
5
4
3
2
1
0
CY
AC
F0
RS1
RS0
OV
F1
P
Mnemonic: PSW
Address: D0h
BIT NAME
7 CY
6 AC
5 F0
4 RS1
3 RS0
2 OV
1 F1
0P
FUNCTION
Carry flag:
Set for an arithmetic operation which results in a carry being generated from the
ALU. It is also used as the accumulator for the bit operations.
Auxiliary carry:
Set when the previous operation resulted in a carry from the high order nibble.
User flag 0:
The General purpose flag that can be set or cleared by the user.
Register bank select bits:
Register bank select bits:
Overflow flag:
Set when a carry was generated from the seventh bit but not from the 8th bit as a
result of the previous operation, or vice-versa.
User Flag 1:
The General purpose flag that can be set or cleared by the user by software.
Parity flag:
Set/cleared by hardware to indicate odd/even number of 1’s in the accumulator.
Port 4
Bit: 7
6
5
4
3
2
1
0
-
-
-
-
P4.3
P4.2
P4.1
P4.0
Mnemonic: P4
Address: D8h
Another bit-addressable port P4 is also available and only 4 bits (P4<3:0>) can be used. This port ad-
dress is located at 0D8H with the same function as that of port P1, except the P4.3 and P4.2 are alter-
native function pins. It can be used as general I/O pins or external interrupt input sources ( INT2 ,
- 32 -
Publication Release Date: Jun 9, 2015
Revision A13