EasyManua.ls Logo

Cmsemicon CMS32L051 - 11.2 Control registers of A;D converter

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 11 A/D Converter
www.mcu.com.cn 267 / 703
11.2 Control registers of A/D converter
The registers that control the A/D converter are as follows:
Register base address: CSC_BASE=4002_0420H; ADC_BASE=4004_5000H;
PORT_BASE=4004_0000H
Register name
Register description
R/W
Reset value
Register address
PER0
Peripheral enable register 0
R/W
00H
CSC_BASE+20H
ADM0
A/D converter mode register 0
R/W
00H
ADC_BASE+00H
ADM1
A/D converter mode register 1
R/W
00H
ADC_BASE+02H
ADM2
A/D converter mode register 2
R/W
00H
ADC_BASE+04H
ADTRG
A/D converter trigger mode register
R/W
00H
ADC_BASE+06AM
ADS
Analog input channel specification
register
R/W
00H
ADC_BASE+08AM
ADLL
Conversion result comparison lower limit
setting register
R/W
00H
ADC_BASE+0AH
ADUL
Conversion result comparison upper limit
setting register
R/W
00H
ADC_BASE+0BH
ADCR
12-bit A/D conversion result register
R
0,000H
ADC_BASE+0EH
ADCRH
8-bit A/D conversion result register
R
00H
ADC_BASE+0FH
ADSMPWAIT
A/D converter sampling time extension
control register
R/W
00H
ADC_BASE+15H
PMCn
Port mode control register
R/W
Note 1
PORT_BASE+
Note1
R: read only, W: write only, R/W: both read and write.
Note 1: When selecting a channel through the ADS registers, the PMC register of the channel pin needs
to be configured as an analog channel.

Table of Contents

Related product manuals