Jump to content
Sign in to follow this  
VisSim Forum Archives

Ask for External Reference doc

Recommended Posts

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.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...