|
HFCC-01 Low-Level Software (LLSW) Rel_6802_HFCC-01-RP-CSAR-CB
|
Macros | |
| #define | PSU_CBIT_CNT (4U) |
| #define | PSU_DIAG_CNT (3U) |
Functions | |
| static DriverStatus | readPsuReg (const UInt32 baseAddr, const UInt32 offset, UInt32 *data) |
| readPsuReg. | |
| static DriverStatus | valueConversion (const SensorNumber sensorNumber, const UInt8 xValue, Float32 *valuePtr) |
| valueConversion. | |
| static Float32 | formulaSensor (const Int16 mValue, const UInt8 xValue, const Int16 bValue, const Int8 k1Value, const Int8 k2Value) |
| formulaSensor | |
| static Float32 | roundToDecimal (const Float32 num) |
| roundToDecimal | |
| DriverStatus | psu_getPsuDiag (const PSUDevHandler psuDevHdl, PsuDiagStatus *psuDiagPtr) |
| psu_getPsuDiag. | |
| DriverStatus | psu_getPsuCbit (const PSUDevHandler psuDevHdl, PsuCbitStatus *psuCbitPtr) |
| psu_getPsuCbit. | |
| DriverStatus | psu_getInputVolt (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getInputVolt. | |
| DriverStatus | psu_getOutputRail12VVolt (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail12VVolt. | |
| DriverStatus | psu_getOutputRail3V3Volt (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail3V3Volt. | |
| DriverStatus | psu_getOutputRail5VVolt (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail5VVolt. | |
| DriverStatus | psu_getOutputRailN12VAuxVolt (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRailN12VAuxVolt. | |
| DriverStatus | psu_getOutputRailP12VAuxVolt (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRailP12VAuxVolt. | |
| DriverStatus | psu_getOutputRail3V3AuxVolt (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail3V3AuxVolt. | |
| DriverStatus | psu_getInputAmp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getInputAmp. | |
| DriverStatus | psu_getOutputRail12VAmp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail12VAmp. | |
| DriverStatus | psu_getOutputRail3V3Amp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail3V3Amp. | |
| DriverStatus | psu_getOutputRail5VAmp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail5VAmp. | |
| DriverStatus | psu_getOutputRailN12VAuxAmp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRailN12VAuxAmp. | |
| DriverStatus | psu_getOutputRailP12VAuxAmp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRailP12VAuxAmp. | |
| DriverStatus | psu_getOutputRail3V3AuxAmp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail3V3AuxAmp. | |
| DriverStatus | psu_getBoardTemp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getBoardTemp. | |
| DriverStatus | psu_getOutputRail12VTemp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail12VTemp. | |
| DriverStatus | psu_getOutputRail3V3Temp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail3V3Temp. | |
| DriverStatus | psu_getOutputRail5VTemp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail5VTemp. | |
| DriverStatus | psu_getOutputRailN12VAuxTemp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRailN12VAuxTemp. | |
| DriverStatus | psu_getOutputRailP12VAuxTemp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRailP12VAuxTemp. | |
| DriverStatus | psu_getOutputRail3V3AuxTemp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getOutputRail3V3AuxTemp. | |
| DriverStatus | psu_getPrimaryTransTemp (const PSUDevHandler psuDevHdl, Float32 *valuePtr) |
| psu_getPrimaryTransTemp. | |
PSU device driver file
| #define PSU_CBIT_CNT (4U) |
| #define PSU_DIAG_CNT (3U) |
|
static |
formulaSensor
Performs a calculation based on the given parameters.
| [in] | mValue | The slope value. |
| [in] | xValue | The raw input value. |
| [in] | bValue | The Y-intercept value. |
| [in] | k1Value | The first exponent value (K1). |
| [in] | k2Value | The second exponent value (K2). |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_FORMULASENSOR_01 | HLR_PSU_329 | WHEN raw ADC count xValue is equal to 0, the formulaSensor() function SHALL set the computed sensor engineering value to 0.0F. | psu.c:formulaSensor() | Test | Closed |
| LLR_PSU_FORMULASENSOR_02 | HLR_PSU_329 | WHEN raw ADC count xValue is not equal to 0, the formulaSensor() function SHALL compute the calibrated sensor engineering value using the polynomial formulation ((mValue * xValue) + (bValue * 10^k1Value)) * 10^k2Value. | psu.c:formulaSensor() | Test | Closed |
| LLR_PSU_FORMULASENSOR_03 | HLR_PSU_329 | WHEN sensor engineering calculation completes, the formulaSensor() function SHALL return the computed Float32 engineering value (sum). | psu.c:formulaSensor() | Test | Closed |
| DriverStatus psu_getBoardTemp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getBoardTemp.
Retrieves the board temperature (C) reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the board temperature reading in degree Celsius (C). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETBOARDTEMP_01 | HLR_PSU_19913 | WHEN the pointer valuePtr is NULL (invalid), the psu_getBoardTemp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getBoardTemp() | Test | Closed |
| LLR_PSU_PSU_GETBOARDTEMP_02 | HLR_PSU_19913 | WHEN the pointer valuePtr is valid, the psu_getBoardTemp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_BOARD_TEMP using readPsuReg(). | psu.c:psu_getBoardTemp() | Test | Closed |
| LLR_PSU_PSU_GETBOARDTEMP_03 | HLR_PSU_19913 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getBoardTemp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getBoardTemp() | Test | Closed |
| LLR_PSU_PSU_GETBOARDTEMP_04 | HLR_PSU_19913 | WHEN the hardware register is read successfully, the psu_getBoardTemp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_BOARD_TEMP to convert the lower 8-bit raw count into engineering temperature units. | psu.c:psu_getBoardTemp() | Test | Closed |
| LLR_PSU_PSU_GETBOARDTEMP_05 | HLR_PSU_19913 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getBoardTemp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getBoardTemp() | Test | Closed |
| LLR_PSU_PSU_GETBOARDTEMP_06 | HLR_PSU_19913 | WHEN engineering value conversion completes successfully, the psu_getBoardTemp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getBoardTemp() | Test | Closed |
| LLR_PSU_PSU_GETBOARDTEMP_07 | HLR_PSU_19913 | WHEN the rounded temperature value in *valuePtr is greater than 0, the psu_getBoardTemp() function SHALL add calibration offset PSU_OFFSET_READING_BOARD_TEMP to *valuePtr. | psu.c:psu_getBoardTemp() | Test | Closed |
| LLR_PSU_PSU_GETBOARDTEMP_08 | HLR_PSU_19913 | WHEN all operational processing completes successfully, the psu_getBoardTemp() function SHALL return DRV_SUCCESS. | psu.c:psu_getBoardTemp() | Test | Closed |
| DriverStatus psu_getInputAmp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getInputAmp.
Retrieves the input current reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU input current reading in Ampere (A). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETINPUTAMP_01 | HLR_PSU_19912 | WHEN the pointer valuePtr is NULL (invalid), the psu_getInputAmp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getInputAmp() | Test | Closed |
| LLR_PSU_PSU_GETINPUTAMP_02 | HLR_PSU_19912 | WHEN the pointer valuePtr is valid, the psu_getInputAmp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_IN_AMP using readPsuReg(). | psu.c:psu_getInputAmp() | Test | Closed |
| LLR_PSU_PSU_GETINPUTAMP_03 | HLR_PSU_19912 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getInputAmp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getInputAmp() | Test | Closed |
| LLR_PSU_PSU_GETINPUTAMP_04 | HLR_PSU_19912 | WHEN the hardware register is read successfully, the psu_getInputAmp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_INPUT_CURRENT to convert the lower 8-bit raw count into engineering current units. | psu.c:psu_getInputAmp() | Test | Closed |
| LLR_PSU_PSU_GETINPUTAMP_05 | HLR_PSU_19912 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getInputAmp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getInputAmp() | Test | Closed |
| LLR_PSU_PSU_GETINPUTAMP_06 | HLR_PSU_19912 | WHEN engineering value conversion completes successfully, the psu_getInputAmp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getInputAmp() | Test | Closed |
| LLR_PSU_PSU_GETINPUTAMP_07 | HLR_PSU_19912 | WHEN the rounded current value in *valuePtr is greater than 0, the psu_getInputAmp() function SHALL add calibration offset PSU_OFFSET_READING_INPUT_AMP to *valuePtr. | psu.c:psu_getInputAmp() | Test | Closed |
| LLR_PSU_PSU_GETINPUTAMP_08 | HLR_PSU_19912 | WHEN all operational processing completes successfully, the psu_getInputAmp() function SHALL return DRV_SUCCESS. | psu.c:psu_getInputAmp() | Test | Closed |
| DriverStatus psu_getInputVolt | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getInputVolt.
Retrieves the input voltage reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU input voltage reading in Volt (V). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETINPUTVOLT_01 | HLR_PSU_329 | WHEN the pointer valuePtr is NULL (invalid), the psu_getInputVolt() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getInputVolt() | Test | Closed |
| LLR_PSU_PSU_GETINPUTVOLT_02 | HLR_PSU_329 | WHEN the pointer valuePtr is valid, the psu_getInputVolt() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_IN_VOLT using readPsuReg(). | psu.c:psu_getInputVolt() | Test | Closed |
| LLR_PSU_PSU_GETINPUTVOLT_03 | HLR_PSU_329 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getInputVolt() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getInputVolt() | Test | Closed |
| LLR_PSU_PSU_GETINPUTVOLT_04 | HLR_PSU_329 | WHEN the hardware register is read successfully, the psu_getInputVolt() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_INPUT_VOLTAGE to convert the lower 8-bit raw count into engineering voltage units. | psu.c:psu_getInputVolt() | Test | Closed |
| LLR_PSU_PSU_GETINPUTVOLT_05 | HLR_PSU_329 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getInputVolt() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getInputVolt() | Test | Closed |
| LLR_PSU_PSU_GETINPUTVOLT_06 | HLR_PSU_329 | WHEN engineering value conversion completes successfully, the psu_getInputVolt() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getInputVolt() | Test | Closed |
| LLR_PSU_PSU_GETINPUTVOLT_07 | HLR_PSU_329 | WHEN the rounded voltage value in *valuePtr is greater than 0, the psu_getInputVolt() function SHALL add calibration offset PSU_OFFSET_READING_INPUT_VOLT to *valuePtr. | psu.c:psu_getInputVolt() | Test | Closed |
| LLR_PSU_PSU_GETINPUTVOLT_08 | HLR_PSU_329 | WHEN all operational processing completes successfully, the psu_getInputVolt() function SHALL return DRV_SUCCESS. | psu.c:psu_getInputVolt() | Test | Closed |
| DriverStatus psu_getOutputRail12VAmp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail12VAmp.
Retrieves the 12V output rail current reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 12V output rail current reading in Ampere (A). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL12VAMP_01 | HLR_PSU_19915 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail12VAmp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail12VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VAMP_02 | HLR_PSU_19915 | WHEN the pointer valuePtr is valid, the psu_getOutputRail12VAmp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_12V_AMP using readPsuReg(). | psu.c:psu_getOutputRail12VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VAMP_03 | HLR_PSU_19915 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail12VAmp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail12VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VAMP_04 | HLR_PSU_19915 | WHEN the hardware register is read successfully, the psu_getOutputRail12VAmp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_12V_CURRENT to convert the lower 8-bit raw count into engineering current units. | psu.c:psu_getOutputRail12VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VAMP_05 | HLR_PSU_19915 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail12VAmp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail12VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VAMP_06 | HLR_PSU_19915 | WHEN engineering value conversion completes successfully, the psu_getOutputRail12VAmp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail12VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VAMP_07 | HLR_PSU_19915 | WHEN the rounded current value in *valuePtr is greater than 0, the psu_getOutputRail12VAmp() function SHALL add calibration offset PSU_OFFSET_READING_12V_AMP to *valuePtr. | psu.c:psu_getOutputRail12VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VAMP_08 | HLR_PSU_19915 | WHEN all operational processing completes successfully, the psu_getOutputRail12VAmp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail12VAmp() | Test | Closed |
| DriverStatus psu_getOutputRail12VTemp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail12VTemp.
Retrieves the 12V output rail temperature (C) reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the 12V output rail temperature reading in degree Celsius (C). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL12VTEMP_01 | HLR_PSU_23251 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail12VTemp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail12VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VTEMP_02 | HLR_PSU_23251 | WHEN the pointer valuePtr is valid, the psu_getOutputRail12VTemp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_12V_TEMP using readPsuReg(). | psu.c:psu_getOutputRail12VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VTEMP_03 | HLR_PSU_23251 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail12VTemp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail12VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VTEMP_04 | HLR_PSU_23251 | WHEN the hardware register is read successfully, the psu_getOutputRail12VTemp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_12V_TEMP to convert the lower 8-bit raw count into engineering temperature units. | psu.c:psu_getOutputRail12VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VTEMP_05 | HLR_PSU_23251 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail12VTemp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail12VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VTEMP_06 | HLR_PSU_23251 | WHEN engineering value conversion completes successfully, the psu_getOutputRail12VTemp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail12VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VTEMP_07 | HLR_PSU_23251 | WHEN the rounded temperature value in *valuePtr is greater than 0, the psu_getOutputRail12VTemp() function SHALL add calibration offset PSU_OFFSET_READING_12V_TEMP to *valuePtr. | psu.c:psu_getOutputRail12VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VTEMP_08 | HLR_PSU_23251 | WHEN all operational processing completes successfully, the psu_getOutputRail12VTemp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail12VTemp() | Test | Closed |
| DriverStatus psu_getOutputRail12VVolt | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail12VVolt.
Retrieves the 12V output rail reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 12V output rail reading in Volt (V). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL12VVOLT_01 | HLR_PSU_19914 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail12VVolt() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail12VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VVOLT_02 | HLR_PSU_19914 | WHEN the pointer valuePtr is valid, the psu_getOutputRail12VVolt() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_12V_VOLT using readPsuReg(). | psu.c:psu_getOutputRail12VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VVOLT_03 | HLR_PSU_19914 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail12VVolt() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail12VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VVOLT_04 | HLR_PSU_19914 | WHEN the hardware register is read successfully, the psu_getOutputRail12VVolt() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_12V_VOLTAGE to convert the lower 8-bit raw count into engineering voltage units. | psu.c:psu_getOutputRail12VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VVOLT_05 | HLR_PSU_19914 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail12VVolt() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail12VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VVOLT_06 | HLR_PSU_19914 | WHEN engineering value conversion completes successfully, the psu_getOutputRail12VVolt() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail12VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VVOLT_07 | HLR_PSU_19914 | WHEN the rounded voltage value in *valuePtr is greater than 0, the psu_getOutputRail12VVolt() function SHALL add calibration offset PSU_OFFSET_READING_12V_VOLT to *valuePtr. | psu.c:psu_getOutputRail12VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL12VVOLT_08 | HLR_PSU_19914 | WHEN all operational processing completes successfully, the psu_getOutputRail12VVolt() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail12VVolt() | Test | Closed |
| DriverStatus psu_getOutputRail3V3Amp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail3V3Amp.
Retrieves the 3V3 output rail current reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 3V3 output rail current reading in Ampere (A). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AMP_01 | HLR_PSU_23247 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail3V3Amp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail3V3Amp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AMP_02 | HLR_PSU_23247 | WHEN the pointer valuePtr is valid, the psu_getOutputRail3V3Amp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_3V3_AMP using readPsuReg(). | psu.c:psu_getOutputRail3V3Amp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AMP_03 | HLR_PSU_23247 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3Amp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail3V3Amp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AMP_04 | HLR_PSU_23247 | WHEN the hardware register is read successfully, the psu_getOutputRail3V3Amp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_3V3_CURRENT to convert the lower 8-bit raw count into engineering current units. | psu.c:psu_getOutputRail3V3Amp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AMP_05 | HLR_PSU_23247 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3Amp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail3V3Amp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AMP_06 | HLR_PSU_23247 | WHEN engineering value conversion completes successfully, the psu_getOutputRail3V3Amp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail3V3Amp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AMP_07 | HLR_PSU_23247 | WHEN the rounded current value in *valuePtr is greater than 0, the psu_getOutputRail3V3Amp() function SHALL add calibration offset PSU_OFFSET_READING_3V3_AMP to *valuePtr. | psu.c:psu_getOutputRail3V3Amp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AMP_08 | HLR_PSU_23247 | WHEN all operational processing completes successfully, the psu_getOutputRail3V3Amp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail3V3Amp() | Test | Closed |
| DriverStatus psu_getOutputRail3V3AuxAmp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail3V3AuxAmp.
Retrieves the 3V3 aux output rail current reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 3V3 aux output rail current reading in Ampere (A). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXAMP_01 | HLR_PSU_23250 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail3V3AuxAmp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail3V3AuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXAMP_02 | HLR_PSU_23250 | WHEN the pointer valuePtr is valid, the psu_getOutputRail3V3AuxAmp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_3V3_AUX_AMP using readPsuReg(). | psu.c:psu_getOutputRail3V3AuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXAMP_03 | HLR_PSU_23250 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3AuxAmp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail3V3AuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXAMP_04 | HLR_PSU_23250 | WHEN the hardware register is read successfully, the psu_getOutputRail3V3AuxAmp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_3V3_AUX_CURRENT to convert the lower 8-bit raw count into engineering current units. | psu.c:psu_getOutputRail3V3AuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXAMP_05 | HLR_PSU_23250 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3AuxAmp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail3V3AuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXAMP_06 | HLR_PSU_23250 | WHEN engineering value conversion completes successfully, the psu_getOutputRail3V3AuxAmp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail3V3AuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXAMP_07 | HLR_PSU_23250 | WHEN the rounded current value in *valuePtr is greater than 0, the psu_getOutputRail3V3AuxAmp() function SHALL add calibration offset PSU_OFFSET_READING_3V3_AUX_AMP to *valuePtr. | psu.c:psu_getOutputRail3V3AuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXAMP_08 | HLR_PSU_23250 | WHEN all operational processing completes successfully, the psu_getOutputRail3V3AuxAmp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail3V3AuxAmp() | Test | Closed |
| DriverStatus psu_getOutputRail3V3AuxTemp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail3V3AuxTemp.
Retrieves the 3V3 aux output rail temperature (C) reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the 3V3 aux output rail temperature reading in degree Celsius (C). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXTEMP_01 | HLR_PSU_23256 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail3V3AuxTemp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail3V3AuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXTEMP_02 | HLR_PSU_23256 | WHEN the pointer valuePtr is valid, the psu_getOutputRail3V3AuxTemp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_3V3_AUX_TEMP using readPsuReg(). | psu.c:psu_getOutputRail3V3AuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXTEMP_03 | HLR_PSU_23256 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3AuxTemp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail3V3AuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXTEMP_04 | HLR_PSU_23256 | WHEN the hardware register is read successfully, the psu_getOutputRail3V3AuxTemp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_3V3_AUX_TEMP to convert the lower 8-bit raw count into engineering temperature units. | psu.c:psu_getOutputRail3V3AuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXTEMP_05 | HLR_PSU_23256 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3AuxTemp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail3V3AuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXTEMP_06 | HLR_PSU_23256 | WHEN engineering value conversion completes successfully, the psu_getOutputRail3V3AuxTemp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail3V3AuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXTEMP_07 | HLR_PSU_23256 | WHEN the rounded temperature value in *valuePtr is greater than 0, the psu_getOutputRail3V3AuxTemp() function SHALL add calibration offset PSU_OFFSET_READING_3V3_AUX_TEMP to *valuePtr. | psu.c:psu_getOutputRail3V3AuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXTEMP_08 | HLR_PSU_23256 | WHEN all operational processing completes successfully, the psu_getOutputRail3V3AuxTemp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail3V3AuxTemp() | Test | Closed |
| DriverStatus psu_getOutputRail3V3AuxVolt | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail3V3AuxVolt.
Retrieves the 3V3 aux output rail reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 3V3 aux output rail reading in Volt (V). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXVOLT_01 | HLR_PSU_23231 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail3V3AuxVolt() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail3V3AuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXVOLT_02 | HLR_PSU_23231 | WHEN the pointer valuePtr is valid, the psu_getOutputRail3V3AuxVolt() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_3V3_AUX_VOLT using readPsuReg(). | psu.c:psu_getOutputRail3V3AuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXVOLT_03 | HLR_PSU_23231 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3AuxVolt() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail3V3AuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXVOLT_04 | HLR_PSU_23231 | WHEN the hardware register is read successfully, the psu_getOutputRail3V3AuxVolt() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_3V3_AUX_VOLTAGE to convert the lower 8-bit raw count into engineering voltage units. | psu.c:psu_getOutputRail3V3AuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXVOLT_05 | HLR_PSU_23231 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3AuxVolt() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail3V3AuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXVOLT_06 | HLR_PSU_23231 | WHEN engineering value conversion completes successfully, the psu_getOutputRail3V3AuxVolt() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail3V3AuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXVOLT_07 | HLR_PSU_23231 | WHEN the rounded voltage value in *valuePtr is greater than 0, the psu_getOutputRail3V3AuxVolt() function SHALL add calibration offset PSU_OFFSET_READING_3V3_AUX_VOLT to *valuePtr. | psu.c:psu_getOutputRail3V3AuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3AUXVOLT_08 | HLR_PSU_23231 | WHEN all operational processing completes successfully, the psu_getOutputRail3V3AuxVolt() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail3V3AuxVolt() | Test | Closed |
| DriverStatus psu_getOutputRail3V3Temp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail3V3Temp.
Retrieves the 3V3 output rail temperature (C) reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the 3V3 output rail temperature reading in degree Celsius (C). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL3V3TEMP_01 | HLR_PSU_23253 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail3V3Temp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail3V3Temp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3TEMP_02 | HLR_PSU_23253 | WHEN the pointer valuePtr is valid, the psu_getOutputRail3V3Temp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_3V3_TEMP using readPsuReg(). | psu.c:psu_getOutputRail3V3Temp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3TEMP_03 | HLR_PSU_23253 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3Temp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail3V3Temp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3TEMP_04 | HLR_PSU_23253 | WHEN the hardware register is read successfully, the psu_getOutputRail3V3Temp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_3V3_TEMP to convert the lower 8-bit raw count into engineering temperature units. | psu.c:psu_getOutputRail3V3Temp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3TEMP_05 | HLR_PSU_23253 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3Temp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail3V3Temp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3TEMP_06 | HLR_PSU_23253 | WHEN engineering value conversion completes successfully, the psu_getOutputRail3V3Temp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail3V3Temp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3TEMP_07 | HLR_PSU_23253 | WHEN the rounded temperature value in *valuePtr is greater than 0, the psu_getOutputRail3V3Temp() function SHALL add calibration offset PSU_OFFSET_READING_3V3_TEMP to *valuePtr. | psu.c:psu_getOutputRail3V3Temp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3TEMP_08 | HLR_PSU_23253 | WHEN all operational processing completes successfully, the psu_getOutputRail3V3Temp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail3V3Temp() | Test | Closed |
| DriverStatus psu_getOutputRail3V3Volt | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail3V3Volt.
Retrieves the 3V3 output rail reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 3V3 output rail reading in Volt (V). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL3V3VOLT_01 | HLR_PSU_23226 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail3V3Volt() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail3V3Volt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3VOLT_02 | HLR_PSU_23226 | WHEN the pointer valuePtr is valid, the psu_getOutputRail3V3Volt() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_3V3_VOLT using readPsuReg(). | psu.c:psu_getOutputRail3V3Volt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3VOLT_03 | HLR_PSU_23226 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3Volt() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail3V3Volt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3VOLT_04 | HLR_PSU_23226 | WHEN the hardware register is read successfully, the psu_getOutputRail3V3Volt() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_3V3_VOLTAGE to convert the lower 8-bit raw count into engineering voltage units. | psu.c:psu_getOutputRail3V3Volt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3VOLT_05 | HLR_PSU_23226 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail3V3Volt() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail3V3Volt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3VOLT_06 | HLR_PSU_23226 | WHEN engineering value conversion completes successfully, the psu_getOutputRail3V3Volt() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail3V3Volt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3VOLT_07 | HLR_PSU_23226 | WHEN the rounded voltage value in *valuePtr is greater than 0, the psu_getOutputRail3V3Volt() function SHALL add calibration offset PSU_OFFSET_READING_3V3_VOLT to *valuePtr. | psu.c:psu_getOutputRail3V3Volt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL3V3VOLT_08 | HLR_PSU_23226 | WHEN all operational processing completes successfully, the psu_getOutputRail3V3Volt() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail3V3Volt() | Test | Closed |
| DriverStatus psu_getOutputRail5VAmp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail5VAmp.
Retrieves the 5V output rail current reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 5V output rail current reading in Ampere (A). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL5VAMP_01 | HLR_PSU_23246 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail5VAmp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail5VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VAMP_02 | HLR_PSU_23246 | WHEN the pointer valuePtr is valid, the psu_getOutputRail5VAmp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_5V_AMP using readPsuReg(). | psu.c:psu_getOutputRail5VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VAMP_03 | HLR_PSU_23246 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail5VAmp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail5VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VAMP_04 | HLR_PSU_23246 | WHEN the hardware register is read successfully, the psu_getOutputRail5VAmp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_5V_CURRENT to convert the lower 8-bit raw count into engineering current units. | psu.c:psu_getOutputRail5VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VAMP_05 | HLR_PSU_23246 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail5VAmp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail5VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VAMP_06 | HLR_PSU_23246 | WHEN engineering value conversion completes successfully, the psu_getOutputRail5VAmp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail5VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VAMP_07 | HLR_PSU_23246 | WHEN the rounded current value in *valuePtr is greater than 0, the psu_getOutputRail5VAmp() function SHALL add calibration offset PSU_OFFSET_READING_5V_AMP to *valuePtr. | psu.c:psu_getOutputRail5VAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VAMP_08 | HLR_PSU_23246 | WHEN all operational processing completes successfully, the psu_getOutputRail5VAmp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail5VAmp() | Test | Closed |
| DriverStatus psu_getOutputRail5VTemp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail5VTemp.
Retrieves the 5V output rail temperature (C) reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the 5V output rail temperature reading in degree Celsius (C). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL5VTEMP_01 | HLR_PSU_23252 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail5VTemp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail5VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VTEMP_02 | HLR_PSU_23252 | WHEN the pointer valuePtr is valid, the psu_getOutputRail5VTemp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_5V_TEMP using readPsuReg(). | psu.c:psu_getOutputRail5VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VTEMP_03 | HLR_PSU_23252 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail5VTemp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail5VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VTEMP_04 | HLR_PSU_23252 | WHEN the hardware register is read successfully, the psu_getOutputRail5VTemp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_5V_TEMP to convert the lower 8-bit raw count into engineering temperature units. | psu.c:psu_getOutputRail5VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VTEMP_05 | HLR_PSU_23252 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail5VTemp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail5VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VTEMP_06 | HLR_PSU_23252 | WHEN engineering value conversion completes successfully, the psu_getOutputRail5VTemp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail5VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VTEMP_07 | HLR_PSU_23252 | WHEN the rounded temperature value in *valuePtr is greater than 0, the psu_getOutputRail5VTemp() function SHALL add calibration offset PSU_OFFSET_READING_5V_TEMP to *valuePtr. | psu.c:psu_getOutputRail5VTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VTEMP_08 | HLR_PSU_23252 | WHEN all operational processing completes successfully, the psu_getOutputRail5VTemp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail5VTemp() | Test | Closed |
| DriverStatus psu_getOutputRail5VVolt | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRail5VVolt.
Retrieves the 5V output rail reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 5V output rail reading in Volt (V). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAIL5VVOLT_01 | HLR_PSU_23225 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRail5VVolt() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRail5VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VVOLT_02 | HLR_PSU_23225 | WHEN the pointer valuePtr is valid, the psu_getOutputRail5VVolt() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_5V_VOLT using readPsuReg(). | psu.c:psu_getOutputRail5VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VVOLT_03 | HLR_PSU_23225 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRail5VVolt() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRail5VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VVOLT_04 | HLR_PSU_23225 | WHEN the hardware register is read successfully, the psu_getOutputRail5VVolt() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_5V_VOLTAGE to convert the lower 8-bit raw count into engineering voltage units. | psu.c:psu_getOutputRail5VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VVOLT_05 | HLR_PSU_23225 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRail5VVolt() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRail5VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VVOLT_06 | HLR_PSU_23225 | WHEN engineering value conversion completes successfully, the psu_getOutputRail5VVolt() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRail5VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VVOLT_07 | HLR_PSU_23225 | WHEN the rounded voltage value in *valuePtr is greater than 0, the psu_getOutputRail5VVolt() function SHALL add calibration offset PSU_OFFSET_READING_5V_VOLT to *valuePtr. | psu.c:psu_getOutputRail5VVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAIL5VVOLT_08 | HLR_PSU_23225 | WHEN all operational processing completes successfully, the psu_getOutputRail5VVolt() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRail5VVolt() | Test | Closed |
| DriverStatus psu_getOutputRailN12VAuxAmp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRailN12VAuxAmp.
Retrieves the -12V aux output rail current reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU -12V output rail current reading in Ampere (A). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXAMP_01 | HLR_PSU_23248 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRailN12VAuxAmp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRailN12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXAMP_02 | HLR_PSU_23248 | WHEN the pointer valuePtr is valid, the psu_getOutputRailN12VAuxAmp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_N12V_AUX_AMP using readPsuReg(). | psu.c:psu_getOutputRailN12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXAMP_03 | HLR_PSU_23248 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRailN12VAuxAmp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRailN12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXAMP_04 | HLR_PSU_23248 | WHEN the hardware register is read successfully, the psu_getOutputRailN12VAuxAmp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_N12V_AUX_CURRENT to convert the lower 8-bit raw count into engineering current units. | psu.c:psu_getOutputRailN12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXAMP_05 | HLR_PSU_23248 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRailN12VAuxAmp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRailN12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXAMP_06 | HLR_PSU_23248 | WHEN engineering value conversion completes successfully, the psu_getOutputRailN12VAuxAmp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRailN12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXAMP_07 | HLR_PSU_23248 | WHEN the rounded current value in *valuePtr is greater than 0, the psu_getOutputRailN12VAuxAmp() function SHALL add calibration offset PSU_OFFSET_READING_N12V_AUX_AMP to *valuePtr. | psu.c:psu_getOutputRailN12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXAMP_08 | HLR_PSU_23248 | WHEN all operational processing completes successfully, the psu_getOutputRailN12VAuxAmp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRailN12VAuxAmp() | Test | Closed |
| DriverStatus psu_getOutputRailN12VAuxTemp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRailN12VAuxTemp.
Retrieves the -12V aux output rail temperature (C) reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the -12V aux output rail temperature reading in degree Celsius (C). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXTEMP_01 | HLR_PSU_23254 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRailN12VAuxTemp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRailN12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXTEMP_02 | HLR_PSU_23254 | WHEN the pointer valuePtr is valid, the psu_getOutputRailN12VAuxTemp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_N12V_AUX_TEMP using readPsuReg(). | psu.c:psu_getOutputRailN12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXTEMP_03 | HLR_PSU_23254 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRailN12VAuxTemp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRailN12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXTEMP_04 | HLR_PSU_23254 | WHEN the hardware register is read successfully, the psu_getOutputRailN12VAuxTemp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_N12V_AUX_TEMP to convert the lower 8-bit raw count into engineering temperature units. | psu.c:psu_getOutputRailN12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXTEMP_05 | HLR_PSU_23254 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRailN12VAuxTemp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRailN12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXTEMP_06 | HLR_PSU_23254 | WHEN engineering value conversion completes successfully, the psu_getOutputRailN12VAuxTemp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRailN12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXTEMP_07 | HLR_PSU_23254 | WHEN the rounded temperature value in *valuePtr is greater than 0, the psu_getOutputRailN12VAuxTemp() function SHALL add calibration offset PSU_OFFSET_READING_N12V_AUX_TEMP to *valuePtr. | psu.c:psu_getOutputRailN12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXTEMP_08 | HLR_PSU_23254 | WHEN all operational processing completes successfully, the psu_getOutputRailN12VAuxTemp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRailN12VAuxTemp() | Test | Closed |
| DriverStatus psu_getOutputRailN12VAuxVolt | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRailN12VAuxVolt.
Retrieves the -12V aux output rail reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU -12V aux output rail reading in Volt (V). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXVOLT_01 | HLR_PSU_23228 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRailN12VAuxVolt() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRailN12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXVOLT_02 | HLR_PSU_23228 | WHEN the pointer valuePtr is valid, the psu_getOutputRailN12VAuxVolt() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_N12V_AUX_VOLT using readPsuReg(). | psu.c:psu_getOutputRailN12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXVOLT_03 | HLR_PSU_23228 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRailN12VAuxVolt() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRailN12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXVOLT_04 | HLR_PSU_23228 | WHEN the hardware register is read successfully, the psu_getOutputRailN12VAuxVolt() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_N12V_AUX_VOLTAGE to convert the lower 8-bit raw count into engineering voltage units. | psu.c:psu_getOutputRailN12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXVOLT_05 | HLR_PSU_23228 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRailN12VAuxVolt() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRailN12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXVOLT_06 | HLR_PSU_23228 | WHEN engineering value conversion completes successfully, the psu_getOutputRailN12VAuxVolt() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRailN12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXVOLT_07 | HLR_PSU_23228 | WHEN the rounded voltage value in *valuePtr is less than 0, the psu_getOutputRailN12VAuxVolt() function SHALL add calibration offset PSU_OFFSET_READING_N12V_AUX_VOLT to *valuePtr. | psu.c:psu_getOutputRailN12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILN12VAUXVOLT_08 | HLR_PSU_23228 | WHEN all operational processing completes successfully, the psu_getOutputRailN12VAuxVolt() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRailN12VAuxVolt() | Test | Closed |
| DriverStatus psu_getOutputRailP12VAuxAmp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRailP12VAuxAmp.
Retrieves the 12V aux output rail current reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU 12V output rail current reading in Ampere (A). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXAMP_01 | HLR_PSU_23248 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRailP12VAuxAmp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRailP12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXAMP_02 | HLR_PSU_23248 | WHEN the pointer valuePtr is valid, the psu_getOutputRailP12VAuxAmp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_P12V_AUX_AMP using readPsuReg(). | psu.c:psu_getOutputRailP12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXAMP_03 | HLR_PSU_23248 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRailP12VAuxAmp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRailP12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXAMP_04 | HLR_PSU_23248 | WHEN the hardware register is read successfully, the psu_getOutputRailP12VAuxAmp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_P12V_AUX_CURRENT to convert the lower 8-bit raw count into engineering current units. | psu.c:psu_getOutputRailP12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXAMP_05 | HLR_PSU_23248 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRailP12VAuxAmp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRailP12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXAMP_06 | HLR_PSU_23248 | WHEN engineering value conversion completes successfully, the psu_getOutputRailP12VAuxAmp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRailP12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXAMP_07 | HLR_PSU_23248 | WHEN the rounded current value in *valuePtr is greater than 0, the psu_getOutputRailP12VAuxAmp() function SHALL add calibration offset PSU_OFFSET_READING_P12V_AUX_AMP to *valuePtr. | psu.c:psu_getOutputRailP12VAuxAmp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXAMP_08 | HLR_PSU_23248 | WHEN all operational processing completes successfully, the psu_getOutputRailP12VAuxAmp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRailP12VAuxAmp() | Test | Closed |
| DriverStatus psu_getOutputRailP12VAuxTemp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRailP12VAuxTemp.
Retrieves the 12V aux output rail temperature (C) reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the 12V aux output rail temperature reading in degree Celsius (C). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXTEMP_01 | HLR_PSU_23254 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRailP12VAuxTemp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRailP12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXTEMP_02 | HLR_PSU_23254 | WHEN the pointer valuePtr is valid, the psu_getOutputRailP12VAuxTemp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_P12V_AUX_TEMP using readPsuReg(). | psu.c:psu_getOutputRailP12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXTEMP_03 | HLR_PSU_23254 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRailP12VAuxTemp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRailP12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXTEMP_04 | HLR_PSU_23254 | WHEN the hardware register is read successfully, the psu_getOutputRailP12VAuxTemp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_P12V_AUX_TEMP to convert the lower 8-bit raw count into engineering temperature units. | psu.c:psu_getOutputRailP12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXTEMP_05 | HLR_PSU_23254 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRailP12VAuxTemp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRailP12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXTEMP_06 | HLR_PSU_23254 | WHEN engineering value conversion completes successfully, the psu_getOutputRailP12VAuxTemp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRailP12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXTEMP_07 | HLR_PSU_23254 | WHEN the rounded temperature value in *valuePtr is greater than 0, the psu_getOutputRailP12VAuxTemp() function SHALL add calibration offset PSU_OFFSET_READING_P12V_AUX_TEMP to *valuePtr. | psu.c:psu_getOutputRailP12VAuxTemp() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXTEMP_08 | HLR_PSU_23254 | WHEN all operational processing completes successfully, the psu_getOutputRailP12VAuxTemp() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRailP12VAuxTemp() | Test | Closed |
| DriverStatus psu_getOutputRailP12VAuxVolt | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getOutputRailP12VAuxVolt.
Retrieves the +12V aux output rail reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the PSU +12V aux output rail reading in Volt (V). |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXVOLT_01 | HLR_PSU_23228 | WHEN the pointer valuePtr is NULL (invalid), the psu_getOutputRailP12VAuxVolt() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getOutputRailP12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXVOLT_02 | HLR_PSU_23228 | WHEN the pointer valuePtr is valid, the psu_getOutputRailP12VAuxVolt() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_OUT_P12V_AUX_VOLT using readPsuReg(). | psu.c:psu_getOutputRailP12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXVOLT_03 | HLR_PSU_23228 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getOutputRailP12VAuxVolt() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getOutputRailP12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXVOLT_04 | HLR_PSU_23228 | WHEN the hardware register is read successfully, the psu_getOutputRailP12VAuxVolt() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_P12V_AUX_VOLTAGE to convert the lower 8-bit raw count into engineering voltage units. | psu.c:psu_getOutputRailP12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXVOLT_05 | HLR_PSU_23228 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getOutputRailP12VAuxVolt() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getOutputRailP12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXVOLT_06 | HLR_PSU_23228 | WHEN engineering value conversion completes successfully, the psu_getOutputRailP12VAuxVolt() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getOutputRailP12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXVOLT_07 | HLR_PSU_23228 | WHEN the rounded voltage value in *valuePtr is greater than 0, the psu_getOutputRailP12VAuxVolt() function SHALL add calibration offset PSU_OFFSET_READING_P12V_AUX_VOLT to *valuePtr. | psu.c:psu_getOutputRailP12VAuxVolt() | Test | Closed |
| LLR_PSU_PSU_GETOUTPUTRAILP12VAUXVOLT_08 | HLR_PSU_23228 | WHEN all operational processing completes successfully, the psu_getOutputRailP12VAuxVolt() function SHALL return DRV_SUCCESS. | psu.c:psu_getOutputRailP12VAuxVolt() | Test | Closed |
| DriverStatus psu_getPrimaryTransTemp | ( | const PSUDevHandler | psuDevHdl, |
| Float32 * | valuePtr ) |
psu_getPrimaryTransTemp.
Retrieves the primary transformer temperature (C) reading from the power supply unit (PSU).
| [in] | psuDevHdl | The PSU device handler. |
| [out] | valuePtr | Pointer to store the primary transformer temperature reading in degree Celsius (C). |
| DRV_SUCCESS | : Operation successful. |
| DRV_READ_FAILED | : Failed to read from the device. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETPRIMARYTRANSTEMP_01 | HLR_PSU_329 | WHEN the pointer valuePtr is NULL (invalid), the psu_getPrimaryTransTemp() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getPrimaryTransTemp() | Test | Closed |
| LLR_PSU_PSU_GETPRIMARYTRANSTEMP_02 | HLR_PSU_329 | WHEN the pointer valuePtr is valid, the psu_getPrimaryTransTemp() function SHALL read the raw hardware sensor count from register MMAP_PSU_READING_PRI_TRANS_TEMP using readPsuReg(). | psu.c:psu_getPrimaryTransTemp() | Test | Closed |
| LLR_PSU_PSU_GETPRIMARYTRANSTEMP_03 | HLR_PSU_329 | WHEN the hardware register read operation fails (status not equal to DRV_SUCCESS), the psu_getPrimaryTransTemp() function SHALL clear *valuePtr to 0.0F and return that failure status. | psu.c:psu_getPrimaryTransTemp() | Test | Closed |
| LLR_PSU_PSU_GETPRIMARYTRANSTEMP_04 | HLR_PSU_329 | WHEN the hardware register is read successfully, the psu_getPrimaryTransTemp() function SHALL invoke conversion routine valueConversion() with sensor identifier PSU_SENSOR_NUMBER_PRIMARY_TRANS_TEMP to convert the lower 8-bit raw count into engineering temperature units. | psu.c:psu_getPrimaryTransTemp() | Test | Closed |
| LLR_PSU_PSU_GETPRIMARYTRANSTEMP_05 | HLR_PSU_329 | WHEN sensor value conversion fails (status not equal to DRV_SUCCESS), the psu_getPrimaryTransTemp() function SHALL abort processing and return that conversion failure status. | psu.c:psu_getPrimaryTransTemp() | Test | Closed |
| LLR_PSU_PSU_GETPRIMARYTRANSTEMP_06 | HLR_PSU_329 | WHEN engineering value conversion completes successfully, the psu_getPrimaryTransTemp() function SHALL format the result to target decimal precision using numerical helper roundToDecimal(). | psu.c:psu_getPrimaryTransTemp() | Test | Closed |
| LLR_PSU_PSU_GETPRIMARYTRANSTEMP_07 | HLR_PSU_329 | WHEN the rounded temperature value in *valuePtr is greater than 0, the psu_getPrimaryTransTemp() function SHALL add calibration offset PSU_OFFSET_READING_PRIMARY_TRANS_TEMP to *valuePtr. | psu.c:psu_getPrimaryTransTemp() | Test | Closed |
| LLR_PSU_PSU_GETPRIMARYTRANSTEMP_08 | HLR_PSU_329 | WHEN all operational processing completes successfully, the psu_getPrimaryTransTemp() function SHALL return DRV_SUCCESS. | psu.c:psu_getPrimaryTransTemp() | Test | Closed |
| DriverStatus psu_getPsuCbit | ( | const PSUDevHandler | psuDevHdl, |
| PsuCbitStatus * | psuCbitPtr ) |
psu_getPsuCbit.
To get CBIT status for PSU.
| [in] | psuDevHdl | The PSU device handler. |
| [out] | psuCbitPtr | The pointer to a CBIT Status. |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETPSUCBIT_01 | HLR_PSU_16742 | WHEN the pointer psuCbitPtr is NULL (invalid), the psu_getPsuCbit() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getPsuCbit() | Test | Closed |
| LLR_PSU_PSU_GETPSUCBIT_02 | HLR_PSU_16742 | WHEN reading any of the PSU CBIT registers fails (reporting a status other than DRV_SUCCESS), the psu_getPsuCbit() function SHALL abort processing and return that driver failure status. | psu.c:psu_getPsuCbit() | Test | Closed |
| LLR_PSU_PSU_GETPSUCBIT_03 | HLR_PSU_16742 | WHEN the destination pointer psuCbitPtr is valid, the psu_getPsuCbit() function SHALL read the Power Supply Unit (PSU) CBIT status telemetry registers for Voltage (MMAP_PSU_CBIT_STATE_VOLT), Current (MMAP_PSU_CBIT_STATE_AMP), Temperature (MMAP_PSU_CBIT_STATE_TEMP), and Communication (MMAP_PSU_CBIT_STATE_COMM) from the PSU peripheral base address. | psu.c:psu_getPsuCbit() | Test | Closed |
| LLR_PSU_PSU_GETPSUCBIT_04 | HLR_PSU_16742 | WHEN the Voltage CBIT register (MMAP_PSU_CBIT_STATE_VOLT) is read successfully, the psu_getPsuCbit() function SHALL decode the over-voltage and under-voltage status flags for all monitored input and output voltage rails into @p psuCbitPtr->voltage. | psu.c:psu_getPsuCbit() | Test | Closed |
| LLR_PSU_PSU_GETPSUCBIT_05 | HLR_PSU_16742 | WHEN the Current CBIT register (MMAP_PSU_CBIT_STATE_AMP) is read successfully, the psu_getPsuCbit() function SHALL decode the over-current status flags for all monitored input and output current rails into @p psuCbitPtr->current. | psu.c:psu_getPsuCbit() | Test | Closed |
| LLR_PSU_PSU_GETPSUCBIT_06 | HLR_PSU_16742 | WHEN the Temperature CBIT register (MMAP_PSU_CBIT_STATE_TEMP) is read successfully, the psu_getPsuCbit() function SHALL decode the over-temperature status flags for all monitored thermal sensors into @p psuCbitPtr->temp. | psu.c:psu_getPsuCbit() | Test | Closed |
| LLR_PSU_PSU_GETPSUCBIT_07 | HLR_PSU_16742 | WHEN the Communication CBIT register (MMAP_PSU_CBIT_STATE_COMM) is read successfully, the psu_getPsuCbit() function SHALL decode the communication fault status flag into @p psuCbitPtr->commStat. | psu.c:psu_getPsuCbit() | Test | Closed |
| LLR_PSU_PSU_GETPSUCBIT_08 | HLR_PSU_16742 | WHEN all operational processing completes successfully, the psu_getPsuCbit() function SHALL return DRV_SUCCESS. | psu.c:psu_getPsuCbit() | Test | Closed |
| DriverStatus psu_getPsuDiag | ( | const PSUDevHandler | psuDevHdl, |
| PsuDiagStatus * | psuDiagPtr ) |
psu_getPsuDiag.
Get the diagnostic status for power supply unit.
| [in] | psuDevHdl | The PSU device handler. |
| [out] | psuDiagPtr | Pointer for PSU diagnostic Status. |
| DRV_SUCCESS | : Operation successful. |
| DRV_INVALID_PARAM | : Invalid address pointer. |
| DRV_READ_FAILED | : Failed to read from the device. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_PSU_GETPSUDIAG_01 | HLR_PSU_329 | WHEN the pointer psuDiagPtr is NULL (invalid), the psu_getPsuDiag() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:psu_getPsuDiag() | Test | Closed |
| LLR_PSU_PSU_GETPSUDIAG_02 | HLR_PSU_329 | WHEN reading any of the PSU diagnostic registers fails (reporting a status other than DRV_SUCCESS), the psu_getPsuDiag() function SHALL abort processing and return that driver failure status. | psu.c:psu_getPsuDiag() | Test | Closed |
| LLR_PSU_PSU_GETPSUDIAG_03 | HLR_PSU_329 | WHEN the destination pointer psuDiagPtr is valid, the psu_getPsuDiag() function SHALL read the Power Supply Unit (PSU) diagnostic state registers for Voltage (MMAP_PSU_DIAG_STATE_VOLT), Current (MMAP_PSU_DIAG_STATE_AMP), and Temperature (MMAP_PSU_DIAG_STATE_TEMP) from the PSU peripheral base address. | psu.c:psu_getPsuDiag() | Test | Closed |
| LLR_PSU_PSU_GETPSUDIAG_04 | HLR_PSU_329 | WHEN the Voltage Diagnostic register (MMAP_PSU_DIAG_STATE_VOLT) is read successfully, the psu_getPsuDiag() function SHALL decode the over-voltage fault threshold state for all monitored voltage rails into @p psuDiagPtr->overVoltage. | psu.c:psu_getPsuDiag() | Test | Closed |
| LLR_PSU_PSU_GETPSUDIAG_05 | HLR_PSU_329 | WHEN the Current Diagnostic register (MMAP_PSU_DIAG_STATE_AMP) is read successfully, the psu_getPsuDiag() function SHALL decode the over-current fault threshold state for all monitored current rails into @p psuDiagPtr->overCurrent. | psu.c:psu_getPsuDiag() | Test | Closed |
| LLR_PSU_PSU_GETPSUDIAG_06 | HLR_PSU_329 | WHEN the Temperature Diagnostic register (MMAP_PSU_DIAG_STATE_TEMP) is read successfully, the psu_getPsuDiag() function SHALL decode the over-temperature fault threshold state for all monitored thermal sensors into @p psuDiagPtr->overTemp. | psu.c:psu_getPsuDiag() | Test | Closed |
| LLR_PSU_PSU_GETPSUDIAG_07 | HLR_PSU_329 | WHEN all operational processing completes successfully, the psu_getPsuDiag() function SHALL return DRV_SUCCESS. | psu.c:psu_getPsuDiag() | Test | Closed |
|
static |
readPsuReg.
psu PCIe read function.
| [in] | baseAddr | The base address of the module and device. |
| [in] | offset | The offset address from module base address. |
| [out] | data | 32bit data to read from PCIe. |
| DRV_SUCCESS | : Success. |
| DRV_READ_FAILED | : PCIe failed to read value. |
| DRV_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_PSU_READPSUREG_01 | HLR_PSU_16742 | WHEN the pointer data is NULL (invalid), the readPsuReg() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:readPsuReg() | Test | Closed |
| LLR_PSU_READPSUREG_02 | HLR_PSU_16742 | WHEN the pointer data is valid, the readPsuReg() function SHALL read a 32-bit register value from physical memory address (baseAddress + addrOffset) into *data using PCIe primitive interDrv_Read32(). | psu.c:readPsuReg() | Test | Closed |
| LLR_PSU_READPSUREG_03 | HLR_PSU_16742 | WHEN memory access via interDrv_Read32() fails (status not equal to INTF_SUCCESS), the readPsuReg() function SHALL abort processing and return DRV_READ_FAILED. | psu.c:readPsuReg() | Test | Closed |
| LLR_PSU_READPSUREG_04 | HLR_PSU_16742 | WHEN all operational processing completes successfully, the readPsuReg() function SHALL return DRV_SUCCESS. | psu.c:readPsuReg() | Test | Closed |
|
static |
roundToDecimal
Rounds a Float32 number to 2 decimal places.
| [in] | num | The Float32 number to round. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_ROUNDTODECIMAL_01 | HLR_PSU_329 | WHEN the third decimal fractional remainder (Int32)((num * 1000.0F) - (rounded * 1000.0F)) is greater than or equal to 5, the roundToDecimal() function SHALL round up by adding 0.01F to the two-decimal truncated value. | psu.c:roundToDecimal() | Test | Closed |
| LLR_PSU_ROUNDTODECIMAL_02 | HLR_PSU_329 | WHEN the third decimal fractional remainder (Int32)((num * 1000.0F) - (rounded * 1000.0F)) is less than or equal to -5, the roundToDecimal() function SHALL round down by subtracting 0.01F from the two-decimal truncated value. | psu.c:roundToDecimal() | Test | Closed |
| LLR_PSU_ROUNDTODECIMAL_03 | HLR_PSU_329 | WHEN the third decimal fractional remainder is strictly between -5 and 5, the roundToDecimal() function SHALL retain the two-decimal truncated value without adjustment. | psu.c:roundToDecimal() | Test | Closed |
| LLR_PSU_ROUNDTODECIMAL_04 | HLR_PSU_329 | WHEN rounding evaluation completes, the roundToDecimal() function SHALL return the rounded Float32 value (rounded). | psu.c:roundToDecimal() | Test | Closed |
|
static |
valueConversion.
Performs value conversion using the given parameters.
| [in] | sensorNumber | The number of the sensor. |
| [in] | xValue | Raw value to be convert. |
| [out] | valuePtr | Pointer to store the converted value. |
| DRV_SUCCESS | : Success. |
| DRV_INVALID_PARAM | : The provided address pointer is invalid. |
| DRV_INVALID_VALUE | : The provided sensor number is invalid. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_VALUECONVERSION_01 | HLR_PSU_329 | WHEN the pointer valuePtr is NULL (invalid), the valueConversion() function SHALL abort processing and return DRV_INVALID_PARAM. | psu.c:valueConversion() | Test | Closed |
| LLR_PSU_VALUECONVERSION_02 | HLR_PSU_329 | WHEN sensorNumber is not one of PSU_SENSOR_NUMBER_BOARD_TEMP through PSU_SENSOR_NUMBER_3V3_AUX_TEMP, the valueConversion() function SHALL abort processing and return DRV_INVALID_VALUE. | psu.c:valueConversion() | Test | Closed |
| LLR_PSU_VALUECONVERSION_03 | HLR_PSU_329 | WHEN preconditions are satisfied, the valueConversion() function SHALL invoke transfer function formulaSensor() to evaluate physical sensor calibration curve. | psu.c:valueConversion() | Test | Closed |
| LLR_PSU_VALUECONVERSION_04 | HLR_PSU_329 | WHEN all operational processing completes successfully, the valueConversion() function SHALL return DRV_SUCCESS. | psu.c:valueConversion() | Test | Closed |