MC9S08GT16 MOTOROLA [Motorola, Inc], MC9S08GT16 Datasheet - Page 230
![no-image](/images/no-image-200.jpg)
MC9S08GT16
Manufacturer Part Number
MC9S08GT16
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
1.MC9S08GT16.pdf
(290 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC9S08GT16ACBE
Manufacturer:
SHARP
Quantity:
1 200
Company:
Part Number:
MC9S08GT16ACFBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC9S08GT16ACFBER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC9S08GT16ACFBER
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
MC9S08GT16AMFBE
Manufacturer:
XILINX
Quantity:
1 300
Company:
Part Number:
MC9S08GT16AMFBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MC9S08GT16CFBE
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
MC9S08GT16CFBE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC9S08GT16CFD
Manufacturer:
FREESCALE
Quantity:
20 000
Analog-to-Digital Converter (ATD) Module
14.6.1
Writes to the ATD control register will abort the current conversion, but will not start a new conversion.
ATDPU — ATD Power Up
DJM — Data Justification Mode
230
ATD1RH
ATD1RH
This bit provides program on/off control over the ATD, reducing power consumption when the ATD
is not being used. When cleared, the ATDPU bit aborts any conversion in progress.
This bit determines how the 10-bit conversion result data maps onto the ATD result register bits. When
RES8 is set, bit DJM has no effect and the 8-bit result is always located in ATD1RH.
For left-justified mode, result data bits 9–2 map onto bits 7–0 of ATD1RH, result data bits 1 and 0 map
onto ATD1RL bits 7 and 6, where bit 7 of ATD1RH is the most significant bit (MSB).
For right-justified mode, result data bits 9 and 8 map onto bits 1 and 0 of ATD1RH, result data bits
7–0 map onto ATD1RL bits 7–0, where bit 1 of ATD1RH is the most significant bit (MSB).
The effect of the DJM bit on the result is shown in
7
9
7
1 = ATD functionality.
0 = Disable the ATD and enter a low-power state.
1 = Result register data is right justified.
0 = Result register data is left justified.
ATD Control (ATDC)
6
6
5
5
Reset:
Read:
Write:
4
4
ATDPU
Bit 7
3
3
0
RESULT
Figure 14-5. ATD Control Register (ATD1C)
2
2
Figure 14-7. Right-Justified Mode
Figure 14-6. Left-Justified Mode
MC9S08GB/GT Data Sheet, Rev. 2.3
DJM
6
0
1
1
9
RES8
0
0
5
0
ATD1RL
ATD1RL
Table
SGN
7
7
4
0
14-3.
6
0
6
3
0
RESULT
5
5
4
4
2
0
PRS
3
3
Freescale Semiconductor
1
0
2
2
Bit 0
1
1
0
0
0
0