A/D Control Register (Adcr) - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

Bit
Bit Name
2
CH2
1
CH1
0
CH0
Note:
*
Only 0 can be written for clearing the flag.
16.3.3

A/D Control Register (ADCR)

ADCR enables A/D conversion started by an external trigger signal.
Bit
Bit Name
7
TRGS1
6
TRGS0
5 to 0
Rev. 1.00, 05/04, page 418 of 544
Initial
Value
R/W
0
R/W
0
R/W
0
R/W
Initial
Value
R/W
0
R/W
0
R/W
All 1
R
Description
Channel Select 2 to 0
Select analog input channels. The input channel setting
must be made when conversion is halted (ADST = 0).
When SCAN = 0:
000: AN0
001: AN1
010: AN2
011: AN3
100: AN4
101: AN5
110: Setting prohibited
111: Setting prohibited
Description
Timer Trigger Select 1 and 0
Enable the start of A/D conversion by a trigger signal.
Only set bits TRGS1 and TRGS0 when conversion is
halted (ADST = 0).
00: A/D conversion start by external trigger is disabled
01: A/D conversion start by external trigger is disabled
10: A/D conversion start by conversion trigger from
TMR is enabled
11: A/D conversion start by ADTRG pin is enabled
Reserved
These bits are always read as 1 and cannot be
modified.
When SCAN = 1:
000: AN0
001: AN0 and AN1
010: AN0 to AN2
011: AN0 to AN3
100: AN4
101: AN4 and AN5
110: Setting prohibited
111: Setting prohibited

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents