SN8P1700
8-bit micro-controller build-in 12-bit ADC
SN8P1704 System register table
Address
082H
083H
084H
086H
Bit7
RBIT7
ZBIT7
YBIT7
-
Bit6
RBIT6
ZBIT6
YBIT6
-
Bit5
RBIT5
ZBIT5
YBIT5
-
Bit4
RBIT4
ZBIT4
YBIT4
-
Bit3
RBIT3
ZBIT3
YBIT3
-
Bit2
RBIT2
ZBIT2
YBIT2
C
Bit1
RBIT1
ZBIT1
YBIT1
DC
Bit0
RBIT0
ZBIT0
YBIT0
Z
R/W
R/W
R/W
R/W
R/W
Remarks
R
Z
Y
PFLAG
0B0H
0B1H
0B2H
0B3H
0B4H
0B5H
0B6H
DAENB
ADENB
ADB11
-
SENB
SIOR7
SIOB7
DAB6
ADS
ADB10
DAB5
EOC
ADB9
DAB4
GCHS
ADB8
0
DAB3
-
ADB7
ADB3
0
DAB2
CHS2
ADB6
ADB2
SCKMD SEDGE
SIOR2
SIOB2
DAB1
CHS1
ADB5
ADB1
DAB0
CHS0
ADB4
ADB0
TXRX
SIOR0
SIOB0
R/W
R/W
R
R/W
R/W
W
DAM data register
ADM mode register
ADB data buffer
ADR register
SIOM mode register
SIOR reload buffer
SIOB data buffer
ADCKS ADLEN
START SRATE1 SRATE0
SIOR6
SIOB6
SIOR5
SIOB5
SIOR4
SIOB4
SIOR3
SIOB3
SIOR1
SIOB1
R/W
0C0H
0
0
0
P14W
P13W
P12W
P11W
P10W
W
P1W wakeup register
0C2H
0C1H
0C4H
0C5H
0C8H
0C9H
0CAH
0CDH
0CEH
0CFH
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
P14M
P44M
P54M
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
P2M I/O direction
P1M I/O direction
P4M I/O direction
P5M I/O direction
INTRQ
INTEN
OSCM
TC0R
PCL
P13M
P43M
P53M
P12M
P42M
P52M
P11M
P41M
P51M
P10M
P40M
P50M
TC1IRQ TC0IRQ
TC1IEN TC0IEN
WDRST WDRate
TC0R6
PC6
-
SIOIRQ P02IRQ P01IRQ P00IRQ
SIOIEN P02IEN P01IEN P00IEN
CPUM0 CLKMD STPHX
TC0R3
PC3
PC11
0
0
0
TC0R7
PC7
-
0
TC0R5
PC5
-
TC0R4
PC4
-
TC0R2
PC2
PC10
TC0R1
PC1
PC9
TC0R0
PC0
PC8
R/W
R/W
PCH
0D0H
0D1H
0D4H
0D5H
0DAH
0DBH
0DCH
0DDH
0DEH
0DFH
0E7H
-
-
-
-
-
-
-
-
-
-
-
-
-
-
P02
P12
P42
P52
P01
P11
P41
P51
P00
P10
P40
R
P0 data buffer
P1 data buffer
P4 data buffer
P5 data buffer
TC0M
TC0C
TC1M
TC1C
TC1R
P14
P44
P54
P13
P43
P53
0
TC0C3
0
TC1C3
TC1R3
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
P50
PWM0OUT
TC0ENB TC0rate2 TC0rate1 TC0rate0
TC0C7 TC0C6 TC0C5 TC0C4
TC1ENB TC1rate2 TC1rate1 TC1rate0
TC1C7
TC1R7
GIE
ALOAD0 TC0OUT
TC0C2 TC0C1
ALOAD1 TC1OUT
TC1C2
TC1R2
TC0C0
PWM1OUT
TC1C6
TC1R6
-
TC1C5
TC1R5
-
TC1C4
TC1R4
-
TC1C1
TC1R1
TC1C0
TC1R0
STKPB3 STKPB2 STKPB1 STKPB0
@YZ3
R/W
R/W
STKP stack pointer
@YZ index pointer
@YZ7
@YZ6
@YZ5
@YZ4
@YZ2
@YZ1
@YZ0
0F0H
0F1H
0F2H
0F3H
“
S7PC7
S7PC6
S7PC5
S7PC4
S7PC3
S7PC2
S7PC1
S7PC0
S7PC8
S6PC0
S6PC8
“
R/W
R/W
R/W
R/W
“
STK7L
STK7H
STK6L
STK6H
“
-
-
-
-
S7PC11 S7PC10 S7PC9
S6PC3 S6PC2 S6PC1
S6PC11 S6PC10 S6PC9
S6PC7
S6PC6
S6PC5
S6PC4
-
“
-
“
-
“
-
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
“
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
-
-
-
-
S1PC11 S1PC10 S1PC9
S0PC3 S0PC2 S0PC1
S0PC11 S0PC10 S0PC9
S0PC7
-
S0PC6
-
S0PC5
-
S0PC4
-
Table 5-5. Bit System Register Table of SN8P1704
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 52
Revision 1.94