English
Language : 

PXS20RM Datasheet, PDF (183/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Analog-to-Digital Converter (ADC)
9.3.17.3 Self Test Configuration Register 3 (STCR3)
Address: Base + 0x348
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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
R0 0 0 0 0 0
W
ALG
000
MSTEP
Reset 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0
Figure 9-27. Self Test Configuration Register 3 (STCR3)
Table 9-29. STCR3 field descriptions
Field
ALG
Description
Algorithm scheduling. This field has different functionality depending on the ADC mode
(one-shot or scan).
For one-shot mode:
00 Algorithm S (single step = MSTEP)
01 Algorithm RC (single step = MSTEP)
10 Algorithm C (single step = MSTEP)
11 Algorithm S
For test/debug purposes
MSTEP
For scan mode:
00 Algorithm S
01 Algorithm RC
10 Algorithm C
11 Algorithm S + algorithm RC + algorithm C
The baud rate for the execution of the selected algorithm is defined by the STBRR register.
For one-shot mode, defines the current step for algorithms S, RC, and C as follows:
• For algorithm S: MSTEP = 0 to 2
• For algorithm C: MSTEP = 0 to 16
• For algorithm RC: MSTEP = 0 to 18
For scan mode, this field is not used and should be programmed to 0b00. This is because in
scan mode performs only single-step execution (interleaved mode).
Freescale Semiconductor
PXS20 Microcontroller Reference Manual, Rev. 1
9-25