mc9s12q128 Freescale Semiconductor, Inc, mc9s12q128 Datasheet - Page 243

no-image

mc9s12q128

Manufacturer Part Number
mc9s12q128
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S12Q128
Manufacturer:
FREESCALE
Quantity:
4 000
Part Number:
mc9s12q128CFU
Manufacturer:
FREESCALE
Quantity:
5
Part Number:
mc9s12q128CPBE16
Manufacturer:
FREESCAL
Quantity:
372
Part Number:
mc9s12q128MFAE8
Manufacturer:
FREESCALE
Quantity:
2 000
Part Number:
mc9s12q128MFAE8
Manufacturer:
FREESCALE
Quantity:
2 000
Part Number:
mc9s12q128MFUE16
Manufacturer:
MOTOROLA
Quantity:
591
Part Number:
mc9s12q128MFUE16
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s12q128MPBE16
Manufacturer:
FREESCALE
Quantity:
2 000
Part Number:
mc9s12q128MPBE16
Manufacturer:
FREESCALE
Quantity:
2 000
Part Number:
mc9s12q128VFAE16
Manufacturer:
FREESCALE
Quantity:
2 000
Company:
Part Number:
mc9s12q128VFAE1H
Quantity:
172
Part Number:
mc9s12q128VFU16
Manufacturer:
FREESCALE
Quantity:
1 831
8.3.2.12
The data port associated with the ATD is general purpose I/O. The port pins are shared with the analog
A/D inputs AN7–AN0.
Read: Anytime
Write: Anytime, no effect
The A/D input channels may be used for general-purpose digital I/0.
8.3.2.13
The A/D conversion results are stored in 8 read-only result registers ATDDRHx/ATDDRLx. The result
data is formatted in the result registers based on two criteria. First there is left and right justification; this
selection is made using the DJM control bit in ATDCTL5. Second there is signed and unsigned data; this
selection is made using the DSGN control bit in ATDCTL5. Signed data is stored in 2’s complement
format and only exists in left justified format. Signed data selected for right justified format is ignored.
Read: Anytime
Write: Anytime, no effect in normal modes
Freescale Semiconductor
Function
Module Base + 0x000F
PTAD[7:0]
Reset
Field
Pin
7
W
R
PTAD7
AN7
A/D Channel x (ANx) Digital Input (x = 7, 6, 5, 4, 3, 2, 1, 0) — If the digital input buffer on the ANx pin is enabled
(IENx = 1) read returns the logic level on ANx pin (signal potentials not meeting V
an indeterminate value)).
If the digital input buffers are disabled (IENx = 0), read returns a “1”.
Reset sets all PORTAD bits to “1”.
Port Data Register (PORTAD)
ATD Conversion Result Registers (ATDDRHx/ATDDRLx)
1
7
= Unimplemented or Reserved
PTAD6
AN6
1
6
Figure 8-14. Port Data Register (PORTAD)
Table 8-18. PORTAD Field Descriptions
PTAD5
AN5
1
5
MC9S12Q128
PTAD4
AN4
Rev 1.09
1
4
Chapter 8 Analog-to-Digital Converter (ATD10B8C) Block Description
Description
PTAD3
AN3‘
1
3
PTAD2
AN2
1
2
IL
or V
IH
PTAD1
AN1
specifications will have
1
1
PTAD0
AN0
1
0
243

Related parts for mc9s12q128