SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 106
Version 1.1
31:3
Reserved
R
0
2
CM2OUT
CMP2 output flag bit.
0: V
2+
< V
2-
1: V
2+
> V
2-
R
0
1
CM1OUT
CMP1 output flag bit.
0: V
1+
< V
1-
1: V
1+
> V
1-
R
0
0
CM0OUT
CMP0 output flag bit.
0: V
0+
< V
0-
1: V
0+
> V
0-
R
0
8.4.5 CMP Interrupt Enable register (CMP_IE)
Address Offset: 0x10
Bit
Name
Description
Attribute
Reset
31:1
Reserved
R
0
1
CM2IE
CMP2 interrupt enable control bit.
0: Disable
1: Enable
R/W
0
1
CM1IE
CMP1 interrupt enable control bit.
0: Disable
1: Enable
R/W
0
0
CM0IE
CMP0 interrupt enable control bit.
0: Disable
1: Enable
R/W
0
8.4.6 CMP Raw Interrupt Status register (CMP_RIS)
Address offset: 0x14
This register indicates the status for comparator raw interrupts. A CMP0/1/2 interrupt is sent to the interrupt controller if
the corresponding CMnIE bit is set.
Note:
CMnOUT is comparator raw output without latch. It varies depend on the comparator process
result. But the CMnIF is latch comparator output result. It must be cleared by program.
Bit
Name
Description
Attribute
Reset
31:3
Reserved
R
0
2
CM2IF
CMP2 raw interrupt flag
0: No interrupt on CMP2
1: Interrupt requirements met on CMP2
R
0
1
CM1IF
CMP1 raw interrupt flag
0: No interrupt on CMP1
1: Interrupt requirements met on CMP1
R
0
0
CM0IF
CMP0 raw interrupt flag
0: No interrupt on CMP0
1: Interrupt requirements met on CMP0
R
0