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 #86 background imageLoading...
Page #86 background image
Instrumentation APIs
3-24
3.5.3.3 Statistics About Value Differences
Both STS_set and STS_delta update the contents of the previous value field
in an STS object. Depending on the call sequence, you can measure specific
value differences or the value difference since the last STS update. Example
3-1 shows code for gathering information about differences between specific
values. Figure 3-3 shows current values when measuring differences from
the base value.
Example 3-1. Gathering Information About Differences in Values
Figure 3-3. Current Value Deltas From One STS_set
STS_set(&sts, targetValue); /* T
0
*/
"processing"
STS_delta(&sts, currentValue); /* T
1
*/
"processing"
STS_delta(&sts, currentValue); /* T
2
*/
"processing"
STS_delta(&sts, currentValue); /* T
3
*/
"processing"
Time T
T
1
T
2
T
0
T
3
Previous value
Delta
Current Value x
Dx
3
Dx
2
Dx
1
Current value

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