How can I use BusTools/1553-API to program full BC, RT, and BM multifunctionality with multiple buffers and interrupts on Linux?

This is a variant of EXAMPLE_BCRTBM2.C that works on Linux. It does not use the EVENT_RECORDER interrupt for the BM (which is a Windows-only feature).

It demonstrates multifunction (BC, RT, BM) operation using interrupts and multiple buffers.

View the comments within the example for a full description. Click the link on the right to download this file.