|
HFCC-01 Low-Level Software (LLSW) Rel_6802_HFCC-01-RP-CSAR-CB
|
Go to the source code of this file.
Data Structures | |
| struct | A429Message |
| ARINC 429 Standard 32-Bit Word Protocol Bitfield Structure (Label, SDI, Data, SSM, Parity). More... | |
Enumerations | |
| enum | A429SpeedRate { A429RATE_HI = 0 , A429RATE_LO = 1 } |
| This is enum definition for ARINC429 Speed Rate. More... | |
| enum | A429ParityMode { A429PARITY_ODD = 0 , A429PARITY_EVEN = 1 } |
| This is enum definition for ARINC429 Parity Mode. More... | |
Functions | |
| ModStatus | modA429_sendConfig (const A429ChannelNum txChannelNum, const A429SpeedRate a429DataRate, const Bool parityEnable, const A429ParityMode parityMode) |
| modA429_sendConfig. | |
| ModStatus | modA429_sendChEnable (const A429ChannelNum txChannelNum) |
| modA429_sendChEnable. | |
| ModStatus | modA429_sendChDisable (const A429ChannelNum txChannelNum) |
| modA429_sendChDisable. | |
| ModStatus | modA429_send (const A429ChannelNum txChannelNum, const A429Message *msgBufPtr, const UInt32 msgCount) |
| modA429_send. | |
| ModStatus | modA429_recvConfig (const A429ChannelNum rxChannelNum, const A429SpeedRate a429DataRate, const Bool parityEnable, const A429ParityMode parityMode) |
| modA429_recvConfig. | |
| ModStatus | modA429_recvChEnable (const A429ChannelNum rxChannelNum) |
| modA429_recvChEnable. | |
| ModStatus | modA429_recvChDisable (const A429ChannelNum rxChannelNum) |
| modA429_recvChDisable. | |
| ModStatus | modA429_recvSetLabelFilter (const A429ChannelNum rxChannelNum, const UInt8 *filterLabelsPtr, const UInt8 filterLabelCount) |
| modA429_recvSetLabelFilter. | |
| ModStatus | modA429_recvSetSDIFilter (const A429ChannelNum rxChannelNum, const UInt8 sdiValue) |
| modA429_recvSetSDIFilter. | |
| ModStatus | modA429_recvFIFO (const A429ChannelNum rxChannelNum, A429Message *recvMsgsPtr, UInt32 *recvMsgCountPtr) |
| modA429_recvFIFO. | |
A429 Module
| enum A429ParityMode |
| enum A429SpeedRate |
| ModStatus modA429_recvChDisable | ( | const A429ChannelNum | rxChannelNum | ) |
modA429_recvChDisable.
Disable the specified receiver channel.
| [in] | rxChannelNum | Receive channel number to access. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_RECVCHDISABLE_01 | HLR_A429_289 | WHEN the module initialization state is not initialized (INIT), the modA429_recvChDisable() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_recvChDisable() | Test | Closed |
| LLR_A429_MODA429_RECVCHDISABLE_02 | HLR_A429_289 | WHEN rxChannelNum is not one of the defined ARINC 429 receive channel identifiers (A429_RX_CH1 through A429_RX_CH7), the modA429_recvChDisable() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_recvChDisable() | Test | Closed |
| LLR_A429_MODA429_RECVCHDISABLE_03 | HLR_A429_289 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modA429_recvChDisable() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvChDisable() | Test | Closed |
| LLR_A429_MODA429_RECVCHDISABLE_04 | HLR_A429_289 | WHEN preconditions are satisfied, the modA429_recvChDisable() function SHALL invoke receiver driver routine a429_rxClearLabelFilter() to perform channel configuration. | modA429.c:modA429_recvChDisable() | Test | Closed |
| LLR_A429_MODA429_RECVCHDISABLE_05 | HLR_A429_289 | WHEN preconditions are satisfied, the modA429_recvChDisable() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_recvChDisable() | Test | Closed |
| LLR_A429_MODA429_RECVCHDISABLE_06 | HLR_A429_289 | WHEN preconditions are satisfied, the modA429_recvChDisable() function SHALL invoke receiver driver routine a429_rxDisableSDIFilter() to perform channel configuration. | modA429.c:modA429_recvChDisable() | Test | Closed |
| LLR_A429_MODA429_RECVCHDISABLE_07 | HLR_A429_289 | WHEN preconditions are satisfied, the modA429_recvChDisable() function SHALL invoke receiver driver routine a429_rxDisableParity() to perform channel configuration. | modA429.c:modA429_recvChDisable() | Test | Closed |
| LLR_A429_MODA429_RECVCHDISABLE_08 | HLR_A429_289 | WHEN preconditions are satisfied, the modA429_recvChDisable() function SHALL invoke receiver driver routine a429_rxDisableChannel() to perform channel configuration. | modA429.c:modA429_recvChDisable() | Test | Closed |
| LLR_A429_MODA429_RECVCHDISABLE_09 | HLR_A429_289 | WHEN all operational processing completes successfully, the modA429_recvChDisable() function SHALL return MD_SUCCESS. | modA429.c:modA429_recvChDisable() | Test | Closed |
| ModStatus modA429_recvChEnable | ( | const A429ChannelNum | rxChannelNum | ) |
modA429_recvChEnable.
Enable the specified receiver channel.
| [in] | rxChannelNum | Receive channel number to access. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_RECVCHENABLE_01 | HLR_A429_289 | WHEN the module initialization state is not initialized (INIT), the modA429_recvChEnable() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_recvChEnable() | Test | Closed |
| LLR_A429_MODA429_RECVCHENABLE_02 | HLR_A429_289 | WHEN rxChannelNum is not one of the defined ARINC 429 receive channel identifiers (A429_RX_CH1 through A429_RX_CH7), the modA429_recvChEnable() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_recvChEnable() | Test | Closed |
| LLR_A429_MODA429_RECVCHENABLE_03 | HLR_A429_289 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modA429_recvChEnable() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvChEnable() | Test | Closed |
| LLR_A429_MODA429_RECVCHENABLE_04 | HLR_A429_289 | WHEN preconditions are satisfied, the modA429_recvChEnable() function SHALL invoke receiver driver routine a429_rxEnableChannel() to perform channel configuration. | modA429.c:modA429_recvChEnable() | Test | Closed |
| LLR_A429_MODA429_RECVCHENABLE_05 | HLR_A429_289 | WHEN preconditions are satisfied, the modA429_recvChEnable() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_recvChEnable() | Test | Closed |
| LLR_A429_MODA429_RECVCHENABLE_06 | HLR_A429_289 | WHEN all operational processing completes successfully, the modA429_recvChEnable() function SHALL return MD_SUCCESS. | modA429.c:modA429_recvChEnable() | Test | Closed |
| ModStatus modA429_recvConfig | ( | const A429ChannelNum | rxChannelNum, |
| const A429SpeedRate | a429DataRate, | ||
| const Bool | parityEnable, | ||
| const A429ParityMode | parityMode ) |
modA429_recvConfig.
Set the configuration for data rate, parity and parity type of specified receiver channel.
| [in] | rxChannelNum | Receive channel number to access. |
| [in] | a429DataRate | ARIN429 RX Data Rate (kb/s). |
| [in] | parityEnable | TRUE is 32 bits ARINC message will be checked with Odd parity method, the parity flag will be overwritten in bit 32. FALSE is all 32 bits are received without parity checking. |
| [in] | parityMode | Parity Type (EVEN, ODD) for receiver channel. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CONFIG | : The configuration parameter is invalid. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_RECVCONFIG_01 | HLR_A429_290 | WHEN the module initialization state is not initialized (INIT), the modA429_recvConfig() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_02 | HLR_A429_290 | WHEN rxChannelNum is not one of the defined ARINC 429 receive channel identifiers (A429_RX_CH1 through A429_RX_CH7), the modA429_recvConfig() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_03 | HLR_A429_290 | WHEN high-speed ARINC 429 transmission rate (100 kbps) is equal to the ARINC 429 transmission speed, the modA429_recvConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_04 | HLR_A429_290 | WHEN low-speed ARINC 429 transmission rate (12.5 kbps) is equal to the ARINC 429 transmission speed, the modA429_recvConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_05 | HLR_A429_290 | WHEN TRUE is equal to the parity enablement flag, the modA429_recvConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_06 | HLR_A429_290 | WHEN FALSE is equal to the parity enablement flag, the modA429_recvConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_07 | HLR_A429_290 | WHEN preconditions are satisfied, the modA429_recvConfig() function SHALL invoke receiver driver routine a429_rxSetSpeed() to perform channel configuration. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_08 | HLR_A429_290 | WHEN preconditions are satisfied, the modA429_recvConfig() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_09 | HLR_A429_290 | WHEN preconditions are satisfied, the modA429_recvConfig() function SHALL invoke receiver driver routine a429_rxEnableParity() to perform channel configuration. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_10 | HLR_A429_290 | WHEN preconditions are satisfied, the modA429_recvConfig() function SHALL invoke receiver driver routine a429_rxDisableParity() to perform channel configuration. | modA429.c:modA429_recvConfig() | Test | Closed |
| LLR_A429_MODA429_RECVCONFIG_11 | HLR_A429_290 | WHEN all operational processing completes successfully, the modA429_recvConfig() function SHALL return MD_SUCCESS. | modA429.c:modA429_recvConfig() | Test | Closed |
| ModStatus modA429_recvFIFO | ( | const A429ChannelNum | rxChannelNum, |
| A429Message * | recvMsgsPtr, | ||
| UInt32 * | recvMsgCountPtr ) |
modA429_recvFIFO.
Read the ARINC429 message from the receiver FIFO of specified receiver channel.
| [in] | rxChannelNum | Receive channel number to access. |
| [out] | recvMsgsPtr | Receive Arinc message. |
| [out] | recvMsgCountPtr | Number of ARINC message read from FIFO. |
| MD_SUCCESS | : Success. |
| MD_INVALID_PARAM | : The provided address pointer is invalid. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| MD_CHANNEL_DISABLED | : Channel is disabled. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_RECVFIFO_01 | HLR_A429_290 | WHEN the module initialization state is not initialized (INIT), the modA429_recvFIFO() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_02 | HLR_A429_290 | WHEN rxChannelNum is not one of the defined ARINC 429 receive channel identifiers (A429_RX_CH1 through A429_RX_CH7), the modA429_recvFIFO() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_03 | HLR_A429_290 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modA429_recvFIFO() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_04 | HLR_A429_290 | WHEN the target ARINC 429 receive channel is disabled (operating status is CH_DISABLE), the modA429_recvFIFO() function SHALL abort processing and return MD_CHANNEL_DISABLED. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_05 | HLR_A429_290 | WHEN the pointer recvMsgsPtr is NULL (invalid), the modA429_recvFIFO() function SHALL abort processing and return MD_INVALID_PARAM. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_06 | HLR_A429_290 | WHEN the pointer recvMsgCountPtr is NULL (invalid), the modA429_recvFIFO() function SHALL abort processing and return MD_INVALID_PARAM. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_07 | HLR_A429_290 | WHEN preconditions are satisfied, the modA429_recvFIFO() function SHALL invoke receiver driver routine a429_rxGetState() to perform channel configuration. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_08 | HLR_A429_290 | WHEN preconditions are satisfied, the modA429_recvFIFO() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_09 | HLR_A429_290 | WHEN preconditions are satisfied, the modA429_recvFIFO() function SHALL invoke receiver driver routine a429_rxGetFIFOMsgs() to perform channel configuration. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_10 | HLR_A429_290 | WHEN preconditions are satisfied, the modA429_recvFIFO() function SHALL invoke routine decodeMessage() to decode ARINC 429 message words. | modA429.c:modA429_recvFIFO() | Test | Closed |
| LLR_A429_MODA429_RECVFIFO_11 | HLR_A429_290 | WHEN all operational processing completes successfully, the modA429_recvFIFO() function SHALL return MD_SUCCESS. | modA429.c:modA429_recvFIFO() | Test | Closed |
| ModStatus modA429_recvSetLabelFilter | ( | const A429ChannelNum | rxChannelNum, |
| const UInt8 * | filterLabelsPtr, | ||
| const UInt8 | filterLabelCount ) |
modA429_recvSetLabelFilter.
Set the message filter by label of specified receiver channel.
| [in] | rxChannelNum | Receive channel number to access. |
| [in] | filterLabelsPtr | List of labels for message Arinc data. |
| [in] | filterLabelCount | Number of filter labels of ARINC message (0 - 255). |
| MD_SUCCESS | : Success. |
| MD_INVALID_PARAM | : The provided address pointer is invalid. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_RECVSETLABELFILTER_01 | HLR_A429_300 | WHEN the module initialization state is not initialized (INIT), the modA429_recvSetLabelFilter() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_recvSetLabelFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETLABELFILTER_02 | HLR_A429_300 | WHEN rxChannelNum is not one of the defined ARINC 429 receive channel identifiers (A429_RX_CH1 through A429_RX_CH7), the modA429_recvSetLabelFilter() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_recvSetLabelFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETLABELFILTER_03 | HLR_A429_300 | WHEN the pointer filterLabelsPtr is NULL (invalid), the modA429_recvSetLabelFilter() function SHALL abort processing and return MD_INVALID_PARAM. | modA429.c:modA429_recvSetLabelFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETLABELFILTER_04 | HLR_A429_300 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modA429_recvSetLabelFilter() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvSetLabelFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETLABELFILTER_05 | HLR_A429_300 | WHEN preconditions are satisfied, the modA429_recvSetLabelFilter() function SHALL invoke receiver driver routine a429_rxSetLabelFilter() to perform channel configuration. | modA429.c:modA429_recvSetLabelFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETLABELFILTER_06 | HLR_A429_300 | WHEN preconditions are satisfied, the modA429_recvSetLabelFilter() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_recvSetLabelFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETLABELFILTER_07 | HLR_A429_300 | WHEN all operational processing completes successfully, the modA429_recvSetLabelFilter() function SHALL return MD_SUCCESS. | modA429.c:modA429_recvSetLabelFilter() | Test | Closed |
| ModStatus modA429_recvSetSDIFilter | ( | const A429ChannelNum | rxChannelNum, |
| const UInt8 | sdiValue ) |
modA429_recvSetSDIFilter.
@detailsSet the message filter by SDI value of specified receiver channel.
| [in] | rxChannelNum | Receive channel number to access. |
| [in] | sdiValue | SDI Value to filter. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CONFIG | : The configuration parameter is invalid. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_RECVSETSDIFILTER_01 | HLR_A429_21622 | WHEN the module initialization state is not initialized (INIT), the modA429_recvSetSDIFilter() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_recvSetSDIFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETSDIFILTER_02 | HLR_A429_21622 | WHEN rxChannelNum is not one of the defined ARINC 429 receive channel identifiers (A429_RX_CH1 through A429_RX_CH7), the modA429_recvSetSDIFilter() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_recvSetSDIFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETSDIFILTER_03 | HLR_A429_21622 | WHEN sdiValue is less than or equal to MOD_A429_MAX_SDI_VALUE, the modA429_recvSetSDIFilter() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_recvSetSDIFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETSDIFILTER_04 | HLR_A429_21622 | WHEN preconditions are satisfied, the modA429_recvSetSDIFilter() function SHALL invoke receiver driver routine a429_rxSetSDIFilter() to perform channel configuration. | modA429.c:modA429_recvSetSDIFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETSDIFILTER_05 | HLR_A429_21622 | WHEN preconditions are satisfied, the modA429_recvSetSDIFilter() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_recvSetSDIFilter() | Test | Closed |
| LLR_A429_MODA429_RECVSETSDIFILTER_06 | HLR_A429_21622 | WHEN all operational processing completes successfully, the modA429_recvSetSDIFilter() function SHALL return MD_SUCCESS. | modA429.c:modA429_recvSetSDIFilter() | Test | Closed |
| ModStatus modA429_send | ( | const A429ChannelNum | txChannelNum, |
| const A429Message * | msgBufPtr, | ||
| const UInt32 | msgCount ) |
modA429_send.
Send the input ARINC429 messages to the specified enabled transmitter channel. The function validates module state, channel identity, message-buffer address, and FIFO capacity, encodes each message, and submits the encoded sequence to the transmit FIFO.
| [in] | txChannelNum | ARINC429 transmit channel identifier. Accepted values are A429_TX_CH1 through A429_TX_CH4. |
| [in] | msgBufPtr | Pointer to the input ARINC429 message array. A NULL pointer is invalid. |
| [in] | msgCount | Number of messages in msgBufPtr. The maximum accepted count is the A429 transmit FIFO capacity (32). |
| MD_SUCCESS | : Success. |
| MD_INVALID_PARAM | : The provided address pointer is invalid. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| MD_CHANNEL_DISABLED | : Channel is disabled. |
| MD_INVALID_VALUE | : The message count is out of range. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_SEND_01 | HLR_A429_288 | WHEN the A429 module is not initialized, the modA429_send() function SHALL return MD_INVALID_INIT without accessing the transmit channel or message buffer. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_02 | HLR_A429_288 | WHEN txChannelNum is not one of A429_TX_CH1 through A429_TX_CH4, the modA429_send() function SHALL return MD_INVALID_CHANNEL. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_03 | HLR_A429_288 | WHEN the transmit-channel state read reports a driver failure, the modA429_send() function SHALL return the module status produced by errCheck() for that driver failure. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_04 | HLR_A429_288 | WHEN the selected transmit channel is disabled (CH_DISABLE), the modA429_send() function SHALL return MD_CHANNEL_DISABLED without submitting messages to the transmit FIFO. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_05 | HLR_A429_288 | WHEN msgBufPtr is NULL, the modA429_send() function SHALL return MD_INVALID_PARAM. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_06 | HLR_A429_288 | WHEN msgCount is greater than the maximum A429 transmit FIFO capacity (32), the modA429_send() function SHALL return MD_INVALID_VALUE. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_07 | HLR_A429_288 | WHEN all input and channel-state preconditions are satisfied, the modA429_send() function SHALL encode each input message in msgBufPtr for indices 0 through msgCount - 1. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_08 | HLR_A429_288 | WHEN message encoding completes successfully, the modA429_send() function SHALL submit the encoded message sequence to the selected A429 transmit FIFO. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_09 | HLR_A429_288 | WHEN transmit FIFO submission reports a driver failure, the modA429_send() function SHALL return the module status produced by errCheck() for that driver failure. | modA429.c:modA429_send() | Test | Closed — Recovered |
| LLR_A429_MODA429_SEND_10 | HLR_A429_288 | WHEN encoding and transmit FIFO submission complete successfully, the modA429_send() function SHALL return MD_SUCCESS. | modA429.c:modA429_send() | Test | Closed — Recovered |
| ModStatus modA429_sendChDisable | ( | const A429ChannelNum | txChannelNum | ) |
modA429_sendChDisable.
Disable the specified transmitter channel.
| [in] | txChannelNum | Transmit channel number to access. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_SENDCHDISABLE_01 | HLR_A429_287 | WHEN the module initialization state is not initialized (INIT), the modA429_sendChDisable() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_sendChDisable() | Test | Closed |
| LLR_A429_MODA429_SENDCHDISABLE_02 | HLR_A429_287 | WHEN txChannelNum is not one of the defined ARINC 429 transmit channel identifiers (A429_TX_CH1, A429_TX_CH2, A429_TX_CH3, A429_TX_CH4), the modA429_sendChDisable() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_sendChDisable() | Test | Closed |
| LLR_A429_MODA429_SENDCHDISABLE_03 | HLR_A429_287 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modA429_sendChDisable() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_sendChDisable() | Test | Closed |
| LLR_A429_MODA429_SENDCHDISABLE_04 | HLR_A429_287 | WHEN preconditions are satisfied, the modA429_sendChDisable() function SHALL invoke transmitter driver routine a429_txDisableChannel() to perform message transmission. | modA429.c:modA429_sendChDisable() | Test | Closed |
| LLR_A429_MODA429_SENDCHDISABLE_05 | HLR_A429_287 | WHEN preconditions are satisfied, the modA429_sendChDisable() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_sendChDisable() | Test | Closed |
| LLR_A429_MODA429_SENDCHDISABLE_06 | HLR_A429_287 | WHEN preconditions are satisfied, the modA429_sendChDisable() function SHALL invoke transmitter driver routine a429_txDisableParity() to perform message transmission. | modA429.c:modA429_sendChDisable() | Test | Closed |
| LLR_A429_MODA429_SENDCHDISABLE_07 | HLR_A429_287 | WHEN all operational processing completes successfully, the modA429_sendChDisable() function SHALL return MD_SUCCESS. | modA429.c:modA429_sendChDisable() | Test | Closed |
| ModStatus modA429_sendChEnable | ( | const A429ChannelNum | txChannelNum | ) |
modA429_sendChEnable.
Enable the specified transmitter channel.
| [in] | txChannelNum | Transmit channel number to access. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_SENDCHENABLE_01 | HLR_A429_287 | WHEN the module initialization state is not initialized (INIT), the modA429_sendChEnable() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_sendChEnable() | Test | Closed |
| LLR_A429_MODA429_SENDCHENABLE_02 | HLR_A429_287 | WHEN txChannelNum is not one of the defined ARINC 429 transmit channel identifiers (A429_TX_CH1, A429_TX_CH2, A429_TX_CH3, A429_TX_CH4), the modA429_sendChEnable() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_sendChEnable() | Test | Closed |
| LLR_A429_MODA429_SENDCHENABLE_03 | HLR_A429_287 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modA429_sendChEnable() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_sendChEnable() | Test | Closed |
| LLR_A429_MODA429_SENDCHENABLE_04 | HLR_A429_287 | WHEN preconditions are satisfied, the modA429_sendChEnable() function SHALL invoke transmitter driver routine a429_txEnableChannel() to perform message transmission. | modA429.c:modA429_sendChEnable() | Test | Closed |
| LLR_A429_MODA429_SENDCHENABLE_05 | HLR_A429_287 | WHEN preconditions are satisfied, the modA429_sendChEnable() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_sendChEnable() | Test | Closed |
| LLR_A429_MODA429_SENDCHENABLE_06 | HLR_A429_287 | WHEN all operational processing completes successfully, the modA429_sendChEnable() function SHALL return MD_SUCCESS. | modA429.c:modA429_sendChEnable() | Test | Closed |
| ModStatus modA429_sendConfig | ( | const A429ChannelNum | txChannelNum, |
| const A429SpeedRate | a429DataRate, | ||
| const Bool | parityEnable, | ||
| const A429ParityMode | parityMode ) |
modA429_sendConfig.
Set the configuration for data rate, parity and parity type of specified transmitter channel.
| [in] | txChannelNum | Transmit channel number to access. |
| [in] | a429DataRate | ARINC429 TX Data Rate (kb/s). |
| [in] | parityEnable | When set to TRUE, ARINC429 bit 32 ARINC bit overwritten with parity flag. When set to FALSE, parity will be disabled and the transmitter will treat ARINC429 bit 32 as data and send data word with no parity. |
| [in] | parityMode | Set even parity bit or odd parity bit. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CONFIG | : The configuration parameter is invalid. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_A429_MODA429_SENDCONFIG_01 | HLR_A429_288 | WHEN the module initialization state is not initialized (INIT), the modA429_sendConfig() function SHALL abort processing and return MD_INVALID_INIT. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_02 | HLR_A429_288 | WHEN txChannelNum is not one of the defined ARINC 429 transmit channel identifiers (A429_TX_CH1, A429_TX_CH2, A429_TX_CH3, A429_TX_CH4), the modA429_sendConfig() function SHALL abort processing and return MD_INVALID_CHANNEL. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_03 | HLR_A429_288 | WHEN high-speed ARINC 429 transmission rate (100 kbps) is equal to the ARINC 429 transmission speed, the modA429_sendConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_04 | HLR_A429_288 | WHEN low-speed ARINC 429 transmission rate (12.5 kbps) is equal to the ARINC 429 transmission speed, the modA429_sendConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_05 | HLR_A429_288 | WHEN TRUE is equal to the parity enablement flag, the modA429_sendConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_06 | HLR_A429_288 | WHEN FALSE is equal to the parity enablement flag, the modA429_sendConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_07 | HLR_A429_288 | WHEN preconditions are satisfied, the modA429_sendConfig() function SHALL invoke transmitter driver routine a429_txSetSpeed() to perform message transmission. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_08 | HLR_A429_288 | WHEN preconditions are satisfied, the modA429_sendConfig() function SHALL evaluate the driver return status using errCheck(). | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_09 | HLR_A429_288 | WHEN preconditions are satisfied, the modA429_sendConfig() function SHALL invoke transmitter driver routine a429_txEnableParity() to perform message transmission. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_10 | HLR_A429_288 | WHEN preconditions are satisfied, the modA429_sendConfig() function SHALL invoke transmitter driver routine a429_txDisableParity() to perform message transmission. | modA429.c:modA429_sendConfig() | Test | Closed |
| LLR_A429_MODA429_SENDCONFIG_11 | HLR_A429_288 | WHEN all operational processing completes successfully, the modA429_sendConfig() function SHALL return MD_SUCCESS. | modA429.c:modA429_sendConfig() | Test | Closed |