English
Language : 

MG74PG1B08 Datasheet, PDF (10/128 Pages) Megawin Technology Co., Ltd – Keypad Interrupt function on all GPIO
3.2. SFR Bit Assignment
Table 3–2. SFR Bit Assignment
SYMBOL DESCRIPTION ADDR
Bit-7
SP
Stack Pointer
81H
.7
DPL
Data Pointer Low 82H
.7
DPH
Data Pointer High 83H
.7
PCON0 Power Control 0
87H SMOD1
TCON Timer Control
88H TF1
TMOD Timer Mode
89H GATE
TL0
Timer Low 0
8AH
.7
TL1
Timer Low 1
8BH
.7
TH0
Timer High 0
8CH
.7
TH1
Timer High 1
8DH
.7
SFIE
System Flag INT
Enable
8EH SIDFIE
P1
Port 1
90H P1.7
P1M0
P1 Mode Register 0 91H P1M0.7
P1M1
P1 Mode Register 1 92H P1M1.7
BOREV Bit Order Reversed 96H BOREV.7
PCON1 Power Control 1
97H SWRF
S0CON Serial 0 Control
98H SM00/FE
S0BUF Serial 0 Buffer
99H
.7
AUXR0 Auxiliary Register 0 A1H P17OC1
AUXR1 Auxiliary Register 1 A2H INT1IS1
AUXR2
Auxiliary Register 2
A3H
UTIE
(CPHA)
IE
Interrupt Enable
A8H EA
USBDAT USB Data Register AAH UDAT7
USBADR
USB Indirect
Address
ABH UBSY
XPIE1
Expanded INT. 1
Enable
ADH EUSB
P3
Port 3
B0H P3.7
P3M0
P3 Mode Register 0 B1H P3M0.7
P3M1
P3 Mode Register 1 B2H P3M1.7
IP0L
Interrupt Priority Low B8H URXR
PCON2 Power Control 2
BAH AWBOD1
CKCON2 Clock Control 2
BBH
--
DCON0 Device Control 0 BCH WCKS
SPCON0 SFR Page Control 0 BDH
--
CKCON0 Clock Control 0
C7H
--
CLRL
PCA base timer Low
Reload register
CEH
.7
CHRL
PCA base timer
High Reload register
CFH
.7
PSW
Program Status
Word
D0H CY
KBIEN0 KBI Enable 0
D6H P3HKBI
CCON PCA Control Reg. D8H CF
CMOD PCA Mode Reg.
D9H CIDL
CCAPM0 PCA Module0 Mode DAH P0INV
ACC
Accumulator
E0H ACC.7
WDTCR
Watch-dog-timer
Control register
E1H WREN
SCMD
ISP Serial
Command
E6H
.7
CL
PCA base timer Low E9H
.7
CCAP0L
PCA module0
capture Low
EAH
.7
B
B Register
F0H B.7
CH
PCA base timer
High
F9H
.7
CCAP0H
PCA Module0
capture High
FAH
.7
Bit-6
.6
.6
.6
SMOD0
TR1
C/T
.6
.6
.6
.6
--
P1.6
P1M0.6
P1M1.6
BOREV.6
EXRF
SM10
.6
P17OC0
INT1IS0
BTI
(SSIG)
--
UDAT6
--
--
P3.6
--
--
--
EBOD1
--
USBR
--
--
.6
.6
AC
P3LKBI
CR
--
ECOM0
ACC.6
NSW
.6
.6
.6
B.6
.6
.6
BIT ADDRESS AND SYMBOL
Bit-5
Bit-4
Bit-3
Bit-2
.5
.4
.3
.2
.5
.4
.3
.2
.5
.4
.3
.2
GF
POF
GF1
GF0
TF0
TR0
IE1
IT1
M1
M0
GATE
C/T
.5
.4
.3
.2
.5
.4
.3
.2
.5
.4
.3
.2
.5
.4
.3
.2
--
--
KBIFIE BOF1IE
P1.5
P1M0.5
P1M1.5
BOREV.5
--
SM20
.5
--
INT0IS0
URM0X3
(SMOD2)
EXPIE1
UDAT5
P1.4
P1M0.4
P1M1.4
BOREV.4
--
REN0
.4
T0XL
--
SM30
ES0
UDAT4
P1.3
P1M0.3
P1M1.3
BOREV.3
KBIF
TB80
.3
P1FS1
STAF
T1X12
ET1
UDAT3
P1.2
P1M0.2
P1M1.2
BOREV.2
BOF1
RB80
.2
P1FS0
STOF
T0X12
EX1
UDAT2
USFRA5 USFRA4 USFRA3 USFRA2
--
--
--
--
PXPI1L
--
--
ENUSB
--
CCKS1
.5
--
--
--
--
PSL
--
IHRCOE
ENCKM
WRCTL
CCKS0
.4
--
--
--
--
PT1L
BO1RE
MCKS1
CKMIS1
--
--
.3
--
P3.2
P3M0.2
P3M1.2
PX1L
BO0RE
MCKS0
CKMIS0
CKCTL0
SCKS2
.2
.5
.4
.3
.2
F0
--
--
--
CAPP0
ACC.5
ENW
RS1
--
--
--
CAPN0
ACC.4
CLRW
RS0
P1HKBI
--
CPS2
MAT0
ACC.3
WIDL
OV
P1LKBI
--
CPS1
TOG0
ACC.2
PS2
.5
.4
.3
.2
.5
.4
.3
.2
.5
.4
.3
.2
B.5
B.4
B.3
B.2
.5
.4
.3
.2
.5
.4
.3
.2
Bit-1
.1
.1
.1
PD
IE0
M1
.1
.1
.1
.1
BOF0IE
P1.1
P1M0.1
P1M1.1
BOREV.1
BOF0
TI0
.1
INT1H
PTCKOE
T1CKOE
ET0
UDAT1
USFRA1
EPCA
P3.1
P3M0.1
P3M1.1
PT0L
--
OSCS1
RSTIO
PWCTL1
SCKS1
.1
.1
F1
--
--
CPS0
PWM0
ACC.1
PS1
.1
.1
.1
B.1
.1
.1
Bit-0
.0
.0
.0
IDL
IT0
M0
.0
.0
.0
.0
RESET
VALUE
00000111
00000000
00000000
00010000
00000000
00000000
00000000
00000000
00000000
00000000
WDTFIE 0xxx0000
P1.0 11111111
P1M0.0 00000000
P1M1.0 00000000
BOREV.0 00000000
WDTF 00xx0000
RI0 00000000
.0 xxxxxxxx
INT0H 00000000
-- 00000000
T0CKOE 00000000
EX0 0x000000
UDAT0 xxxxxxxx
USFRA0 0x111111
ESF 0xxxxx00
P3.0 11xxx111
P3M0.0 0xxxx111
P3M1.0 0xxxx000
PX0L 0x000000
RMLS 01000000
OSCS0 xxx10000
SWRST 00000110
PWCTL0 0xx00000
SCKS0 xx10x001
.0 00000000
.0 00000000
P 00000000
--
CCF0
ECF
ECCF0
ACC.0
00xx00xx
00xxxxx0
0xxx0000
00000000
00000000
PS0 00000000
.0 xxxxxxxx
.0 00000000
.0 00000000
B.0 00000000
.0 00000000
.0 00000000
10
MG74PG1B08 Data Sheet
MEGAWIN