MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 115

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
MC68HC11G5
Single channel operation is selected by writing a zero to the MULT bit in the A/D control and status
register (ADCTL). This mode has four variations, which can be selected using the CONV8 and
SCAN bits in the ADCTL register. In the first two variations, the CONV8 bit is clear and the single
selected channel is converted four consecutive times. In the second two variations, the CONV8 bit
is set and the single selected channel is converted eight consecutive times. The state of the SCAN
bit determines whether continuous or single scanning is selected. The channel is selected by the
CD – CA bits in the ADCTL register.
9.3.1
Whichever Port E bit is selected, the first result will be stored in the ADR5 result register and
the fourth result will be stored in the ADR8 register. After the fourth conversion is complete
all conversion activity is halted until a new conversion command is written to the ADCTL
control register.
9.3.2
Conversions continue to be performed on the selected channel with the fifth conversion being stored
in the ADR5 register (overwriting the first conversion result), the sixth conversion overwrites ADR6,
the seventh overwrites ADR7, and so on continuously. Using this variation, the data in any result
register is at most four conversion times old.
9.3
SINGLE CHANNEL OPERATION
4-Conversion, Single Scan
4-Conversion, Continuous Scan
CD
0
0
0
0
0
0
0
0
1
1
1
1
1
CC
CONV8 = 1
0
0
0
0
1
1
1
1
0
1
1
1
1
Table 9-1. Channel Assignments (continued)
CB
0
0
1
1
0
0
1
1
X
0
0
1
1
ANALOG-TO-DIGITAL CONVERTER
CA
0
1
0
1
0
1
0
1
X
0
1
0
1
Channel Signal
Test (reserved)
AN1 (PE0)
AN2 (PE1)
AN3 (PE2)
AN4 (PE3)
AN5 (PE4)
AN6 (PE5)
AN7 (PE6)
AN8 (PE7)
reserved
V /2
V
V
rh
rh
rl
MULT = 1
Result in register if
ADR1
ADR2
ADR3
ADR4
ADR5
ADR6
ADR7
ADR8
ADR5
ADR6
ADR7
ADR8
MULT = 0
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
ADR1 – 8
MOTOROLA
9-3

Related parts for MC68HC711G5