![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 593](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898593.webp)
Chapter 23 Analog-to-Digital Converter (ADC)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
593
23.4.2
Control logic registers
23.4.2.1
Main Configuration Register (MCR)
The Main Configuration Register (MCR) provides configuration settings for the ADC.
Address: Base + 0x0000
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
OW
R
E
N
WLSI
DE
MODE
0
0
0
0
NST
A
R
T
0
JT
R
G
E
N
JEDGE
JST
A
R
T
0
0
CTUEN
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
ADCLK
SEL
AB
OR
T
CH
AI
N
AB
OR
T
AC
K
O
0
0
0
0
PWDN
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
Figure 23-7. Main Configuration Register (MCR)
Table 23-7. MCR field descriptions
Field
Description
OWREN
Overwrite enable
This bit enables or disables the functionality to overwrite unread converted data.
0 Prevents overwrite of unread converted data; new result is discarded
1 Enables converted data to be overwritten by a new conversion
WLSIDE
Write left/right-aligned
0 The conversion data is written right-aligned.
1 Data is left-aligned (from 15 to (15 – reso 1)).
The WLSIDE bit affects all the CDR registers simultaneously. See
and
MODE
One Shot/Scan
0 One Shot Mode—Configures the normal conversion of one chain.
1 Scan Mode—Configures continuous chain conversion mode; when the programmed chain
conversion is finished it restarts immediately.
NSTART
Normal Start conversion
Setting this bit starts the chain or scan conversion. Resetting this bit during scan mode causes the
current chain conversion to finish, then stops the operation.
This bit stays high while the conversion is ongoing (or pending during injection mode).
0 Causes the current chain conversion to finish and stops the operation
1 Starts the chain or scan conversion
JTRGEN
Injection external trigger enable
0 External trigger disabled for channel injection
1 External trigger enabled for channel injection
JEDGE
Injection trigger edge selection
Edge selection for external trigger, if JTRGEN = 1.
0 Selects falling edge for the external trigger
1 Selects rising edge for the external trigger