C8051F340/1/2/3/4/5/6/7
1.10. Comparators
C8051F340/1/2/3/4/5/6/7 devices include two
Comparator interrupts may be generated on rising, falling, or both edges. When in IDLE mode, these inter- rupts may be used as a
| CMXnN2 | |
CPTnMX | CMXnN1 | |
CMXnN0 | ||
CMXnP2 | ||
| ||
| CMXnP1 | |
| CMXnP0 |
| CPnEN |
|
| CPnOUT |
|
CPTnCN | CPnRIF | VDD |
CPnFIF |
| |
|
| |
| CPnHYP1 |
|
| CPnHYP0 |
|
| CPnHYN1 |
|
| CPnHYN0 |
|
CPn
Interrupt
CPnCPn
CPn +
+
-
GND
CPn -
D SET | Q |
| D SET | Q |
| ||||
CLR | Q |
| CLR | Q |
(SYNCHRONIZER)
Interrupt CPnRIE
Logic CPnFIE
CPn
Crossbar
CPnA
Port I/O connection options vary with package
CPTnMD | CPnRIE |
CPnFIE | |
| |
| CPnMD1 |
| CPnMD0 |
Reset Decision Tree (Comprator 0 Only)
Figure 1.10. Comparator0 Block Diagram
Rev. 0.5 | 29 |