
MC97F6108A User’s manual
6. Interrupt controller
73
CFPOLA (Comparator Flag Polarity Register) : B0H
7
6
5
4
3
2
1
0
-
-
-
CFPOLA4
CFPOLA3
CFPOLA2
CFPOLA1
CFPOLA0
-
-
-
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
According to CFEDGE, this register acts differently. If CFEDGE is level
type, comparator flag polarity has level value. If CFEDGE is edge type,
comparator flag polarity has edge value.
CFPOLA4
Determine the polarity of Comparator4 flag
0
When High level or rising edge, flag occurs(default)
1
When Low level or falling edge, flag occurs
CFPOLA3
Determine the polarity of Comparator3 flag
0
When High level or rising edge, flag occurs(default)
1
When Low level or falling edge, flag occurs
CFPOLA2
Determine the polarity of Comparator2 flag
0
When High level or rising edge, flag occurs(default)
1
When Low level or falling edge, flag occurs
CFPOLA1
Determine the polarity of Comparator1 flag
0
When High level or rising edge, flag occurs(default)
1
When Low level or falling edge, flag occurs
CFPOLA0
Determine the polarity of Comparator0 flag
0
When High level or rising edge, flag occurs(default)
1
When Low level or falling edge, flag occurs
CFBOTH (Comparator Flag Both Edge Enable Register) : A0H
7
6
5
4
3
2
1
0
-
-
-
CFBOTH4
CFBOTH3
CFBOTH 2 CFBOTH 1 CFBOTH 0
-
-
-
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
If CFBOTHx
is written to ‘1’, the corresponding comparator flag is
enabled by both edges(no level).
And CFEDGE and CFPOLA register value are ignored.
CFBOTH4
Determine the type of Comparator4 flag
0
Both edge detection Disable (default)
1
Both edge detection Enable
CFBOTH3
Determine the type of Comparator3 flag
0
Both edge detection Disable (default)
1
Both edge detection Enable
CFBOTH2
Determine the type of Comparator2 flag
0
Both edge detection Disable (default)
1
Both edge detection Enable
CFBOTH1
Determine the type of Comparator1 flag
0
Both edge detection Disable (default)
1
Both edge detection Enable
CFBOTH0
Determine the type of Comparator0 flag
0
Both edge detection Disable (default)
1
Both edge detection Enable