Section 15 A/D Converter
Rev. 3.00 Mar. 14, 2006 Page 553 of 804
REJ09B0104-0300
15.3.2
A/D Control/Status Register (ADCSR)
ADCSR controls A/D conversion operations.
7
ADF
0
R/(W)
*
6
ADIE
0
R/W
5
ADST
0
R/W
4
—
0
R
3
CH3
0
R/W
2
CH2
0
R/W
1
CH1
0
R/W
0
CH0
0
R/W
Bit
Bit Name
Initial Value
R/W
Note:
*
Only 0 can be written to this bit, to clear the flag.
Bit Bit
Name
Initial
Value R/W Description
7 ADF 0 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 specified channels
in scan mode
[Clearing conditions]
•
When 0 is written after reading ADF = 1
(When the CPU is used to clear this flag by writing 0
while the corresponding interrupt is enabled, be sure
to read the flag after writing 0 to it.)
•
When the DMAC is activated by an ADI interrupt and
ADDR is read
6
ADIE
0
R/W
A/D Interrupt Enable
When this bit is set to 1, ADI interrupts by ADF are
enabled.
5 ADST
0 R/W
A/D
Start
Clearing this bit to 0 stops A/D conversion, and the A/D
converter enters wait state.
Setting this bit to 1 starts A/D conversion. In single mode,
this bit is cleared to 0 automatically when A/D conversion
on the specified channel ends. In scan mode, A/D
conversion continues sequentially on the specified
channels until this bit is cleared to 0 by software or a
reset.
4
0 R
Reserved
This is a read-only bit and cannot be modified.
electronic components distributor
Содержание H8SX series
Страница 2: ...Rev 3 00 Mar 14 2006 Page ii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 22: ...Rev 3 00 Mar 14 2006 Page xxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 32: ...Rev 3 00 Mar 14 2006 Page xxxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 38: ...Rev 3 00 Mar 14 2006 Page xxxviii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 845: ...Downloaded from Elcodis com electronic components distributor...
Страница 846: ...H8SX 1520 Group Hardware Manual Downloaded from Elcodis com electronic components distributor...