<< Click to Display Table of Contents >> How a Called Function Accesses Function Variables |
Idea 1: Jump to labeled code within the eTPU function rather than calling a "C" function outside the eTPU function's scope.
Idea 2: Declare function variables within a structure, create a pointer to the structure within the function, de-referenced to the CPBAR register. The NXP PPA function (Set 1) provides an example of this technique.