EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 47

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 47 / 703
Table 2-11 Example of register setting when using P40 to P41 pin functions
Pin
nam
e
Features used
PMCx
x
PMx
x
Px
x
POMx
x
PxxCFG
(Output
Multiplexing
Configuratio
n Register)
xxPCFG (Input Multiplexing
Configuration Register)
SPIPCF
G
remark
The feature name
Input/outp
ut
P40
P40
input
-
1
×
×
×
×
×
output
-
0
0/1
0

h0
×
×
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
P40CFG
×
×
Please refer
to 2.3.10
Mappable
bidirectional
communication
(SDA00/SDAA0/SC
LA0)
bidirection
al
-
0
0/1
1

h0
Configure
SDI00PCFG/SDAA0PCFG/SCLA0
PCFG
×
Please refer
to 2.3.9
P41
P41
input
-
1
×
×
×
×
×
output
-
0
0/1
0

h0
×
×
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
P41CFG
×
×
Please refer
to 2.3.10
Mappable
bidirectional
communication
(SDA00/SDAA0/SC
LA0)
bidirection
al
-
0
0/1
1

h0
Configure
SDI00PCFG/SDAA0PCFG/SCLA0
PCFG
×
Please refer
to 2.3.9

Table of Contents

Related product manuals