How can I program an RT with wrapped subaddresses using BusTools/1553-API?

This is a basic example program that sets up a simple RT simulation. It simulates RT1.

The purpose of this example is to demonstrate wrapped subaddresses, where data sent to SA X Receive is echoed back from SA X Transmit.

When you enable an RT with BusTools_RT_AbufWrite, all subaddresses default to a "wrapped" state. For those subaddresses that you do not want wrapped, define buffers with BusTools_RT_CbufWrite.

This program brings up RT1 with all subaddresses wrapped.

Download this example by clicking the attachments link on the right.