p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 481

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
17.3.2
ADCSR controls A/D converter operation.
Bit
7
6
5
4
3
Bit Name
ADF
ADIE
ADST
SCAN
CKS
A/D Control/Status Register (ADCSR)
Initial
Value
0
0
0
0
0
R/W
R/(W)* A/D End Flag
R/W
R/W
R/W
R/W
Description
A status flag that indicates the end of A/D conversion.
[Setting conditions]
[Clearing conditions]
A/D Interrupt Enable
Enables ADI interrupt by ADF when this bit is set to 1.
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.
Scan Mode
Selects the A/D converter operating mode.
0: Single mode
1: Scan mode
Switch the operating mode when ADST = 0.
Clock Select
Sets A/D conversion time.
0: Conversion time is 266 states (max)
1: Conversion time is 134 states (max)
Switch conversion time while the ADST bit is cleared to 0.
(when the system clock (φ) is 16 MHz or lower)
When A/D conversion ends in single mode
When A/D conversion ends on all channels specified in
scan mode
When 0 is written after reading ADF = 1
When DTC is activated by an ADI interrupt and ADDR is
read
Rev. 1.00 Sep. 21, 2006 Page 443 of 658
Section 17 A/D Converter
REJ09B0310-0100

Related parts for p2125vps20