English
Language : 

SM39R16A3 Datasheet, PDF (83/87 Pages) SyncMOS Technologies,Inc – 16KB on-chip program memory
SM39R16A3
8-Bit Micro-controller
with 16KB ISP Flash
& 512B RAM embedded
CmpxOut、Cmpx_En、CxPosVBG及CxPosPad setting table:
Cmpx_En CxPosVBG CxPosPad CmpxOut_En
Comparator
CmpxPIn CmpxNIn CmpxOUT
0
X
X
X
IO
IO
IO
1
0
1
0
IO
CMP
IO
1
0
1
1
IO
IO
CMP
1
1
0
0
CMP
CMP
IO
1
1
0
1
CMP
CMP
CMP
Mnemonic: Cmp0CON
Address:FEh
7
6
5
4
3
2
1
0
Reset
Hys0En Cmp0o
CMF0MS[1:0]
CMF0
Cmp0
OutEN
-
-
00h
Hys0En: Hysteresis function enable
0: disable Hysteresis at comparator_0 input
1: enable
Cmp0o: Comparator_0 output (read only)
0: The positive input source was lower than negative input source
1: The positive input source was higher than negative input source
CMF0MS[1:0] : CMF0(Comparator_0 Flag) setting mode select
00: CMF0 will be set when comprator_0 output toggle
01: CMF0 will be set when comprator_0 output rising
10: CMF0 will be set when comprator_0 output falling
11: reserved
CMF0: Comparator_0 Flag
This bit is setting by hardware according to meet CMF0MS [1:0] select condition.
This bit must clear by software.
Cmp0OutEN: Comparator0 Output Enable
0: Comparator0 will not output to external Pin
1: Comparator0 will output to external Pin
Mnemonic: Cmp1CON
7
6
5
4
Hys1En Cmp1o
CMF1MS[1:0]
3
2
1
CMF1
Cmp1
OutEN
-
Address:FFh
0
Reset
-
00h
Hys1En: Hysteresis function enable
0: disable Hysteresis at comparator_1 input
1: enable
Cmp1o: Comparator_1 output (read only)
0: The positive input source was lower than negative input source
1: The positive input source was higher than negative input source
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M065
Ver F SM39R16A3 06/30/2015
- 83 -