EM78P312N
8-Bit Microcontroller
5Function Description
5.1Functional Block Diagram
P9
P90
P91
P92
P93
P94
P95
P96
P97
P8
P80
P81
P7
P70
P71
P72
P73
P74
P75
P76
P77
P6
P60
P61
P62
P63
P64
P65
P66
P67
ROM |
|
|
|
|
|
|
| PC |
|
|
|
| Ext. |
|
| Ext. |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
| OSC. |
|
|
| RC |
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Oscillation |
| ||||||||
Instruction |
|
|
|
|
|
|
|
|
|
|
|
| Generation |
| |||||||||||||
Register |
|
|
|
|
|
| (13 bit) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Reset |
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
Instruction |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
Decoder |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Mux |
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
ALU |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| . |
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
R4
RAM
|
|
|
|
|
|
| Interrupt | |
|
|
|
| R3 | ||||
| ACC |
|
| Control | ||||
|
| Status Reg. |
| |||||
|
|
|
|
| Register | |||
|
|
|
|
|
|
| ||
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Interrupt | |
|
|
|
|
|
|
| Circuit |
Timer
WDT |
TC2 |
TC3 |
TC4 |
UART |
SPI |
TCC |
TBKTC |
ADC
TC2
TC3
TC4
TX RX
Sin Sout
SCK
TCC
Keytone
Ext INT0 Ext INT1 Ext INT3 Ext INT5 | Ain 0~7 |
Fig. 5-1 Functional Block Diagram
Product Specification (V1.0) 10.03.2006 | • 3 |
(This specification is subject to change without further notice)