EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 52

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 52 / 703
Table 2-15 Example of register settings when using P120 to P124 pin functions
Pin
name
Features used
PMC
xx
PM
xx
Pxx
POMxx
PxxCFG
(Output
Multiplexing
Configuration
Register)
xxPCFG (Input
Multiplexing
Configuration
Register)
SPIPCFG
remark
The feature name
Input/out
put
P120
P120
input
0
1
×
×
×
×
×
output
0
0
0/1
0

×
×
N-
channel
open-
drain
output
0
0
0/1
1
×
ANI14
Analog
channel
1
×
×
×
×
×
×
VCOUT0
output
0
0
0
0

×
×
Mappable
concurrent inputs
input
0
1
×
×
×
Configure
xxPCFG
×
Please refer to 2.3.9
Mappable
concurrent output
output
0
0
0/1
0
Configure the
P120CFG
×
×
Please refer to 2.3.10
Mappable
bidirectional
communication
(SDA00/SDAA0/SC
LA0)
bidirectio
nal
0
0
0/1
1

Configure
SDI00PCFG/SD
AA0PCFG/SCLA
0PCFG
×
Please refer to 2.3.9
P121
P121
input
-
1
×
-
×
×
×
output
-
0
0/1
-

×
×
N-
channel
open-
drain
output
-
0
0/1
-
×
X1
-
-
×
×
-
×
×
×
EXCLK=0,
OSCSEL=1
Mappable
concurrent inputs
input
-
1
×
-
×
Configure
xxPCFG
×
For EXCLK=0 and
OSCSEL=0, please
refer to 2.3.9
Mappable
concurrent output
output
-
0
0/1
-
Configure the
P121CFG
×
×
For EXCLK=0 and
OSCSEL=0, please
refer to 2.3.10
P122
P122
input
-
1
×
-
×
×
×
output
-
0
0/1
-

×
×
N-
channel
open-
drain
output
-
0
0/1
-
×
X2
-
-
×
×
-
×
×
×
EXCLK=0,
OSCSEL=1
EXCLK
input
-
×
×
-
×
×
×
EXCLK=1,
OSCSEL=1
Mappable
concurrent inputs
input
-
1
×
-
×
Configure
xxPCFG
×
For EXCLK=0 and
OSCSEL=0, please
refer to 2.3.9
Mappable
concurrent output
output
-
0
0/1
-
Configure the
P122CFG
×
×
For EXCLK=0 and
OSCSEL=0, please
refer to 2.3.10
P123
P123
input
-
1
×
-
×
×
×
output
-
0
0/1
-

×
×
N-
channel
open-
drain
output
-
0
0/1
-
×
XT1
-
-
×
×
-
×
×
×
EXCLKS=0,
OSCSELS=1
Mappable
concurrent inputs
input
-
1
×
-
×
Configure
xxPCFG
×
For EXCLKS=0 and
OSCSELS=0, refer
to 2.3.9
Mappable
concurrent output
output
-
0
0/1
-
Configure the
P123CFG
×
×
Please refer to 2.3.10
for EXCLKS=0 and
OSCSELS=0
P124
P124
input
-
1
×
-
×
×
×
output
-
0
0/1
-

×
×
N-
channel
-
0
0/1
-
×

Table of Contents

Related product manuals