WPILibC++ 2024.3.2
DutyCycleData.h File Reference

Go to the source code of this file.

Functions

int32_t HALSIM_FindDutyCycleForChannel (int32_t channel)
 
void HALSIM_ResetDutyCycleData (int32_t index)
 
int32_t HALSIM_GetDutyCycleDigitalChannel (int32_t index)
 
int32_t HALSIM_RegisterDutyCycleInitializedCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelDutyCycleInitializedCallback (int32_t index, int32_t uid)
 
HAL_Bool HALSIM_GetDutyCycleInitialized (int32_t index)
 
void HALSIM_SetDutyCycleInitialized (int32_t index, HAL_Bool initialized)
 
HAL_SimDeviceHandle HALSIM_GetDutyCycleSimDevice (int32_t index)
 
int32_t HALSIM_RegisterDutyCycleOutputCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelDutyCycleOutputCallback (int32_t index, int32_t uid)
 
double HALSIM_GetDutyCycleOutput (int32_t index)
 
void HALSIM_SetDutyCycleOutput (int32_t index, double output)
 
int32_t HALSIM_RegisterDutyCycleFrequencyCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelDutyCycleFrequencyCallback (int32_t index, int32_t uid)
 
int32_t HALSIM_GetDutyCycleFrequency (int32_t index)
 
void HALSIM_SetDutyCycleFrequency (int32_t index, int32_t frequency)
 
void HALSIM_RegisterDutyCycleAllCallbacks (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 

Function Documentation

◆ HALSIM_CancelDutyCycleFrequencyCallback()

void HALSIM_CancelDutyCycleFrequencyCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelDutyCycleInitializedCallback()

void HALSIM_CancelDutyCycleInitializedCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelDutyCycleOutputCallback()

void HALSIM_CancelDutyCycleOutputCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_FindDutyCycleForChannel()

int32_t HALSIM_FindDutyCycleForChannel ( int32_t  channel)

◆ HALSIM_GetDutyCycleDigitalChannel()

int32_t HALSIM_GetDutyCycleDigitalChannel ( int32_t  index)

◆ HALSIM_GetDutyCycleFrequency()

int32_t HALSIM_GetDutyCycleFrequency ( int32_t  index)

◆ HALSIM_GetDutyCycleInitialized()

HAL_Bool HALSIM_GetDutyCycleInitialized ( int32_t  index)

◆ HALSIM_GetDutyCycleOutput()

double HALSIM_GetDutyCycleOutput ( int32_t  index)

◆ HALSIM_GetDutyCycleSimDevice()

HAL_SimDeviceHandle HALSIM_GetDutyCycleSimDevice ( int32_t  index)

◆ HALSIM_RegisterDutyCycleAllCallbacks()

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

◆ HALSIM_RegisterDutyCycleFrequencyCallback()

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

◆ HALSIM_RegisterDutyCycleInitializedCallback()

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

◆ HALSIM_RegisterDutyCycleOutputCallback()

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

◆ HALSIM_ResetDutyCycleData()

void HALSIM_ResetDutyCycleData ( int32_t  index)

◆ HALSIM_SetDutyCycleFrequency()

void HALSIM_SetDutyCycleFrequency ( int32_t  index,
int32_t  frequency 
)

◆ HALSIM_SetDutyCycleInitialized()

void HALSIM_SetDutyCycleInitialized ( int32_t  index,
HAL_Bool  initialized 
)

◆ HALSIM_SetDutyCycleOutput()

void HALSIM_SetDutyCycleOutput ( int32_t  index,
double  output 
)