
MOTOROLA
3-2
CONFIGURATION AND CONTROL
ADC
REFERENCE MANUAL
Execution of the CPU LPSTOP command can place the entire modular microcontrol-
ler, including the ADC, in low-power stop mode by turning off the system clock. This
command does not set the STOP bit in the ADCMCR. Before issuing the LPSTOP
command, the user should assert the STOP bit in the ADCMCR so that the module
stops in a known state.
3.2.2 Freeze Mode Operation
When the CPU enters background debugging mode, the FREEZE signal is asserted.
The ADC can respond to internal assertion of FREEZE in three ways: it can ignore
FREEZE assertion, finish the current conversion and then freeze, or freeze immedi-
ately. The type of response is determined by the value of the FRZ[1:0] field in the AD-
CMCR (see
Table 3-1
).
When the ADC freezes, the ADC clock stops and all sequential activity ceases. Con-
tents of control and status registers remain valid while frozen. When the FREEZE sig-
nal is negated, ADC activity resumes.
If the ADC freezes during a conversion, activity resumes with the next step in the con-
version sequence. However, capacitors in the analog conversion circuitry may dis-
charge while the ADC is frozen, and conversion results may be inaccurate.
3.2.3 Privilege Levels
To protect system resources, the processor in certain MCUs can operate at either of
two privilege levels: user or supervisor. In systems that support privilege levels, ac-
cesses of the ADCMCR and ADCTEST registers are permissible only when the CPU
is operating at the supervisor privilege level. The remaining ADC registers are pro-
grammable to permit supervisor access only or to permit access when the CPU is op-
erating at either privilege level.
If the SUPV bit in the ADCMCR is set, access to ADC registers is permitted only when
the CPU is operating at the supervisor level. If SUPV is clear, then both user and su-
pervisor accesses of all registers other than the ADCMCR and ADCTEST register are
permitted.
The ADC does not respond to a read or write of a supervisor-access register when the
CPU is operating at the user privilege level. Attempting such a read or write results in
the bus access being transferred externally. Refer to the SIM or SCIM section of the
appropriate MCU user's manual for details on external bus cycles to unimplemented
locations.
Table 3-1 FRZ Field Selection
FRZ
00
01
10
11
Response
Ignore FREEZE
Reserved
Finish conversion, then freeze
Freeze immediately
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.