TMP92CF30
2009-06-12
92CF30-521
AD Mode Control Register 4 (AD Monitor function control)
7 6 5 4 3 2 1 0
bit Symbol
CMEN1 CMEN0 CMP1C
CMP0C
IRQEN1
IRQEN0
CMPINT1 CMPINT0
Read/Write
R/W R
Reset State
0 0 0 0 0 0 0 0
ADMOD4
(12BCH)
Function
AD Monitor
function1
0: Disable
1: Enable
AD Monitor
function0
0: Disable
1: Enable
Generation
condition of
AD monitor
function
interrupt 1
0: less than
1: Greater
than or
Equal
Generation
condition of
AD monitor
function
interrupt 0
0: less than
1: Greater
than or
Equal
AD monitor
function
interrupt 1
0: Disable
1: Enable
(Note)
AD monitor
function
interrupt 0
0: Disable
1: Enable
(Note)
Status of
AD monitor
function
interrupt 1
0: No
generation
1:
Generation
Status of
AD monitor
function
interrupt 0
0: No
generation
1:
Generation
Note: When AD monitor function interrupts generate, it is cleared automatically and it is set to disable condition.
AD Mode Control Register 5 (AD Monitor function control)
7 6 5 4 3 2 1 0
bit Symbol
CM1CH2
CM1CH1
CM1CH0
CM0CH2 CM0CH1 CM0CH0
Read/Write
R/W
R/W
Reset State
0 0 0
0 0 0
ADMOD5
(12BDH)
Function
Select analog channel for AD monitor
function 1
000: AN0 100: AN4
001: AN1 101: AN5
010: AN2 110: Reserved
011: AN3 111: Reserved
Select analog channel for AD monitor
function 0
000: AN0 100: AN4
001: AN1 101: AN5
010: AN2 110: Reserved
011: AN3 111: Reserved
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 (
ADTRG
) for AD conversion, first clear the <HHTRGE> or <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
SYS
was executed. AD is not started 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”).
Figure 3.22.5 AD Conversion Registers
Содержание TLCS-900/H1 Series
Страница 1: ...TOSHIBA Original CMOS 32 Bit Microcontroller TLCS 900 H1 Series TMP92CF30FG Semiconductor Company ...
Страница 650: ...TMP92CF30 2009 06 12 92CF30 648 7 Package Dimensions LQFP176 P 2020 0 40F TOP VIEW BOTTOM VIEW Detail view of A 25 1 A ...
Страница 652: ...TMP92CF30 2009 06 12 92CF30 650 ...