EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 55

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 55 / 703
Table 2-17 Example of register configuration of using P140, P146, P147 pin function
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
P140
P140
input
0
1
×
×
×
×
×
output
0
0
0/1
0

×
×
N-channel
open-drain
output
0
0
0/1
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
P140CFG
×
×
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
P146
P146
input
0
1
×
×
×
×
×
output
0
0
0/1
0

×
×
N-channel
open-drain
output
0
0
0/1
1
×
ANI15
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
P146CFG
×
×
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
P147
P147
input
0
1
×
×
×
×
×
output
0
0
0/1
0

×
×
N-channel
open-drain
output
0
0
0/1
1
×
ANI12/IVREF0
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
P147CFG
×
×
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

Table of Contents

Related product manuals