TC1784
Analog to Digital Converter (ADC)
User´s Manual
23-52
V1.1, 2011-05
ADC, V1.3
•
If SW writes data to register CRPRx, the written data is stored in register CRCRx and
a load event is generated automatically. This mechanism starts a scan sequence with
the channels defined by the written data (the sequence is defined and started with a
single data write action, e.g. under DMA control).
•
A load event is generated each time a scan sequence has finished and the request
source event occurs if bit CRMRx.SCAN = 1. This setting leads to a permanent
repetition of the scan sequence.
To
stop or abort an ongoing scan sequence
, the following mechanisms are
supported:
•
An external gating signal can be selected to stop and to continue a scan sequence
at any point in time controlled by an external module or signal, e.g. a timer unit or an
input pin. The gating feature can be enabled and the polarity of the gating signal
REQGTx can be selected by CRMRx.ENGT. The gating mechanism does not modify
the contents of the conversion pending bits, but only prevents the request handling
block from issuing conversion requests to the arbiter.
•
The arbiter can be disabled by SW for this arbiter slot by clearing the corresponding
bit
.ASENx. This mechanism does not modify the contents of the conversion
pending bits, but only prevents the arbiter from accepting requests from the request
handling block.
•
The pending request bits can be cleared by writing bit CRMRx.CLRPND = 1. It is
recommended to stop the scan sequence before clearing the pending bits.
23.2.9.3 Request Source Event and Interrupt
A request source event of a scan source occurs if the last conversion of a scan sequence
is finished (all pending bits = 0). A request source event interrupt can be generated
based on a request source event according to the structure shown in
. If a
request source event is detected, it sets the corresponding indication flag in register
. These flags can also be set by writing a 1 to the corresponding bit position,
whereas writing 0 has no effect. Additionally, a gated event flag
that a request source interrupt has been activated. The indication flags can be cleared
by SW by writing a 1 to the corresponding bit position in register
The service request output ADCy_SRx that is selected by the request source event
interrupt node pointer bit fields in register
becomes activated each time the
related request source event is detected and the interrupt generation is enabled for this
event in registers
(for request source 3).
A service request output can be activated under SW control by writing
.SISRx.
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...