|
HFCC-01 Low-Level Software (LLSW) Rel_6802_HFCC-01-RP-CSAR-CB
|
Go to the source code of this file.
Data Structures | |
| struct | OverCurrent |
| Power Supply Unit (PSU) Over-Current Threshold Diagnostic Status Structure. More... | |
| struct | OverVoltage |
| Power Supply Unit (PSU) Over-Voltage Threshold Diagnostic Status Structure. More... | |
| struct | OverTemp |
| Power Supply Unit (PSU) Over-Temperature Threshold Diagnostic Status Structure. More... | |
| struct | PsuDiagStatus |
| Power Supply Unit (PSU) Composite Hardware Diagnostic Status Structure. More... | |
| struct | CbitVoltage |
| Power Supply Unit (PSU) Continuous Built-In Test (CBIT) Voltage Rail Status Structure. More... | |
| struct | CbitCurrent |
| Power Supply Unit (PSU) Continuous Built-In Test (CBIT) Current Draw Status Structure. More... | |
| struct | CbitTemp |
| Power Supply Unit (PSU) Continuous Built-In Test (CBIT) Thermal Status Structure. More... | |
| struct | PsuCbitStatus |
| Power Supply Unit (PSU) Continuous Built-In Test (CBIT) Composite Health Status Structure. More... | |
| struct | PSUDevHandler |
| Power Supply Unit (PSU) Peripheral Hardware Device Handler Structure. More... | |
Functions | |
| 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 header file
| #define PSU_COEFFICIENTS_12V_AMP_B (55) |
| #define PSU_COEFFICIENTS_12V_AMP_K1 (0) |
| #define PSU_COEFFICIENTS_12V_AMP_K2 (-3) |
| #define PSU_COEFFICIENTS_12V_AMP_M (78) |
| #define PSU_COEFFICIENTS_12V_TEMP_B (-128) |
| #define PSU_COEFFICIENTS_12V_TEMP_K1 (2) |
| #define PSU_COEFFICIENTS_12V_TEMP_K2 (-2) |
| #define PSU_COEFFICIENTS_12V_TEMP_M (100) |
| #define PSU_COEFFICIENTS_12V_VOLT_B (-225) |
| #define PSU_COEFFICIENTS_12V_VOLT_K1 (-1) |
| #define PSU_COEFFICIENTS_12V_VOLT_K2 (-3) |
| #define PSU_COEFFICIENTS_12V_VOLT_M (59) |
| #define PSU_COEFFICIENTS_3V3_AMP_B (55) |
| #define PSU_COEFFICIENTS_3V3_AMP_K1 (0) |
| #define PSU_COEFFICIENTS_3V3_AMP_K2 (-3) |
| #define PSU_COEFFICIENTS_3V3_AMP_M (78) |
| #define PSU_COEFFICIENTS_3V3_AUX_AMP_B (200) |
| #define PSU_COEFFICIENTS_3V3_AUX_AMP_K1 (-1) |
| #define PSU_COEFFICIENTS_3V3_AUX_AMP_K2 (-4) |
| #define PSU_COEFFICIENTS_3V3_AUX_AMP_M (392) |
| #define PSU_COEFFICIENTS_3V3_AUX_TEMP_B (-128) |
| #define PSU_COEFFICIENTS_3V3_AUX_TEMP_K1 (2) |
| #define PSU_COEFFICIENTS_3V3_AUX_TEMP_K2 (-2) |
| #define PSU_COEFFICIENTS_3V3_AUX_TEMP_M (100) |
| #define PSU_COEFFICIENTS_3V3_AUX_VOLT_B (-175) |
| #define PSU_COEFFICIENTS_3V3_AUX_VOLT_K1 (-1) |
| #define PSU_COEFFICIENTS_3V3_AUX_VOLT_K2 (-4) |
| #define PSU_COEFFICIENTS_3V3_AUX_VOLT_M (157) |
| #define PSU_COEFFICIENTS_3V3_TEMP_B (-128) |
| #define PSU_COEFFICIENTS_3V3_TEMP_K1 (2) |
| #define PSU_COEFFICIENTS_3V3_TEMP_K2 (-2) |
| #define PSU_COEFFICIENTS_3V3_TEMP_M (100) |
| #define PSU_COEFFICIENTS_3V3_VOLT_B (-175) |
| #define PSU_COEFFICIENTS_3V3_VOLT_K1 (-1) |
| #define PSU_COEFFICIENTS_3V3_VOLT_K2 (-4) |
| #define PSU_COEFFICIENTS_3V3_VOLT_M (157) |
| #define PSU_COEFFICIENTS_5V_AMP_B (849) |
| #define PSU_COEFFICIENTS_5V_AMP_K1 (-1) |
| #define PSU_COEFFICIENTS_5V_AMP_K2 (-3) |
| #define PSU_COEFFICIENTS_5V_AMP_M (157) |
| #define PSU_COEFFICIENTS_5V_TEMP_B (-128) |
| #define PSU_COEFFICIENTS_5V_TEMP_K1 (2) |
| #define PSU_COEFFICIENTS_5V_TEMP_K2 (-2) |
| #define PSU_COEFFICIENTS_5V_TEMP_M (100) |
| #define PSU_COEFFICIENTS_5V_VOLT_B (375) |
| #define PSU_COEFFICIENTS_5V_VOLT_K1 (-1) |
| #define PSU_COEFFICIENTS_5V_VOLT_K2 (-4) |
| #define PSU_COEFFICIENTS_5V_VOLT_M (235) |
| #define PSU_COEFFICIENTS_BOARD_TEMP_B (-128) |
| #define PSU_COEFFICIENTS_BOARD_TEMP_K1 (2) |
| #define PSU_COEFFICIENTS_BOARD_TEMP_K2 (-2) |
| #define PSU_COEFFICIENTS_BOARD_TEMP_M (100) |
| #define PSU_COEFFICIENTS_INPUT_AMP_B (145) |
| #define PSU_COEFFICIENTS_INPUT_AMP_K1 (-1) |
| #define PSU_COEFFICIENTS_INPUT_AMP_K2 (-3) |
| #define PSU_COEFFICIENTS_INPUT_AMP_M (137) |
| #define PSU_COEFFICIENTS_INPUT_VOLT_B (475) |
| #define PSU_COEFFICIENTS_INPUT_VOLT_K1 (-1) |
| #define PSU_COEFFICIENTS_INPUT_VOLT_K2 (-3) |
| #define PSU_COEFFICIENTS_INPUT_VOLT_M (431) |
| #define PSU_COEFFICIENTS_N12V_AUX_AMP_B (200) |
| #define PSU_COEFFICIENTS_N12V_AUX_AMP_K1 (-1) |
| #define PSU_COEFFICIENTS_N12V_AUX_AMP_K2 (-4) |
| #define PSU_COEFFICIENTS_N12V_AUX_AMP_M (392) |
| #define PSU_COEFFICIENTS_N12V_AUX_TEMP_B (-128) |
| #define PSU_COEFFICIENTS_N12V_AUX_TEMP_K1 (2) |
| #define PSU_COEFFICIENTS_N12V_AUX_TEMP_K2 (-2) |
| #define PSU_COEFFICIENTS_N12V_AUX_TEMP_M (100) |
| #define PSU_COEFFICIENTS_N12V_AUX_VOLT_B (-178) |
| #define PSU_COEFFICIENTS_N12V_AUX_VOLT_K1 (2) |
| #define PSU_COEFFICIENTS_N12V_AUX_VOLT_K2 (-3) |
| #define PSU_COEFFICIENTS_N12V_AUX_VOLT_M (143) |
| #define PSU_COEFFICIENTS_P12V_AUX_AMP_B (200) |
| #define PSU_COEFFICIENTS_P12V_AUX_AMP_K1 (-1) |
| #define PSU_COEFFICIENTS_P12V_AUX_AMP_K2 (-4) |
| #define PSU_COEFFICIENTS_P12V_AUX_AMP_M (392) |
| #define PSU_COEFFICIENTS_P12V_AUX_TEMP_B (-128) |
| #define PSU_COEFFICIENTS_P12V_AUX_TEMP_K1 (2) |
| #define PSU_COEFFICIENTS_P12V_AUX_TEMP_K2 (-2) |
| #define PSU_COEFFICIENTS_P12V_AUX_TEMP_M (100) |
| #define PSU_COEFFICIENTS_P12V_AUX_VOLT_B (-225) |
| #define PSU_COEFFICIENTS_P12V_AUX_VOLT_K1 (-1) |
| #define PSU_COEFFICIENTS_P12V_AUX_VOLT_K2 (-3) |
| #define PSU_COEFFICIENTS_P12V_AUX_VOLT_M (59) |
| #define PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_B (-61) |
| #define PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_K1 (2) |
| #define PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_K2 (-2) |
| #define PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_M (75) |
| #define PSU_MASK_CBIT_BOARD_OVER_TEMP | ( | data | ) |
| #define PSU_MASK_CBIT_COMM_STAT | ( | data | ) |
| #define PSU_MASK_CBIT_IN_AMP_OVER_AMP | ( | data | ) |
| #define PSU_MASK_CBIT_IN_VOLT_OVER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_IN_VOLT_UNDER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_12V_OVER_AMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_12V_OVER_TEMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_12V_OVER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_12V_UNDER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_3V3_AUX_OVER_AMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_3V3_AUX_OVER_TEMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_3V3_AUX_OVER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_3V3_AUX_UNDER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_3V3_OVER_AMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_3V3_OVER_TEMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_3V3_OVER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_3V3_UNDER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_5V_OVER_AMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_5V_OVER_TEMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_5V_OVER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_5V_UNDER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_N12V_AUX_OVER_AMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_N12V_AUX_OVER_TEMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_N12V_AUX_OVER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_N12V_AUX_UNDER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_P12V_AUX_OVER_AMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_P12V_AUX_OVER_TEMP | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_P12V_AUX_OVER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_OUT_P12V_AUX_UNDER_VOLT | ( | data | ) |
| #define PSU_MASK_CBIT_PRI_TRANS_OVER_TEMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_BOARD_TEMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_IN_AMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_IN_VOLT | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_12V_AMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_12V_TEMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_12V_VOLT | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_3V3_AMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_AMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_TEMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_VOLT | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_3V3_TEMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_3V3_VOLT | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_5V_AMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_5V_TEMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_5V_VOLT | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_AMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_TEMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_VOLT | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_AMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_TEMP | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_VOLT | ( | data | ) |
| #define PSU_MASK_DIAG_STATE_PRI_TRANS_TEMP | ( | data | ) |
| #define PSU_OFFSET_READING_12V_AMP (0) |
Offset reading 12V current.
| #define PSU_OFFSET_READING_12V_TEMP (0) |
Offset reading 12V temperature.
| #define PSU_OFFSET_READING_12V_VOLT (0) |
Offset reading 12V voltage.
| #define PSU_OFFSET_READING_3V3_AMP (0) |
Offset reading 3.3V current.
| #define PSU_OFFSET_READING_3V3_AUX_AMP (0) |
Offset reading 3.3V auxilirary current.
| #define PSU_OFFSET_READING_3V3_AUX_TEMP (0) |
Offset reading 3.3V auxilirary temperature.
| #define PSU_OFFSET_READING_3V3_AUX_VOLT (0) |
Offset reading 3.3V auxilirary voltage.
| #define PSU_OFFSET_READING_3V3_TEMP (0) |
Offset reading 3.3V temperature.
| #define PSU_OFFSET_READING_3V3_VOLT (0) |
Offset reading 3.3V voltage.
| #define PSU_OFFSET_READING_5V_AMP (0) |
Offset reading 5V current.
| #define PSU_OFFSET_READING_5V_TEMP (0) |
Offset reading 5V temperature.
| #define PSU_OFFSET_READING_5V_VOLT (0) |
Offset reading 5V voltage.
| #define PSU_OFFSET_READING_BOARD_TEMP (0) |
Offset reading board temperature.
| #define PSU_OFFSET_READING_INPUT_AMP (0) |
Offset reading input current.
| #define PSU_OFFSET_READING_INPUT_VOLT (0.3) |
Offset reading input voltage.
| #define PSU_OFFSET_READING_N12V_AUX_AMP (0) |
Offset reading -12V auxilirary current.
| #define PSU_OFFSET_READING_N12V_AUX_TEMP (0) |
Offset reading -12V auxilirary temperature.
| #define PSU_OFFSET_READING_N12V_AUX_VOLT (0) |
Offset reading -12V auxilirary voltage.
| #define PSU_OFFSET_READING_P12V_AUX_AMP (0) |
Offset reading +12V auxilirary current.
| #define PSU_OFFSET_READING_P12V_AUX_TEMP (0) |
Offset reading +12V auxilirary temperature.
| #define PSU_OFFSET_READING_P12V_AUX_VOLT (0) |
Offset reading +12V auxilirary voltage.
| #define PSU_OFFSET_READING_PRIMARY_TRANS_TEMP (0) |
Offset reading primary transformer temperature.
| enum PsuCbitCondition |
Power Supply Unit (PSU) Voltage and Temperature Rail Threshold Diagnostic State Indicators.
| enum SensorNumber |
Power Supply Unit (PSU) Internal Voltage, Current, and Temperature Sensor Channel Identifiers.
| 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 |