EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 30

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 2 Pin Function
www.mcu.com.cn 30 / 703
P130CFG
0x048
R/W
00H
P136CFG
0x04e
R/W
00H
P137CFG
0x04f
R/W
00H
P140CFG
0x050
R/W
00H
P146CFG
0x056
R/W
00H
P147CFG
0x057
R/W
00H
Figure 2-10 Format of port output multiplexing function configuration register
symbol
7
6
5
4
3
2
1
0
address
after reset
R/W
PxxCFG
0
0
0
0
pxxcfg[3:0]
see figure above
00H
R/W
By configuring the PxxCFG register, it is possible to map 15 concurrent output functions (TO10, TO11,
TO12, TO13, SDO00, TxD0, SDO20, TxD2, IrTXD, CLKBUZ0, SCLKO00, SCL00, SCLKO20, SCL20, TxD1)
to any port, other than these 15 concurrent outputs can only be mapped to a fixed port.
Register name
Register settings
Psx port function
pxxcfg[3:0]
4'h00
Default concurrent feature/GPIO
4'h01
TO10
4'h02
TO11
4'h03
TO12
4'h04
TO13
4'h05
SDO00/TxD0
4'h06
SDO20/TxD2/IrTXD
4'h07
CLKBUZ0
4'h08
SCLKO00/SCL00
4'h09
SCLKO20/SCL20
4'h0a
TxD1
others
Configuration prohibited

Table of Contents

Related product manuals