Repeat 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

(2) Repeat Mode

In this mode, the input voltage on one selected pin is A-D converted repeatedly. Table 1.16.3 lists the
specifications of repeat mode. Figure 1.16.5 shows the ADCON0 and ADCON1 registers in repeat mode.
Table 1.16.3 Repeat 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 Set the ADST bit to "0" (A-D conversion halted)
Interrupt request generation timing None generated
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 188
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 repeatedly.
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)
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