EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 54

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 54 / 703
Table 2-16 Example of register settings when using P130, P136, P137 pin functions
Pin
name
Features used
PMC
xx
PMx
x
Px
x
POM
xx
PxxCFG (Output
Multiplexing
Configuration
Register)
xxPCFG (Input
Multiplexing
Configuration
Register)
SPIPC
FG
remark
The feature name
Input/output
P130
P130
input
0
1
×
×
×
×
×
output
0
0
0/1
0

×
×
N-channel
open-drain
output
0
0
0/1
1
×
ANI35
Analog
channel
1
×
×
×
×
×
×
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
P130CFG
×
×
Please refer to
2.3.10
Mappable bidirectional
communication
(SDA00/SDAA0/SCLA0)
bidirectional
0
0
0/1
1

Configure
SDI00PCFG/SDAA0
PCFG/SCLA0PCFG
×
Please refer to
2.3.9
P136
P136
input
0
1
×
×
×
×
×
output
0
0
0/1
0

×
×
N-channel
open-drain
output
0
0
0/1
1
×
ANI36
Analog
channel
1
×
×
×
×
×
×
INTP0
input
0
1
×
×
×
×
×
INTP0 can also be
mapped to other
ports, see 2.3.9
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
P136CFG
×
×
Please refer to
2.3.10
Mappable bidirectional
communication
(SDA00/SDAA0/SCLA0)
bidirectional
0
0
0/1
1

Configure
SDI00PCFG/SDAA0
PCFG/SCLA0PCFG
×
Please refer to
2.3.9
P137
P137
input
-
1
×
×
×
×
×
output
-
0
0/1
0

×
×
N-channel
open-drain
output
-
0
0/1
1
×
Mappable concurrent
inputs
input
-
1
×
×
×
Configure xxPCFG
×
Please refer to
2.3.9
Mappable concurrent
output
output
-
0
0/1
0
Configure the
P137CFG
×
×
Please refer to
2.3.10
Mappable bidirectional
communication
(SDA00/SDAA0/SCLA0)
bidirectional
-
0
0/1
1

Configure
SDI00PCFG/SDAA0
PCFG/SCLA0PCFG
×
Please refer to
2.3.9

Table of Contents

Related product manuals