English
Language : 

W78E054D Datasheet, PDF (22/89 Pages) List of Unclassifed Manufacturers – 8-bit microcontroller
W78E054D/W78E052D Data Sheet
1 IE0
0 IT0
Interrupt 0 Edge Detect Flag. Set by hardware when an edge/level is detected
on INT0 . This bit is cleared by hardware when the service routine is vectored to
only if the interrupt was edge triggered. Otherwise it follows the inverse of the pin.
Interrupt 0 Type Control: Set/cleared by software to specify falling edge/ low level
triggered external inputs.
Timer Mode Control
Bit: 7
6
5
4
3
2
1
0
GATE
C/ T
M1
M0
GATE
C/ T
M1
M0
TIMER1
TIMER0
Mnemonic: TMOD
Address: 89h
BIT NAME
7 GATE
6
C/ T
5 M1
4 M0
3 GATE
2
C/ T
1 M1
0 M0
FUNCTION
Gating control: When this bit is set, Timer/counter 1 is enabled only while the INT1
pin is high and the TR1 control bit is set. When cleared, the INT1 pin has no effect,
and Timer 1 is enabled whenever TR1 control bit is set.
Timer or Counter Select: When clear, Timer 1 is incremented by the internal clock.
When set, the timer counts falling edges on the T1 pin.
Timer 1 mode select bit 1. See table below.
Timer 1 mode select bit 0. See table below.
Gating control: When this bit is set, Timer/counter 0 is enabled only while the INT0
pin is high and the TR0 control bit is set. When cleared, the INT0 pin has no ef-
fect, and Timer 0 is enabled whenever TR0 control bit is set.
Timer or Counter Select: When clear, Timer 0 is incremented by the internal clock.
When set, the timer counts falling edges on the T0 pin.
Timer 0 mode select bit 1. See table below.
Timer 0 mode select bit 0. See table below.
M1, M0: Mode Select bits:
M1
M0 MODE
0
0 Mode 0: 13-bit timer/counter TLx serves as 5-bit pre-scale.
0
1 Mode 1: 16-bit timer/counter, no pre-scale.
1
0 Mode 2: 8-bit timer/counter with auto-reload from THx.
1
1 Mode 3: (Timer 0) TL0 is an 8-bit timer/counter controlled by the standard Timer0
control bits. TH0 is an 8-bit timer only controlled by Timer1 control bits. (Timer 1)
Timer/Counter 1 is stopped.
Timer 0 LSB
Bit: 7
TL0.7
Mnemonic: TL0
BIT NAME
6
TL0.6
5
TL0.5
FUNCTION
4
TL0.4
3
TL0.3
2
TL0.2
1
TL0.1
0
TL0.0
Address: 8Ah
- 22 -
Publication Release Date: Jun 9, 2015
Revision A13