US38024-BAG1 Renesas Electronics America, US38024-BAG1 Datasheet - Page 425

no-image

US38024-BAG1

Manufacturer Part Number
US38024-BAG1
Description
DEV EVALUATION KIT H8/38024
Manufacturer
Renesas Electronics America
Series
H8®r
Type
MCUr
Datasheet

Specifications of US38024-BAG1

Contents
2G (Second-generation) Evaluation Board, HEW debugger support, Cable and CD-ROM
For Use With/related Products
H8/38024
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
12.3.3
A/D converter operation modes are shown in table 12.3.
Table 12.3 A/D Converter Operation Modes
Operation
Mode
AMR
ADSR
ADRRH
ADRRL
Note: * Undefined in a power-on reset.
12.4
When A/D conversion ends (ADSF changes from 1 to 0), bit IRRAD in interrupt request register 2
(IRR2) is set to 1.
A/D conversion end interrupts can be enabled or disabled by means of bit IENAD in interrupt
enable register 2 (IENR2).
For further details see section 3.3, Interrupts.
12.5
An example of how the A/D converter can be used is given below, using channel 1 (pin AN1) as
the analog input channel. Figure 12.3 shows the operation timing.
1. Bits CH3 to CH0 of the A/D mode register (AMR) are set to 0101, making pin AN
2. When A/D conversion is complete, bit IRRAD is set to 1, and the A/D conversion result is
3. Bit IENAD = 1, so an A/D conversion end interrupt is requested.
4. The A/D interrupt handling routine starts.
5. The A/D conversion result is read and processed.
6. The A/D interrupt handling routine ends.
input channel. A/D interrupts are enabled by setting bit IENAD to 1, and A/D conversion is
started by setting bit ADSF to 1.
stored in ADRRH and ADRRL. At the same time ADSF is cleared to 0, and the A/D converter
goes to the idle state.
A/D Converter Operation Modes
Interrupts
Typical Use
Reset
Reset
Reset
Retained * Functions Functions Retained Retained Retained Retained Retained
Retained * Functions Functions Retained Retained Retained Retained Retained
Active
Functions Functions Retained Retained Retained Retained Retained
Functions Functions Retained Retained Retained Retained Retained
Sleep
Watch
Rev. 8.00 Mar. 09, 2010 Page 403 of 658
Sub-
active
Sub-
sleep
Section 12 A/D Converter
REJ09B0042-0800
Standby
1
the analog
Module
Standby

Related parts for US38024-BAG1