Freescale Semiconductor MC9S12G128 Evaluation Board TWR-S12G128-KIT TWR-S12G128-KIT Ficha De Dados

Códigos do produto
TWR-S12G128-KIT
Página de 1292
Analog-to-Digital Converter (ADC10B16CV2)
MC9S12G Family Reference Manual, Rev.1.23
Freescale Semiconductor
525
15.2
Signal Description
This section lists all inputs to the ADC10B16C block.
15.2.1
Detailed Signal Descriptions
15.2.1.1
ANx (x = 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0)
This pin serves as the analog input Channel
x. It can also be configured as digital port or external trigger
for the ATD conversion.
15.2.1.2
ETRIG3, ETRIG2, ETRIG1, ETRIG0
These inputs can be configured to serve as an external trigger for the ATD conversion.
Refer to device specification for availability and connectivity of these inputs!
15.2.1.3
VRH, VRL
VRH is the high reference voltage, VRL is the low reference voltage for ATD conversion.
15.2.1.4
VDDA, VSSA
These pins are the power supplies for the analog circuitry of the ADC10B16C block.
15.3
Memory Map and Register Definition
This section provides a detailed description of all registers accessible in the ADC10B16C.
15.3.1
Module Memory Map
 gives an overview on all ADC10B16C registers.
NOTE
Register Address = Base Address + Address Offset, where the Base Address
is defined at the MCU level and the Address Offset is defined at the module
level.
Address
Name
Bit 7
6
5
4
3
2
1
Bit 0
0x0000
ATDCTL0
R
Reserved
0
0
0
WRAP3
WRAP2
WRAP1
WRAP0
W
0x0001
ATDCTL1
R
ETRIGSEL
SRES1
SRES0
SMP_DIS ETRIGCH3 ETRIGCH2 ETRIGCH1 ETRIGCH0
W
0x0002
ATDCTL2
R
0
AFFC
Reserved ETRIGLE
ETRIGP
ETRIGE
ASCIE
ACMPIE
W
= Unimplemented or Reserved
Figure 15-2. ADC10B16C Register Summary (Sheet 1 of 3)