|
HFCC-01 Low-Level Software (LLSW) Rel_6802_HFCC-01-RP-CSAR-CB
|
Go to the source code of this file.
Data Structures | |
| struct | BPFBandwidth |
| RVDT Demodulation Bandpass Filter (BPF) Center Frequency and Bandwidth Selection Structure. More... | |
| struct | LPFFrequency |
| RVDT Demodulation Lowpass Filter (LPF) Cutoff Frequency and Output Sampling Rate Structure. More... | |
| struct | RvdtSenseConfig |
| RVDT Secondary Sensing Channels Gain and Demodulator Output Rate Configuration Structure. More... | |
| struct | RvdtSenseData |
| RVDT Secondary Sensor Demodulated Voltage Telemetry and Raw ADC Output Data Structure. More... | |
| struct | RvdtRefConfig |
| RVDT Primary Excitation Reference Waveform Frequency and Amplitude Configuration Structure. More... | |
Functions | |
| ModStatus | modRvdt_SetRefConfig (const RVDTChannelNum rvdtChannel, const RvdtRefConfig rvdtRefConfig) |
| modRvdt_SetRefConfig. | |
| ModStatus | modRvdt_RefEnable (const RVDTChannelNum rvdtChannel) |
| modRvdt_RefEnable. | |
| ModStatus | modRvdt_RefDisable (const RVDTChannelNum rvdtChannel) |
| modRvdt_RefDisable. | |
| ModStatus | modRvdt_SetSenseConfig (const RVDTChannelNum rvdtChannel, const RvdtSenseConfig rvdtSenseConfig) |
| modRvdt_SetSenseConfig. | |
| ModStatus | modRvdt_SetSenseFilter (const RVDTChannelNum rvdtChannel, const BPFBandwidth bpfConfiguration, const LPFFrequency lpfConfiguration) |
| modRvdt_SetSenseFilter. | |
| ModStatus | modRvdt_SenseEnable (const RVDTChannelNum rvdtChannel) |
| modRvdt_SenseEnable. | |
| ModStatus | modRvdt_SenseDisable (const RVDTChannelNum rvdtChannel) |
| modRvdt_SenseDisable. | |
| ModStatus | modRvdt_SenseRead (const RVDTChannelNum rvdtChannel, RvdtSenseData *pRvdtSenseData) |
| modRvdt_SenseRead. | |
RVDT Module
This is enum definition for AC BPF Bandwidth Frequency.
| enum BPFCentreFrequency |
This is enum definition for AC BPF Centre Frequency.
| enum LPFCutoffFrequency |
| enum LPFOutputRate |
| enum RvdtACRefAmplitude |
This is enum definition for RVDT AC Ref Amplitude.
| enum RvdtACRefFreq |
This is enum definition for RVDT AC Ref Frequency.
| enum SenseDemodOutputRate |
| enum SenseGain |
| ModStatus modRvdt_RefDisable | ( | const RVDTChannelNum | rvdtChannel | ) |
modRvdt_RefDisable.
Disable excitation AC output reference for RVDT module.
| [in] | rvdtChannel | - RVDT channel number to access. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| MD_OP_ALREADY_PERFORMED | : The reference state is already disabled. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_RVDT_MODRVDT_REFDISABLE_01 | HLR_RVDT_16938 | WHEN rvdtChannel is not one of the defined RVDT channel identifiers (RVDT_CH1, RVDT_CH2, RVDT_CH3, RVDT_CH4), the modRvdt_RefDisable() function SHALL abort processing and return MD_INVALID_CHANNEL. | modRvdt.c:modRvdt_RefDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFDISABLE_02 | HLR_RVDT_16938 | WHEN the module initialization state is not initialized (INIT), the modRvdt_RefDisable() function SHALL abort processing and return MD_INVALID_INIT. | modRvdt.c:modRvdt_RefDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFDISABLE_03 | HLR_RVDT_16938 | WHEN the driver status is not equal to DRV_SUCCESS, the modRvdt_RefDisable() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modRvdt.c:modRvdt_RefDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFDISABLE_04 | HLR_RVDT_16938 | WHEN reference excitation on the specified RVDT channel is already disabled (reference status is FALSE), the modRvdt_RefDisable() function SHALL abort processing and return MD_OP_ALREADY_PERFORMED. | modRvdt.c:modRvdt_RefDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFDISABLE_05 | HLR_RVDT_16938 | WHEN preconditions are satisfied, the modRvdt_RefDisable() function SHALL invoke routine rvdt_getRefStatus() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_RefDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFDISABLE_06 | HLR_RVDT_16938 | WHEN preconditions are satisfied, the modRvdt_RefDisable() function SHALL evaluate the driver return status using errCheck(). | modRvdt.c:modRvdt_RefDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFDISABLE_07 | HLR_RVDT_16938 | WHEN preconditions are satisfied, the modRvdt_RefDisable() function SHALL invoke routine rvdt_setRefWaveEnable() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_RefDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFDISABLE_08 | HLR_RVDT_16938 | WHEN all operational processing completes successfully, the modRvdt_RefDisable() function SHALL return MD_SUCCESS. | modRvdt.c:modRvdt_RefDisable() | Test | Closed |
| ModStatus modRvdt_RefEnable | ( | const RVDTChannelNum | rvdtChannel | ) |
modRvdt_RefEnable.
Enable excitation AC output reference for RVDT module.
| [in] | rvdtChannel | RVDT channel number to access. |
| MD_SUCCESS | : Success |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| MD_OP_ALREADY_PERFORMED | : The reference state is already enabled. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_RVDT_MODRVDT_REFENABLE_01 | HLR_RVDT_16938 | WHEN rvdtChannel is not one of the defined RVDT channel identifiers (RVDT_CH1, RVDT_CH2, RVDT_CH3, RVDT_CH4), the modRvdt_RefEnable() function SHALL abort processing and return MD_INVALID_CHANNEL. | modRvdt.c:modRvdt_RefEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFENABLE_02 | HLR_RVDT_16938 | WHEN the module initialization state is not initialized (INIT), the modRvdt_RefEnable() function SHALL abort processing and return MD_INVALID_INIT. | modRvdt.c:modRvdt_RefEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFENABLE_03 | HLR_RVDT_16938 | WHEN the driver status is not equal to DRV_SUCCESS, the modRvdt_RefEnable() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modRvdt.c:modRvdt_RefEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFENABLE_04 | HLR_RVDT_16938 | WHEN reference excitation on the specified RVDT channel is already enabled (reference status is TRUE), the modRvdt_RefEnable() function SHALL abort processing and return MD_OP_ALREADY_PERFORMED. | modRvdt.c:modRvdt_RefEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFENABLE_05 | HLR_RVDT_16938 | WHEN preconditions are satisfied, the modRvdt_RefEnable() function SHALL invoke routine rvdt_getRefStatus() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_RefEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFENABLE_06 | HLR_RVDT_16938 | WHEN preconditions are satisfied, the modRvdt_RefEnable() function SHALL evaluate the driver return status using errCheck(). | modRvdt.c:modRvdt_RefEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFENABLE_07 | HLR_RVDT_16938 | WHEN preconditions are satisfied, the modRvdt_RefEnable() function SHALL invoke routine rvdt_setRefWaveEnable() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_RefEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_REFENABLE_08 | HLR_RVDT_16938 | WHEN all operational processing completes successfully, the modRvdt_RefEnable() function SHALL return MD_SUCCESS. | modRvdt.c:modRvdt_RefEnable() | Test | Closed |
| ModStatus modRvdt_SenseDisable | ( | const RVDTChannelNum | rvdtChannel | ) |
modRvdt_SenseDisable.
Disable sense input demodulator for RVDT module.
| [in] | rvdtChannel | RVDT channel number to access. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| MD_OP_ALREADY_PERFORMED | : The sense state is already disabled. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_RVDT_MODRVDT_SENSEDISABLE_01 | HLR_RVDT_16942 | WHEN rvdtChannel is not one of the defined RVDT channel identifiers (RVDT_CH1, RVDT_CH2, RVDT_CH3, RVDT_CH4), the modRvdt_SenseDisable() function SHALL abort processing and return MD_INVALID_CHANNEL. | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEDISABLE_02 | HLR_RVDT_16942 | WHEN the module initialization state is not initialized (INIT), the modRvdt_SenseDisable() function SHALL abort processing and return MD_INVALID_INIT. | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEDISABLE_03 | HLR_RVDT_16942 | WHEN the driver status is not equal to DRV_SUCCESS, the modRvdt_SenseDisable() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEDISABLE_04 | HLR_RVDT_16942 | WHEN demodulator sense on the specified RVDT channel is already disabled (sense status is FALSE), the modRvdt_SenseDisable() function SHALL abort processing and return MD_OP_ALREADY_PERFORMED. | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEDISABLE_05 | HLR_RVDT_16942 | WHEN preconditions are satisfied, the modRvdt_SenseDisable() function SHALL invoke routine rvdt_getSenseStatus() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEDISABLE_06 | HLR_RVDT_16942 | WHEN preconditions are satisfied, the modRvdt_SenseDisable() function SHALL evaluate the driver return status using errCheck(). | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEDISABLE_07 | HLR_RVDT_16942 | WHEN preconditions are satisfied, the modRvdt_SenseDisable() function SHALL invoke routine rvdt_setPowerEnable() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEDISABLE_08 | HLR_RVDT_16942 | WHEN preconditions are satisfied, the modRvdt_SenseDisable() function SHALL invoke routine rvdt_setSenseEnable() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEDISABLE_09 | HLR_RVDT_16942 | WHEN all operational processing completes successfully, the modRvdt_SenseDisable() function SHALL return MD_SUCCESS. | modRvdt.c:modRvdt_SenseDisable() | Test | Closed |
| ModStatus modRvdt_SenseEnable | ( | const RVDTChannelNum | rvdtChannel | ) |
modRvdt_SenseEnable.
Enable sense input demodulator for RVDT module.
| [in] | rvdtChannel | RVDT channel number to access. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| MD_OP_ALREADY_PERFORMED | : The sense state is already enabled. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_RVDT_MODRVDT_SENSEENABLE_01 | HLR_RVDT_16942 | WHEN rvdtChannel is not one of the defined RVDT channel identifiers (RVDT_CH1, RVDT_CH2, RVDT_CH3, RVDT_CH4), the modRvdt_SenseEnable() function SHALL abort processing and return MD_INVALID_CHANNEL. | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEENABLE_02 | HLR_RVDT_16942 | WHEN the module initialization state is not initialized (INIT), the modRvdt_SenseEnable() function SHALL abort processing and return MD_INVALID_INIT. | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEENABLE_03 | HLR_RVDT_16942 | WHEN the driver status is not equal to DRV_SUCCESS, the modRvdt_SenseEnable() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEENABLE_04 | HLR_RVDT_16942 | WHEN demodulator sense on the specified RVDT channel is already enabled (sense status is TRUE), the modRvdt_SenseEnable() function SHALL abort processing and return MD_OP_ALREADY_PERFORMED. | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEENABLE_05 | HLR_RVDT_16942 | WHEN preconditions are satisfied, the modRvdt_SenseEnable() function SHALL invoke routine rvdt_getSenseStatus() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEENABLE_06 | HLR_RVDT_16942 | WHEN preconditions are satisfied, the modRvdt_SenseEnable() function SHALL evaluate the driver return status using errCheck(). | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEENABLE_07 | HLR_RVDT_16942 | WHEN preconditions are satisfied, the modRvdt_SenseEnable() function SHALL invoke routine rvdt_setPowerEnable() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEENABLE_08 | HLR_RVDT_16942 | WHEN preconditions are satisfied, the modRvdt_SenseEnable() function SHALL invoke routine rvdt_setSenseEnable() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEENABLE_09 | HLR_RVDT_16942 | WHEN all operational processing completes successfully, the modRvdt_SenseEnable() function SHALL return MD_SUCCESS. | modRvdt.c:modRvdt_SenseEnable() | Test | Closed |
| ModStatus modRvdt_SenseRead | ( | const RVDTChannelNum | rvdtChannel, |
| RvdtSenseData * | pRvdtSenseData ) |
modRvdt_SenseRead.
Read the RVDT sensor output from sense input in RVDT module.
| [in] | rvdtChannel | RVDT channel number to access. |
| [out] | pRvdtSenseData | RVDT sense data parameters. |
| MD_SUCCESS | : Success. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_INVALID_CHANNEL | : The channel number is invalid. |
| MD_INVALID_PARAM | :The provided address pointer is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_RVDT_MODRVDT_SENSEREAD_01 | HLR_RVDT_18870 | WHEN rvdtChannel is not one of the defined RVDT channel identifiers (RVDT_CH1, RVDT_CH2, RVDT_CH3, RVDT_CH4), the modRvdt_SenseRead() function SHALL abort processing and return MD_INVALID_CHANNEL. | modRvdt.c:modRvdt_SenseRead() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEREAD_02 | HLR_RVDT_18870 | WHEN the module initialization state is not initialized (INIT), the modRvdt_SenseRead() function SHALL abort processing and return MD_INVALID_INIT. | modRvdt.c:modRvdt_SenseRead() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEREAD_03 | HLR_RVDT_18870 | WHEN the pointer pRvdtSenseData is NULL (invalid), the modRvdt_SenseRead() function SHALL abort processing and return MD_INVALID_PARAM. | modRvdt.c:modRvdt_SenseRead() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEREAD_04 | HLR_RVDT_18870 | WHEN the driver status is not equal to DRV_SUCCESS, the modRvdt_SenseRead() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modRvdt.c:modRvdt_SenseRead() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEREAD_05 | HLR_RVDT_18870 | WHEN preconditions are satisfied, the modRvdt_SenseRead() function SHALL invoke routine rvdt_getSensePosition() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SenseRead() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEREAD_06 | HLR_RVDT_18870 | WHEN preconditions are satisfied, the modRvdt_SenseRead() function SHALL evaluate the driver return status using errCheck(). | modRvdt.c:modRvdt_SenseRead() | Test | Closed |
| LLR_RVDT_MODRVDT_SENSEREAD_07 | HLR_RVDT_18870 | WHEN all operational processing completes successfully, the modRvdt_SenseRead() function SHALL return MD_SUCCESS. | modRvdt.c:modRvdt_SenseRead() | Test | Closed |
| ModStatus modRvdt_SetRefConfig | ( | const RVDTChannelNum | rvdtChannel, |
| const RvdtRefConfig | rvdtRefConfig ) |
modRvdt_SetRefConfig.
Set the reference configuration.
| [in] | rvdtChannel | RVDT channel number to access . |
| [in] | rvdtRefConfig | RVDT Reference configuration ACRefFrequency - in Hz (Minimum 1000Hz, Maximum 4000Hz, Increment by 500Hz) ACRefAmplitude - in mVrms (Minimum 1000mVrms, Maximum 5000mVrms, Increment by 500mVrms) |
| MD_SUCCESS | : Success. |
| MD_INVALID_VALUE | : The AC reference frequency or amplitude is not within range. |
| 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_RVDT_MODRVDT_SETREFCONFIG_01 | HLR_RVDT_16937 | WHEN rvdtChannel is not one of the defined RVDT channel identifiers (RVDT_CH1, RVDT_CH2, RVDT_CH3, RVDT_CH4), the modRvdt_SetRefConfig() function SHALL abort processing and return MD_INVALID_CHANNEL. | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETREFCONFIG_02 | HLR_RVDT_16937 | WHEN the module initialization state is not initialized (INIT), the modRvdt_SetRefConfig() function SHALL abort processing and return MD_INVALID_INIT. | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETREFCONFIG_03 | HLR_RVDT_16937 | WHEN the driver status is not equal to DRV_SUCCESS, the modRvdt_SetRefConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETREFCONFIG_04 | HLR_RVDT_16937 | WHEN the AC reference excitation amplitude in rvdtRefConfig is not one of the defined excitation amplitudes (ACREF_AMPL_1000_MVRMS (1000 mVrms), ACREF_AMPL_1500_MVRMS (1500 mVrms), ACREF_AMPL_2000_MVRMS (2000 mVrms), ACREF_AMPL_2500_MVRMS (2500 mVrms), ACREF_AMPL_3000_MVRMS (3000 mVrms), ACREF_AMPL_3500_MVRMS (3500 mVrms), ACREF_AMPL_4000_MVRMS (4000 mVrms), ACREF_AMPL_4500_MVRMS (4500 mVrms), or ACREF_AMPL_5000_MVRMS (5000 mVrms)), the modRvdt_SetRefConfig() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETREFCONFIG_05 | HLR_RVDT_16937 | WHEN the AC reference excitation frequency in rvdtRefConfig is not one of the defined excitation frequencies (ACREF_FREQ_1000_HZ (1000 Hz), ACREF_FREQ_1500_HZ (1500 Hz), ACREF_FREQ_2000_HZ (2000 Hz), ACREF_FREQ_2500_HZ (2500 Hz), ACREF_FREQ_3000_HZ (3000 Hz), ACREF_FREQ_3500_HZ (3500 Hz), or ACREF_FREQ_4000_HZ (4000 Hz)), the modRvdt_SetRefConfig() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETREFCONFIG_06 | HLR_RVDT_16937 | WHEN preconditions are satisfied, the modRvdt_SetRefConfig() function SHALL invoke routine rvdt_configWaveformGeneration() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETREFCONFIG_07 | HLR_RVDT_16937 | WHEN preconditions are satisfied, the modRvdt_SetRefConfig() function SHALL evaluate the driver return status using errCheck(). | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETREFCONFIG_08 | HLR_RVDT_16937 | WHEN preconditions are satisfied, the modRvdt_SetRefConfig() function SHALL invoke routine rvdt_setRefConfigCommand() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETREFCONFIG_09 | HLR_RVDT_16937 | WHEN all operational processing completes successfully, the modRvdt_SetRefConfig() function SHALL return MD_SUCCESS. | modRvdt.c:modRvdt_SetRefConfig() | Test | Closed |
| ModStatus modRvdt_SetSenseConfig | ( | const RVDTChannelNum | rvdtChannel, |
| const RvdtSenseConfig | rvdtSenseConfig ) |
modRvdt_SetSenseConfig.
Set configuration of RVDT sense input to read the RVDT sensor.
| [in] | rvdtChannel | RVDT channel number to access. |
| [in] | rvdtSenseConfig | Sense input configuration. |
| MD_SUCCESS | : Success. |
| MD_INVALID_VALUE | : The passing argument is invalid or not within range. |
| 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_RVDT_MODRVDT_SETSENSECONFIG_01 | HLR_RVDT_16940 | WHEN rvdtChannel is not one of the defined RVDT channel identifiers (RVDT_CH1, RVDT_CH2, RVDT_CH3, RVDT_CH4), the modRvdt_SetSenseConfig() function SHALL abort processing and return MD_INVALID_CHANNEL. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_02 | HLR_RVDT_16940 | WHEN the module initialization state is not initialized (INIT), the modRvdt_SetSenseConfig() function SHALL abort processing and return MD_INVALID_INIT. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_03 | HLR_RVDT_16940 | WHEN the Secondary 1 sense gain in rvdtSenseConfig is not one of the defined gain settings (GAIN_1, GAIN_1_33, GAIN_1_67, GAIN_2), the modRvdt_SetSenseConfig() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_04 | HLR_RVDT_16940 | WHEN the Secondary 1 demodulator output rate in rvdtSenseConfig is not one of the defined demodulator output rates (SENSE_DEMOD_OUTPUT_RATE_128US, SENSE_DEMOD_OUTPUT_RATE_256US), the modRvdt_SetSenseConfig() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_05 | HLR_RVDT_16940 | WHEN the Secondary 2 sense gain in rvdtSenseConfig is not one of the defined gain settings (GAIN_1, GAIN_1_33, GAIN_1_67, GAIN_2), the modRvdt_SetSenseConfig() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_06 | HLR_RVDT_16940 | WHEN the Secondary 2 demodulator output rate in rvdtSenseConfig is not one of the defined demodulator output rates (SENSE_DEMOD_OUTPUT_RATE_128US, SENSE_DEMOD_OUTPUT_RATE_256US), the modRvdt_SetSenseConfig() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_07 | HLR_RVDT_16940 | WHEN the driver status is not equal to DRV_SUCCESS, the modRvdt_SetSenseConfig() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_08 | HLR_RVDT_16940 | WHEN preconditions are satisfied, the modRvdt_SetSenseConfig() function SHALL invoke routine rvdt_configSec1() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_09 | HLR_RVDT_16940 | WHEN preconditions are satisfied, the modRvdt_SetSenseConfig() function SHALL evaluate the driver return status using errCheck(). | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_10 | HLR_RVDT_16940 | WHEN preconditions are satisfied, the modRvdt_SetSenseConfig() function SHALL invoke routine rvdt_configSec2() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_11 | HLR_RVDT_16940 | WHEN preconditions are satisfied, the modRvdt_SetSenseConfig() function SHALL invoke routine rvdt_setS1s2Config() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_12 | HLR_RVDT_16940 | WHEN preconditions are satisfied, the modRvdt_SetSenseConfig() function SHALL invoke routine rvdt_setTestMux() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSECONFIG_13 | HLR_RVDT_16940 | WHEN all operational processing completes successfully, the modRvdt_SetSenseConfig() function SHALL return MD_SUCCESS. | modRvdt.c:modRvdt_SetSenseConfig() | Test | Closed |
| ModStatus modRvdt_SetSenseFilter | ( | const RVDTChannelNum | rvdtChannel, |
| const BPFBandwidth | bpfConfiguration, | ||
| const LPFFrequency | lpfConfiguration ) |
modRvdt_SetSenseFilter.
Set RVDT sense input Band Pass Filter (BPF) and Low Pass Filter (LPF).
| [in] | rvdtChannel | RVDT channel number to access. |
| [in] | bpfConfiguration | BPF Center Frequency and Bandwidth Frequency value in Hz. (Center Frequency: Min 1000Hz, Max 20000Hz, Increment 500Hz). (Bandwidth Frequency: 20Hz, 100Hz, 250Hz). |
| [in] | lpfConfiguration | LPF Cut Off Frequency (Hz) and Output Rate. (Cut Off Frequency: 20Hz, 100Hz, 250Hz). (LPF Output Rate: 128us, 256us). |
| MD_SUCCESS | : Success. |
| MD_INVALID_VALUE | : The passing argument is invalid or not within range. |
| 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_RVDT_MODRVDT_SETSENSEFILTER_01 | HLR_RVDT_18873 | WHEN rvdtChannel is not one of the defined RVDT channel identifiers (RVDT_CH1, RVDT_CH2, RVDT_CH3, RVDT_CH4), the modRvdt_SetSenseFilter() function SHALL abort processing and return MD_INVALID_CHANNEL. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_02 | HLR_RVDT_18873 | WHEN the module initialization state is not initialized (INIT), the modRvdt_SetSenseFilter() function SHALL abort processing and return MD_INVALID_INIT. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_03 | HLR_RVDT_18873 | WHEN the low-pass filter output sampling rate in lpfConfiguration is not one of the defined output rates (LPF_OUTPUT_RATE_128US, LPF_OUTPUT_RATE_256US), the modRvdt_SetSenseFilter() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_04 | HLR_RVDT_18873 | WHEN the driver status is not equal to DRV_SUCCESS, the modRvdt_SetSenseFilter() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_05 | HLR_RVDT_18873 | WHEN the low-pass filter cutoff frequency in lpfConfiguration is not one of the defined cutoff frequencies (LPF_CUTOFF_FREQUENCY_20Hz (20 Hz), LPF_CUTOFF_FREQUENCY_100Hz (100 Hz), or LPF_CUTOFF_FREQUENCY_250Hz (250 Hz)), the modRvdt_SetSenseFilter() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_06 | HLR_RVDT_18873 | WHEN the band-pass filter center frequency in bpfConfiguration is not one of the defined center frequencies (BPF_CENTRE_FREQUENCY_1000Hz (1000 Hz), BPF_CENTRE_FREQUENCY_1500Hz (1500 Hz), BPF_CENTRE_FREQUENCY_2000Hz (2000 Hz), BPF_CENTRE_FREQUENCY_2500Hz (2500 Hz), BPF_CENTRE_FREQUENCY_3000Hz (3000 Hz), BPF_CENTRE_FREQUENCY_3500Hz (3500 Hz), or BPF_CENTRE_FREQUENCY_4000Hz (4000 Hz)), the modRvdt_SetSenseFilter() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_07 | HLR_RVDT_18873 | WHEN the band-pass filter bandwidth in bpfConfiguration is not one of the defined bandwidth frequencies (BPF_BANDWIDTH_FREQUENCY_20Hz (20 Hz), BPF_BANDWIDTH_FREQUENCY_100Hz (100 Hz), or BPF_BANDWIDTH_FREQUENCY_250Hz (250 Hz)), the modRvdt_SetSenseFilter() function SHALL abort processing and return MD_INVALID_VALUE. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_08 | HLR_RVDT_18873 | WHEN preconditions are satisfied, the modRvdt_SetSenseFilter() function SHALL invoke routine rvdt_configLpfCoefficient() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_09 | HLR_RVDT_18873 | WHEN preconditions are satisfied, the modRvdt_SetSenseFilter() function SHALL evaluate the driver return status using errCheck(). | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_10 | HLR_RVDT_18873 | WHEN preconditions are satisfied, the modRvdt_SetSenseFilter() function SHALL invoke routine rvdt_configBpfCoefficient() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_11 | HLR_RVDT_18873 | WHEN preconditions are satisfied, the modRvdt_SetSenseFilter() function SHALL invoke routine rvdt_setSenseFilterCommand() to execute target subsystem hardware operation. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |
| LLR_RVDT_MODRVDT_SETSENSEFILTER_12 | HLR_RVDT_18873 | WHEN all operational processing completes successfully, the modRvdt_SetSenseFilter() function SHALL return MD_SUCCESS. | modRvdt.c:modRvdt_SetSenseFilter() | Test | Closed |