![](/html/EMC/365488/page11.png)
6 Block Diagram
EM78P5840N/41N/42N
8-Bit Microcontrollers
CPU
Timing
Control
Timer
TCC
Counter 1
Counter 2
WDT
ROM
Data RAM
Control Register
I/O Port
PWM
10- bit A/D
Figure 5-1a EM78P5840N/41N/42N Block Diagram
XIN XOUT PLLC
Oscillator
Timing Control
R1 (TCC)
Control sleep
and wakeup
on I/O port
WDT
timer
Prescaler
General
RAM
R4
Interrupt
Control
ROM
Instruction
Register
Instruction
Decoder
DATA & Control Bus
R2
Stack
ALU
R3
R5
ACC
PWM
10-bit A/D
IOC6
R6
Port 6
IOC7
R7
Port 7
IOC9
R9
Port 9
IOCC
RC
Port C
P60~P61 P62~P65
P71
P70
P73~P76
P90~P97
PC1~PC2
Figure 5-1b EM78P5840N/41N/42N Block Diagram
Product Specification (V1.0) 04.25.2006
•5
(This specification is subject to change without further notice)