SN8P1700
8-bit micro-controller build-in 12-bit ADC
SN8P1707/ SN8P1708 System register table
Address
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
R/W
Remarks
080H
081H
082H
083H
084H
085H
086H
087H
LBIT7
HBIT7
RBIT7
ZBIT7
YBIT7
XBIT7
-
LBIT6
HBIT6
RBIT6
ZBIT6
YBIT6
XBIT6
-
LBIT5
HBIT5
RBIT5
ZBIT5
YBIT5
XBIT5
-
LBIT4
HBIT4
RBIT4
ZBIT4
YBIT4
XBIT4
-
LBIT3
HBIT3
RBIT3
ZBIT3
YBIT3
XBIT3
-
LBIT2
HBIT2
RBIT2
ZBIT2
YBIT2
XBIT2
C
LBIT1
HBIT1
RBIT1
ZBIT1
YBIT1
XBIT1
DC
LBIT0
HBIT0
RBIT0
ZBIT0
YBIT0
XBIT0
Z
R/W
R/W
R/W
R/W
R/W
R/W
L
H
R
Z
Y
X
R/W PFLAG
-
-
-
-
-
-
-
RBNKS0 R/W RBANK
0B0H
0B1H
0B2H
0B3H
0B4H
0B5H
0B6H
DAENB
ADENB
ADB11
-
SENB
SIOR7
SIOB7
DAB6
ADS
DAB5
EOC
ADB9
ADLEN
SRATE1 SRATE0
SIOR5
SIOB5
DAB4
GCHS
ADB8
0
DAB3
-
ADB7
ADB3
0
DAB2
CHS2
ADB6
DAB1
CHS1
ADB5
DAB0
CHS0
ADB4
ADB0
TXRX
SIOR0
SIOB0
R/W DAM data register
R/W ADM mode register
ADB data buffer
R/W ADR register
R/W SIOM mode register
ADB10
ADCKS
START
SIOR6
SIOB6
R
ADB2
ADB1
SCKMD
SIOR2
SIOB2
SEDGE
SIOR1
SIOB1
SIOR4
SIOB4
SIOR3
SIOB3
W
SIOR reload buffer
R/W SIOB data buffer
P1W wakeup register
0C0H
0C1H
0C2H
0C4H
0C5H
0C8H
0C9H
0CAH
0CDH
0CEH
0CFH
0
0
0
P15W
P15M
P25M
P45M
P55M
P14W
P14M
P24M
P44M
P54M
T0IRQ
T0IEN
0
P13W
P13M
P23M
P43M
P53M
SIOIRQ
SIOIEN
CPUM0
TC0R3
PC3
P12W
P12M
P22M
P42M
P52M
P02IRQ
P02IEN
CLKMD
TC0R2
PC2
P11W
P11M
P21M
P41M
P51M
P01IRQ
P01IEN
STPHX
TC0R1
PC1
P10W
P10M
P20M
P40M
P50M
W
0
P27M
P47M
P57M
0
R/W P1M I/O direction
R/W P2M I/O direction
R/W P4M I/O direction
R/W P5M I/O direction
P26M
P46M
P56M
TC1IRQ TC0IRQ
P00IRQ R/W INTRQ
P00IEN
0
TC0R0
PC0
PC8
0
0
TC1IEN
WDRST
TC0R6
PC6
TC0IEN
Wdrate
TC0R5
PC5
R/W INTEN
R/W OSCM
TC0R7
PC7
-
TC0R4
PC4
W
TC0R
R/W PCL
R/W PCH
-
-
-
PC11
PC10
PC9
0D0H
0D1H
0D2H
0D4H
0D5H
-
-
-
-
-
-
-
P02
P12
P22
P42
P52
P01
P11
P21
P41
P51
P00
P10
P20
P40
P50
R
P0 data buffer
P15
P25
P45
P55
P14
P24
P44
P54
P13
P23
P43
P53
R/W P1 data buffer
R/W P2 data buffer
R/W P4 data buffer
R/W P5 data buffer
P27
P47
P57
P26
P46
P56
0D8H
0D9H
0DAH
0DBH
0DCH
0DDH
0DEH
0DFH
0E6H
0E7H
T0ENB
T0C7
T0rate2
T0C6
T0rate1
T0C5
T0rate0
T0C4
0
0
0
0
R/W T0M
R/W T0C
R/W TC0M
R/W TC0C
R/W TC1M
R/W TC1C
T0C3
0
TC0C3
0
TC1C3
TC1R3
T0C2
T0C1
T0C0
PWM0OUT
TC0C0
PWM1OUT
TC1C0
TC1R0
TC0ENB TC0rate2 TC0rate1 TC0rate0
TC0C7 TC0C6 TC0C5 TC0C4
TC1ENB TC1rate2 TC1rate1 TC1rate0
TC1C7
TC1R7
GIE
ALOAD0 TC0OUT
TC0C2 TC0C1
ALOAD1 TC1OUT
TC1C2
TC1R2
TC1C6
TC1R6
-
@HL6
@YZ6
TC1C5
TC1R5
-
@HL5
@YZ5
TC1C4
TC1R4
-
@HL4
@YZ4
TC1C1
TC1R1
W
TC1R
STKPB3 STKPB2 STKPB1 STKPB0 R/W STKP stack pointer
@HL3
@YZ3
@HL7
@YZ7
@HL2
@YZ2
@HL1
@YZ1
@HL0
@YZ0
R/W @HL index pointer
R/W @YZ index pointer
0F0H
0F1H
0F2H
0F3H
“
S7PC7
S7PC6
S7PC5
S7PC4
S7PC3
S7PC2
S7PC1
S7PC9
S6PC1
S6PC9
“
S7PC0
S7PC8
S6PC0
S6PC8
“
R/W STK7L
R/W STK7H
R/W STK6L
R/W STK6H
-
-
-
-
S7PC11 S7PC10
S6PC3 S6PC2
S6PC11 S6PC10
S6PC7
S6PC6
S6PC5
S6PC4
-
“
“
-
“
“
-
“
“
-
“
“
“
“
“
“
“
“
“
“
“
“
“
0FCH
0FDH
0FEH
0FFH
S1PC7
S1PC6
S1PC5
S1PC4
S1PC3
S1PC2
S1PC1
S1PC9
S0PC1
S0PC9
S1PC0
S1PC8
S0PC0
S0PC8
R/W STK1L
R/W STK1H
R/W STK0L
R/W STK0H
-
-
-
-
S1PC11 S1PC10
S0PC3 S0PC2
S0PC11 S0PC10
S0PC7
-
S0PC6
-
S0PC5
-
S0PC4
-
Table 5-7. Bit System Register Table of SN8P1707/ SN8P1708
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.
e). For detail description please refer file of “System Register Quick Reference Table”
SONiX TECHNOLOGY CO., LTD
Page 54
Revision 1.94