s908ey8ad4cfjer Freescale Semiconductor, Inc, s908ey8ad4cfjer Datasheet - Page 50

no-image

s908ey8ad4cfjer

Manufacturer Part Number
s908ey8ad4cfjer
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Analog-to-Digital Converter (ADC) Module
AIEN — ADC Interrupt Enable Bit
ADCO — ADC Continuous Conversion Bit
ADCH[4:0] — ADC Channel Select Bits
50
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.
When set, the ADC will convert samples continuously and update the ADR register at the end of each
conversion. Only one conversion is allowed when this bit is cleared. Reset clears the ADCO bit.
ADCH4, ADCH3, ADCH2, ADCH1, and ADCH0 form a 5-bit field which is used to select one of 8 ADC
channels. The ADC channels are detailed in
The ADC subsystem is turned off when the channel select bits are all set to 1. This feature allows for
reduced power consumption for the MCU when the ADC is not used.
The voltage levels supplied from internal reference nodes as specified in
Table 3-1
1 = ADC interrupt enabled
0 = ADC interrupt disabled
1 = Continuous ADC conversion
0 = One ADC conversion
are used to verify the operation of the ADC both in production test and for user applications.
Take care to prevent switching noise from corrupting the analog signal
when simultaneously using a port pin as both an analog and digital input.
Recovery from the disabled state requires one conversion cycle to stabilize.
ADCH4
* If any unused channels are selected, the resulting ADC conversion will be unknown.
** Used for factory testing.
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
ADCH3
MC68HC908EY16 • MC68HC908EY8 Data Sheet, Rev. 10
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
Table 3-1. Mux Channel Select
ADCH2
to
0
0
0
0
1
1
1
1
0
0
0
1
1
1
1
Table
NOTE
NOTE
ADCH1
0
0
1
1
0
0
1
1
0
1
1
0
0
1
1
3-1.
ADCH0
0
1
0
1
0
1
0
1
0
0
1
0
1
0
1
ADC power off
Input Select
Reserved **
Unused *
Unused *
V
V
PTB0
PTB1
PTB2
PTB3
PTB4
PTB5
PTB6
PTB7
REFH
REFL
Freescale Semiconductor

Related parts for s908ey8ad4cfjer