SN8P2712 Series
12-ch SAR ADC, 4-ch PWM 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD Page 18 Version 1.1
2.2.1.3 系统寄存器的位定义
地址 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 R/W 备注
080H LBIT7 LBIT6 LBIT5 LBIT4 LBIT3 LBIT2 LBIT1 LBIT0 R/W L
081H HBIT7 HBIT6 HBIT5 HBIT4 HBIT3 HBIT2 HBIT1 HBIT0 R/W H
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
NT0 NPD LVD36 LVD24
C DC Z R/W PFLAG
0A0H TC2ENB TC2rate2 TC2rate1 TC2rate0 TC2CKS ALOAD2 TC2OUT PWM2OUT R/W TC2M
0A1H TC2C7 TC2C6 TC2C5 TC2C4 TC2C3 TC2C2 TC2C1 TC2C0 R/W TC2C
0A2H TC2R7 TC2R6 TC2R5 TC2R4 TC2R3 TC2R2 TC2R1 TC2R0 W TC2R
0A3H TC3ENB TC3rate2 TC3rate1 TC3rate0 TC3CKS ALOAD3 TC3OUT PWM3OUT R/W TC3M
0A4H TC3C7 TC3C6 TC3C5 TC3C4 TC3C3 TC3C2 TC3C1 TC3C0 R/W TC3C
0A5H TC3R7 TC3R6 TC3R5 TC3R4 TC3R3 TC3R2 TC3R1 TC3R0 W TC3R
0AEH P4CON7 P4CON6 P4CON5 P4CON4 P4CON3 P4CON2 P4CON1 P4CON0 W P4CON
0AFH P0CON7 P0CON6 P0CON5 P0CON4
W P0CON
0B0H EVHENB
VHS1 VHS0 R/W VREFH
0B1H ADENB ADS EOC GCHS CHS3 CHS2 CHS1 CHS0 R/W ADM
0B2H ADB11 ADB10 ADB9 ADB8 ADB7 ADB6 ADB5 ADB4 R ADB
0B3H
ADCKS1 ADLEN ADCKS0 ADB3 ADB2 ADB1 ADB0 R/W ADR
0B4H
ADTS1 ADTS0
ADT4 ADT3 ADT2 ADT1 ADT0 R/W ADT
0B8H P07M P06M P05M P04M P03M P02M
P00M R/W P0M
0BFH
P00G1 P00G0
R/W PEDGE
0C4H P47M P46M P45M P44M P43M P42M P41M P40M R/W P4M
0C8H
ADCIRQ
TC0IRQ T0IRQ
P00IRQ R/W INTRQ
0C9H
ADCIEN
TC0IEN T0IEN
P00IEN R/W INTEN
0CAH
CPUM1 CPUM0 CLKMD STPHX
R/W OSCM
0CCH WDTR7 WDTR6 WDTR5 WDTR4 WDTR3 WDTR2 WDTR1 WDTR0 W WDTR
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 P07 P06 P05 P04 P03 P02 P01 P00 R/W P0
0D4H P47 P46 P45 P44 P43 P42 P41 P40 R/W P4
0D8H
T0ENB T0rate2 T0rate1 T0rate0
TC0CKS1 T0TB R/W T0M
0D9H T0C7 T0C6 T0C5 T0C4 T0C3 T0C2 T0C1 T0C0 R/W T0C
0DAH TC0ENB TC0rate2 TC0rate1 TC0rate0 TC0CKS ALOAD0 TC0OUT PWM0OUT R/W TC0M
0DBH TC0C7 TC0C6 TC0C5 TC0C4 TC0C3 TC0C2 TC0C1 TC0C0 R/W TC0C
0DCH TC1ENB TC1rate2 TC1rate1 TC1rate0 TC1CKS ALOAD1 TC1OUT PWM1OUT R/W TC1M
0DDH TC1C7 TC1C6 TC1C5 TC1C4 TC1C3 TC1C2 TC1C1 TC1C0 R/W TC1C
0DEH TC1R7 TC1R6 TC1R5 TC1R4 TC1R3 TC1R2 TC1R1 TC1R0 W TC1R
0DFH
GIE
STKPB2 STKPB1 STKPB0 R/W STKP
0E0H P07R P06R P05R P04R P03R P02R - P00R W P0UR
0E4H P47R P46R P45R P44R P43R P42R P41R P40R W P4UR
0E6H @HL7 @HL6 @HL5 @HL4 @HL3 @HL2 @HL1 @HL0 R/W @HL
0E7H @YZ7 @YZ6 @YZ5 @YZ4 @YZ3 @YZ2 @YZ1 @YZ0 R/W @YZ
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
0F4H S5PC7 S5PC6 S5PC5 S5PC4 S5PC3 S5PC2 S5PC1 S5PC0 R/W STK5L
0F5H
S5PC10 S5PC9 S5PC8 R/W STK5H
0F6H S4PC7 S4PC6 S4PC5 S4PC4 S4PC3 S4PC2 S4PC1 S4PC0 R/W STK4L
0F7H
S4PC10 S4PC9 S4PC8 R/W STK4H
0F8H S3PC7 S3PC6 S3PC5 S3PC4 S3PC3 S3PC2 S3PC1 S3PC0 R/W STK3L
0F9H
S3PC10 S3PC9 S3PC8 R/W STK3H
0FAH S2PC7 S2PC6 S2PC5 S2PC4 S2PC3 S2PC2 S2PC1 S2PC0 R/W STK2L
0FBH
S2PC10 S2PC9 S2PC8 R/W STK2H
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
注:
1、所有寄存器名都已在 SN8ASM 编译器中做了宣告;
2、用户使用 SN8ASM 编译器对寄存器的位进行操作时,须在该寄存器的位前加“F”;
3、指令“b0bset”,“b0bclr”,“bset”,“bclr”只能用于可读写的寄存器(“R/W”)。