Repeat Sweep Mode 0 - 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

(4) Repeat Sweep Mode 0

In this mode, the input voltages on selected pins are A-D converted repeatedly. Table 1.16.5 lists the
specifications of repeat sweep mode 0. Figure 1.16.7 shows the ADCON0 and ADCON1 registers in
repeat sweep mode 0.
Table 1.16.5 Repeat Sweep Mode 0 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
Note: AN
to AN
, and AN
00
07
Rev.1.00
2003.05.30
page 192
The input voltages on pins selected by the ADCON1 register's SCAN1 to
SCAN0 bits and ADCON2 register's ADGSEL1 to ADGSEL0 bits are 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 from AN
to AN
0
1
to AN
(8 pins) (Note)
7
to AN
can be used in the same way as AN
20
27
Specification
___________
trigger)
TRG
(2 pins), AN
to AN
(4 pins), AN
0
3
to AN
0
A-D Converter
to AN
(6 pins), AN
0
5
0
.
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents