SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
1 = The positive input source was higher then negative input source
CMF0MS[1:0]: CMF0(Comparator_0 Flag) mode select
00: CMF0(comprator_0 flag) will be set when comprator_0 output toggle
01: CMF0(comprator_0 flag) will be set when comprator_0 output rising
10: CMF0(comprator_0 flag) will be set when comprator_0 output falling
11: reserved
CMF0: Comparator_0 Flag.
This bit is set by hardware according to CMF0MS [1:0] and must be clear by software.
Cmp0OutEN: Comparator_0 output enable.
0 = Comparator_0 will not output to external pin.
1 = Comparator_0 will output to external pin.
22.4
Comparator 1 Control( Cmp1CON )
Mnemonic: Cmp1CON
Address: FFh
7
6
5
4
3
2
1
0
Reset
Hys1En Cmp1o CMF1MS[1:0] CMF1 Cmp1OutEN
-
00H
Hys1En: Comparator_1 hysteresis function enable
0 = Disable hysteresis at comparator_1 input
1 = Enable hysteresis at comparator_1 input
Cmp1o: Comparator_1 output. (read only)
0 = The positive input source was lower then negative input source
1 = The positive input source was higher then negative input source
CMF1MS[1:0]: CMF1(Comparator_1 Flag) mode select
00: CMF1(comprator_1 flag) will be set when comprator_1 output toggle
01: CMF1(comprator_1 flag) will be set when comprator_1 output rising
10: CMF1(comprator_1 flag) will be set when comprator_1 output falling
11: reserved
CMF1: Comparator_1 Flag.
This bit is set by hardware according to CMF1MS [1:0] and must be clear by software.
Cmp1OutEN: Comparator_1 output enable.
0 = Comparator_1 will not output to external pin.
1 = Comparator_1 will output to external pin.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071 Ver A SM59A16U1 04/12/2013
- 142 -