|
HFCC-01 Low-Level Software (LLSW) Rel_6802_HFCC-01-RP-CSAR-CB
|
Go to the source code of this file.
Enumerations | |
| enum | PSUVoltageType { INPUT_VOLT , OUTPUT_12VVOLT , OUTPUT_3V3VOLT , OUTPUT_5VVOLT , OUTPUT_N12VVOLT_AUX , OUTPUT_P12VVOLT_AUX , OUTPUT_3V3VOLT_AUX , TOTAL_VOLTAGE_TYPE } |
| This is enum definition for PSU voltage type. More... | |
| enum | PSUCurrentType { INPUT_AMP , OUTPUT_12VAMP , OUTPUT_3V3AMP , OUTPUT_5VAMP , OUTPUT_N12VAMP_AUX , OUTPUT_P12VAMP_AUX , OUTPUT_3V3AMP_AUX , TOTAL_CURRENT_TYPE } |
| This is enum definition for PSU current type. More... | |
| enum | PSUTemperatureType { BOARD_TEMP , OUTPUT_12V_TEMP , OUTPUT_3V3_TEMP , OUTPUT_5V_TEMP , OUTPUT_N12V_AUX_TEMP , OUTPUT_P12V_AUX_TEMP , OUTPUT_3V3_AUX_TEMP , PRIM_TRANS_TEMP , TOTAL_TEMPERATURE_TYPE } |
| This is enum definition for PSU temperature type. More... | |
Functions | |
| ModStatus | modPsu_voltageMonitor (Float32 *psuVoltagePtr, const PSUVoltageType psuVoltageType) |
| modPsu_voltageMonitor. | |
| ModStatus | modPsu_currentMonitor (Float32 *psuCurrentPtr, const PSUCurrentType psuCurrentType) |
| modPsu_currentMonitor. | |
| ModStatus | modPsu_tempMonitor (Float32 *psuTempPtr, const PSUTemperatureType psuTempType) |
| modPsu_tempMonitor. | |
PSU Module
| enum PSUCurrentType |
This is enum definition for PSU current type.
| enum PSUTemperatureType |
This is enum definition for PSU temperature type.
| enum PSUVoltageType |
This is enum definition for PSU voltage type.
| ModStatus modPsu_currentMonitor | ( | Float32 * | psuCurrentPtr, |
| const PSUCurrentType | psuCurrentType ) |
modPsu_currentMonitor.
Get Current Monitor on PSU power input and output rail.
| [out] | psuCurrentPtr | Current reading of PSU in Ampere (A). |
| [in] | psuCurrentType | PSU current type. |
| MD_SUCCESS | : Success. |
| MD_INVALID_PARAM | : The provided address pointer is invalid. |
| MD_INVALID_VALUE | : The current type is out of range. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_READ_ERR | : Failed to read from the module. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_MODPSU_CURRENTMONITOR_01 | HLR_PSU_19912 | WHEN the pointer psuCurrentPtr is NULL (invalid), the modPsu_currentMonitor() function SHALL abort processing and return MD_INVALID_PARAM. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_02 | HLR_PSU_19912 | WHEN the module initialization state is not initialized (INIT), the modPsu_currentMonitor() function SHALL abort processing and return MD_INVALID_INIT. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_03 | HLR_PSU_19912 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modPsu_currentMonitor() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_04 | HLR_PSU_19912 | WHEN psuCurrentType is not one of INPUT_AMP through OUTPUT_3V3AMP_AUX, the modPsu_currentMonitor() function SHALL abort processing and return MD_INVALID_VALUE. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_05 | HLR_PSU_19912 | WHEN preconditions are satisfied, the modPsu_currentMonitor() function SHALL invoke routine psu_getInputAmp() to execute target subsystem hardware operation. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_06 | HLR_PSU_19912 | WHEN preconditions are satisfied, the modPsu_currentMonitor() function SHALL invoke routine psu_getOutputRail12VAmp() to execute target subsystem hardware operation. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_07 | HLR_PSU_19912 | WHEN preconditions are satisfied, the modPsu_currentMonitor() function SHALL invoke routine psu_getOutputRail3V3Amp() to execute target subsystem hardware operation. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_08 | HLR_PSU_19912 | WHEN preconditions are satisfied, the modPsu_currentMonitor() function SHALL invoke routine psu_getOutputRail5VAmp() to execute target subsystem hardware operation. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_09 | HLR_PSU_19912 | WHEN preconditions are satisfied, the modPsu_currentMonitor() function SHALL invoke routine psu_getOutputRailN12VAuxAmp() to execute target subsystem hardware operation. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| LLR_PSU_MODPSU_CURRENTMONITOR_10 | HLR_PSU_19912 | WHEN all operational processing completes successfully, the modPsu_currentMonitor() function SHALL return MD_SUCCESS. | modPsu.c:modPsu_currentMonitor() | Test | Closed |
| ModStatus modPsu_tempMonitor | ( | Float32 * | psuTempPtr, |
| const PSUTemperatureType | psuTempType ) |
modPsu_tempMonitor.
Get Temperature Monitor on PSU power input and output rail.
| [out] | psuTempPtr | Temperature reading of PSU in degree Celsius (C). |
| [in] | psuTempType | PSU temperature type. |
| MD_SUCCESS | : Success. |
| MD_INVALID_PARAM | : The provided address pointer is invalid. |
| MD_INVALID_VALUE | : The temperature type is out of range. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_READ_ERR | : Failed to read from the module. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_MODPSU_TEMPMONITOR_01 | HLR_PSU_19913 | WHEN the pointer psuTempPtr is NULL (invalid), the modPsu_tempMonitor() function SHALL abort processing and return MD_INVALID_PARAM. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_02 | HLR_PSU_19913 | WHEN the module initialization state is not initialized (INIT), the modPsu_tempMonitor() function SHALL abort processing and return MD_INVALID_INIT. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_03 | HLR_PSU_19913 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modPsu_tempMonitor() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_04 | HLR_PSU_19913 | WHEN psuTempType is not one of BOARD_TEMP through PRIM_TRANS_TEMP, the modPsu_tempMonitor() function SHALL abort processing and return MD_INVALID_VALUE. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_05 | HLR_PSU_19913 | WHEN preconditions are satisfied, the modPsu_tempMonitor() function SHALL invoke routine psu_getBoardTemp() to execute target subsystem hardware operation. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_06 | HLR_PSU_19913 | WHEN preconditions are satisfied, the modPsu_tempMonitor() function SHALL invoke routine psu_getOutputRail12VTemp() to execute target subsystem hardware operation. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_07 | HLR_PSU_19913 | WHEN preconditions are satisfied, the modPsu_tempMonitor() function SHALL invoke routine psu_getOutputRail3V3Temp() to execute target subsystem hardware operation. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_08 | HLR_PSU_19913 | WHEN preconditions are satisfied, the modPsu_tempMonitor() function SHALL invoke routine psu_getOutputRail5VTemp() to execute target subsystem hardware operation. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_09 | HLR_PSU_19913 | WHEN preconditions are satisfied, the modPsu_tempMonitor() function SHALL invoke routine psu_getOutputRailN12VAuxTemp() to execute target subsystem hardware operation. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| LLR_PSU_MODPSU_TEMPMONITOR_10 | HLR_PSU_19913 | WHEN all operational processing completes successfully, the modPsu_tempMonitor() function SHALL return MD_SUCCESS. | modPsu.c:modPsu_tempMonitor() | Test | Closed |
| ModStatus modPsu_voltageMonitor | ( | Float32 * | psuVoltagePtr, |
| const PSUVoltageType | psuVoltageType ) |
modPsu_voltageMonitor.
Get Voltage Monitor on PSU power input and output rail.
| [out] | psuVoltagePtr | Voltage reading of PSU in Volt (V). |
| [in] | psuVoltageType | PSU voltage type. |
| MD_SUCCESS | : Success. |
| MD_INVALID_PARAM | : The provided address pointer is invalid. |
| MD_INVALID_VALUE | : The voltage type is out of range. |
| MD_INVALID_INIT | : The module has not been initialized. |
| MD_READ_ERR | : Failed to read from the module. |
| Requirement ID | Parent HLR ID | Detailed Low-Level Requirement Statement (EARS Format) | Software Unit Reference | Verification Method | Status |
|---|---|---|---|---|---|
| LLR_PSU_MODPSU_VOLTAGEMONITOR_01 | HLR_PSU_329 | WHEN the pointer psuVoltagePtr is NULL (invalid), the modPsu_voltageMonitor() function SHALL abort processing and return MD_INVALID_PARAM. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_02 | HLR_PSU_329 | WHEN the module initialization state is not initialized (INIT), the modPsu_voltageMonitor() function SHALL abort processing and return MD_INVALID_INIT. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_03 | HLR_PSU_329 | WHEN a driver operation reports a failure status other than DRV_SUCCESS, the modPsu_voltageMonitor() function SHALL abort processing and return the module error code produced by errCheck() for the reported driver status. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_04 | HLR_PSU_329 | WHEN psuVoltageType is not one of INPUT_VOLT through OUTPUT_3V3VOLT_AUX, the modPsu_voltageMonitor() function SHALL abort processing and return MD_INVALID_VALUE. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_05 | HLR_PSU_329 | WHEN preconditions are satisfied, the modPsu_voltageMonitor() function SHALL invoke routine psu_getInputVolt() to execute target subsystem hardware operation. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_06 | HLR_PSU_329 | WHEN preconditions are satisfied, the modPsu_voltageMonitor() function SHALL invoke routine psu_getOutputRail12VVolt() to execute target subsystem hardware operation. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_07 | HLR_PSU_329 | WHEN preconditions are satisfied, the modPsu_voltageMonitor() function SHALL invoke routine psu_getOutputRail3V3Volt() to execute target subsystem hardware operation. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_08 | HLR_PSU_329 | WHEN preconditions are satisfied, the modPsu_voltageMonitor() function SHALL invoke routine psu_getOutputRail5VVolt() to execute target subsystem hardware operation. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_09 | HLR_PSU_329 | WHEN preconditions are satisfied, the modPsu_voltageMonitor() function SHALL invoke routine psu_getOutputRailN12VAuxVolt() to execute target subsystem hardware operation. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |
| LLR_PSU_MODPSU_VOLTAGEMONITOR_10 | HLR_PSU_329 | WHEN all operational processing completes successfully, the modPsu_voltageMonitor() function SHALL return MD_SUCCESS. | modPsu.c:modPsu_voltageMonitor() | Test | Closed |