How can I use RT interrupts to detect when new data is received from one subaddress using BusTools/1553-API?
This is a basic example program that sets up a simple RT Simulation. Simulates RT1 with two subaddresses, SA1 RECEIVE and SA2 TRANSMIT.
This program uses INTERRUPT EVENTS to detect when RT1 SA1 has received new data. It then processes this data and writes it to a transmit subaddress. This demonstrates using receive data to derive transmit data.
This example is a variant of "Example_rt2.c". Click the link on the right to download this file.