www
.mcu.com.cn
22
/
239
Rev.
1.00
CMS80F731x Reference Manual
2.6
External Special Function Register XSFR
XSFR is a special register shared by the addressing space and XRAM, mainly including: port control registers, other function
control registers. Its addressing range is shown in the following figure:
FFFFH
F000H
EFFFH
0000H
0400H
03FFH
XRAM region:1K
Reserved space
XSFR region: 4K
The list of external special function registers is as follows:
address
register
Register description
F000H
P00CFG
P00 port configuration register
F001H
P01CFG
P01 port configuration register
F002H
P02CFG
P02 port configuration register
F003H
P03CFG
P03 port configuration register
F004H
P04CFG
P04 port configuration register
F005H
P05CFG
P05 port configuration register
F006H
P06CFG
P06 port configuration register
F007H
P07CFG
P07 port configuration register
F009H
P0OD
P0-port open-drain control register
F00AH
P0UP
P0 port pull-up resistor control register
F00BH
P0RD
P0 port pull-down resistor control register
F00CH
P0DR
P0 ports drive current selection registers
F00DH
P0SR
P0 port slope control register
F00EH
P0DS
P0 port data input select register
--
--
--
F010H
P10CFG
P10 port configuration register
F011H
P11CFG
P11 port configuration register
F012H
P12CFG
P12 port configuration register
F013H
P13CFG
P13 port configuration register
F014H
P14CFG
P14 port configuration register
F015H
P15CFG
P15 port configuration register
F016H
P16CFG
P16 port configuration register
F017H
P17CFG
P17 port configuration register
F019H
P1OD
P1 port open-drain control register
F01AH
P1UP
P1 port pull-up resistor control register
F01BH
P1RD
P1 port pull-down resistor control register
--
--
--