EasyManuals Logo

Texas Instruments TMS320 User Manual

Texas Instruments TMS320
288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #96 background imageLoading...
Page #96 background image
Implicit DSP/BIOS Instrumentation
3-34
Figure 3-7. Calculating Used Stack Depth
3.6.3 Monitoring Variables
In addition to counting hardware interrupt occurrences and monitoring the
stack pointer, you can monitor any register or data value each time a
hardware interrupt is triggered.
This implicit instrumentation can be enabled for any HWI object. Such
monitoring is not enabled by default. The performance of your interrupt
processing is not affected unless you enable this type of instrumentation in
the configuration. The statistics object is updated each time hardware
interrupt processing begins. Updating such a statistics object consumes
between 20 and 30 instructions per interrupt for each interrupt monitored.
Configured Stack
free
Low
Address
GBL_stackbeg
GBL_stackend
SP
Used
Stack
used stack depth = {GBL_stackend - min(SP)}
STS_add(--*addr) = min(SP)
High
Address

Table of Contents

Other manuals for Texas Instruments TMS320

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320 and is the answer not in the manual?

Texas Instruments TMS320 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320
CategoryComputer Hardware
LanguageEnglish

Related product manuals