|
IPM429 Driver Documentation |
![]() |
Include dependency graph for ipm429.h:

Typedefs | |
| typedef Ipm429Descriptor * | Ipm429Hdl |
| Handle for accessing the IPM429 module. | |
Enumerations | |
| enum | Ipm429BitRate { IPM429_12_5_KBIT = 0x09F, IPM429_100_KBIT = 0x013, IPM429_125_KBIT = 0x00F } |
| Bit rate constants. More... | |
| enum | Ipm429ConfigOptions { IPM429_CFG_DISABLE, IPM429_CFG_ENABLE, IPM429_CFG_LOW_RATE, IPM429_CFG_HI_RATE, IPM429_CFG_NO_PARITY, IPM429_CFG_PARITY, IPM429_CFG_EVEN_PARITY, IPM429_CFG_ODD_PARITY, IPM429_CFG_25_BIT, IPM429_CFG_32_BIT, IPM429_CFG_GAP_4, IPM429_CFG_GAP_REG, IPM429_CFG_EXTERNAL, IPM429_CFG_LOOPBACK, IPM429_INT_DISABLE, IPM429_INT_ENABLE } |
| Channel Configuration Options. More... | |
| enum | |
Functions | |
| Ipm429Hdl | ipm429_open (IpCarrierHdl ipCarrierHdl, int ipSlotNo, void(*intHandlerFunc)()) |
| Opens access to a Max Technologies ARINC 429/419/575 IPM429 module. | |
| void | ipm429_close (Ipm429Hdl ipModuleHdl) |
| Closes access to the IP module and releases associated resources. | |
| void | ipm429_sendNow (Ipm429Hdl ipModuleHdl, int channel, uint32_t arincWord) |
| Sends an ARINC word immediately. | |
| void | ipm429_sendScheduled (Ipm429Hdl ipModuleHdl, int channel, uint32_t arincWord, uint16_t timeTag) |
| Sends an ARINC word time scheduled. | |
| void | ipm429_txEnable (Ipm429Hdl ipModuleHdl, int channel) |
| Enables transmitter channel. | |
| void | ipm429_txDisable (Ipm429Hdl ipModuleHdl, int channel) |
| Disables transmitter. | |
| bool | ipm429_txIsEnabled (Ipm429Hdl ipModuleHdl, int channel) |
| Returns enable status of transmitter channel. | |
| bool | ipm429_txIsFull (Ipm429Hdl ipModuleHdl, int channel) |
| Checks if transmitter is almost full. | |
| bool | ipm429_txIsOverflown (Ipm429Hdl ipModuleHdl, int channel) |
| Returns buffer overflow status of transmitter and clears overflow condition. | |
| void | ipm429_txIntEnable (Ipm429Hdl ipModuleHdl, int channel) |
| Enables transmit interrupt for a transmitter channel. | |
| void | ipm429_txIntDisable (Ipm429Hdl ipModuleHdl, int channel) |
| Disables transmit interrupt for a transmitter channel. | |
| bool | ipm429_txIntIsEnabled (Ipm429Hdl ipModuleHdl, int channel) |
| Returns interupt enable status of a transmitter channel. | |
| void | ipm429_receiveStamped (Ipm429Hdl ipModuleHdl, int channel, uint32_t *arincWordPtr, uint32_t *timeTagPtr) |
| Retrieves a time-stamped ARINC word from receive buffer. | |
| void | ipm429_receive (Ipm429Hdl ipModuleHdl, int channel, uint32_t *arincWordPtr) |
| Retrieves an ARINC word from receive buffer. | |
| void | ipm429_rxEnable (Ipm429Hdl ipModuleHdl, int channel) |
| Enables receiver. | |
| void | ipm429_rxDisable (Ipm429Hdl ipModuleHdl, int channel) |
| Disables receiver. | |
| bool | ipm429_rxIsEnabled (Ipm429Hdl ipModuleHdl, int channel) |
| Returns enable status of receiver. | |
| bool | ipm429_rxIsAvail (Ipm429Hdl ipModuleHdl, int channel) |
| Checks if receiver has data. | |
| bool | ipm429_rxIsOverflown (Ipm429Hdl ipModuleHdl, int channel) |
| Returns buffer overflow status of receiver. | |
| bool | ipm429_rxIsError (Ipm429Hdl ipModuleHdl, int channel) |
| Returns receive error status of receiver. | |
| void | ipm429_rxIntEnable (Ipm429Hdl ipModuleHdl, int channel) |
| Enables receive interrupt for a receiver channel. | |
| void | ipm429_rxIntDisable (Ipm429Hdl ipModuleHdl, int channel) |
| Disables receive interrupt for a receiver channel. | |
| bool | ipm429_rxIntIsEnabled (Ipm429Hdl ipModuleHdl, int channel) |
| Returns interrupt enable status for a receiver channel. | |
| uint32_t | ipm429_getTimer (Ipm429Hdl ipModuleHdl) |
| Read the main timer register. | |
| void | ipm429_setGapLength (Ipm429Hdl ipModuleHdl, uint16_t gapLength) |
| Set gap length register. | |
| void | ipm429_setHighRate (Ipm429Hdl ipModuleHdl, Ipm429BitRate highRate) |
| Set high rate register. | |
| void | ipm429_setLowRate (Ipm429Hdl ipModuleHdl, Ipm429BitRate lowRate) |
| Set low rate register. | |
| void | ipm429_setTxEmptyThreshold (Ipm429Hdl ipModuleHdl, uint16_t value) |
| Sets the transmitter FIFO almost empty threshold value. | |
| void | ipm429_setTxFullThreshold (Ipm429Hdl ipModuleHdl, uint16_t value) |
| Sets the transmitter FIFO almost full threshold value. | |
| void | ipm429_setRxFullThreshold (Ipm429Hdl ipModuleHdl, uint16_t value) |
| Sets the receiver FIFO almost full threshold value. | |
| void | ipm429_setRxAgingTimeout (Ipm429Hdl ipModuleHdl, uint16_t value) |
| Sets the receiver FIFO aging time-out value. | |
| void | ipm429_resetLabelFiltering (Ipm429Hdl ipModuleHdl, int channel) |
| Resets label filtering and enables all labels for receiption. | |
| void | ipm429_disableLabel (Ipm429Hdl ipModuleHdl, int channel, uint8_t label) |
| Disable label for receiption. | |
| void | ipm429_enableLabel (Ipm429Hdl ipModuleHdl, int channel, uint8_t label) |
| Enable label for receiption. | |
| void | ipm429_rxConfig (Ipm429Hdl ipModuleHdl, int channel, Ipm429ConfigOptions option) |
| Configures receiver channel. | |
| void | ipm429_txConfig (Ipm429Hdl ipModuleHdl, int channel, Ipm429ConfigOptions option) |
| Configures transmitter channel. | |
| int | ipm429_getRxChannels (Ipm429Hdl ipModuleHdl) |
| Returns the number of RX channels for this module. | |
| int | ipm429_getTxChannels (Ipm429Hdl ipModuleHdl) |
| Returns the number of TX channels for this module. | |
|
|
Handle for accessing the IPM429 module. The handle is returned by the open function. |
|
|
Bit rate constants.
|
|
|
||||||||||||||||
|
Opens access to a Max Technologies ARINC 429/419/575 IPM429 module.
|
|
|
Closes access to the IP module and releases associated resources.
|
|
||||||||||||||||
|
Sends an ARINC word immediately. This function does not check if there is space in the transmit FIFO. Use the function ipm429_txIsFull to check the FIFO status.
|
|
||||||||||||||||||||
|
Sends an ARINC word time scheduled. This function does not check if there is space in the transmit FIFO. Use the function ipm429_txIsFull to check the FIFO status.
|
|
||||||||||||
|
Enables transmitter channel.
|
|
||||||||||||
|
Disables transmitter.
|
|
||||||||||||
|
Returns enable status of transmitter channel.
|
|
||||||||||||
|
Checks if transmitter is almost full. Almost full is a configurable threshold value.
|
|
||||||||||||
|
Returns buffer overflow status of transmitter and clears overflow condition.
|
|
||||||||||||
|
Enables transmit interrupt for a transmitter channel.
|
|
||||||||||||
|
Disables transmit interrupt for a transmitter channel.
|
|
||||||||||||
|
Returns interupt enable status of a transmitter channel.
|
|
||||||||||||||||||||
|
Retrieves a time-stamped ARINC word from receive buffer. This function does not check if there is data available in the receive FIFO. Use the function ipm429_rxIsAvail to check the FIFO status. To check if there are receive errors use ipm429_rxIsOverflown and ipm429_rxIsError.
|
|
||||||||||||||||
|
Retrieves an ARINC word from receive buffer. To check if there are receive errors use ipm429_rxIsOverflown and ipm429_rxIsError.
|
|
||||||||||||
|
Enables receiver.
|
|
||||||||||||
|
Disables receiver.
|
|
||||||||||||
|
Returns enable status of receiver.
|
|
||||||||||||
|
Checks if receiver has data.
|
|
||||||||||||
|
Returns buffer overflow status of receiver. This function call clears the error condition.
|
|
||||||||||||
|
Returns receive error status of receiver. This function call clears the error condition.
|
|
||||||||||||
|
Enables receive interrupt for a receiver channel.
|
|
||||||||||||
|
Disables receive interrupt for a receiver channel.
|
|
||||||||||||
|
Returns interrupt enable status for a receiver channel.
|
|
|
Read the main timer register.
|
|
||||||||||||
|
Set gap length register.
|
|
||||||||||||
|
Set high rate register. This 9 bits register contains the bit rate used by the channels programmed to operate at the high rate. The rate should never be less than 8 us per bit. RATE = (HIGH_RATE + 1) * 0.5us
|
|
||||||||||||
|
Set low rate register. This 9 bits register contains the bit rate used by the channels programmed to operate at the low rate. The rate should never be less than 8 us per bit. RATE = (lowRate + 1) * 0.5us
|
|
||||||||||||
|
Sets the transmitter FIFO almost empty threshold value.
|
|
||||||||||||
|
Sets the transmitter FIFO almost full threshold value.
|
|
||||||||||||
|
Sets the receiver FIFO almost full threshold value.
|
|
||||||||||||
|
Sets the receiver FIFO aging time-out value.
|
|
||||||||||||
|
Resets label filtering and enables all labels for receiption.
|
|
||||||||||||||||
|
Disable label for receiption.
|
|
||||||||||||||||
|
Enable label for receiption.
|
|
||||||||||||||||
|
Configures receiver channel.
|
|
||||||||||||||||
|
Configures transmitter channel.
|
|
|
Returns the number of RX channels for this module.
|
|
|
Returns the number of TX channels for this module.
|
|
Developed by FOCUS Software Engineering Pty Ltd, Australia.
<www.focus-sw.com> Last updated: 28 Apr 2003 |