Ask for External Reference doc
Answers
-
Submitted by pete on Wed, 04/29/2015 - 02:38.
The external read and write blocks let you read and write externally defined data from code outside VisSim, or you can define local C variables and read and write to them. You can also reference TI hardware device registers. This is described in the VisSim Embedded help file and documentation. If you click the Help button you get the following:
Description: The Extern Read block lets you read an external variable from another C code module into the diagram. If, for the Data Type, you choose hardware register, you can enter a hardware peripheral register name and the block output will produce the value of that register when compiled. The Extern Read block only allows built-in C data types. This means, for example, that you would specify the unsigned short data type in the Extern Read block to match a uint16 user-defined data type.
Note that 'mtocBuf' is a predefined vector that is used by the ARM core 'master' to communicate with the C28x 'control' core.
0