How should the host communicate with the eTPU?
There are a few ways:
-
You can pass information through static locals. The host sets these itself, during initialization.
Use the
::ETPUlocationmacro to identify the offset of the static in the function frame. Rather than assigning the value in::ETPUstaticinitwhich comes from the eTPU_C program, simply set your own initial value.For more information on host interface macros, see the product documentation.

New: