Toshiba TX03 Series Manual page 414

32 bit risc microcontroller
Table of Contents

Advertisement

16.
Analog/Digital Converter (ADC)
16.5
Operation Descriptions
Trigger
Busy flag
<ADBFN>
AD conversion result
(ADREG0)
register0(ADxREG0)
(ADxREG0)
AD conversion result
(ADREG1)
register1(ADxREG1)
(ADxREG1)
Note 1: Delay time from trigger to start of AD conversion.
Note 2: Delay time to the 2nd or after conversion in plural conversions with one trigger.
16.5.3
AD Conversion Monitoring Function
The ADCs have the AD conversion monitoring function. When this function is enabled, an interrupt is gen-
erated when a conversion result matches the specified comparison value.
To enable the monitoring function, set ADCMPCR0<CMP0EN> or ADCMPCR1<CMP1EN> to "1". In
the monitoring function, if the value of AD conversion result register to which the monitoring function is as-
signed corresponds to the comparison condition specified by ADCMPCR0<ADBIG0>, the interrupt
(INTADCPA for ADCMPCR0, INTADCPB for ADCMPCR1) is generated. The comparison is executed at
the timing of storing the conversion result into the register.
Note 1: The AD conversion result store flag <ADR0RF> to <ADR11RF> are not cleared by the comparison function.
Note 2: The comparison function differs from reading the conversion result by software. Therefore, if the next con-
2019-02-06
1st conversion
Delay time
AD conversion time
from trigger
Figure 16-2 Timing chart of AD conversion
Table 16-4 AD conversion time and delay time (SCLK = 40MHz, unit : μs)
Delay time from trig-
ger (Note 1)
AD conversion time
Delay time to the next
conversion (Note2)
version is completed without reading the previous result, the overrun flag <OVR0> to <OVR11> are set.
2nd conversion
Result of 1st conversion
Delay time
to the next
conversion
fsys = 40MHz
Trigger
MIN
TMRB
0.225
Software, Constant
0.25
TMRB, Software,
0.175
Constant
Page 392
TMPM3V6/M3V4
Result of 2nd conversion
AD conversion time
MAX
0.5
0.525
1.85
0.425

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmpm3v6Tmpm3v4

Table of Contents