|
IP-708 Driver Documentation |
![]() |
Driver Initialization and Clean-up Functions | |
| Ip708Hdl | ip708_open (IpCarrierHdl ipCarrierHdl, int ipSlotNo, void(*rxIntHandlerFunc)(), void(*txIntHandlerFunc)()) |
| Opens access to a Condor IP-708 module. | |
| void | ip708_close (Ip708Hdl ipModuleHdl) |
| Closes access to the IP module and releases associated resources. | |
| uint16_t | ip708_getStatus (Ip708Hdl ipModuleHdl) |
| Return the contents of the IP-708 status register. | |
Transmit Functions | |
| void | ip708_putFrame (Ip708Hdl ipModuleHdl, uint16_t *frameBufPtr) |
| Puts an ARINC 708 frame to the transmit buffer. | |
| void | ip708_enableTx (Ip708Hdl ipModuleHdl, bool enabled) |
| Enables or disables the transmitter. | |
| int | ip708_getTxFrameCnt (Ip708Hdl ipModuleHdl) |
| Return the current number of ARINC 708 frames contained in the transmit buffer. | |
| void | ip708_resetTx (Ip708Hdl ipModuleHdl) |
| Reset the transmitter. | |
| bool | ip708_txIntPending (Ip708Hdl ipModuleHdl) |
| Check if a transmit interrupt is pending and clears the interrupt. | |
| void | ip708_txIntEnable (Ip708Hdl ipModuleHdl) |
| Enables transmit interrupt. | |
| void | ip708_txIntDisable (Ip708Hdl ipModuleHdl) |
| Disables transmit interrupt. | |
Receive Functions | |
| int | ip708_getFrame (Ip708Hdl ipModuleHdl, uint16_t *frameBufPtr) |
| Reads an ARINC 708 frame from the receive buffer. | |
| void | ip708_enableRx (Ip708Hdl ipModuleHdl, bool enabled) |
| Enables or disables the receiver. | |
| int | ip708_getRxFrameCnt (Ip708Hdl ipModuleHdl) |
| Return the current number of frames contained in the receive buffer. | |
| void | ip708_resetRx (Ip708Hdl ipModuleHdl) |
| Reset the IP-708 receiver. | |
| bool | ip708_rxIntPending (Ip708Hdl ipModuleHdl) |
| Check if a receive interrupt is pending and clears the interrupt. | |
| void | ip708_rxIntEnable (Ip708Hdl ipModuleHdl) |
| Enables receive interrupt. | |
| void | ip708_rxIntDisable (Ip708Hdl ipModuleHdl) |
| Disables receive interrupt. | |
Channel configuration Functions | |
| void | ip708_setConfig (Ip708Hdl ipModuleHdl, int option, int value) |
| Configures channels. | |
Test and Compare Functions | |
| int | ip708_framesDiff (uint16_t *frame1Ptr, uint16_t *frame2Ptr) |
| Compare two ARINC 708 data frames. | |
| void | ip708_makeFrame (uint16_t frameBase, uint16_t *frameBufPtr) |
| Create test frames. | |
| bool | ip708_testRam (Ip708Hdl ipModuleHdl) |
| RAM test of the IP-708 RAM. | |
|
||||||||||||||||||||
|
Opens access to a Condor IP-708 module.
|
|
||||||||||||
|
Puts an ARINC 708 frame to the transmit buffer. The first four data words correspond to the 64-bit control word defined in the ARINC 708 protocol. The following 1536 bits are partitioned into 15-bit words representing 5 range bins (3 bit data portions) per word.
|
|
||||||||||||
|
Reads an ARINC 708 frame from the receive buffer. The first four data words correspond to the 64-bit control word defined in the ARINC 708 protocol. The following 1536 bits are partitioned into 15-bit words representing 5 range bins (3 bit data portions) per word. The last data word of a frame contains two error status bits (the 2 MSBs). If either of these are set an error has occured.
|
|
||||||||||||||||
|
Configures channels.
|
|
||||||||||||
|
Compare two ARINC 708 data frames.
|
|
|
Closes access to the IP module and releases associated resources.
|
|
|
Return the contents of the IP-708 status register.
|
|
||||||||||||
|
Enables or disables the transmitter.
|
|
|
Return the current number of ARINC 708 frames contained in the transmit buffer.
|
|
|
Reset the transmitter.
|
|
|
Check if a transmit interrupt is pending and clears the interrupt.
|
|
|
Enables transmit interrupt. Transmit interrupts must be cleared by the interrupt handler (ISR) using the following call ip708_writeCtrlReg(ipModuleHdl, RCTRL_TXICLR, true) or using the ip708_txIntPending(ipModuleHdl) function.
|
|
|
Disables transmit interrupt.
|
|
||||||||||||
|
Enables or disables the receiver.
|
|
|
Return the current number of frames contained in the receive buffer.
|
|
|
Reset the IP-708 receiver.
|
|
|
Check if a receive interrupt is pending and clears the interrupt.
|
|
|
Enables receive interrupt. Receive interrupts must be cleared by the interrupt handler (ISR) using the following call ip708_writeCtrlReg(ipModuleHdl, RCTRL_RXICLR, true) or using the ip708_rxIntPending(ipModuleHdl) function.
|
|
|
Disables receive interrupt.
|
|
||||||||||||
|
Create test frames.
|
|
|
RAM test of the IP-708 RAM.
|
|
Developed by FOCUS Software Engineering Pty Ltd, Australia.
<www.focus-sw.com> Last updated: 28 Apr 2003 |