English
Language : 

EM78P341 Datasheet, PDF (47/102 Pages) ELAN Microelectronics Corp – 8-Bit Microprocessor with OTP ROM
EM78P341N/342N/343N
8-Bit Microprocessor with OTP ROM
Signal
Comparator
(Comparator
Output Status
Change)
IR/PWM
underflow
interrupt
(High-pulse
width timer
underflow
interrupt)
Sleep Mode
Idle Mode
Normal Mode
Green Mode
RE (CMPWE) Bit 2=0, RE (CMPWE) Bit 2=0,
IOCE0 (CMPIE) Bit 4=0 IOCE0 (CMPIE) Bit 4=0
IOCE0 (CMPIE) Bit 4=0 IOCE0 (CMPIE) Bit 4=0
Comparator output
status changed wake-up
is invalid.
Oscillator, TCC, TCCX
and IR/PWM are
stopped.
Comparator output status
changed wake-up is invalid.
Oscillator, TCC, TCCX and
IR/PWM keep on running.
Comparator output status Comparator output status
change interrupt is invalid. change interrupt is invalid.
RE (CMPWE) Bit 2=0, RE (CMPWE) Bit 2=0,
IOCE0 (CMPIE) Bit 4=1 IOCE0 (CMPIE) Bit 4=1
N/A
N/A
Set RE (CMPIF)=1,
Comparator output
Set RE (CMPIF)=1,
status changed wake-up Comparator output status
is invalid.
changed wake-up is invalid.
N/A
N/A
Oscillator, TCC, TCCX Oscillator, TCC, TCCX and
and IR/PWM are
IR/PWM keep on running.
stopped.
RE (CMPWE) Bit 2=1, RE (CMPWE) Bit 2=1,
N/A
N/A
IOCE0 (CMPIE) Bit 4=0 IOCE0 (CMPIE) Bit 4=0
Wake-up + Next
Instruction,
Wake-up + Next Instruction,
Oscillator, TCC, TCCX Oscillator, TCC, TCCX and
N/A
N/A
and IR/PWM are
IR/PWM keep on running.
stopped.
RE (CMPWE) Bit 2=1,
DISI + IOCE0 (CMPIE)
Bit 4=1
RE (CMPWE) Bit 2=1, DISI + DISI + IOCE0 (CMPIE)
IOCE0 (CMPIE) Bit 4=1
Bit 4=1
DISI + IOCE0 (CMPIE)
Bit 4=1
Wake-up + Next
Instruction + Set RE
(CMPIF)=1,
Oscillator, TCC, TCCX
and IR/PWM are
stopped.
Wake-up + Next Instruction
+ Set RE (CMPIF)=1,
Oscillator, TCC, TCCX and
IR/PWM keep on running.
Next Instruction
+ Set RE (CMPIF)=1
Next Instruction
+ Set RE (CMPIF)=1
RE (CMPWE) Bit 2=1,
ENI + IOCE0 (CMPIE)
Bit 4=1
RE (CMPWE) Bit 2=1, ENI + ENI + IOCE0 (CMPIE)
IOCE0 (CMPIE) Bit 4=1
Bit 4=1
ENI + IOCE0 (CMPIE)
Bit 4=1
Wake-up + Interrupt
Vector (00FH) + Set RE
(CMPIF)=1,Oscillator,
TCC, TCCX and
IR/PWM are stopped.
Wake-up + Interrupt Vector
(00FH) + Set RE
(CMPIF)=1,Oscillator, TCC,
TCCX and IR/PWM keep on
running.
Interrupt Vector (00FH)
+ Set RE (CMPIF)=1
Interrupt Vector (00FH)
+ Set RE (CMPIF)=1
DISI + IOCF0 (HPWTIE)
Bit 6=1
DISI + IOCF0 (HPWTIE) DISI + IOCF0 (HPWTIE)
Bit 6=1
Bit 6=1
Wake-up +Next Instruction Next Instruction
+ Set RF (HPWTIF)=1
+ Set RF (HPWTIF)=1
Next Instruction
+ Set RF (HPWTIF)=1
N/A
ENI
ENI
ENI
+ IOCF0 (HPWTIE)
+ IOCF0 (HPWTIE)
+ IOCF0 (HPWTIE) Bit 6 =1
Bit 6 =1
Bit 6 =1
Wake-up +Interrupt Vector
(012H)
+ Set RF (HPWTIF)=1
Interrupt Vector (012H)
+ Set RF (HPWTIF)=1
Interrupt Vector (012H)
+ Set RF (HPWTIF)=1
Product Specification (V1.0) 12.01.2006
(This specification is subject to change without further notice)
• 41