HFCC-01 Low-Level Software (LLSW) Rel_6802_HFCC-01-RP-CSAR-CB
Loading...
Searching...
No Matches
psu.h File Reference
#include "commonDataTypes.h"
#include "driverStatus.h"
Include dependency graph for psu.h:
This graph shows which files directly or indirectly include this file:

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...

Macros

#define PSU_COEFFICIENTS_INPUT_VOLT_M   (431)
#define PSU_COEFFICIENTS_INPUT_VOLT_B   (475)
#define PSU_COEFFICIENTS_INPUT_VOLT_K1   (-1)
#define PSU_COEFFICIENTS_INPUT_VOLT_K2   (-3)
#define PSU_COEFFICIENTS_12V_VOLT_M   (59)
#define PSU_COEFFICIENTS_12V_VOLT_B   (-225)
#define PSU_COEFFICIENTS_12V_VOLT_K1   (-1)
#define PSU_COEFFICIENTS_12V_VOLT_K2   (-3)
#define PSU_COEFFICIENTS_3V3_VOLT_M   (157)
#define PSU_COEFFICIENTS_3V3_VOLT_B   (-175)
#define PSU_COEFFICIENTS_3V3_VOLT_K1   (-1)
#define PSU_COEFFICIENTS_3V3_VOLT_K2   (-4)
#define PSU_COEFFICIENTS_5V_VOLT_M   (235)
#define PSU_COEFFICIENTS_5V_VOLT_B   (375)
#define PSU_COEFFICIENTS_5V_VOLT_K1   (-1)
#define PSU_COEFFICIENTS_5V_VOLT_K2   (-4)
#define PSU_COEFFICIENTS_N12V_AUX_VOLT_M   (143)
#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_P12V_AUX_VOLT_M   (59)
#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_3V3_AUX_VOLT_M   (157)
#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_INPUT_AMP_M   (137)
#define PSU_COEFFICIENTS_INPUT_AMP_B   (145)
#define PSU_COEFFICIENTS_INPUT_AMP_K1   (-1)
#define PSU_COEFFICIENTS_INPUT_AMP_K2   (-3)
#define PSU_COEFFICIENTS_12V_AMP_M   (78)
#define PSU_COEFFICIENTS_12V_AMP_B   (55)
#define PSU_COEFFICIENTS_12V_AMP_K1   (0)
#define PSU_COEFFICIENTS_12V_AMP_K2   (-3)
#define PSU_COEFFICIENTS_3V3_AMP_M   (78)
#define PSU_COEFFICIENTS_3V3_AMP_B   (55)
#define PSU_COEFFICIENTS_3V3_AMP_K1   (0)
#define PSU_COEFFICIENTS_3V3_AMP_K2   (-3)
#define PSU_COEFFICIENTS_5V_AMP_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_N12V_AUX_AMP_M   (392)
#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_P12V_AUX_AMP_M   (392)
#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_3V3_AUX_AMP_M   (392)
#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_BOARD_TEMP_M   (100)
#define PSU_COEFFICIENTS_BOARD_TEMP_B   (-128)
#define PSU_COEFFICIENTS_BOARD_TEMP_K1   (2)
#define PSU_COEFFICIENTS_BOARD_TEMP_K2   (-2)
#define PSU_COEFFICIENTS_12V_TEMP_M   (100)
#define PSU_COEFFICIENTS_12V_TEMP_B   (-128)
#define PSU_COEFFICIENTS_12V_TEMP_K1   (2)
#define PSU_COEFFICIENTS_12V_TEMP_K2   (-2)
#define PSU_COEFFICIENTS_3V3_TEMP_M   (100)
#define PSU_COEFFICIENTS_3V3_TEMP_B   (-128)
#define PSU_COEFFICIENTS_3V3_TEMP_K1   (2)
#define PSU_COEFFICIENTS_3V3_TEMP_K2   (-2)
#define PSU_COEFFICIENTS_5V_TEMP_M   (100)
#define PSU_COEFFICIENTS_5V_TEMP_B   (-128)
#define PSU_COEFFICIENTS_5V_TEMP_K1   (2)
#define PSU_COEFFICIENTS_5V_TEMP_K2   (-2)
#define PSU_COEFFICIENTS_N12V_AUX_TEMP_M   (100)
#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_P12V_AUX_TEMP_M   (100)
#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_3V3_AUX_TEMP_M   (100)
#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_PRIMARY_TRANS_TEMP_M   (75)
#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_OFFSET_READING_INPUT_VOLT   (0.3)
 Offset reading input voltage.
#define PSU_OFFSET_READING_12V_VOLT   (0)
 Offset reading 12V voltage.
#define PSU_OFFSET_READING_3V3_VOLT   (0)
 Offset reading 3.3V voltage.
#define PSU_OFFSET_READING_5V_VOLT   (0)
 Offset reading 5V voltage.
#define PSU_OFFSET_READING_N12V_AUX_VOLT   (0)
 Offset reading -12V auxilirary voltage.
#define PSU_OFFSET_READING_P12V_AUX_VOLT   (0)
 Offset reading +12V auxilirary voltage.
#define PSU_OFFSET_READING_3V3_AUX_VOLT   (0)
 Offset reading 3.3V auxilirary voltage.
#define PSU_OFFSET_READING_INPUT_AMP   (0)
 Offset reading input current.
#define PSU_OFFSET_READING_12V_AMP   (0)
 Offset reading 12V current.
#define PSU_OFFSET_READING_3V3_AMP   (0)
 Offset reading 3.3V current.
#define PSU_OFFSET_READING_5V_AMP   (0)
 Offset reading 5V current.
#define PSU_OFFSET_READING_N12V_AUX_AMP   (0)
 Offset reading -12V auxilirary current.
#define PSU_OFFSET_READING_P12V_AUX_AMP   (0)
 Offset reading +12V auxilirary current.
#define PSU_OFFSET_READING_3V3_AUX_AMP   (0)
 Offset reading 3.3V auxilirary current.
#define PSU_OFFSET_READING_BOARD_TEMP   (0)
 Offset reading board temperature.
#define PSU_OFFSET_READING_12V_TEMP   (0)
 Offset reading 12V temperature.
#define PSU_OFFSET_READING_3V3_TEMP   (0)
 Offset reading 3.3V temperature.
#define PSU_OFFSET_READING_5V_TEMP   (0)
 Offset reading 5V temperature.
#define PSU_OFFSET_READING_N12V_AUX_TEMP   (0)
 Offset reading -12V auxilirary temperature.
#define PSU_OFFSET_READING_P12V_AUX_TEMP   (0)
 Offset reading +12V auxilirary temperature.
#define PSU_OFFSET_READING_3V3_AUX_TEMP   (0)
 Offset reading 3.3V auxilirary temperature.
#define PSU_OFFSET_READING_PRIMARY_TRANS_TEMP   (0)
 Offset reading primary transformer temperature.
#define PSU_MASK_DIAG_STATE_IN_VOLT(data)
#define PSU_MASK_DIAG_STATE_OUT_12V_VOLT(data)
#define PSU_MASK_DIAG_STATE_OUT_3V3_VOLT(data)
#define PSU_MASK_DIAG_STATE_OUT_5V_VOLT(data)
#define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_VOLT(data)
#define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_VOLT(data)
#define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_VOLT(data)
#define PSU_MASK_DIAG_STATE_IN_AMP(data)
#define PSU_MASK_DIAG_STATE_OUT_12V_AMP(data)
#define PSU_MASK_DIAG_STATE_OUT_3V3_AMP(data)
#define PSU_MASK_DIAG_STATE_OUT_5V_AMP(data)
#define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_AMP(data)
#define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_AMP(data)
#define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_AMP(data)
#define PSU_MASK_DIAG_STATE_BOARD_TEMP(data)
#define PSU_MASK_DIAG_STATE_OUT_12V_TEMP(data)
#define PSU_MASK_DIAG_STATE_OUT_3V3_TEMP(data)
#define PSU_MASK_DIAG_STATE_OUT_5V_TEMP(data)
#define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_TEMP(data)
#define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_TEMP(data)
#define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_TEMP(data)
#define PSU_MASK_DIAG_STATE_PRI_TRANS_TEMP(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_VOLT(data)
#define PSU_MASK_CBIT_OUT_12V_UNDER_VOLT(data)
#define PSU_MASK_CBIT_OUT_5V_OVER_VOLT(data)
#define PSU_MASK_CBIT_OUT_5V_UNDER_VOLT(data)
#define PSU_MASK_CBIT_OUT_3V3_OVER_VOLT(data)
#define PSU_MASK_CBIT_OUT_3V3_UNDER_VOLT(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_VOLT(data)
#define PSU_MASK_CBIT_OUT_P12V_AUX_UNDER_VOLT(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_IN_AMP_OVER_AMP(data)
#define PSU_MASK_CBIT_OUT_12V_OVER_AMP(data)
#define PSU_MASK_CBIT_OUT_5V_OVER_AMP(data)
#define PSU_MASK_CBIT_OUT_3V3_OVER_AMP(data)
#define PSU_MASK_CBIT_OUT_N12V_AUX_OVER_AMP(data)
#define PSU_MASK_CBIT_OUT_P12V_AUX_OVER_AMP(data)
#define PSU_MASK_CBIT_OUT_3V3_AUX_OVER_AMP(data)
#define PSU_MASK_CBIT_BOARD_OVER_TEMP(data)
#define PSU_MASK_CBIT_OUT_12V_OVER_TEMP(data)
#define PSU_MASK_CBIT_OUT_5V_OVER_TEMP(data)
#define PSU_MASK_CBIT_OUT_3V3_OVER_TEMP(data)
#define PSU_MASK_CBIT_OUT_N12V_AUX_OVER_TEMP(data)
#define PSU_MASK_CBIT_OUT_P12V_AUX_OVER_TEMP(data)
#define PSU_MASK_CBIT_OUT_3V3_AUX_OVER_TEMP(data)
#define PSU_MASK_CBIT_PRI_TRANS_OVER_TEMP(data)
#define PSU_MASK_CBIT_COMM_STAT(data)

Enumerations

enum  SensorNumber {
  PSU_SENSOR_NUMBER_BOARD_TEMP = 0x0A , PSU_SENSOR_NUMBER_N12V_AUX_VOLTAGE = 0x0B , PSU_SENSOR_NUMBER_N12V_AUX_TEMP = 0x0C , PSU_SENSOR_NUMBER_INPUT_VOLTAGE = 0x0D ,
  PSU_SENSOR_NUMBER_INPUT_CURRENT = 0x0E , PSU_SENSOR_NUMBER_12V_CURRENT = 0x11 , PSU_SENSOR_NUMBER_5V_CURRENT = 0x12 , PSU_SENSOR_NUMBER_3V3_CURRENT = 0x13 ,
  PSU_SENSOR_NUMBER_3V3_AUX_CURRENT = 0x14 , PSU_SENSOR_NUMBER_PRIMARY_TRANS_TEMP = 0x16 , PSU_SENSOR_NUMBER_P12V_AUX_CURRENT = 0x17 , PSU_SENSOR_NUMBER_N12V_AUX_CURRENT = 0x18 ,
  PSU_SENSOR_NUMBER_5V_VOLTAGE = 0x19 , PSU_SENSOR_NUMBER_5V_TEMP = 0x1A , PSU_SENSOR_NUMBER_12V_VOLTAGE = 0x1B , PSU_SENSOR_NUMBER_12V_TEMP = 0x1C ,
  PSU_SENSOR_NUMBER_3V3_VOLTAGE = 0x1D , PSU_SENSOR_NUMBER_3V3_TEMP = 0x1E , PSU_SENSOR_NUMBER_P12V_AUX_VOLTAGE = 0x1F , PSU_SENSOR_NUMBER_P12V_AUX_TEMP = 0x20 ,
  PSU_SENSOR_NUMBER_3V3_AUX_VOLTAGE = 0x21 , PSU_SENSOR_NUMBER_3V3_AUX_TEMP = 0x22
}
 Power Supply Unit (PSU) Internal Voltage, Current, and Temperature Sensor Channel Identifiers. More...
enum  PsuDiagStateThreshold {
  READING_NORMAL = 0x01U , READING_LOWER_NON_CRITICAL , READING_LOWER_CRITICAL , READING_LOWER_NON_RECOVERABLE ,
  READING_UPPER_NON_CRITICAL , READING_UPPER_CRITICAL , READING_UPPER_NON_RECOVERABLE
}
 Power Supply Unit (PSU) Voltage and Temperature Rail Threshold Diagnostic State Indicators. More...
enum  PsuCbitCondition { NOT_OK = 0 , OK }
 Power Supply Unit (PSU) Continuous Built-In Test (CBIT) Evaluation Condition (OK / NOT OK). 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.

Detailed Description

Macro Definition Documentation

◆ PSU_COEFFICIENTS_12V_AMP_B

#define PSU_COEFFICIENTS_12V_AMP_B   (55)

◆ PSU_COEFFICIENTS_12V_AMP_K1

#define PSU_COEFFICIENTS_12V_AMP_K1   (0)

◆ PSU_COEFFICIENTS_12V_AMP_K2

#define PSU_COEFFICIENTS_12V_AMP_K2   (-3)

◆ PSU_COEFFICIENTS_12V_AMP_M

#define PSU_COEFFICIENTS_12V_AMP_M   (78)

◆ PSU_COEFFICIENTS_12V_TEMP_B

#define PSU_COEFFICIENTS_12V_TEMP_B   (-128)

◆ PSU_COEFFICIENTS_12V_TEMP_K1

#define PSU_COEFFICIENTS_12V_TEMP_K1   (2)

◆ PSU_COEFFICIENTS_12V_TEMP_K2

#define PSU_COEFFICIENTS_12V_TEMP_K2   (-2)

◆ PSU_COEFFICIENTS_12V_TEMP_M

#define PSU_COEFFICIENTS_12V_TEMP_M   (100)

◆ PSU_COEFFICIENTS_12V_VOLT_B

#define PSU_COEFFICIENTS_12V_VOLT_B   (-225)

◆ PSU_COEFFICIENTS_12V_VOLT_K1

#define PSU_COEFFICIENTS_12V_VOLT_K1   (-1)

◆ PSU_COEFFICIENTS_12V_VOLT_K2

#define PSU_COEFFICIENTS_12V_VOLT_K2   (-3)

◆ PSU_COEFFICIENTS_12V_VOLT_M

#define PSU_COEFFICIENTS_12V_VOLT_M   (59)

◆ PSU_COEFFICIENTS_3V3_AMP_B

#define PSU_COEFFICIENTS_3V3_AMP_B   (55)

◆ PSU_COEFFICIENTS_3V3_AMP_K1

#define PSU_COEFFICIENTS_3V3_AMP_K1   (0)

◆ PSU_COEFFICIENTS_3V3_AMP_K2

#define PSU_COEFFICIENTS_3V3_AMP_K2   (-3)

◆ PSU_COEFFICIENTS_3V3_AMP_M

#define PSU_COEFFICIENTS_3V3_AMP_M   (78)

◆ PSU_COEFFICIENTS_3V3_AUX_AMP_B

#define PSU_COEFFICIENTS_3V3_AUX_AMP_B   (200)

◆ PSU_COEFFICIENTS_3V3_AUX_AMP_K1

#define PSU_COEFFICIENTS_3V3_AUX_AMP_K1   (-1)

◆ PSU_COEFFICIENTS_3V3_AUX_AMP_K2

#define PSU_COEFFICIENTS_3V3_AUX_AMP_K2   (-4)

◆ PSU_COEFFICIENTS_3V3_AUX_AMP_M

#define PSU_COEFFICIENTS_3V3_AUX_AMP_M   (392)

◆ PSU_COEFFICIENTS_3V3_AUX_TEMP_B

#define PSU_COEFFICIENTS_3V3_AUX_TEMP_B   (-128)

◆ PSU_COEFFICIENTS_3V3_AUX_TEMP_K1

#define PSU_COEFFICIENTS_3V3_AUX_TEMP_K1   (2)

◆ PSU_COEFFICIENTS_3V3_AUX_TEMP_K2

#define PSU_COEFFICIENTS_3V3_AUX_TEMP_K2   (-2)

◆ PSU_COEFFICIENTS_3V3_AUX_TEMP_M

#define PSU_COEFFICIENTS_3V3_AUX_TEMP_M   (100)

◆ PSU_COEFFICIENTS_3V3_AUX_VOLT_B

#define PSU_COEFFICIENTS_3V3_AUX_VOLT_B   (-175)

◆ PSU_COEFFICIENTS_3V3_AUX_VOLT_K1

#define PSU_COEFFICIENTS_3V3_AUX_VOLT_K1   (-1)

◆ PSU_COEFFICIENTS_3V3_AUX_VOLT_K2

#define PSU_COEFFICIENTS_3V3_AUX_VOLT_K2   (-4)

◆ PSU_COEFFICIENTS_3V3_AUX_VOLT_M

#define PSU_COEFFICIENTS_3V3_AUX_VOLT_M   (157)

◆ PSU_COEFFICIENTS_3V3_TEMP_B

#define PSU_COEFFICIENTS_3V3_TEMP_B   (-128)

◆ PSU_COEFFICIENTS_3V3_TEMP_K1

#define PSU_COEFFICIENTS_3V3_TEMP_K1   (2)

◆ PSU_COEFFICIENTS_3V3_TEMP_K2

#define PSU_COEFFICIENTS_3V3_TEMP_K2   (-2)

◆ PSU_COEFFICIENTS_3V3_TEMP_M

#define PSU_COEFFICIENTS_3V3_TEMP_M   (100)

◆ PSU_COEFFICIENTS_3V3_VOLT_B

#define PSU_COEFFICIENTS_3V3_VOLT_B   (-175)

◆ PSU_COEFFICIENTS_3V3_VOLT_K1

#define PSU_COEFFICIENTS_3V3_VOLT_K1   (-1)

◆ PSU_COEFFICIENTS_3V3_VOLT_K2

#define PSU_COEFFICIENTS_3V3_VOLT_K2   (-4)

◆ PSU_COEFFICIENTS_3V3_VOLT_M

#define PSU_COEFFICIENTS_3V3_VOLT_M   (157)

◆ PSU_COEFFICIENTS_5V_AMP_B

#define PSU_COEFFICIENTS_5V_AMP_B   (849)

◆ PSU_COEFFICIENTS_5V_AMP_K1

#define PSU_COEFFICIENTS_5V_AMP_K1   (-1)

◆ PSU_COEFFICIENTS_5V_AMP_K2

#define PSU_COEFFICIENTS_5V_AMP_K2   (-3)

◆ PSU_COEFFICIENTS_5V_AMP_M

#define PSU_COEFFICIENTS_5V_AMP_M   (157)

◆ PSU_COEFFICIENTS_5V_TEMP_B

#define PSU_COEFFICIENTS_5V_TEMP_B   (-128)

◆ PSU_COEFFICIENTS_5V_TEMP_K1

#define PSU_COEFFICIENTS_5V_TEMP_K1   (2)

◆ PSU_COEFFICIENTS_5V_TEMP_K2

#define PSU_COEFFICIENTS_5V_TEMP_K2   (-2)

◆ PSU_COEFFICIENTS_5V_TEMP_M

#define PSU_COEFFICIENTS_5V_TEMP_M   (100)

◆ PSU_COEFFICIENTS_5V_VOLT_B

#define PSU_COEFFICIENTS_5V_VOLT_B   (375)

◆ PSU_COEFFICIENTS_5V_VOLT_K1

#define PSU_COEFFICIENTS_5V_VOLT_K1   (-1)

◆ PSU_COEFFICIENTS_5V_VOLT_K2

#define PSU_COEFFICIENTS_5V_VOLT_K2   (-4)

◆ PSU_COEFFICIENTS_5V_VOLT_M

#define PSU_COEFFICIENTS_5V_VOLT_M   (235)

◆ PSU_COEFFICIENTS_BOARD_TEMP_B

#define PSU_COEFFICIENTS_BOARD_TEMP_B   (-128)

◆ PSU_COEFFICIENTS_BOARD_TEMP_K1

#define PSU_COEFFICIENTS_BOARD_TEMP_K1   (2)

◆ PSU_COEFFICIENTS_BOARD_TEMP_K2

#define PSU_COEFFICIENTS_BOARD_TEMP_K2   (-2)

◆ PSU_COEFFICIENTS_BOARD_TEMP_M

#define PSU_COEFFICIENTS_BOARD_TEMP_M   (100)

◆ PSU_COEFFICIENTS_INPUT_AMP_B

#define PSU_COEFFICIENTS_INPUT_AMP_B   (145)

◆ PSU_COEFFICIENTS_INPUT_AMP_K1

#define PSU_COEFFICIENTS_INPUT_AMP_K1   (-1)

◆ PSU_COEFFICIENTS_INPUT_AMP_K2

#define PSU_COEFFICIENTS_INPUT_AMP_K2   (-3)

◆ PSU_COEFFICIENTS_INPUT_AMP_M

#define PSU_COEFFICIENTS_INPUT_AMP_M   (137)

◆ PSU_COEFFICIENTS_INPUT_VOLT_B

#define PSU_COEFFICIENTS_INPUT_VOLT_B   (475)

◆ PSU_COEFFICIENTS_INPUT_VOLT_K1

#define PSU_COEFFICIENTS_INPUT_VOLT_K1   (-1)

◆ PSU_COEFFICIENTS_INPUT_VOLT_K2

#define PSU_COEFFICIENTS_INPUT_VOLT_K2   (-3)

◆ PSU_COEFFICIENTS_INPUT_VOLT_M

#define PSU_COEFFICIENTS_INPUT_VOLT_M   (431)

◆ PSU_COEFFICIENTS_N12V_AUX_AMP_B

#define PSU_COEFFICIENTS_N12V_AUX_AMP_B   (200)

◆ PSU_COEFFICIENTS_N12V_AUX_AMP_K1

#define PSU_COEFFICIENTS_N12V_AUX_AMP_K1   (-1)

◆ PSU_COEFFICIENTS_N12V_AUX_AMP_K2

#define PSU_COEFFICIENTS_N12V_AUX_AMP_K2   (-4)

◆ PSU_COEFFICIENTS_N12V_AUX_AMP_M

#define PSU_COEFFICIENTS_N12V_AUX_AMP_M   (392)

◆ PSU_COEFFICIENTS_N12V_AUX_TEMP_B

#define PSU_COEFFICIENTS_N12V_AUX_TEMP_B   (-128)

◆ PSU_COEFFICIENTS_N12V_AUX_TEMP_K1

#define PSU_COEFFICIENTS_N12V_AUX_TEMP_K1   (2)

◆ PSU_COEFFICIENTS_N12V_AUX_TEMP_K2

#define PSU_COEFFICIENTS_N12V_AUX_TEMP_K2   (-2)

◆ PSU_COEFFICIENTS_N12V_AUX_TEMP_M

#define PSU_COEFFICIENTS_N12V_AUX_TEMP_M   (100)

◆ PSU_COEFFICIENTS_N12V_AUX_VOLT_B

#define PSU_COEFFICIENTS_N12V_AUX_VOLT_B   (-178)

◆ PSU_COEFFICIENTS_N12V_AUX_VOLT_K1

#define PSU_COEFFICIENTS_N12V_AUX_VOLT_K1   (2)

◆ PSU_COEFFICIENTS_N12V_AUX_VOLT_K2

#define PSU_COEFFICIENTS_N12V_AUX_VOLT_K2   (-3)

◆ PSU_COEFFICIENTS_N12V_AUX_VOLT_M

#define PSU_COEFFICIENTS_N12V_AUX_VOLT_M   (143)

◆ PSU_COEFFICIENTS_P12V_AUX_AMP_B

#define PSU_COEFFICIENTS_P12V_AUX_AMP_B   (200)

◆ PSU_COEFFICIENTS_P12V_AUX_AMP_K1

#define PSU_COEFFICIENTS_P12V_AUX_AMP_K1   (-1)

◆ PSU_COEFFICIENTS_P12V_AUX_AMP_K2

#define PSU_COEFFICIENTS_P12V_AUX_AMP_K2   (-4)

◆ PSU_COEFFICIENTS_P12V_AUX_AMP_M

#define PSU_COEFFICIENTS_P12V_AUX_AMP_M   (392)

◆ PSU_COEFFICIENTS_P12V_AUX_TEMP_B

#define PSU_COEFFICIENTS_P12V_AUX_TEMP_B   (-128)

◆ PSU_COEFFICIENTS_P12V_AUX_TEMP_K1

#define PSU_COEFFICIENTS_P12V_AUX_TEMP_K1   (2)

◆ PSU_COEFFICIENTS_P12V_AUX_TEMP_K2

#define PSU_COEFFICIENTS_P12V_AUX_TEMP_K2   (-2)

◆ PSU_COEFFICIENTS_P12V_AUX_TEMP_M

#define PSU_COEFFICIENTS_P12V_AUX_TEMP_M   (100)

◆ PSU_COEFFICIENTS_P12V_AUX_VOLT_B

#define PSU_COEFFICIENTS_P12V_AUX_VOLT_B   (-225)

◆ PSU_COEFFICIENTS_P12V_AUX_VOLT_K1

#define PSU_COEFFICIENTS_P12V_AUX_VOLT_K1   (-1)

◆ PSU_COEFFICIENTS_P12V_AUX_VOLT_K2

#define PSU_COEFFICIENTS_P12V_AUX_VOLT_K2   (-3)

◆ PSU_COEFFICIENTS_P12V_AUX_VOLT_M

#define PSU_COEFFICIENTS_P12V_AUX_VOLT_M   (59)

◆ PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_B

#define PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_B   (-61)

◆ PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_K1

#define PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_K1   (2)

◆ PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_K2

#define PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_K2   (-2)

◆ PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_M

#define PSU_COEFFICIENTS_PRIMARY_TRANS_TEMP_M   (75)

◆ PSU_MASK_CBIT_BOARD_OVER_TEMP

#define PSU_MASK_CBIT_BOARD_OVER_TEMP ( data)
Value:
(data & 0x00000001U)

◆ PSU_MASK_CBIT_COMM_STAT

#define PSU_MASK_CBIT_COMM_STAT ( data)
Value:
(data & 0x00000001U)

◆ PSU_MASK_CBIT_IN_AMP_OVER_AMP

#define PSU_MASK_CBIT_IN_AMP_OVER_AMP ( data)
Value:
(data & 0x00000001U)

◆ PSU_MASK_CBIT_IN_VOLT_OVER_VOLT

#define PSU_MASK_CBIT_IN_VOLT_OVER_VOLT ( data)
Value:
(data & 0x00000001U)

◆ PSU_MASK_CBIT_IN_VOLT_UNDER_VOLT

#define PSU_MASK_CBIT_IN_VOLT_UNDER_VOLT ( data)
Value:
((data & 0x00000002U) >> 1U)

◆ PSU_MASK_CBIT_OUT_12V_OVER_AMP

#define PSU_MASK_CBIT_OUT_12V_OVER_AMP ( data)
Value:
((data & 0x00000002U) >> 1U)

◆ PSU_MASK_CBIT_OUT_12V_OVER_TEMP

#define PSU_MASK_CBIT_OUT_12V_OVER_TEMP ( data)
Value:
((data & 0x00000002U) >> 1U)

◆ PSU_MASK_CBIT_OUT_12V_OVER_VOLT

#define PSU_MASK_CBIT_OUT_12V_OVER_VOLT ( data)
Value:
((data & 0x00000004U) >> 2U)

◆ PSU_MASK_CBIT_OUT_12V_UNDER_VOLT

#define PSU_MASK_CBIT_OUT_12V_UNDER_VOLT ( data)
Value:
((data & 0x00000008U) >> 3U)

◆ PSU_MASK_CBIT_OUT_3V3_AUX_OVER_AMP

#define PSU_MASK_CBIT_OUT_3V3_AUX_OVER_AMP ( data)
Value:
((data & 0x00000040U) >> 6U)

◆ PSU_MASK_CBIT_OUT_3V3_AUX_OVER_TEMP

#define PSU_MASK_CBIT_OUT_3V3_AUX_OVER_TEMP ( data)
Value:
((data & 0x00000040U) >> 6U)

◆ PSU_MASK_CBIT_OUT_3V3_AUX_OVER_VOLT

#define PSU_MASK_CBIT_OUT_3V3_AUX_OVER_VOLT ( data)
Value:
((data & 0x00001000U) >> 12U)

◆ PSU_MASK_CBIT_OUT_3V3_AUX_UNDER_VOLT

#define PSU_MASK_CBIT_OUT_3V3_AUX_UNDER_VOLT ( data)
Value:
((data & 0x00002000U) >> 13U)

◆ PSU_MASK_CBIT_OUT_3V3_OVER_AMP

#define PSU_MASK_CBIT_OUT_3V3_OVER_AMP ( data)
Value:
((data & 0x00000008U) >> 3U)

◆ PSU_MASK_CBIT_OUT_3V3_OVER_TEMP

#define PSU_MASK_CBIT_OUT_3V3_OVER_TEMP ( data)
Value:
((data & 0x00000008U) >> 3U)

◆ PSU_MASK_CBIT_OUT_3V3_OVER_VOLT

#define PSU_MASK_CBIT_OUT_3V3_OVER_VOLT ( data)
Value:
((data & 0x00000040U) >> 6U)

◆ PSU_MASK_CBIT_OUT_3V3_UNDER_VOLT

#define PSU_MASK_CBIT_OUT_3V3_UNDER_VOLT ( data)
Value:
((data & 0x00000080U) >> 7U)

◆ PSU_MASK_CBIT_OUT_5V_OVER_AMP

#define PSU_MASK_CBIT_OUT_5V_OVER_AMP ( data)
Value:
((data & 0x00000004U) >> 2U)

◆ PSU_MASK_CBIT_OUT_5V_OVER_TEMP

#define PSU_MASK_CBIT_OUT_5V_OVER_TEMP ( data)
Value:
((data & 0x00000004U) >> 2U)

◆ PSU_MASK_CBIT_OUT_5V_OVER_VOLT

#define PSU_MASK_CBIT_OUT_5V_OVER_VOLT ( data)
Value:
((data & 0x00000010U) >> 4U)

◆ PSU_MASK_CBIT_OUT_5V_UNDER_VOLT

#define PSU_MASK_CBIT_OUT_5V_UNDER_VOLT ( data)
Value:
((data & 0x00000020U) >> 5U)

◆ PSU_MASK_CBIT_OUT_N12V_AUX_OVER_AMP

#define PSU_MASK_CBIT_OUT_N12V_AUX_OVER_AMP ( data)
Value:
((data & 0x00000010U) >> 4U)

◆ PSU_MASK_CBIT_OUT_N12V_AUX_OVER_TEMP

#define PSU_MASK_CBIT_OUT_N12V_AUX_OVER_TEMP ( data)
Value:
((data & 0x00000010U) >> 4U)

◆ PSU_MASK_CBIT_OUT_N12V_AUX_OVER_VOLT

#define PSU_MASK_CBIT_OUT_N12V_AUX_OVER_VOLT ( data)
Value:
((data & 0x00000100U) >> 8U)

◆ PSU_MASK_CBIT_OUT_N12V_AUX_UNDER_VOLT

#define PSU_MASK_CBIT_OUT_N12V_AUX_UNDER_VOLT ( data)
Value:
((data & 0x00000200U) >> 9U)

◆ PSU_MASK_CBIT_OUT_P12V_AUX_OVER_AMP

#define PSU_MASK_CBIT_OUT_P12V_AUX_OVER_AMP ( data)
Value:
((data & 0x00000020U) >> 5U)

◆ PSU_MASK_CBIT_OUT_P12V_AUX_OVER_TEMP

#define PSU_MASK_CBIT_OUT_P12V_AUX_OVER_TEMP ( data)
Value:
((data & 0x00000020U) >> 5U)

◆ PSU_MASK_CBIT_OUT_P12V_AUX_OVER_VOLT

#define PSU_MASK_CBIT_OUT_P12V_AUX_OVER_VOLT ( data)
Value:
((data & 0x00000400U) >> 10U)

◆ PSU_MASK_CBIT_OUT_P12V_AUX_UNDER_VOLT

#define PSU_MASK_CBIT_OUT_P12V_AUX_UNDER_VOLT ( data)
Value:
((data & 0x00000800U) >> 11U)

◆ PSU_MASK_CBIT_PRI_TRANS_OVER_TEMP

#define PSU_MASK_CBIT_PRI_TRANS_OVER_TEMP ( data)
Value:
((data & 0x00000080U) >> 7U)

◆ PSU_MASK_DIAG_STATE_BOARD_TEMP

#define PSU_MASK_DIAG_STATE_BOARD_TEMP ( data)
Value:
(data & 0x00000007U)

◆ PSU_MASK_DIAG_STATE_IN_AMP

#define PSU_MASK_DIAG_STATE_IN_AMP ( data)
Value:
(data & 0x00000007U)

◆ PSU_MASK_DIAG_STATE_IN_VOLT

#define PSU_MASK_DIAG_STATE_IN_VOLT ( data)
Value:
(data & 0x00000007U)

◆ PSU_MASK_DIAG_STATE_OUT_12V_AMP

#define PSU_MASK_DIAG_STATE_OUT_12V_AMP ( data)
Value:
((data & 0x00000038U) >> 3U)

◆ PSU_MASK_DIAG_STATE_OUT_12V_TEMP

#define PSU_MASK_DIAG_STATE_OUT_12V_TEMP ( data)
Value:
((data & 0x00000038U) >> 3U)

◆ PSU_MASK_DIAG_STATE_OUT_12V_VOLT

#define PSU_MASK_DIAG_STATE_OUT_12V_VOLT ( data)
Value:
((data & 0x00000038U) >> 3U)

◆ PSU_MASK_DIAG_STATE_OUT_3V3_AMP

#define PSU_MASK_DIAG_STATE_OUT_3V3_AMP ( data)
Value:
((data & 0x000001C0U) >> 6U)

◆ PSU_MASK_DIAG_STATE_OUT_3V3_AUX_AMP

#define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_AMP ( data)
Value:
((data & 0x001C0000U) >> 18U)

◆ PSU_MASK_DIAG_STATE_OUT_3V3_AUX_TEMP

#define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_TEMP ( data)
Value:
((data & 0x001C0000U) >> 18U)

◆ PSU_MASK_DIAG_STATE_OUT_3V3_AUX_VOLT

#define PSU_MASK_DIAG_STATE_OUT_3V3_AUX_VOLT ( data)
Value:
((data & 0x001C0000U) >> 18U)

◆ PSU_MASK_DIAG_STATE_OUT_3V3_TEMP

#define PSU_MASK_DIAG_STATE_OUT_3V3_TEMP ( data)
Value:
((data & 0x000001C0U) >> 6U)

◆ PSU_MASK_DIAG_STATE_OUT_3V3_VOLT

#define PSU_MASK_DIAG_STATE_OUT_3V3_VOLT ( data)
Value:
((data & 0x000001C0U) >> 6U)

◆ PSU_MASK_DIAG_STATE_OUT_5V_AMP

#define PSU_MASK_DIAG_STATE_OUT_5V_AMP ( data)
Value:
((data & 0x00000E00U) >> 9U)

◆ PSU_MASK_DIAG_STATE_OUT_5V_TEMP

#define PSU_MASK_DIAG_STATE_OUT_5V_TEMP ( data)
Value:
((data & 0x00000E00U) >> 9U)

◆ PSU_MASK_DIAG_STATE_OUT_5V_VOLT

#define PSU_MASK_DIAG_STATE_OUT_5V_VOLT ( data)
Value:
((data & 0x00000E00U) >> 9U)

◆ PSU_MASK_DIAG_STATE_OUT_N12V_AUX_AMP

#define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_AMP ( data)
Value:
((data & 0x00007000U) >> 12U)

◆ PSU_MASK_DIAG_STATE_OUT_N12V_AUX_TEMP

#define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_TEMP ( data)
Value:
((data & 0x00007000U) >> 12U)

◆ PSU_MASK_DIAG_STATE_OUT_N12V_AUX_VOLT

#define PSU_MASK_DIAG_STATE_OUT_N12V_AUX_VOLT ( data)
Value:
((data & 0x00007000U) >> 12U)

◆ PSU_MASK_DIAG_STATE_OUT_P12V_AUX_AMP

#define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_AMP ( data)
Value:
((data & 0x00038000U) >> 15U)

◆ PSU_MASK_DIAG_STATE_OUT_P12V_AUX_TEMP

#define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_TEMP ( data)
Value:
((data & 0x00038000U) >> 15U)

◆ PSU_MASK_DIAG_STATE_OUT_P12V_AUX_VOLT

#define PSU_MASK_DIAG_STATE_OUT_P12V_AUX_VOLT ( data)
Value:
((data & 0x00038000U) >> 15U)

◆ PSU_MASK_DIAG_STATE_PRI_TRANS_TEMP

#define PSU_MASK_DIAG_STATE_PRI_TRANS_TEMP ( data)
Value:
((data & 0x00E00000U) >> 21U)

◆ PSU_OFFSET_READING_12V_AMP

#define PSU_OFFSET_READING_12V_AMP   (0)

Offset reading 12V current.

◆ PSU_OFFSET_READING_12V_TEMP

#define PSU_OFFSET_READING_12V_TEMP   (0)

Offset reading 12V temperature.

◆ PSU_OFFSET_READING_12V_VOLT

#define PSU_OFFSET_READING_12V_VOLT   (0)

Offset reading 12V voltage.

◆ PSU_OFFSET_READING_3V3_AMP

#define PSU_OFFSET_READING_3V3_AMP   (0)

Offset reading 3.3V current.

◆ PSU_OFFSET_READING_3V3_AUX_AMP

#define PSU_OFFSET_READING_3V3_AUX_AMP   (0)

Offset reading 3.3V auxilirary current.

◆ PSU_OFFSET_READING_3V3_AUX_TEMP

#define PSU_OFFSET_READING_3V3_AUX_TEMP   (0)

Offset reading 3.3V auxilirary temperature.

◆ PSU_OFFSET_READING_3V3_AUX_VOLT

#define PSU_OFFSET_READING_3V3_AUX_VOLT   (0)

Offset reading 3.3V auxilirary voltage.

◆ PSU_OFFSET_READING_3V3_TEMP

#define PSU_OFFSET_READING_3V3_TEMP   (0)

Offset reading 3.3V temperature.

◆ PSU_OFFSET_READING_3V3_VOLT

#define PSU_OFFSET_READING_3V3_VOLT   (0)

Offset reading 3.3V voltage.

◆ PSU_OFFSET_READING_5V_AMP

#define PSU_OFFSET_READING_5V_AMP   (0)

Offset reading 5V current.

◆ PSU_OFFSET_READING_5V_TEMP

#define PSU_OFFSET_READING_5V_TEMP   (0)

Offset reading 5V temperature.

◆ PSU_OFFSET_READING_5V_VOLT

#define PSU_OFFSET_READING_5V_VOLT   (0)

Offset reading 5V voltage.

◆ PSU_OFFSET_READING_BOARD_TEMP

#define PSU_OFFSET_READING_BOARD_TEMP   (0)

Offset reading board temperature.

◆ PSU_OFFSET_READING_INPUT_AMP

#define PSU_OFFSET_READING_INPUT_AMP   (0)

Offset reading input current.

◆ PSU_OFFSET_READING_INPUT_VOLT

#define PSU_OFFSET_READING_INPUT_VOLT   (0.3)

Offset reading input voltage.

◆ PSU_OFFSET_READING_N12V_AUX_AMP

#define PSU_OFFSET_READING_N12V_AUX_AMP   (0)

Offset reading -12V auxilirary current.

◆ PSU_OFFSET_READING_N12V_AUX_TEMP

#define PSU_OFFSET_READING_N12V_AUX_TEMP   (0)

Offset reading -12V auxilirary temperature.

◆ PSU_OFFSET_READING_N12V_AUX_VOLT

#define PSU_OFFSET_READING_N12V_AUX_VOLT   (0)

Offset reading -12V auxilirary voltage.

◆ PSU_OFFSET_READING_P12V_AUX_AMP

#define PSU_OFFSET_READING_P12V_AUX_AMP   (0)

Offset reading +12V auxilirary current.

◆ PSU_OFFSET_READING_P12V_AUX_TEMP

#define PSU_OFFSET_READING_P12V_AUX_TEMP   (0)

Offset reading +12V auxilirary temperature.

◆ PSU_OFFSET_READING_P12V_AUX_VOLT

#define PSU_OFFSET_READING_P12V_AUX_VOLT   (0)

Offset reading +12V auxilirary voltage.

◆ PSU_OFFSET_READING_PRIMARY_TRANS_TEMP

#define PSU_OFFSET_READING_PRIMARY_TRANS_TEMP   (0)

Offset reading primary transformer temperature.

Enumeration Type Documentation

◆ PsuCbitCondition

Power Supply Unit (PSU) Continuous Built-In Test (CBIT) Evaluation Condition (OK / NOT OK).

Enumerator
NOT_OK 

PSU CBIT for NOT OK condition is 0.

OK 

PSU CBIT for OK condition is 1.

◆ PsuDiagStateThreshold

Power Supply Unit (PSU) Voltage and Temperature Rail Threshold Diagnostic State Indicators.

Enumerator
READING_NORMAL 

Normal state (01h).

READING_LOWER_NON_CRITICAL 

Lower non-critical (02h).

READING_LOWER_CRITICAL 

Lower critical (03h).

READING_LOWER_NON_RECOVERABLE 

Lower non-recoverable (04h).

READING_UPPER_NON_CRITICAL 

Upper non-critical (05h).

READING_UPPER_CRITICAL 

Upper critical (06h).

READING_UPPER_NON_RECOVERABLE 

Upper non-recoverable (07h).

◆ SensorNumber

Power Supply Unit (PSU) Internal Voltage, Current, and Temperature Sensor Channel Identifiers.

Enumerator
PSU_SENSOR_NUMBER_BOARD_TEMP 

Board temp sensor (0Ah/10).

PSU_SENSOR_NUMBER_N12V_AUX_VOLTAGE 

-12V aux voltage sensor (0Bh/11)

PSU_SENSOR_NUMBER_N12V_AUX_TEMP 

-12V aux temp sensor (0Ch/12)

PSU_SENSOR_NUMBER_INPUT_VOLTAGE 

Input voltage sensor (0Dh/13).

PSU_SENSOR_NUMBER_INPUT_CURRENT 

Input current sensor (0Eh/14).

PSU_SENSOR_NUMBER_12V_CURRENT 

12V current sensor (11h/17)

PSU_SENSOR_NUMBER_5V_CURRENT 

5V current sensor (12h/18)

PSU_SENSOR_NUMBER_3V3_CURRENT 

3.3V current sensor (13h/19)

PSU_SENSOR_NUMBER_3V3_AUX_CURRENT 

3.3V aux current sensor (14h/20)

PSU_SENSOR_NUMBER_PRIMARY_TRANS_TEMP 

Primary trans temp sensor (16h/22).

PSU_SENSOR_NUMBER_P12V_AUX_CURRENT 

+12V aux current sensor (17h/23)

PSU_SENSOR_NUMBER_N12V_AUX_CURRENT 

-12V aux current sensor (18h/24)

PSU_SENSOR_NUMBER_5V_VOLTAGE 

5V voltage sensor (19h/25)

PSU_SENSOR_NUMBER_5V_TEMP 

5V temp sensor (1Ah/26)

PSU_SENSOR_NUMBER_12V_VOLTAGE 

12V voltage sensor (1Bh/27)

PSU_SENSOR_NUMBER_12V_TEMP 

12V temp sensor (1Ch/28)

PSU_SENSOR_NUMBER_3V3_VOLTAGE 

3.3V voltage sensor (1Dh/29)

PSU_SENSOR_NUMBER_3V3_TEMP 

3.3V temp sensor (1Eh/30)

PSU_SENSOR_NUMBER_P12V_AUX_VOLTAGE 

+12V aux voltage sensor (1Fh/31)

PSU_SENSOR_NUMBER_P12V_AUX_TEMP 

+12V aux temp sensor (20h/32)

PSU_SENSOR_NUMBER_3V3_AUX_VOLTAGE 

3.3V aux voltage sensor (21h/33)

PSU_SENSOR_NUMBER_3V3_AUX_TEMP 

3.3V aux temp sensor (22h/34)

Function Documentation

◆ psu_getBoardTemp()

DriverStatus psu_getBoardTemp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getBoardTemp.

Retrieves the board temperature (C) reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the board temperature reading in degree Celsius (C).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getBoardTemp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getInputAmp()

DriverStatus psu_getInputAmp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getInputAmp.

Retrieves the input current reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU input current reading in Ampere (A).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getInputAmp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getInputVolt()

DriverStatus psu_getInputVolt ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getInputVolt.

Retrieves the input voltage reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU input voltage reading in Volt (V).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getInputVolt

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail12VAmp()

DriverStatus psu_getOutputRail12VAmp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail12VAmp.

Retrieves the 12V output rail current reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 12V output rail current reading in Ampere (A).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail12VAmp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail12VTemp()

DriverStatus psu_getOutputRail12VTemp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail12VTemp.

Retrieves the 12V output rail temperature (C) reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the 12V output rail temperature reading in degree Celsius (C).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail12VTemp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail12VVolt()

DriverStatus psu_getOutputRail12VVolt ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail12VVolt.

Retrieves the 12V output rail reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 12V output rail reading in Volt (V).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail12VVolt

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail3V3Amp()

DriverStatus psu_getOutputRail3V3Amp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail3V3Amp.

Retrieves the 3V3 output rail current reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 3V3 output rail current reading in Ampere (A).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail3V3Amp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail3V3AuxAmp()

DriverStatus psu_getOutputRail3V3AuxAmp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail3V3AuxAmp.

Retrieves the 3V3 aux output rail current reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 3V3 aux output rail current reading in Ampere (A).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail3V3AuxAmp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail3V3AuxTemp()

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).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the 3V3 aux output rail temperature reading in degree Celsius (C).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail3V3AuxTemp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail3V3AuxVolt()

DriverStatus psu_getOutputRail3V3AuxVolt ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail3V3AuxVolt.

Retrieves the 3V3 aux output rail reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 3V3 aux output rail reading in Volt (V).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail3V3AuxVolt

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail3V3Temp()

DriverStatus psu_getOutputRail3V3Temp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail3V3Temp.

Retrieves the 3V3 output rail temperature (C) reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the 3V3 output rail temperature reading in degree Celsius (C).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail3V3Temp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail3V3Volt()

DriverStatus psu_getOutputRail3V3Volt ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail3V3Volt.

Retrieves the 3V3 output rail reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 3V3 output rail reading in Volt (V).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail3V3Volt

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail5VAmp()

DriverStatus psu_getOutputRail5VAmp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail5VAmp.

Retrieves the 5V output rail current reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 5V output rail current reading in Ampere (A).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail5VAmp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail5VTemp()

DriverStatus psu_getOutputRail5VTemp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail5VTemp.

Retrieves the 5V output rail temperature (C) reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the 5V output rail temperature reading in degree Celsius (C).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail5VTemp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRail5VVolt()

DriverStatus psu_getOutputRail5VVolt ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRail5VVolt.

Retrieves the 5V output rail reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 5V output rail reading in Volt (V).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRail5VVolt

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRailN12VAuxAmp()

DriverStatus psu_getOutputRailN12VAuxAmp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRailN12VAuxAmp.

Retrieves the -12V aux output rail current reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU -12V output rail current reading in Ampere (A).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRailN12VAuxAmp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRailN12VAuxTemp()

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).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the -12V aux output rail temperature reading in degree Celsius (C).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRailN12VAuxTemp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRailN12VAuxVolt()

DriverStatus psu_getOutputRailN12VAuxVolt ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRailN12VAuxVolt.

Retrieves the -12V aux output rail reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU -12V aux output rail reading in Volt (V).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRailN12VAuxVolt

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRailP12VAuxAmp()

DriverStatus psu_getOutputRailP12VAuxAmp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRailP12VAuxAmp.

Retrieves the 12V aux output rail current reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU 12V output rail current reading in Ampere (A).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRailP12VAuxAmp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRailP12VAuxTemp()

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).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the 12V aux output rail temperature reading in degree Celsius (C).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRailP12VAuxTemp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getOutputRailP12VAuxVolt()

DriverStatus psu_getOutputRailP12VAuxVolt ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getOutputRailP12VAuxVolt.

Retrieves the +12V aux output rail reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the PSU +12V aux output rail reading in Volt (V).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getOutputRailP12VAuxVolt

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getPrimaryTransTemp()

DriverStatus psu_getPrimaryTransTemp ( const PSUDevHandler psuDevHdl,
Float32 * valuePtr )

psu_getPrimaryTransTemp.

Retrieves the primary transformer temperature (C) reading from the power supply unit (PSU).

Parameters
[in]psuDevHdlThe PSU device handler.
[out]valuePtrPointer to store the primary transformer temperature reading in degree Celsius (C).
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_READ_FAILED: Failed to read from the device.
DRV_INVALID_PARAM: Invalid address pointer.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getPrimaryTransTemp

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getPsuCbit()

DriverStatus psu_getPsuCbit ( const PSUDevHandler psuDevHdl,
PsuCbitStatus * psuCbitPtr )

psu_getPsuCbit.

To get CBIT status for PSU.

Parameters
[in]psuDevHdlThe PSU device handler.
[out]psuCbitPtrThe pointer to a CBIT Status.
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getPsuCbit

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ psu_getPsuDiag()

DriverStatus psu_getPsuDiag ( const PSUDevHandler psuDevHdl,
PsuDiagStatus * psuDiagPtr )

psu_getPsuDiag.

Get the diagnostic status for power supply unit.

Parameters
[in]psuDevHdlThe PSU device handler.
[out]psuDiagPtrPointer for PSU diagnostic Status.
Returns
DriverStatus - Driver status return code, If no error occurs during the operation of the function, it returns DRV_SUCCESS. Otherwise related error message is returned.
Return values
DRV_SUCCESS: Operation successful.
DRV_INVALID_PARAM: Invalid address pointer.
DRV_READ_FAILED: Failed to read from the device.

Low-Level Software Requirements (LLR)

Low-Level Requirement Specification: psu_getPsuDiag

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

Control Coupling Diagram (CCD)

Control Coupling Structure Chart

Data Coupling Diagram (DCD)

Data Coupling Structure Chart

Control Flow Diagram (CFD)

Control Flow Diagram

Data Flow Diagram (DFD)

Data Flow Diagram
Here is the call graph for this function:
Here is the caller graph for this function: