Program Interface Library Utility Routines – Summary
CEI-100/CEI-200/CEI-x20 User’s Manual 64
ar_init_dual_port() Initializes all ARINC queue structures, buffers
and word counts. Calls ar_reset(), flushes all data
words and clears scheduled mode setup
ar_init_slave() Initializes data structures on host and ARINC
interface
ar_int_control() Enables or disables interrupts from slave
ar_int_set() Sets the interrupt number used to interrupt the
host (CEI-220/420 only)
ar_int_slave() Interrupt the slave.
ar_label_filter() Initializes label filter(s)
ar_loadslv() Loads and initializes an ARINC interface
ar_modify_msg() Modifies the data in a scheduled message
ar_msg_control() Selects transmission logic – scheduled or burst
mode
ar_num_rchans() Get the number of receive channels
ar_num_xchans() Get the number of transmit channels
ar_putblock() Puts multiple ARINC words into a channels
transmit buffer (CEI-520/520A/620/820/820TX-
enhanced interface only)
ar_putfilter() Sets the entire filter buffer for an ARINC receiver
channel (CEI-520/520A/620/820/820TX-
enhanced interface only)
ar_putword() Puts an ARINC word in the transmit buffer
ar_putword2x16() Put 2 16-bit words into the burst transmit queue
ar_recreate_parity() Recreate the parity bit for a received word
ar_reformat() Converts output word to transmit format. Only
needed for CEI-100/200 boards.
ar_reset() Stops the interface from processing ARINC data
ar_reset_int() Resets interrupt received from ARINC board
ar_reset_timercnt() Resets the counter that registers the number of
timer ticks on the interface
ar_set_config() Sets ARINC configuration information
ar_set_control() Function removed. See AR_SETCHPARMS()
for a superior replacement function.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com