313
13.4 Registers of the Comparator
Table 13.4-3 Comparator Status Register 1 (COSR1) Bit Functions
Bit name
Function
Bit 7
COR8:
Voltage comparator 8
interrupt request bit
This bit holds and stores an edge change in OUT output from
voltage comparator 8 (the result of P77/VSI3 pin input
comparison by voltage comparator 8).
(This bit is set to "1" when the rising/falling edge of OUT
output is detected. At this time, if the interrupt request
enable bit (CICR1:CEN8) is "1," an interrupt request is
output. This bit is cleared when "0" is written. Writing "1" in
this bit has no effect on this bit and does not change the bit.
Bit 6
COR7:
Voltage comparator 7
interrupt request bit
This bit holds and stores an edge change in OUT output
from voltage comparator 7 (the result of P76/VOL3 pin input
comparison by voltage comparator 7).
(This bit is set to "1" when the rising/falling edge of OUT
output is detected. At this time, if the interrupt request
enable bit (CICR1:CEN7) is "1," an interrupt request is
output. This bit is cleared when "0" is written. Writing "1" in
this bit has no effect and does not change the bit.
Bit 5
COR6:
Voltage comparator 6
interrupt request bit
8. This bit holds and stores an edge change in OUT output
from voltage comparator 6 (the result of P75/VSI2 pin input
comparison by voltage comparator 6).
(This bit is set to "1" when the rising/falling edge of OUT
output is detected. At this time, if the interrupt request
enable bit (CICR1:CEN6) is "1," an interrupt request is
output. This bit is cleared when "0" is written. Writing "1" in
this bit has no effect and does not change the bit.
Bit 4
COR5:
Voltage comparator 5
interrupt request bit
This bit holds and stores an edge change in OUT output from
voltage comparator 5 (the result of P74/VOL2 pin input
comparison by voltage comparator 5).
(This bit is set to "1" when the rising/falling edge of OUT
output is detected. At this time, if the interrupt request
enable bit (CICR1:CEN5) is "1," an interrupt request is
output. This bit is cleared when "0" is written. Writing "1" in
this bit has no effect and does not change the bit.
Bit 3
COR4:
Voltage comparator 4
interrupt request bit
This bit holds and stores an edge change in the OUT output
from voltage comparator 4 (the result of P73/VSI1 pin input
comparison by voltage comparator 4).
(This bit is set to "1" when the rising/falling edge of OUT
output is detected. At this time, if the interrupt request
enable bit (CICR1:CEN4) is "1," an interrupt request is
output. This bit is cleared when "0" is written. Writing "1" in
this bit has no effect and does not change the bit.
Bit 2
COR3:
Voltage comparator 3
interrupt request bit
14. This bit holds and stores an edge change in the OUT
output from voltage comparator 3 (the result of P72/VOL1 pin
input comparison by voltage comparator 3).
(This bit is set to "1" when the rising/falling edge of OUT
output is detected. At this time, if the interrupt request
enable bit (CICR1:CEN3) is "1," an interrupt request is
output. This bit is cleared when "0" is written. Writing "1" in
this bit has no effect and does not change the bit.