Renesas M16C/6NK Technical Information Seite 230

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 412
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 229
Rev.2.10 Apr 14, 2006 page 206 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 16. A/D Converter
Item Specification
Function Bits CH2 to CH0 in the ADCON0 register, bits ADGSEL1 to ADGSEL0 in
the ADCON2 register, and bits OPA1 to OPA0 in the ADCON1 register select
a pin Analog voltage applied to the pin is converted to a digital code once.
A/D conversion When the TRG bit in the ADCON0 register is 0 (software trigger)
start condition The ADST bit in the ADCON0 register is set to 1 (A/D conversion starts)
_____________
When the TRG bit is 1 (ADTRG trigger)
_____________
Input on the ADTRG pin changes state from high to low after the ADST
bit is set to 1 (A/D conversion starts)
A/D conversion Completion of A/D conversion (If a software trigger is selected, the ADST
stop condition bit is set to 0 (A/D conversion halted).)
Set the ADST bit to 0
Interrupt request Completion of A/D conversion
generation timing
Analog input pin Select one pin from AN0 to AN7, AN0_0 to AN0_7, AN2_0 to AN2_7,
ANEX0 to ANEX1
Reading of result of Read one of registers AD0 to AD7 that corresponds to the selected pin
A/D converter
16.1 Mode Description
16.1.1 One-shot Mode
In one-shot mode, analog voltage applied to a selected pin is converted to a digital code once.
Table 16.2 lists the One-shot Mode Specifications. Figure 16.4 shows Registers ADCON0 and ADCON1 in
One-shot Mode.
Table 16.2 One-shot Mode Specifications
Seitenansicht 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 411 412

Kommentare zu diesen Handbüchern

Keine Kommentare