SN8P1700
8-bit micro-controller build-in 12-bit ADC
BITS of SYSTEM REGISTER
SN8P1702 System register table
Address
082H
083H
084H
086H
0B1H
0B2H
0B3H
0C0H
0C1H
0C4H
0C5H
0C8H
0C9H
0CAH
0CDH
0CEH
0CFH
0D0H
0D1H
0D4H
0D5H
0DAH
0DBH
0DFH
0E7H
0F0H
0F1H
0F2H
0F3H
“
Bit7
RBIT7
ZBIT7
YBIT7
Bit6
RBIT6
ZBIT6
YBIT6
-
ADS
ADB10
ADCKS ADLEN
Bit5
RBIT5
ZBIT5
YBIT5
-
Bit4
RBIT4
ZBIT4
YBIT4
Bit3
RBIT3
ZBIT3
YBIT3
-
Bit2
RBIT2
ZBIT2
YBIT2
C
Bit1
RBIT1
ZBIT1
YBIT1
DC
CHS1
ADB5
ADB1
P11W
P11M
P41M
P51M
0
Bit0
RBIT0
ZBIT0
YBIT0
Z
CHS0
ADB4
ADB0
P10W
P10M
P40M
P50M
P00IRQ
P00IEN
0
TC0R0
PC0
PC8
P00
P10
P40
P50
PWM0OUT
R/W
R/W
R/W
R/W
R/W
R/W
R
Remarks
R
Z
Y
-
-
PFLAG
ADENB
ADB11
EOC
ADB9
GCHS
ADB8
-
0
ADM mode register
ADB data buffer
ADR register
P1W wakeup register
P1M I/O direction
P4M I/O direction
P5M I/O direction
INTRQ
ADB7
ADB3
0
ADB6
ADB2
0
-
0
0
0
0
0
0
0
0
0
0
0
R/W
W
0
0
0
0
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
W
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
“
P43M
P53M
0
P42M
P52M
0
P54M
0
0
0
TC0R4
PC4
TC0IRQ
TC0IEN
0
0
0
INTEN
OSCM
TC0R
WDRST WDRate
TC0R6
PC6
CPUM0 CLKMD STPHX
TC0R3
PC3
-
TC0R7
PC7
TC0R5
PC5
TC0R2
PC2
PC10
-
TC0R1
PC1
PC9
-
P11
P41
P51
PCL
PCH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
P0 data buffer
P1 data buffer
P4 data buffer
P5 data buffer
TC0M
-
P43
P53
0
P42
P52
P54
TC0ENB TC0rate2 TC0rate1 TC0rate0
TC0C7
GIE
@YZ7
ALOAD0 TC0OUT
TC0C2 TC0C1
TC0C6
TC0C5
TC0C4
TC0C3
TC0C0
TC0C
-
-
-
STKPB3 STKPB2 STKPB1 STKPB0
@YZ3
S7PC3
STKP stack pointer
@YZ index pointer
STK7L
STK7H
STK6L
@YZ6
S7PC6
@YZ5
S7PC5
@YZ4
S7PC4
@YZ2
S7PC2
S7PC10 S7PC9
S6PC2 S6PC1
S6PC10 S6PC9
@YZ1
S7PC1
@YZ0
S7PC0
S7PC8
S6PC0
S6PC8
“
S7PC7
-
-
-
-
-
S6PC7
S6PC6
S6PC5
S6PC4
S6PC3
-
“
-
“
-
“
-
“
-
“
STK6H
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
0FCH
0FDH
0FEH
0FFH
S1PC7
S1PC6
S1PC5
S1PC4
S1PC3
S1PC2
S1PC1
S1PC0
S1PC8
S0PC0
S0PC8
R/W
R/W
R/W
R/W
STK1L
STK1H
STK0L
STK0H
-
-
-
-
-
S1PC10 S1PC9
S0PC2 S0PC1
S0PC10 S0PC9
S0PC7
-
S0PC6
-
S0PC5
-
S0PC4
-
S0PC3
-
Table 5-4. Bit System Register Table of SN8P1702
Note:
a). To avoid system error, please be sure to put all the “0” as it indicates in the above table
b). All of register name had been declared in SONiX 8-bit MCU assembler.
c). One-bit name had been declared in SONiX 8-bit MCU assembler with “F” prefix code.
d). “b0bset”, “b0bclr”, ”bset”, ”bclr” instructions only support “R/W” registers.
SONiX TECHNOLOGY CO., LTD
Page 51
Revision 1.94