Datasheet
Table Of Contents
- List of Sections
- Table of Contents
- General Description
- Central Processing Unit (CPU)
- Pinout and Signal Description
- System Configuration
- Registers
- Operating Modes
- Resource Mapping
- Bus Control and Input/Output
- Resets and Interrupts
- Voltage Regulator (VREG)
- Flash EEPROM 256K
- EEPROM 4K
- Port Integration Module
- Clocks and Reset Generator (CRG)
- Pulse Width Modulator (PWM)
- Enhanced Capture Timer (ECT)
- Serial Communications Interface (SCI)
- Serial Peripheral Interface (SPI)
- Inter-IC Bus (IIC)
- MSCAN
- Analog to Digital Converter
- Byte Data Link Controller Module
- Contents
- Overview
- Features
- Block Diagram
- Register Map
- Functional Description
- Register Descriptions
- External Pin Descriptions
- Reset Initialization/Basic Operation
- Transmitting A Message
- Receiving A Message
- Transmitting An In-Frame Response (IFR)
- Receiving An In-Frame Response (IFR)
- Special BDLC Operations
- Modes of Operation
- Interrupt Operation
- Low Power Options
- Background Debug Module (BDM)
- Breakpoint (BKP) Module
- Revision History
- Glossary
- Literature Updates

Analog to Digital Converter
MC9S12DP256 — Revision 1.1
Analog to Digital Converter
External trigger mode allows the user to synchronize sample and ATD
conversions processes with external events.
External Gated Continuous-Scan Mode is defined when the SCAN
and ETRIGLE bits are set. It allows the user to synchronize the
conversion process with external events and control the number of
conversion performed in sequence. The ETRIG active level initiates a
conversion and at the end of the conversion if the ETRIGE bit is active
another sample is initiated.
Note that the conversion results for the external trigger channel have
no meaning while external trigger mode is enabled.
ASCIE — ATD Sequence Complete Interrupt Enable
1 = Enables ATD interrupt on Sequence Complete.
0 = Disables ATD interrupt.
The sequence complete interrupt function signals the MCU when a
conversion sequence is complete. At this time, the result registers
contain the result data generated by the conversion sequence. If this
interrupt function is disabled, then the conversion complete flags must
be polled to determine when a conversion or a conversion sequence
is complete. Note that reset clears pending interrupts.
ASCIF — ATD Sequence Complete Interrupt Flag
1 = ATD sequence complete interrupt occurred.
0 = No ATD sequence complete interrupt occurred.
Table 97 Left Justified, Signed and Unsigned ATD Output Codes
Input Signal
Vrl = 0 Volts
Vrh = 5.12 Volts
Signed
8-Bit
Codes
Unsigned
8-Bit
Codes
Signed
10-Bit
Codes
Unsigned
10-Bit
Codes
5.120 Volts
5.100
5.080
2.580
2.560
2.540
0.020
0.000
7F
7F
7E
01
00
FF
81
80
FF
FF
FE
81
80
7F
01
00
7FC0
7F00
7E00
0100
0000
FF00
8100
8000
FFC0
FF00
FE00
8100
8000
7F00
0100
0000
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...