TC1784
Analog to Digital Converter (ADC)
User´s Manual
23-79
V1.1, 2011-05
ADC, V1.3
Bit field LCC in the channel control register defines the condition to generate a channel
event, leading to a channel event interrupt:
•
LCC = 000
B
: No trigger, the channel event generation is disabled.
•
LCC = 001
B
: A channel event is generated if the conversion result is not in area I.
•
LCC = 010
B
: A channel event is generated if the conversion result is not in area II.
•
LCC = 011
B
: A channel event is generated if the conversion result is not in area III.
•
LCC = 100
B
: A channel event is always generated (regardless of the boundaries).
•
LCC = 101
B
: A channel event is generated if the conversion result is in area I.
•
LCC = 110
B
: A channel event is generated if the conversion result is in area II.
•
LCC = 111
B
: A channel event is generated if the conversion result is in area III.
shows an example for limit checking where channel events are generated
only if the conversion results are not in the normal operating range defined by area II
(LCC = 010
B
).
Typical applications for limit checking are temperature monitoring or overcurrent
sensing. As long as the measured temperature value is below a boundary value, the
CPU does not need to be informed. In this case, a channel event should be generated
only if the conversion result is in area III (LCC = 111
B
) to indicate an over-temperature
condition. If the conversion of the analog temperature input signal is part of an auto-scan
sequence autonomously triggered on a regular time base, the CPU load for the
temperature monitoring is zero until the over-temperature condition is detected.
Figure 23-15 Limit Checking
Note: It is also possible to select the same boundary register for boundaries A and B. In
this case, the conversion result range is split into two ranges (area II is empty).
ADC_limit_check
2 -1
co
n
v
e
rsi
o
n
r
e
su
lt
r
a
n
g
e
fo
r
n bi
t r
e
s
o
lu
tion
n
0
boundary B
boundary A
area I
area II
area III
conversion results without
channel events
conversion results with
channel events
conversion results with
channel events
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...