mg87fel04 Megawin Technology, mg87fel04 Datasheet - Page 31

no-image

mg87fel04

Manufacturer Part Number
mg87fel04
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
Bit 7: ACIDX, Analog Comparator IDLE control.
0: Program the Analog Comparator to be gated off during IDLE mode.
1: Program the Analog Comparator to continue functioning during IDLE mode.
Bit 6~5: Reserved.
Bit 4: ACF. Analog Comparator Interrupt Flag.
0: The flag must be cleared by software.
1: Set when the comparator output meets the conditions specified by the ACM [2:0] bits and ACEN is set. The
Bit 3: ACEN. Analog Comparator Enable.
0: Clearing this bit will force the comparator output low and prevent further events from setting ACF.
1: Set this bit to enable the comparator.
Bit 2~0: ACM2 ~ ACM1, Analog Comparator Interrupt Mode.
MEGAWIN
interrupt may be enabled / disabled by setting/clearing bit 6 of IE.
ACM[2:0]
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Negative (Low) level
Positive edge
Toggle with de-bounce
Positive edge with de-bounce
Negative edge
Toggle
Negative edge with de-bounce
Positive (High) level
MG87FE/L04 Data sheet
Interrupt Mode
31

Related parts for mg87fel04