![Freescale Semiconductor MC9S12ZVM series Скачать руководство пользователя страница 318](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602318.webp)
Chapter 9 Analog-to-Digital Converter (ADC12B_LBA_V1)
MC9S12ZVM Family Reference Manual Rev. 1.3
318
Freescale Semiconductor
9.4.2
Register Descriptions
This section describes in address order all the ADC12B_LBA registers and their individual bits.
9.4.2.1
ADC Control Register 0 (ADCCTL_0)
Read: Anytime
Write:
•
Bits ADC_EN, ADC_SR, FRZ_MOD and SWAI writable anytime
•
Bits MOD_CFG, STR_SEQA and ACC_CFG[1:0] writable if bit ADC_EN clear or bit
SMOD_ACC set
Module Base + 0x0000
15
14
13
12
11
10
9
8
R
ADC_EN
ADC_SR
FRZ_MOD
SWAI
ACC_CFG[1:0]
STR_SEQA
MOD_CFG
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 9-4. ADC Control Register 0 (ADCCTL_0)
Table 9-2. ADCCTL_0 Field Descriptions
Field
Description
15
ADC_EN
ADC Enable Bit — This bit enables the ADC (e.g. sample buffer amplifier etc.) and controls accessibility of ADC
register bits. When this bit gets cleared any ongoing conversion sequence will be aborted and pending results
or the result of current conversion gets discarded (not stored). The ADC cannot be re-enabled before any
pending action or action in process is finished or aborted, which could take up to a maximum latency time of
t
DISABLE
(see device reference manual for more details).
Because internal components of the ADC are turned on/off with this bit, the ADC requires a recovery time period
(t
REC
) after ADC is enabled until the first conversion can be launched via a trigger.
0 ADC disabled.
1 ADC enabled.
14
ADC_SR
ADC Soft-Reset — This bit causes an ADC Soft-Reset if set after a severe error occurred (see list of severe
errors in
Section 9.4.2.9, “ADC Error Interrupt Flag Register (ADCEIF)
that causes the ADC to cease operation).
It clears all overrun flags and error flags and forces the ADC state machine to its idle state. It also clears the
Command Index Register, the Result Index Register, and the CSL_SEL and RVL_SEL bits (to be ready for a new
control sequence to load new command and start execution again from top of selected CSL).
A severe error occurs if an error flag is set which cause the ADC to cease operation.
In order to make the ADC operational again an ADC Soft-Reset must be issued.
Once this bit is set it can not be cleared by writing any value. It is cleared only by ADC hardware after the
Soft-Reset has been executed.
0 No ADC Soft-Reset issued.
1 Issue ADC Soft-Reset.
13
FRZ_MOD
Freeze Mode Configuration — This bit influences conversion flow during Freeze Mode.
0 ADC continues conversion in Freeze Mode.
1 ADC freezes the conversion at next conversion boundary at Freeze Mode entry.
12
SWAI
Wait Mode Configuration — This bit influences conversion flow during Wait Mode.
0 ADC continues conversion in Wait Mode.
1 ADC halts the conversion at next conversion boundary at Wait Mode entry.
Содержание MC9S12ZVM series
Страница 116: ...Chapter 2 Port Integration Module S12ZVMPIMV1 MC9S12ZVM Family Reference Manual Rev 1 3 116 Freescale Semiconductor ...
Страница 242: ...Chapter 7 ECC Generation Module SRAM_ECCV1 MC9S12ZVM Family Reference Manual Rev 1 3 242 Freescale Semiconductor ...
Страница 384: ...Chapter 10 Supply Voltage Sensor BATSV3 MC9S12ZVM Family Reference Manual Rev 1 3 384 Freescale Semiconductor ...
Страница 484: ...Chapter 13 Programmable Trigger Unit PTUV2 MC9S12ZVM Family Reference Manual Rev 1 3 484 Freescale Semiconductor ...
Страница 662: ...Chapter 17 Gate Drive Unit GDUV4 MC9S12ZVM Family Reference Manual Rev 1 3 662 Freescale Semiconductor ...
Страница 684: ...Chapter 18 LIN Physical Layer S12LINPHYV2 MC9S12ZVM Family Reference Manual Rev 1 3 684 Freescale Semiconductor ...
Страница 740: ...Chapter 19 128 KB Flash Module S12ZFTMRZ128K512V2 MC9S12ZVM Family Reference Manual Rev 1 3 740 Freescale Semiconductor ...
Страница 756: ...Appendix A MCU Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 756 Freescale Semiconductor ...
Страница 772: ...Appendix D LINPHY Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 772 Freescale Semiconductor ...
Страница 776: ...Appendix E GDU Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 776 Freescale Semiconductor ...
Страница 788: ...Appendix I MSCAN Electrical Specifications MC9S12ZVM Family Reference Manual Rev 1 3 788 Freescale Semiconductor ...
Страница 790: ...Appendix J Package Information MC9S12ZVM Family Reference Manual Rev 1 3 790 Freescale Semiconductor ...