One-Shot Mode - Renesas R8C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for R8C Series:
Table of Contents

Advertisement

R8C/1A Group, R8C/1B Group
17.1

One-Shot Mode

In one-shot mode, the input voltage of one selected pin is A/D converted once. Table 17.2 lists the One-Shot Mode
Specifications. Figure 17.4 shows Registers ADCON0 and ADCON1 in One-shot Mode.
Table 17.2
One-Shot Mode Specifications
Item
Function
Start conditions
Stop conditions
Interrupt request generation
timing
Input pin
Reading of A/D conversion
result
Rev.1.30
Dec 08, 2006
REJ09B0252-0130
The input voltage of one pin selected by bits CH2 to CH0 is A/D converted
once.
• When the ADCAP bit is set to 0 (software trigger),
set the ADST bit to 1 (A/D conversion starts).
• When the ADCAP bit is set to 1 (capture),
timer Z interrupt request is generated while the ADST bit is set to 1.
• A/D conversion completes (when the ADCAP bit is set to 0 (software
trigger) ADST bit is set to 0).
• Set the ADST bit to 0.
A/D conversion completes.
Select one of AN8 to AN11.
Read AD register.
Page 236 of 315
Specification
17. A/D Converter

Advertisement

Table of Contents
loading

Table of Contents