2 adc data register high, 3 adc data register low, Adc data register high – Freescale Semiconductor MC68HC908MR32 User Manual

Page 54: Adc data register low

Advertising
background image

Analog-to-Digital Converter (ADC)

MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1

54

Freescale Semiconductor

3.7.2 ADC Data Register High

In left justified mode, this 8-bit result register holds the eight MSBs of the 10-bit result. This register is
updated each time an ADC single channel conversion completes. Reading ADRH latches the contents of
ADRL until ADRL is read. Until ADRL is read, all subsequent ADC results will be lost.

In right justified mode, this 8-bit result register holds the two MSBs of the 10-bit result. All other bits read
as 0. This register is updated each time a single channel ADC conversion completes. Reading ADRH
latches the contents of ADRL until ADRL is read. Until ADRL is read, all subsequent ADC results will be
lost.

3.7.3 ADC Data Register Low

In left justified mode, this 8-bit result register holds the two LSBs of the 10-bit result. All other bits read as
0. This register is updated each time a single channel ADC conversion completes. Reading ADRH latches
the contents of ADRL until ADRL is read. Until ADRL is read, all subsequent ADC results will be lost.

In right justified mode, this 8-bit result register holds the eight LSBs of the 10-bit result. This register is
updated each time an ADC conversion completes. Reading ADRH latches the contents of ADRL until
ADRL is read. Until ADRL is read, all subsequent ADC results will be lost.

Address:

$0041

Bit 7

6

5

4

3

2

1

Bit 0

Read:

AD9

AD8

AD7

AD6

AD5

AD4

AD3

AD2

Write:

R

R

R

R

R

R

R

R

Reset:

Unaffected by reset

R

= Reserved

Figure 3-5. ADC Data Register High (ADRH) Left Justified Mode

Address:

$0041

Bit 7

6

5

4

3

2

1

Bit 0

Read:

0

0

0

0

0

0

AD9

AD8

Write:

R

R

R

R

R

R

R

R

Reset:

Unaffected by reset

R

= Reserved

Figure 3-6. ADC Data Register High (ADRH) Right Justified Mode

Address:

$0042

Bit 7

6

5

4

3

2

1

Bit 0

Read:

AD1

AD0

0

0

0

0

0

0

Write:

R

R

R

R

R

R

R

R

Reset:

Unaffected by reset

R

= Reserved

Figure 3-7. ADC Data Register Low (ADRL) Left Justified Mode

Advertising
This manual is related to the following products: