![Texas Instruments AM1808 Скачать руководство пользователя страница 659](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_1094558659.webp)
Registers
659
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced Direct Memory Access (EDMA3) Controller
17.4.2.2.5 EDMA3CC Error Register (CCERR)
The EDMA3CC error register (CCERR) indicates whether or not at any instant of time the number of
events queued up in any of the event queues exceeds or equals the threshold/watermark value that is set
in the queue watermark threshold register (QWMTHRA). Additionally, CCERR also indicates if when the
number of outstanding TRs that have been programmed to return transfer completion code (TRs that have
the TCINTEN or TCCHEN bit in OPT set to 1) to the EDMA3CC has exceeded the maximum allowed
value of 31. If any bit in CCERR is set (and all errors, including bits in other error registers (EMR or
QEMR) were previously cleared), the EDMA3CC generates an error interrupt. See
for
details on EDMA3CC error interrupt generation. Once the error bits are set in CCERR, they can only be
cleared by writing to the corresponding bits in the EDMA3CC error clear register (CCERRCLR).
The CCERR is shown in
and described in
Figure 17-52. EDMA3CC Error Register (CCERR)
31
17
16
Reserved
TCCERR
R-0
R-0
15
2
1
0
Reserved
QTHRXCD1
QTHRXCD0
R-0
R-0
R-0
LEGEND: R = Read only; -
n
= value after reset
Table 17-34. EDMA3CC Error Register (CCERR) Field Descriptions
Bit
Field
Value
Description
31-17
Reserved
0
Reserved
16
TCCERR
Transfer completion code error. TCCERR is cleared by writing a 1 to the corresponding bit in the
EDMA3CC error clear register (CCERRCLR).
0
Total number of allowed TCCs outstanding has not been reached.
1
Total number of allowed TCCs has been reached.
15-2
Reserved
0
Reserved
1
QTHRXCD1
Queue threshold error for queue 1. QTHRXCD1 is cleared by writing a 1 to the corresponding bit in the
EDMA3CC error clear register (CCERRCLR).
0
Watermark/threshold has not been exceeded.
1
Watermark/threshold has been exceeded.
0
QTHRXCD0
Queue threshold error for queue 0. QTHRXCD0 is cleared by writing a 1 to the corresponding bit in the
EDMA3CC error clear register (CCERRCLR).
0
Watermark/threshold has not been exceeded.
1
Watermark/threshold has been exceeded.