SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
C0PosPAD: Enable Comparator_0 positive input source as external pin.
0 = Disable positive input source as external pin.
1 = Enable positive input source as external pin.
Op1En: Op1 enable function.
0 = Op1 circuit disable.
1 = Op1 circuit enable and switch to corresponding signal in multi-function pin
P2.2/P2.3/P2.4 by HW automatically.
Cmp1En: Cmp1 enable function.
0 = Comparator_1 circuit disable.
1 = Comparator_1 circuit enable and switch to corresponding signal in multi-function pin
P2.2/P2.3/P2.4 by HW automatically.
C1PosVBG: Enable Comparator_1 positive input source as internal reference voltage. (1.2V±10%)
0 = Disable positive input source as internal reference voltage.
1 = Enable positive input source as internal reference voltage.
C1PosPAD: Enable Comparator _1 positive input source as external pin.
0 = Disable positive input source as external pin.
1 = Enable positive input source as external pin.
22.2
Op/Comparator Pin Select 2( OpPin2 )
Mnemonic: OpPin2
Address: CEh
Reset
7
6
5
4
3
2
1
0
-
-
C1PosVddd2 C0PosVddd2
00H
C1PosVddd2: Enable Comparator_1 positive input source as Vdd divide 2.( 1/2 Vdd )
0 = Disable positive input source as Vdd divide 2.
1 = Enable positive input source as Vdd divide 2.
C0PosVddd2: Enable Comparator_0 positive input source as Vdd divide 2.( 1/2 Vdd )
0 = Disable positive input source as Vdd divide 2.
1 = Enable positive input source as Vdd divide 2.
22.3
Comparator 0 Control( Cmp0CON )
Mnemonic: Cmp0CON
Address: FEh
7
6
5
4
3
2
1
0
Reset
00H
Hys0En Cmp0o
CMF0MS[1:0]
CMF0 Cmp0OutEN
-
Hys0En: Comparator_0 hysteresis function enable
0 = Disable hysteresis at comparator_0 input
1 = Enable hysteresis at comparator_0 input
Cmp0o: Comparator_0 output. (read only)
0 = The positive input source was lower then negative input source
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071 Ver A SM59A16U1 04/12/2013
- 141 -