A/D Control/Status Register (Adcsr) - Renesas H8S Series Hardware Manual

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

Advertisement

19.3.2

A/D Control/Status Register (ADCSR)

ADCSR controls A/D converter operation.
Bit
Bit Name Initial Value
7
ADF
0
6
ADIE
0
5
ADST
0
4
SCAN
0
3
CKS
0
R/W
Description
R/(W)*
A/D End Flag
A status flag that indicates the end of A/D conversion.
[Setting conditions]
When A/D conversion ends in single mode
When A/D conversion ends on all channels
specified in scan mode
[Clearing conditions]
When 0 is written after reading ADF = 1
When DTC is activated by an ADI interrupt and
ADDR is read
R/W
A/D Interrupt Enable
Enables ADI interrupt by ADF when this bit is set to 1.
R/W
A/D Start
Setting this bit to 1 starts A/D conversion. In single
mode, this bit is cleared to 0 automatically when
conversion on the specified channel ends. In scan
mode, conversion continues sequentially on the
specified channels until this bit is cleared to 0 by
software, a reset, or a transition to standby mode or
module stop mode.
R/W
Scan Mode
Selects the A/D converter operating mode.
0: Single mode
1: Scan mode
Switch the operating mode when ADST = 0.
R/W
Clock Select
Sets A/D conversion time.
0: Conversion time is 266 states (max)
1: Conversion time is 134 states (max)
(when the system clock (φ) is 16 MHz or lower)
Switch conversion time while the ADST bit is cleared
to 0.
Section 19 A/D Converter
Rev. 3.00 Jul. 14, 2005 Page 721 of 986
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents