WPILibC++ 2024.3.2
RoboRioData.h File Reference
#include <cstddef>
#include "hal/LEDs.h"
#include "hal/Types.h"
#include "hal/simulation/NotifyListener.h"

Go to the source code of this file.

Typedefs

typedef void(* HAL_RoboRioStringCallback) (const char *name, void *param, const char *str, size_t size)
 

Functions

void HALSIM_ResetRoboRioData (void)
 
int32_t HALSIM_RegisterRoboRioFPGAButtonCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioFPGAButtonCallback (int32_t uid)
 
HAL_Bool HALSIM_GetRoboRioFPGAButton (void)
 
void HALSIM_SetRoboRioFPGAButton (HAL_Bool fPGAButton)
 
int32_t HALSIM_RegisterRoboRioVInVoltageCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioVInVoltageCallback (int32_t uid)
 
double HALSIM_GetRoboRioVInVoltage (void)
 
void HALSIM_SetRoboRioVInVoltage (double vInVoltage)
 
int32_t HALSIM_RegisterRoboRioVInCurrentCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioVInCurrentCallback (int32_t uid)
 
double HALSIM_GetRoboRioVInCurrent (void)
 
void HALSIM_SetRoboRioVInCurrent (double vInCurrent)
 
int32_t HALSIM_RegisterRoboRioUserVoltage6VCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserVoltage6VCallback (int32_t uid)
 
double HALSIM_GetRoboRioUserVoltage6V (void)
 
void HALSIM_SetRoboRioUserVoltage6V (double userVoltage6V)
 
int32_t HALSIM_RegisterRoboRioUserCurrent6VCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserCurrent6VCallback (int32_t uid)
 
double HALSIM_GetRoboRioUserCurrent6V (void)
 
void HALSIM_SetRoboRioUserCurrent6V (double userCurrent6V)
 
int32_t HALSIM_RegisterRoboRioUserActive6VCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserActive6VCallback (int32_t uid)
 
HAL_Bool HALSIM_GetRoboRioUserActive6V (void)
 
void HALSIM_SetRoboRioUserActive6V (HAL_Bool userActive6V)
 
int32_t HALSIM_RegisterRoboRioUserVoltage5VCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserVoltage5VCallback (int32_t uid)
 
double HALSIM_GetRoboRioUserVoltage5V (void)
 
void HALSIM_SetRoboRioUserVoltage5V (double userVoltage5V)
 
int32_t HALSIM_RegisterRoboRioUserCurrent5VCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserCurrent5VCallback (int32_t uid)
 
double HALSIM_GetRoboRioUserCurrent5V (void)
 
void HALSIM_SetRoboRioUserCurrent5V (double userCurrent5V)
 
int32_t HALSIM_RegisterRoboRioUserActive5VCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserActive5VCallback (int32_t uid)
 
HAL_Bool HALSIM_GetRoboRioUserActive5V (void)
 
void HALSIM_SetRoboRioUserActive5V (HAL_Bool userActive5V)
 
int32_t HALSIM_RegisterRoboRioUserVoltage3V3Callback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserVoltage3V3Callback (int32_t uid)
 
double HALSIM_GetRoboRioUserVoltage3V3 (void)
 
void HALSIM_SetRoboRioUserVoltage3V3 (double userVoltage3V3)
 
int32_t HALSIM_RegisterRoboRioUserCurrent3V3Callback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserCurrent3V3Callback (int32_t uid)
 
double HALSIM_GetRoboRioUserCurrent3V3 (void)
 
void HALSIM_SetRoboRioUserCurrent3V3 (double userCurrent3V3)
 
int32_t HALSIM_RegisterRoboRioUserActive3V3Callback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserActive3V3Callback (int32_t uid)
 
HAL_Bool HALSIM_GetRoboRioUserActive3V3 (void)
 
void HALSIM_SetRoboRioUserActive3V3 (HAL_Bool userActive3V3)
 
int32_t HALSIM_RegisterRoboRioUserFaults6VCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserFaults6VCallback (int32_t uid)
 
int32_t HALSIM_GetRoboRioUserFaults6V (void)
 
void HALSIM_SetRoboRioUserFaults6V (int32_t userFaults6V)
 
int32_t HALSIM_RegisterRoboRioUserFaults5VCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserFaults5VCallback (int32_t uid)
 
int32_t HALSIM_GetRoboRioUserFaults5V (void)
 
void HALSIM_SetRoboRioUserFaults5V (int32_t userFaults5V)
 
int32_t HALSIM_RegisterRoboRioUserFaults3V3Callback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioUserFaults3V3Callback (int32_t uid)
 
int32_t HALSIM_GetRoboRioUserFaults3V3 (void)
 
void HALSIM_SetRoboRioUserFaults3V3 (int32_t userFaults3V3)
 
int32_t HALSIM_RegisterRoboRioBrownoutVoltageCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioBrownoutVoltageCallback (int32_t uid)
 
double HALSIM_GetRoboRioBrownoutVoltage (void)
 
void HALSIM_SetRoboRioBrownoutVoltage (double brownoutVoltage)
 
int32_t HALSIM_RegisterRoboRioTeamNumberCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioTeamNumberCallback (int32_t uid)
 
int32_t HALSIM_GetRoboRioTeamNumber (void)
 
void HALSIM_SetRoboRioTeamNumber (int32_t teamNumber)
 
int32_t HALSIM_RegisterRoboRioSerialNumberCallback (HAL_RoboRioStringCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioSerialNumberCallback (int32_t uid)
 
size_t HALSIM_GetRoboRioSerialNumber (char *buffer, size_t size)
 
void HALSIM_SetRoboRioSerialNumber (const char *serialNumber, size_t size)
 
int32_t HALSIM_RegisterRoboRioCommentsCallback (HAL_RoboRioStringCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioCommentsCallback (int32_t uid)
 
size_t HALSIM_GetRoboRioComments (char *buffer, size_t size)
 
void HALSIM_SetRoboRioComments (const char *comments, size_t size)
 
int32_t HALSIM_RegisterRoboRioCPUTempCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioCPUTempCallback (int32_t uid)
 
double HALSIM_GetRoboRioCPUTemp (void)
 
void HALSIM_SetRoboRioCPUTemp (double cpuTemp)
 
int32_t HALSIM_RegisterRoboRioRadioLEDStateCallback (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelRoboRioRadioLEDStateCallback (int32_t uid)
 
HAL_RadioLEDState HALSIM_GetRoboRioRadioLEDState (void)
 
void HALSIM_SetRoboRioRadioLEDState (HAL_RadioLEDState state)
 
void HALSIM_RegisterRoboRioAllCallbacks (HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 

Typedef Documentation

◆ HAL_RoboRioStringCallback

typedef void(* HAL_RoboRioStringCallback) (const char *name, void *param, const char *str, size_t size)

Function Documentation

◆ HALSIM_CancelRoboRioBrownoutVoltageCallback()

void HALSIM_CancelRoboRioBrownoutVoltageCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioCommentsCallback()

void HALSIM_CancelRoboRioCommentsCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioCPUTempCallback()

void HALSIM_CancelRoboRioCPUTempCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioFPGAButtonCallback()

void HALSIM_CancelRoboRioFPGAButtonCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioRadioLEDStateCallback()

void HALSIM_CancelRoboRioRadioLEDStateCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioSerialNumberCallback()

void HALSIM_CancelRoboRioSerialNumberCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioTeamNumberCallback()

void HALSIM_CancelRoboRioTeamNumberCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserActive3V3Callback()

void HALSIM_CancelRoboRioUserActive3V3Callback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserActive5VCallback()

void HALSIM_CancelRoboRioUserActive5VCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserActive6VCallback()

void HALSIM_CancelRoboRioUserActive6VCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserCurrent3V3Callback()

void HALSIM_CancelRoboRioUserCurrent3V3Callback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserCurrent5VCallback()

void HALSIM_CancelRoboRioUserCurrent5VCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserCurrent6VCallback()

void HALSIM_CancelRoboRioUserCurrent6VCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserFaults3V3Callback()

void HALSIM_CancelRoboRioUserFaults3V3Callback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserFaults5VCallback()

void HALSIM_CancelRoboRioUserFaults5VCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserFaults6VCallback()

void HALSIM_CancelRoboRioUserFaults6VCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserVoltage3V3Callback()

void HALSIM_CancelRoboRioUserVoltage3V3Callback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserVoltage5VCallback()

void HALSIM_CancelRoboRioUserVoltage5VCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioUserVoltage6VCallback()

void HALSIM_CancelRoboRioUserVoltage6VCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioVInCurrentCallback()

void HALSIM_CancelRoboRioVInCurrentCallback ( int32_t  uid)

◆ HALSIM_CancelRoboRioVInVoltageCallback()

void HALSIM_CancelRoboRioVInVoltageCallback ( int32_t  uid)

◆ HALSIM_GetRoboRioBrownoutVoltage()

double HALSIM_GetRoboRioBrownoutVoltage ( void  )

◆ HALSIM_GetRoboRioComments()

size_t HALSIM_GetRoboRioComments ( char *  buffer,
size_t  size 
)

◆ HALSIM_GetRoboRioCPUTemp()

double HALSIM_GetRoboRioCPUTemp ( void  )

◆ HALSIM_GetRoboRioFPGAButton()

HAL_Bool HALSIM_GetRoboRioFPGAButton ( void  )

◆ HALSIM_GetRoboRioRadioLEDState()

HAL_RadioLEDState HALSIM_GetRoboRioRadioLEDState ( void  )

◆ HALSIM_GetRoboRioSerialNumber()

size_t HALSIM_GetRoboRioSerialNumber ( char *  buffer,
size_t  size 
)

◆ HALSIM_GetRoboRioTeamNumber()

int32_t HALSIM_GetRoboRioTeamNumber ( void  )

◆ HALSIM_GetRoboRioUserActive3V3()

HAL_Bool HALSIM_GetRoboRioUserActive3V3 ( void  )

◆ HALSIM_GetRoboRioUserActive5V()

HAL_Bool HALSIM_GetRoboRioUserActive5V ( void  )

◆ HALSIM_GetRoboRioUserActive6V()

HAL_Bool HALSIM_GetRoboRioUserActive6V ( void  )

◆ HALSIM_GetRoboRioUserCurrent3V3()

double HALSIM_GetRoboRioUserCurrent3V3 ( void  )

◆ HALSIM_GetRoboRioUserCurrent5V()

double HALSIM_GetRoboRioUserCurrent5V ( void  )

◆ HALSIM_GetRoboRioUserCurrent6V()

double HALSIM_GetRoboRioUserCurrent6V ( void  )

◆ HALSIM_GetRoboRioUserFaults3V3()

int32_t HALSIM_GetRoboRioUserFaults3V3 ( void  )

◆ HALSIM_GetRoboRioUserFaults5V()

int32_t HALSIM_GetRoboRioUserFaults5V ( void  )

◆ HALSIM_GetRoboRioUserFaults6V()

int32_t HALSIM_GetRoboRioUserFaults6V ( void  )

◆ HALSIM_GetRoboRioUserVoltage3V3()

double HALSIM_GetRoboRioUserVoltage3V3 ( void  )

◆ HALSIM_GetRoboRioUserVoltage5V()

double HALSIM_GetRoboRioUserVoltage5V ( void  )

◆ HALSIM_GetRoboRioUserVoltage6V()

double HALSIM_GetRoboRioUserVoltage6V ( void  )

◆ HALSIM_GetRoboRioVInCurrent()

double HALSIM_GetRoboRioVInCurrent ( void  )

◆ HALSIM_GetRoboRioVInVoltage()

double HALSIM_GetRoboRioVInVoltage ( void  )

◆ HALSIM_RegisterRoboRioAllCallbacks()

void HALSIM_RegisterRoboRioAllCallbacks ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioBrownoutVoltageCallback()

int32_t HALSIM_RegisterRoboRioBrownoutVoltageCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioCommentsCallback()

int32_t HALSIM_RegisterRoboRioCommentsCallback ( HAL_RoboRioStringCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioCPUTempCallback()

int32_t HALSIM_RegisterRoboRioCPUTempCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioFPGAButtonCallback()

int32_t HALSIM_RegisterRoboRioFPGAButtonCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioRadioLEDStateCallback()

int32_t HALSIM_RegisterRoboRioRadioLEDStateCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioSerialNumberCallback()

int32_t HALSIM_RegisterRoboRioSerialNumberCallback ( HAL_RoboRioStringCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioTeamNumberCallback()

int32_t HALSIM_RegisterRoboRioTeamNumberCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserActive3V3Callback()

int32_t HALSIM_RegisterRoboRioUserActive3V3Callback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserActive5VCallback()

int32_t HALSIM_RegisterRoboRioUserActive5VCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserActive6VCallback()

int32_t HALSIM_RegisterRoboRioUserActive6VCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserCurrent3V3Callback()

int32_t HALSIM_RegisterRoboRioUserCurrent3V3Callback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserCurrent5VCallback()

int32_t HALSIM_RegisterRoboRioUserCurrent5VCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserCurrent6VCallback()

int32_t HALSIM_RegisterRoboRioUserCurrent6VCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserFaults3V3Callback()

int32_t HALSIM_RegisterRoboRioUserFaults3V3Callback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserFaults5VCallback()

int32_t HALSIM_RegisterRoboRioUserFaults5VCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserFaults6VCallback()

int32_t HALSIM_RegisterRoboRioUserFaults6VCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserVoltage3V3Callback()

int32_t HALSIM_RegisterRoboRioUserVoltage3V3Callback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserVoltage5VCallback()

int32_t HALSIM_RegisterRoboRioUserVoltage5VCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioUserVoltage6VCallback()

int32_t HALSIM_RegisterRoboRioUserVoltage6VCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioVInCurrentCallback()

int32_t HALSIM_RegisterRoboRioVInCurrentCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_RegisterRoboRioVInVoltageCallback()

int32_t HALSIM_RegisterRoboRioVInVoltageCallback ( HAL_NotifyCallback  callback,
void *  param,
HAL_Bool  initialNotify 
)

◆ HALSIM_ResetRoboRioData()

void HALSIM_ResetRoboRioData ( void  )

◆ HALSIM_SetRoboRioBrownoutVoltage()

void HALSIM_SetRoboRioBrownoutVoltage ( double  brownoutVoltage)

◆ HALSIM_SetRoboRioComments()

void HALSIM_SetRoboRioComments ( const char *  comments,
size_t  size 
)

◆ HALSIM_SetRoboRioCPUTemp()

void HALSIM_SetRoboRioCPUTemp ( double  cpuTemp)

◆ HALSIM_SetRoboRioFPGAButton()

void HALSIM_SetRoboRioFPGAButton ( HAL_Bool  fPGAButton)

◆ HALSIM_SetRoboRioRadioLEDState()

void HALSIM_SetRoboRioRadioLEDState ( HAL_RadioLEDState  state)

◆ HALSIM_SetRoboRioSerialNumber()

void HALSIM_SetRoboRioSerialNumber ( const char *  serialNumber,
size_t  size 
)

◆ HALSIM_SetRoboRioTeamNumber()

void HALSIM_SetRoboRioTeamNumber ( int32_t  teamNumber)

◆ HALSIM_SetRoboRioUserActive3V3()

void HALSIM_SetRoboRioUserActive3V3 ( HAL_Bool  userActive3V3)

◆ HALSIM_SetRoboRioUserActive5V()

void HALSIM_SetRoboRioUserActive5V ( HAL_Bool  userActive5V)

◆ HALSIM_SetRoboRioUserActive6V()

void HALSIM_SetRoboRioUserActive6V ( HAL_Bool  userActive6V)

◆ HALSIM_SetRoboRioUserCurrent3V3()

void HALSIM_SetRoboRioUserCurrent3V3 ( double  userCurrent3V3)

◆ HALSIM_SetRoboRioUserCurrent5V()

void HALSIM_SetRoboRioUserCurrent5V ( double  userCurrent5V)

◆ HALSIM_SetRoboRioUserCurrent6V()

void HALSIM_SetRoboRioUserCurrent6V ( double  userCurrent6V)

◆ HALSIM_SetRoboRioUserFaults3V3()

void HALSIM_SetRoboRioUserFaults3V3 ( int32_t  userFaults3V3)

◆ HALSIM_SetRoboRioUserFaults5V()

void HALSIM_SetRoboRioUserFaults5V ( int32_t  userFaults5V)

◆ HALSIM_SetRoboRioUserFaults6V()

void HALSIM_SetRoboRioUserFaults6V ( int32_t  userFaults6V)

◆ HALSIM_SetRoboRioUserVoltage3V3()

void HALSIM_SetRoboRioUserVoltage3V3 ( double  userVoltage3V3)

◆ HALSIM_SetRoboRioUserVoltage5V()

void HALSIM_SetRoboRioUserVoltage5V ( double  userVoltage5V)

◆ HALSIM_SetRoboRioUserVoltage6V()

void HALSIM_SetRoboRioUserVoltage6V ( double  userVoltage6V)

◆ HALSIM_SetRoboRioVInCurrent()

void HALSIM_SetRoboRioVInCurrent ( double  vInCurrent)

◆ HALSIM_SetRoboRioVInVoltage()

void HALSIM_SetRoboRioVInVoltage ( double  vInVoltage)