One-Shot Mode - Renesas M16C/60 Series Hardware Manual

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group

(1) One-shot Mode

In this mode, the input voltage on one selected pin is A-D converted once. Table 1.16.2 lists the specifications
of one-shot mode. Figure 1.16.4 shows the ADCON0 and ADCON1 registers in one-shot mode.
Table 1.16.2 One-shot Mode Specifications
Item
Function
A-D conversion start condition • When the ADCON0 register's TRG bit is "0" (software trigger)
A-D conversion stop condition • Completion of A-D conversion (If a software trigger is selected, the ADST bit
Interrupt request generation timing Completion of A-D conversion
Analog input pin
Reading of result of A-D converter Read one of the AD0 to AD7 registers that corresponds to the selected pin
Rev.1.00
2003.05.30
page 186
The input voltage on one pin selected by the ADCON0 register's CH2 to CH0
bits and ADCON2 register's ADGSEL1 to ADGSEL0 bits or the ADCON1
register's OPA1 to OPA0 bits is A-D converted once.
The ADCON0 register's ADST bit is set to "1" (A-D conversion starts)
• When the TRG bit is "1" (AD
_________
Input on the AD
pin changes state from high to low after the ADST bit is
TRG
set to "1" (A-D conversion starts)
is set to "0" (A-D conversion halted).)
• Set the ADST bit to "0"
Select one pin from AN
to AN
0
Specification
_________
trigger)
TRG
, AN
to AN
, AN
to AN
7
00
07
20
A-D Converter
, ANEX0 to ANEX1
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents