T89C5115_08 ATMEL [ATMEL Corporation], T89C5115_08 Datasheet - Page 85

no-image

T89C5115_08

Manufacturer Part Number
T89C5115_08
Description
Low Pin Count 8-bit Microcontroller with A/D Converter and 16 KBytes Flash Memory
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Voltage Conversion
Clock Selection
Figure 40. A/D Converter Clock
ADC Standby Mode
IT ADC management
4128G–8051–02/08
CPU Core Clock Symbol
CLOCK
CPU
The bits SCH0 to SCH2 in ADCON register are used for the analog input channel
selection.
Table 60. Selected Analog input
When the ADCIN is equals to VAREF the ADC converts the signal to 3FFh (full scale). If
the input voltage equals VAGND, the ADC converts it to 000h. Input voltage between
VAREF and VAGND are a straight-line linear conversion. All other voltages will result in
3FFh if greater than VAREF and 000h if less than VAGND.
Note that ADCIN should not exceed VAREF absolute maximum range (See section
“AC-DC”).
The ADC clock is the same as CPU.
The maximum clock frequency is defined in the DC parmeter for A/D converter. A pres-
caler is featured (ADCCLK) to generate the ADC clock from the oscillator frequency.
if PRS = 0 then F
if PRS > 0 then F
When the ADC is not used, it is possible to set it in standby mode by clearing bit ADEN
in ADCON register. In this mode the power dissipation is reduced.
An interrupt end-of-conversion will occurs when the bit ADEOC is activated and the bit
EADC is set. For re-arming the interrupt the bit ADEOC must be cleared by software.
÷
2
SCH2
0
0
0
0
1
1
1
1
ADC
ADC
= F
= F
periph
periph
Prescaler ADCLK
/ 64
/ 2 x PRS
SCH1
0
0
1
1
0
0
1
1
ADC Clock
SCH0
0
1
0
1
0
1
0
1
Converter
A/D
Selected Analog Input
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
85

Related parts for T89C5115_08