SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
OpxEn, CmpxEn, CxPosVBG, CxPosPad and CxPosVdd2 setting table.
CxPos
VBG
CxPos
Pad
CxPos
Vddd2
OpxEn
CmpxEn
OP/Comparator
positive input source
0
0
0
1
X
0
X
0
X
0
GPIO
Not Allowed
N/A
N/A
Reference 1/2 Vdd
Voltage
0
1
0
0
1
Comparator
Positive pin input
voltage
N/A
Internal Reference
Voltage
0
0
0
1
1
1
0
0
1
1
1
0
0
1
0
Comparator
Not Allowed
Comparator
0
0
0
1
1
1
1
X
1
1
1
0
0
1
1
0
1
0
1
0
Not Allowed
Not Allowed
Not Allowed
Not Allowed
N/A
N/A
N/A
N/A
Reference 1/2 Vdd
Voltage
Positive pin input
voltage
OPxPIn output
1/2 Vdd Voltage
Internal Reference
Voltage
1
1
1
X
X
X
0
0
0
0
1
1
1
0
1
OP
OP
OP
1
1
X
X
1
1
0
0
0
1
OP
Not Allowed
N/A
OPxPIn ouput
Internal Reference
Voltage
1
1
X
X
1
1
1
1
0
1
OP
Not Allowed
N/A
Note: “X” Don‟t care.
22.1 Op/Comparator Pin Select( OpPin )
Mnemonic: OpPin
Address: F6h
7
6
5
4
3
2
1
0
Reset
C0Pos
VBG
C0Pos
PAD
C1Pos
VBG
C1Pos
PAD
Op0En
Cmp0En
Op1En
Cmp1En
00H
Op0En: Op0 enable function.
0 = Op0 circuit disable.
1 = Op0 circuit enable and switch to corresponding signal in multi-function pin
P2.5/P2.6/P2.7 by HW automatically.
Cmp0En: Cmp0 enable function.
0 = Comparator_0 circuit disable.
1 = Comparator_0 circuit enable and switch to corresponding signal in multi-function pin
P2.5/P2.6/P2.7 by HW automatically.
C0PosVBG: Enable Comparator_0 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.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071 Ver A SM59A16U1 04/12/2013
- 140 -