Functions to control the Power Distribution Panel.
More...
|
HAL_PDPHandle | HAL_InitializePDP (int32_t module, int32_t *status) |
| Initializes a Power Distribution Panel. More...
|
|
void | HAL_CleanPDP (HAL_PDPHandle handle) |
| Cleans a PDP module. More...
|
|
HAL_Bool | HAL_CheckPDPChannel (int32_t channel) |
| Checks if a PDP channel is valid. More...
|
|
HAL_Bool | HAL_CheckPDPModule (int32_t module) |
| Checks if a PDP module is valid. More...
|
|
double | HAL_GetPDPTemperature (HAL_PDPHandle handle, int32_t *status) |
| Gets the temperature of the PDP. More...
|
|
double | HAL_GetPDPVoltage (HAL_PDPHandle handle, int32_t *status) |
| Gets the PDP input voltage. More...
|
|
double | HAL_GetPDPChannelCurrent (HAL_PDPHandle handle, int32_t channel, int32_t *status) |
| Gets the current of a specific PDP channel. More...
|
|
double | HAL_GetPDPTotalCurrent (HAL_PDPHandle handle, int32_t *status) |
| Gets the total current of the PDP. More...
|
|
double | HAL_GetPDPTotalPower (HAL_PDPHandle handle, int32_t *status) |
| Gets the total power of the PDP. More...
|
|
double | HAL_GetPDPTotalEnergy (HAL_PDPHandle handle, int32_t *status) |
| Gets the total energy of the PDP. More...
|
|
void | HAL_ResetPDPTotalEnergy (HAL_PDPHandle handle, int32_t *status) |
| Resets the PDP accumulated energy. More...
|
|
void | HAL_ClearPDPStickyFaults (HAL_PDPHandle handle, int32_t *status) |
| Clears any PDP sticky faults. More...
|
|
Functions to control the Power Distribution Panel.
HAL_Bool HAL_CheckPDPChannel |
( |
int32_t |
channel | ) |
|
Checks if a PDP channel is valid.
- Parameters
-
channel | the channel to check |
- Returns
- true if the channel is valid, otherwise false
HAL_Bool HAL_CheckPDPModule |
( |
int32_t |
module | ) |
|
Checks if a PDP module is valid.
- Parameters
-
channel | the module to check |
- Returns
- true if the module is valid, otherwise false
void HAL_CleanPDP |
( |
HAL_PDPHandle |
handle | ) |
|
Cleans a PDP module.
- Parameters
-
void HAL_ClearPDPStickyFaults |
( |
HAL_PDPHandle |
handle, |
|
|
int32_t * |
status |
|
) |
| |
Clears any PDP sticky faults.
- Parameters
-
double HAL_GetPDPChannelCurrent |
( |
HAL_PDPHandle |
handle, |
|
|
int32_t |
channel, |
|
|
int32_t * |
status |
|
) |
| |
Gets the current of a specific PDP channel.
- Parameters
-
module | the module |
channel | the channel |
- Returns
- the channel current (amps)
double HAL_GetPDPTemperature |
( |
HAL_PDPHandle |
handle, |
|
|
int32_t * |
status |
|
) |
| |
Gets the temperature of the PDP.
- Parameters
-
- Returns
- the module temperature (celsius)
double HAL_GetPDPTotalCurrent |
( |
HAL_PDPHandle |
handle, |
|
|
int32_t * |
status |
|
) |
| |
Gets the total current of the PDP.
- Parameters
-
- Returns
- the total current (amps)
double HAL_GetPDPTotalEnergy |
( |
HAL_PDPHandle |
handle, |
|
|
int32_t * |
status |
|
) |
| |
Gets the total energy of the PDP.
- Parameters
-
- Returns
- the total energy (joules)
double HAL_GetPDPTotalPower |
( |
HAL_PDPHandle |
handle, |
|
|
int32_t * |
status |
|
) |
| |
Gets the total power of the PDP.
- Parameters
-
- Returns
- the total power (watts)
double HAL_GetPDPVoltage |
( |
HAL_PDPHandle |
handle, |
|
|
int32_t * |
status |
|
) |
| |
Gets the PDP input voltage.
- Parameters
-
- Returns
- the input voltage (volts)
HAL_PDPHandle HAL_InitializePDP |
( |
int32_t |
module, |
|
|
int32_t * |
status |
|
) |
| |
Initializes a Power Distribution Panel.
- Parameters
-
module | the module number to initialize |
- Returns
- the created PDP
void HAL_ResetPDPTotalEnergy |
( |
HAL_PDPHandle |
handle, |
|
|
int32_t * |
status |
|
) |
| |
Resets the PDP accumulated energy.
- Parameters
-