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