EM78P312N
8-Bit Microcontroller
5.6 Time Base Timer and Keytone Generator
Registers for AD Converter Circuit
R_BANK |
| Address | Name |
|
| Bit 7 | Bit 6 |
|
| Bit 5 |
| Bit 4 |
| Bit 3 |
|
| Bit 2 |
| Bit 1 |
| Bit 0 |
|
| |||||||||
Bank 1 | 0X0E | TBKTC |
|
| TEN | TCK1 |
|
| TCK0 |
| 0 | TBTEN | TBTCK2 |
| TBTCK1 |
| TBTCK0 |
| ||||||||||||||
|
| R/W | R/W |
|
| R/W |
|
| R/W |
|
| R/W |
|
| R/W |
| R/W |
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bank 0 | 0x0F | ISFR2 |
| 0 | UERRIF |
|
| RBFF |
| TBEF |
| TBIF |
|
| EXIF1 |
| 0 |
|
| TCIF0 |
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
| 0 | R/W |
|
| R/W |
| R/W |
| R/W |
|
| R/W |
| 0 |
|
| R/W |
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SPR | 0x0F | IMR2 |
| 0 | UERRIE |
|
| URIE |
| UTIE |
| TBIE |
|
| EXIE1 |
| 0 |
|
| TCIE0 |
| |||||||||||
| 0 | R/W |
|
| R/W |
| R/W |
| R/W |
|
| R/W |
| 0 |
|
| R/W |
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Fosc/210 |
|
|
|
|
|
|
|
|
| TEN |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
| TCK1:0 |
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TBKTC
Fig. 5-6 Tone Output Pin Configuration
The Keytone output can generate 50% duty pulse for driving a
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)