EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 50

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 50 / 703
Table 2-14 Example of register settings when using the P70 to P75 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
P70
P70
input
0
1
×
×
×
×
×
output
0
0
0/1
0

h0
×
×
N-channel
open-
drain
output
0
0
0/1
1
×
ANI29
Analog
channel
1
×
×
×
×
×
×
KR0
input
0
1
×
×
×
×
×
SCLK21
input
0
1
×
×
×
×
×
output
0
0
1
0

h0
×
×
SCL21
output
0
0
1
0

h0
×
×
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
P70CFG
×
×
Please refer
to 2.3.10
Mappable
bidirectional
communication
(SDA00/SDAA0/SCL
A0)
bidirection
al
0
0
0/1
1

h0
Configure
SDI00PCFG/SDAA0PCFG/SCLA0
PCFG
×
Please refer
to 2.3.9
P71
P71
input
0
1
×
×
×
×
×
output
0
0
0/1
0

h0
×
×
N-channel
open-
drain
output
0
0
0/1
1
×
ANI30
Analog
channel
1
×
×
×
×
×
×
KR1
input
0
1
×
×
×
×
×
SDI21
input
0
1
×
×
×
×
×
SDA21
bidirection
al
0
0
1
1

h0
×
×
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
P71CFG
×
×
Please refer
to 2.3.10
Mappable
bidirectional
communication
(SDA00/SDAA0/SCL
A0)
bidirection
al
0
0
0/1
1

h0
Configure
SDI00PCFG/SDAA0PCFG/SCLA0
PCFG
×
Please refer
to 2.3.9
P72
P72
input
0
1
×
×
×
×
×
output
0
0
0/1
0

h0
×
×
N-channel
open-
drain
output
0
0
0/1
1
×
ANI31
Analog
channel
1
×
×
×
×
×
×
KR2
input
0
1
×
×
×
×
×
SDO21
output
0
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
P72CFG
×
×
Please refer
to 2.3.10
Mappable
bidirectional
communication
(SDA00/SDAA0/SCL
A0)
bidirection
al
0
0
0/1
1

h0
Configure
SDI00PCFG/SDAA0PCFG/SCLA0
PCFG
×
Please refer
to 2.3.9

Table of Contents

Related product manuals