EasyManua.ls Logo

Cmsemicon CMS32L051 - Example of Register Settings Using Port Functions and Multiplexing Functions

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 40 / 703
2.5.2 Example of register settings using port functions and multiplexing functions
Examples of register settings using the port function and the multiplexing function (48 pin products) are
shown in Table Table 2-7to Table 2-17. × in the table indicates that the register does not require
configuration, and - in the table indicates that there is no such register.
Table 2-7 Example of register settings when using the P00 to P01 pin function
Pin
name
Features used
PMCxx
PMxx
Pxx
POMxx
PxxCFG
(Output
Multiplexing
Configuration
Register)
xxPCFG (Input Multiplexing
Configuration Register)
SPIPCFG
remark
The feature name
Input/output
P00
P00
input
0
1
×
×
×
×
×
output
0
0
0/1
0

×
×
N-channel
open-drain
output
0
0
0/1
1
×
ANI11/VCIN10
Analog
channel
1
×
×
×
×
×
×
TI00
input
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
P00CFG
×
×
Please refer to
2.3.10
Mappable bidirectional
communication
(SDA00/SDAA0/SCLA0)
bidirectional
0
0
0/1
1

Configuring SDI00PCFG/
SDAA0PCFG/SCLA0PCFG
×
Please refer to
2.3.9
P01
P01
input
0
1
×
×
×
×
×
output
0
0
0/1
0

×
×
N-channel
open-drain
output
0
0
0/1
1
×
ANI10/VCIN11
Analog
channel
1
×
×
×
×
×
×
TO00
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
P01CFG
×
×
Please refer to
2.3.10
Mappable bidirectional
communication
(SDA00/SDAA0/SCLA0)
bidirectional
0
0
0/1
1

Configuring SDI00PCFG/
SDAA0PCFG/SCLA0PCFG
×
Please refer to
2.3.9

Table of Contents

Related product manuals