Rainbow-electronics T89C51CC01 Bedienungsanleitung Seite 121

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 149
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 120
121
T89C51CC01
Rev. D – 17-Dec-01
set, an interrupt occur when flag ADEOC is set (see Figure 49). Clear this flag for re-
arming the interrupt.
ThebitsSCH0toSCH2inADCONregisterareusedfortheanaloginputchannel
selection.
Table 86. Selected Analog input
17.4 Voltage Conversion 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”)
17.5 Clock Selection The ADC clock is the same as CPU.
The maximum clock frequency for ADC is 700KHz. A prescaler is featured (ADCCLK) to
generate the ADC clock from the oscillator frequency.
Figure 48. A/D Converter clock
SCH2 SCH1 SCH0 Selected Analog input
000AN0
001AN1
010AN2
011AN3
100AN4
101AN5
110AN6
111AN7
Prescaler ADCLK
A/D
Converter
ADC Clock
CPU
CLOCK
CPU Core Clock Symbol
÷ 2
Seitenansicht 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 148 149

Kommentare zu diesen Handbüchern

Keine Kommentare