SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 100
Version 1.1
Internal Reference
Regulator
(3V/2V/1.5V)
VDD
V
IREF
CMPIREF
V
IREF0
.
.
.
CMPIREFEN
*1/32
*2/32
.
.
.
*31/32
*32/32
V
IREF1
.
.
.
CM1EN/CM1RS[4:0]
CMPIREFEN
*1/32
*2/32
.
.
.
*31/32
*32/32
CM0EN/CM0RS[4:0]
V
IREF2
.
.
.
CM2EN/CM2RS[4:0]
CMPIREFEN
*1/32
*2/32
.
.
.
*31/32
*32/32
V
OPAIREF
CMPIREFEN
The main purposes of comparator are as following.
Normal comparator function:
General comparator mode compares the two tensions of positive input terminal
and negative input terminal.
Interrupt function:
When comparator output edge direction equals to edge selection, the CMnIRQ actives and the
system points program counter to interrupt vector to do interrupt sequence when CMnIE (comparator interrupt
enable control bit) is set.