Chapter 10 Analog-to-Digital Converter (ADC12B_LBA_V1)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
366
Freescale Semiconductor
10.4.2.2
ADC Control Register 1 (ADCCTL_1)
Read: Anytime
Write:
•
Bit CSL_BMOD and RVL_BMOD writable if bit ADC_EN clear or bit SMOD_ACC set
•
Bit SMOD_ACC only writable in MCU Special Mode
•
Bit AUT_RSTA writable anytime
Module Base + 0x0001
7
6
5
4
3
2
1
0
R
CSL_BMOD RVL_BMOD SMOD_ACC AUT_RSTA
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 10-5. ADC Control Register 1 (ADCCTL_1)
Table 10-4. ADCCTL_1 Field Descriptions
Field
Description
7
CSL_BMOD
CSL Buffer Mode Select Bit
— This bit defines the CSL buffer mode. This bit is only writable if ADC_EN is clear.
0 CSL single buffer mode.
1 CSL double buffer mode.
6
RVL_BMOD
RVL Buffer Mode Select Bit
— This bit defines the RVL buffer mode.
0 RVL single buffer mode
1 RVL double buffer mode
5
SMOD_ACC
Special Mode Access Control Bit
— This bit controls register access rights in MCU Special Mode. This bit is
automatically cleared when leaving MCU Special Mode.
Note: When this bit is set also the ADCCMD register is writeable via the data bus to allow modification of the
current command for debugging purpose. But this is only possible if the current command is not already
processed (conversion not started).
Please see access details given for each register.
Care must be taken when modifying ADC registers while bit SMOD_ACC is set to not corrupt a possible ongoing
conversion.
0 Normal user access - Register write restrictions exist as specified for each bit.
1 Special access - Register write restrictions are lifted.
4
AUT_RSTA
Automatic Restart Event after exit from MCU Stop and Wait Mode (SWAI set)
— This bit controls if a Restart
Event is automatically generated after exit from MCU Stop Mode or Wait Mode with bit SWAI set. It can be
configured for ADC conversion flow control mode
“Trigger Mode” and “Restart Mode” (anytime during application
runtime).
0 No automatic Restart Event after exit from MCU Stop Mode.
1 Automatic Restart Event occurs after exit from MCU Stop Mode.