mc68hc908mr24 Freescale Semiconductor, Inc, mc68hc908mr24 Datasheet - Page 364

no-image

mc68hc908mr24

Manufacturer Part Number
mc68hc908mr24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Analog-to-Digital Converter (ADC)
19.8.1 ADC Status and Control Register
Advance Information
364
Address:
This section describes the function of the ADC status and control
register (ADSCR). Writing ADSCR aborts the current conversion and
initiates a new conversion.
COCO — Conversions Complete Bit
AIEN — ADC Interrupt Enable Bit
Reset:
Read:
Write:
When AIEN bit is a logic 0, the COCO is a read-only bit which is set
each time a conversion is completed except in the continuous
conversion mode where it is set after the first conversion. This bit is
cleared whenever the ADC status and control register is written or
whenever the ADC data register is read.
If AIEN bit is a logic 1, the COCO is a read/write bit. Reset clears this
bit.
When this bit is set, an interrupt is generated at the end of an ADC
conversion. The interrupt signal is cleared when the data register is
read or the status/control register is written. Reset clears the AIEN bit.
Figure 19-3. ADC Status and Control Register (ADSCR)
1 = Conversion completed (AIEN = 0)
0 = Conversion not completed (AIEN = 0)/CPU interrupt (AIEN = 1)
1 = ADC interrupt enabled
0 = ADC interrupt disabled
COCO
$0040
Bit 7
Analog-to-Digital Converter (ADC)
0
AIEN
6
0
ADCO
5
0
ADCH4
4
1
ADCH3
3
1
MC68HC908MR24
ADCH2
Freescale Semiconductor
2
1
ADCH1
1
1
Rev. 4.1
ADCH0
Bit 0
1

Related parts for mc68hc908mr24