Renesas M16C/6NK Technical Information Seite 238

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 412
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 237
Rev.2.10 Apr 14, 2006 page 214 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 16. A/D Converter
Item Specification
Function The input voltages on all pins selected by bits ADGSEL1 to ADGSEL0 in
the ADCON2 register are A/D converted repeatedly, with priority given to
pins selected by bits SCAN1 to SCAN0 in the ADCON1 register and bits
ADGSEL1 to ADGSEL0.
Example : If AN0 selected, input voltages are A/D converted in order of
AN0 AN1 AN0 AN2 AN0 AN3, and so on.
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 Set the ADST bit to 0 (A/D conversion halted)
stop condition
Interrupt request None generated
generation timing
Analog input pins to be given
Select from AN0 (1 pin), AN0 to AN1 (2 pins), AN0 to AN2 (3 pins),
priority when A/D converted
AN0 to AN3 (4 pins)
(1)
Reading of result of Read one of registers AD0 to AD7 that corresponds to the selected pin
A/D converter
NOTE:
1. AN0_0 to AN0_7, and AN2_0 to AN2_7 can be used in the same way as AN0 to AN7.
16.1.5 Repeat Sweep Mode 1
In repeat sweep mode 1, analog voltage selectively applied to all pins is repeatedly converted to a digital code.
Table 16.6 lists the Repeat Sweep Mode 1 Specifications. Figure 16.8 shows Registers ADCON0 and
ADCON1 in Repeat Sweep Mode 1.
Table 16.6 Repeat Sweep Mode 1 Specifications
Seitenansicht 237
1 2 ... 233 234 235 236 237 238 239 240 241 242 243 ... 411 412

Kommentare zu diesen Handbüchern

Keine Kommentare