Intel 8XC196MH, 8XC196MD, 8XC196MC manual Adresult Read

Models: 8XC196MD 8XC196MH 8XC196MC

1 579
Download 579 pages 24.12 Kb
Page 484
Image 484

REGISTERS

AD_RESULT (Read)

AD_RESULT (Read)

Address:

1FAAH

 

Reset State (MC, MD):

FFC0H

 

Reset State (MH):

7FC0H

The A/D result (AD_RESULT) register consists of two bytes. The high byte contains the eight most- significant bits from the A/D converter. The low byte contains the two least-significant bits from a ten- bit A/D conversion, indicates the A/D channel number that was used for the conversion, and indicates whether a conversion is currently in progress.

15

ADRLT9

ADRLT8

ADRLT7

ADRLT6

 

 

 

 

7

ADRLT1

ADRLT0

STATUS

 

 

 

 

8

ADRLT5

ADRLT4

ADRLT3

ADRLT2

 

 

 

 

0

ACH3

ACH2

ACH1

ACH0

 

 

 

 

Bit

Bit

Function

Number

Mnemonic

 

 

 

 

15:6

ADRLT9:0

A/D Result

 

 

These bits contain the A/D conversion result.

 

 

 

5

Reserved. This bit is undefined.

 

 

 

4

STATUS

A/D Status

 

 

Indicates the status of the A/D converter. Up to 8 state times are required

 

 

to set this bit following a start command. When testing this bit, wait at

 

 

least the 8 state times.

 

 

0 = A/D is idle

 

 

1 = A/D conversion is in progress

 

 

 

3:0

ACH3:0

A/D Channel Number

 

 

These bits indicate the A/D channel number that was used for the

 

 

conversion.

 

 

 

C-7

Page 484
Image 484
Intel 8XC196MH, 8XC196MD, 8XC196MC manual Adresult Read