SIM_INTERFACE(arinc429_bus) { void (*send_word)(conf_object_t *bus, uint32 word, int parity_ok); };
Interface to Arinc-429 serial buses.
The send_word function is used by a device to send an Arinc-429 formatted word. The most significant bit (bit 31) is the parity bit, but if the device have checksumming built in, it can set parity_ok to tell the bus to ignore bit 31 of the data.
If the parity bit is already calculated, pass -1 as parity_ok.