English
Language : 

H8S-2633 Datasheet, PDF (1378/1487 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcomputer
Appendix B Internal I/O Register
ADCSR—A/D Control/Status Register
H'FF98
Bit
:
Initial value :
R/W
:
7
ADF
0
R/(W)*
6
ADIE
0
R/W
5
ADST
0
R/W
4
SCAN
0
R/W
3
CH3
0
R/W
2
CH2
0
R/W
1
CH1
0
R/W
0
CH0
0
R/W
Channel select 3
0 AN8 to AN11 set as group 0 analog input
pins, and AN12 to AN15 as group 1
analog input pins.
1 AN0 to AN3 set as group 0 analog input
pins, and AN4 to AN7 set as group 1
analog input pins.
Scan mode
0 Single mode
1 Scan mode
A/D start
0 A/D conversion disabled.
1 (1) Single mode: A/D conversion starts. Automatically cleared
to 0 on completion of conversion on specified channel.
(2) Scan mode: A/D conversion starts. The selected channel
continues to be sequentially converted until this bit is
cleared to 0 by a software, reset, or standby mode is
selected, or module stop mode is selected.
A/D interrupt enable
0 A/D conversion end interrupt (ADI) requests disabled.
1 A/D conversion end interrupt (ADI) requests enabled.
A/D end flag
0 [Clearing conditions]
(1) Writing 0 to the ADF flag after reading ADF=1.
(2) When DTC is started by an ADI interrupt and ADDR is read.
1 [Setting conditions]
(1)Single mode: On completion of A/D conversion.
(2)Scan mode: On completion of conversion of all specified channels.
Channel select 2 to 0
CH3 CH2 CH1 CH0
0
0
0
0
1
1
0
1
1
0
0
1
1
0
1
1
0
0
0
1
1
0
1
1
0
0
1
1
0
1
Single mode
(SCAN= 0)
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
AN8
AN9
AN10
AN11
AN12
AN13
AN14
AN15
Note: * Only 0 can be written to these bits (to clear these flags).
Scan mode
(SCAN= 1)
AN0
AN0, AN1
AN0 to AN2
AN0 to AN3
AN4
AN4, AN5
AN4 to AN6
AN4 to AN7
AN8
AN8, AN9
AN8 to AN10
AN8 to AN11
AN12
AN12, AN13
AN12 to AN14
AN12 to AN15
Rev. 5.00 Mar 28, 2005 page 1316 of 1422
REJ09B0234-0500
A/D