English
Language : 

PXS20RM Datasheet, PDF (163/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Analog-to-Digital Converter (ADC)
Address: Base + 0x000
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0000
0
0
0
W
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
16 17
R
0
W
Reset 0 0
Field
OWREN
WLSIDE
MODE
NSTART
JTRGEN
JEDGE
JSTART
18
19
20
21
22
23
24
25
26
27
28
29
30
31
00000
0000
00000000000001
Figure 9-1. Main Configuration Register (MCR)
Table 9-3. MCR field descriptions
Description
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.
Write left/right-aligned
0 The conversion data is written right-aligned.
1 Data is left-aligned (from 15 to (15 – resolution + 1)).
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.
Normal Start conversion
Setting this bit starts the chain or scan conversion. Clearing 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.
Injection external trigger enable
0 External trigger disabled for channel injection (injected conversion cannot be started
using an external signal).
1 External trigger enabled for channel injection.
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.
Injection start
Setting this bit will start the configured injected analog channels to be converted by software.
Clearing this bit has no effect, as the injected chain conversion cannot be interrupted.
PXS20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
9-5