EM78P312N
8-Bit Microcontroller
5.6 Time Base Timer and Keytone Generator
Registers for AD Converter Circuit
R_BANK Address Name Bit 7
TEN
Bit 6 Bit 5 Bit 4 Bit 3
Bit 2
Bit 1
Bit 0
TCK1
TCK0
0
TBTEN TBTCK2 TBTCK1 TBTCK0
Bank 1
Bank 0
SPR
0X0E
0x0F
0x0F
TBKTC
ISFR2
IMR2
R/W
R/W
R/W
--
R/W
R/W
EXIF1
R/W
R/W
R/W
TCIF0
R/W
0
0
0
0
UERRIF RBFF TBEF TBIF
0
0
0
0
R/W
UERRIE URIE UTIE
R/W R/W R/W
R/W
R/W
R/W
TBIE
R/W
EXIE1
R/W
TCIE0
R/W
Output Enable (P63)
Output Latch
Data Output
D
Q
/TONE Pin
13
Fosc/2
12
Fosc/2
11
MUX
Fosc/2
10
Fosc/2
TCK1:0
TEN
2
TBKTC
Fig. 5-6 Tone Output Pin Configuration
The Keytone output can generate 50% duty pulse for driving a piezo-electric buzzer.
The P63 must be set to “1” before the keytone is enabled and it can be halted by setting
P63 to “0”.
P63
TEN
TONE Pin
Fig. 5-7 Tone Output Pin Timing Chart
26 •
Product Specification (V1.0) 10.03.2006
(This specification is subject to change without further notice)