WPILibC++ 2024.3.2
PowerDistributionData.h File Reference

Go to the source code of this file.

Functions

void HALSIM_ResetPowerDistributionData (int32_t index)
 
int32_t HALSIM_RegisterPowerDistributionInitializedCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPowerDistributionInitializedCallback (int32_t index, int32_t uid)
 
HAL_Bool HALSIM_GetPowerDistributionInitialized (int32_t index)
 
void HALSIM_SetPowerDistributionInitialized (int32_t index, HAL_Bool initialized)
 
int32_t HALSIM_RegisterPowerDistributionTemperatureCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPowerDistributionTemperatureCallback (int32_t index, int32_t uid)
 
double HALSIM_GetPowerDistributionTemperature (int32_t index)
 
void HALSIM_SetPowerDistributionTemperature (int32_t index, double temperature)
 
int32_t HALSIM_RegisterPowerDistributionVoltageCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPowerDistributionVoltageCallback (int32_t index, int32_t uid)
 
double HALSIM_GetPowerDistributionVoltage (int32_t index)
 
void HALSIM_SetPowerDistributionVoltage (int32_t index, double voltage)
 
int32_t HALSIM_RegisterPowerDistributionCurrentCallback (int32_t index, int32_t channel, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPowerDistributionCurrentCallback (int32_t index, int32_t channel, int32_t uid)
 
double HALSIM_GetPowerDistributionCurrent (int32_t index, int32_t channel)
 
void HALSIM_SetPowerDistributionCurrent (int32_t index, int32_t channel, double current)
 
void HALSIM_GetPowerDistributionAllCurrents (int32_t index, double *currents, int length)
 
void HALSIM_SetPowerDistributionAllCurrents (int32_t index, const double *currents, int length)
 
void HALSIM_RegisterPowerDistributionAllNonCurrentCallbacks (int32_t index, int32_t channel, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 

Function Documentation

◆ HALSIM_CancelPowerDistributionCurrentCallback()

void HALSIM_CancelPowerDistributionCurrentCallback ( int32_t  index,
int32_t  channel,
int32_t  uid 
)

◆ HALSIM_CancelPowerDistributionInitializedCallback()

void HALSIM_CancelPowerDistributionInitializedCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelPowerDistributionTemperatureCallback()

void HALSIM_CancelPowerDistributionTemperatureCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelPowerDistributionVoltageCallback()

void HALSIM_CancelPowerDistributionVoltageCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_GetPowerDistributionAllCurrents()

void HALSIM_GetPowerDistributionAllCurrents ( int32_t  index,
double *  currents,
int  length 
)

◆ HALSIM_GetPowerDistributionCurrent()

double HALSIM_GetPowerDistributionCurrent ( int32_t  index,
int32_t  channel 
)

◆ HALSIM_GetPowerDistributionInitialized()

HAL_Bool HALSIM_GetPowerDistributionInitialized ( int32_t  index)

◆ HALSIM_GetPowerDistributionTemperature()

double HALSIM_GetPowerDistributionTemperature ( int32_t  index)

◆ HALSIM_GetPowerDistributionVoltage()

double HALSIM_GetPowerDistributionVoltage ( int32_t  index)

◆ HALSIM_RegisterPowerDistributionAllNonCurrentCallbacks()

void HALSIM_RegisterPowerDistributionAllNonCurrentCallbacks ( int32_t  index,
int32_t  channel,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterPowerDistributionCurrentCallback()

int32_t HALSIM_RegisterPowerDistributionCurrentCallback ( int32_t  index,
int32_t  channel,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterPowerDistributionInitializedCallback()

int32_t HALSIM_RegisterPowerDistributionInitializedCallback ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterPowerDistributionTemperatureCallback()

int32_t HALSIM_RegisterPowerDistributionTemperatureCallback ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterPowerDistributionVoltageCallback()

int32_t HALSIM_RegisterPowerDistributionVoltageCallback ( int32_t  index,
HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_ResetPowerDistributionData()

void HALSIM_ResetPowerDistributionData ( int32_t  index)

◆ HALSIM_SetPowerDistributionAllCurrents()

void HALSIM_SetPowerDistributionAllCurrents ( int32_t  index,
const double *  currents,
int  length 
)

◆ HALSIM_SetPowerDistributionCurrent()

void HALSIM_SetPowerDistributionCurrent ( int32_t  index,
int32_t  channel,
double  current 
)

◆ HALSIM_SetPowerDistributionInitialized()

void HALSIM_SetPowerDistributionInitialized ( int32_t  index,
HAL_Bool  initialized 
)

◆ HALSIM_SetPowerDistributionTemperature()

void HALSIM_SetPowerDistributionTemperature ( int32_t  index,
double  temperature 
)

◆ HALSIM_SetPowerDistributionVoltage()

void HALSIM_SetPowerDistributionVoltage ( int32_t  index,
double  voltage 
)