em78p164n ELAN Microelectronics Corp, em78p164n Datasheet - Page 45
em78p164n
Manufacturer Part Number
em78p164n
Description
8-bit Microcontroller With Otp Rom
Manufacturer
ELAN Microelectronics Corp
Datasheet
1.EM78P164N.pdf
(68 pages)
- Current page: 45 of 68
- Download datasheet (2Mb)
Product Specification (V1.4) 05.28.2010
(This specification is subject to change without further notice)
5.9.2 Comparator Outputs
The following figure shows the Comparator Output block diagram.
5.9.3 Comparator Interrupt
5.9.4 Wake-up from Sleep Mode
■
■
The compared result is stored in the CPOUT of RB.
The comparator outputs are sent to CO (P60) by programming Bit 1,
Bit 0<COS1, COS0> of the RB register to <1, X>. See Section 6.2.6, RB for
Comparator select bits function description.
CMPIE (IOCF0.3) must be enabled for the “ENI” instruction to take effect.
Interrupt is triggered whenever a change occurs on the comparator output pin.
The actual change on the pin can be determined by reading Bit CPOUT, RB<2>.
CMPIF (RF.3), the comparator interrupt flag, can only be cleared by software.
even in Sleep mode.
If enabled, the comparator remains active and the interrupt remains functional,
If a mismatch occurs, the interrupt will wake up the device from Sleep mode.
The CO and PWM of the P60/INT/CO pins cannot be used at the same time.
The P60/INT/CO pin priority is as follows:
T o C M P O U T
T o C 0
Figure 5-16 Comparator Output Configuration
C M R D
High
CO
P60/INT/CO Priority
Q
R E S E T
Medium
NOTE
E
N
INT
D
8-Bit Microcontroller with OTP ROM
c o m p a r a to r
F r o m o th e r
Low
P60
Q
C M R D
N
E
F r o m O P I/O
D
T o C P IF
EM78P164N
• 39
Related parts for em78p164n
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual-tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and IPP detect function
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and IPP detect function
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and IPP detect function
Manufacturer:
ELAN Microelectronics Corp
Datasheet:
Part Number:
Description:
Tone/pulse switchable dialer with LCD interface and dual-tone melody generator
Manufacturer:
ELAN Microelectronics Corp
Datasheet: