XC912BC32CFU8 Motorola Semiconductor Products, XC912BC32CFU8 Datasheet - Page 307

no-image

XC912BC32CFU8

Manufacturer Part Number
XC912BC32CFU8
Description
M68HC12B Family Data Sheet
Manufacturer
Motorola Semiconductor Products
Datasheet
17.3.6 ATD Control Register 5
M68HC12B Family — Rev. 8.0
MOTOROLA
Read: Anytime
Write: Anytime
The ATD control register 5 is used to select the conversion modes, the conversion
channel(s), and initiate conversions.
A write to ATDCTL5 initiates a new conversion sequence. If a conversion
sequence is in progress when a write occurs, that sequence is aborted and the
SCF and CCF bits are reset.
S8CM — Select 8 Channel Mode Bit
SCAN — Enable Continuous Channel Scan Bit
MULT — Enable Multichannel Conversion Bit
CD, CC, CB, and CA — Channel Select for Conversion Bits
Reset:
When a conversion sequence is initiated by a write to the ATDCTL register, the
user has a choice of performing a sequence of four (or eight, depending on the
S8CM bit) conversions or continuously performing four (or eight) conversion
sequences.
Read:
Write:
Address: $0065
0 = Conversion sequence consists of four conversions.
1 = Conversion sequence consists of eight conversions.
0 = Single conversion sequence
1 = Continuous conversion sequences (scan mode)
0 = ATD sequencer runs all four or eight conversions on a single input
1 = ATD sequencer runs each of the four or eight conversions on sequential
channel selected via the CD, CC, CB, and CA bits.
channels in a specific group. Refer to
Bit 7
0
Figure 17-7. ATD Control Register 5 (ATDCTL5)
Analog-to-Digital Converter (ATD)
= Unimplemented
S8CM
6
0
SCAN
5
0
MULT
4
0
Table
CD
3
0
Analog-to-Digital Converter (ATD)
17-4.
CC
2
0
CB
1
0
ATD Registers
Data Sheet
Bit 0
CA
0
307

Related parts for XC912BC32CFU8