Toshiba H1 Series Data Book page 602

32bit micro controller tlcs-900/h1 series
Table of Contents

Advertisement

bit Symbol
ADMOD4
(12BCH)
Read/Write
After reset
AD Monitor
Function
function1
0: Disable
1: Enable
Note: When AD monitor function interrupts generate, it is cleared automatically and it is set to
disable condition.
bit Symbol
ADMOD5
(12BDH)
Read/Write
After reset
Function
Note1: When converting AD in hard ware trigger by setting <HHTRGE> and <HTRGE>to "1", set
PGFC<PG3F> to "1" (as ADTRG) in case of external TRG before enabling it. When using
an INTTBx0 of 16-bit timer, first set the <TSEL1:0> or <HTSEL1:0> bit to "00" when the
timer is not operating. Then, set the <HHTRGE> and <HTRGE> to "1" and enable trigger
operation. Finally, operate the timer so that AD conversion will be initiated at constant
intervals.
Note 2: When disabling an external trigger (
<HTRGE> bit to "0", and clear the PGFC<PG3F> to "0", thus configuring port G as a
general-purpose port.
Note 3: When starting AD by using external trigger (ADTRG), it can be started after enabling
(<HHTRGE> = "1" or <HTRGE> = "1") and 3 clock at f
when before that time.
Note 4: When chaging compare register value of AD Monitor function, change it after setting AD
Monitor function to disable(ADMOD4<CMEN1:0>="0").
AD Mode Control Register 4 (AD Monitor function control)
7
6
5
CMEN1
CMEN0
CMP1C
R/W
R/W
0
0
0
AD Monitor
Generation
function0
condition of
0: Disable
AD monitor
1: Enable
function
interrupt 1
0: less than
1: Greater
than or Equal
AD Mode Control Register 5 (AD Monitor function control)
7
6
5
CMCH2
CM1CH1
R/W
0
0
Select analog channel for AD monitor function 1
000: AIN0
100: AN4
001: AIN1
101: AN5
010: AIN2
110: Reserved
011: AN3
111: Reserved
Figure 3.23.5 AD Conversion Registers
92CZ26A-599
4
3
CMP0C
IRQEN1
IRQEN0
R/W
0
0
Generation
AD monitor
AD monitor
condition of
function
function
AD monitor
interrupt 1
interrupt 0
function
0: Disable
0: Disable
interrupt 0
1: Enable
1: Enable
0: less than
(Note)
(Note)
1: Greater
than or Equal
4
3
CM1CH0
CM0CH2
0
Select analog channel for AD monitor function 0
000: AIN0
001: AIN1
010: AIN2
011: AN3
) for AD conversion, first clear the <HHTRGE> or
ADTRG
was executed. AD is not started
SYS
TMP92CZ26A
2
1
0
CMPINT1
CMPINT0
R
R
0
0
0
Status of
Status of
AD monitor
AD monitor
function
function
interrupt 1
interrupt 0
0: No
0: No
generation
generation
1: Generation
1: Generation
2
1
0
CM0CH1
CM0CH0
R/W
0
0
0
100: AN4
101: AN5
110: Reserved
111: Reserved

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tlcs-900Tmp92cz26axbg

Table of Contents