WPILibC++ 2025.0.0-alpha-1-14-g3b6f38d
PWMData.h File Reference

Go to the source code of this file.

Functions

void HALSIM_ResetPWMData (int32_t index)
 
int32_t HALSIM_RegisterPWMInitializedCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPWMInitializedCallback (int32_t index, int32_t uid)
 
HAL_Bool HALSIM_GetPWMInitialized (int32_t index)
 
void HALSIM_SetPWMInitialized (int32_t index, HAL_Bool initialized)
 
int32_t HALSIM_RegisterPWMPulseMicrosecondCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPWMPulseMicrosecondCallback (int32_t index, int32_t uid)
 
int32_t HALSIM_GetPWMPulseMicrosecond (int32_t index)
 
void HALSIM_SetPWMPulseMicrosecond (int32_t index, int32_t microsecondPulseTime)
 
int32_t HALSIM_RegisterPWMSpeedCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPWMSpeedCallback (int32_t index, int32_t uid)
 
double HALSIM_GetPWMSpeed (int32_t index)
 
void HALSIM_SetPWMSpeed (int32_t index, double speed)
 
int32_t HALSIM_RegisterPWMPositionCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPWMPositionCallback (int32_t index, int32_t uid)
 
double HALSIM_GetPWMPosition (int32_t index)
 
void HALSIM_SetPWMPosition (int32_t index, double position)
 
int32_t HALSIM_RegisterPWMPeriodScaleCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPWMPeriodScaleCallback (int32_t index, int32_t uid)
 
int32_t HALSIM_GetPWMPeriodScale (int32_t index)
 
void HALSIM_SetPWMPeriodScale (int32_t index, int32_t periodScale)
 
int32_t HALSIM_RegisterPWMZeroLatchCallback (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 
void HALSIM_CancelPWMZeroLatchCallback (int32_t index, int32_t uid)
 
HAL_Bool HALSIM_GetPWMZeroLatch (int32_t index)
 
void HALSIM_SetPWMZeroLatch (int32_t index, HAL_Bool zeroLatch)
 
void HALSIM_RegisterPWMAllCallbacks (int32_t index, HAL_NotifyCallback callback, void *param, HAL_Bool initialNotify)
 

Function Documentation

◆ HALSIM_CancelPWMInitializedCallback()

void HALSIM_CancelPWMInitializedCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelPWMPeriodScaleCallback()

void HALSIM_CancelPWMPeriodScaleCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelPWMPositionCallback()

void HALSIM_CancelPWMPositionCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelPWMPulseMicrosecondCallback()

void HALSIM_CancelPWMPulseMicrosecondCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelPWMSpeedCallback()

void HALSIM_CancelPWMSpeedCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_CancelPWMZeroLatchCallback()

void HALSIM_CancelPWMZeroLatchCallback ( int32_t  index,
int32_t  uid 
)

◆ HALSIM_GetPWMInitialized()

HAL_Bool HALSIM_GetPWMInitialized ( int32_t  index)

◆ HALSIM_GetPWMPeriodScale()

int32_t HALSIM_GetPWMPeriodScale ( int32_t  index)

◆ HALSIM_GetPWMPosition()

double HALSIM_GetPWMPosition ( int32_t  index)

◆ HALSIM_GetPWMPulseMicrosecond()

int32_t HALSIM_GetPWMPulseMicrosecond ( int32_t  index)

◆ HALSIM_GetPWMSpeed()

double HALSIM_GetPWMSpeed ( int32_t  index)

◆ HALSIM_GetPWMZeroLatch()

HAL_Bool HALSIM_GetPWMZeroLatch ( int32_t  index)

◆ HALSIM_RegisterPWMAllCallbacks()

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

◆ HALSIM_RegisterPWMInitializedCallback()

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

◆ HALSIM_RegisterPWMPeriodScaleCallback()

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

◆ HALSIM_RegisterPWMPositionCallback()

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

◆ HALSIM_RegisterPWMPulseMicrosecondCallback()

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

◆ HALSIM_RegisterPWMSpeedCallback()

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

◆ HALSIM_RegisterPWMZeroLatchCallback()

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

◆ HALSIM_ResetPWMData()

void HALSIM_ResetPWMData ( int32_t  index)

◆ HALSIM_SetPWMInitialized()

void HALSIM_SetPWMInitialized ( int32_t  index,
HAL_Bool  initialized 
)

◆ HALSIM_SetPWMPeriodScale()

void HALSIM_SetPWMPeriodScale ( int32_t  index,
int32_t  periodScale 
)

◆ HALSIM_SetPWMPosition()

void HALSIM_SetPWMPosition ( int32_t  index,
double  position 
)

◆ HALSIM_SetPWMPulseMicrosecond()

void HALSIM_SetPWMPulseMicrosecond ( int32_t  index,
int32_t  microsecondPulseTime 
)

◆ HALSIM_SetPWMSpeed()

void HALSIM_SetPWMSpeed ( int32_t  index,
double  speed 
)

◆ HALSIM_SetPWMZeroLatch()

void HALSIM_SetPWMZeroLatch ( int32_t  index,
HAL_Bool  zeroLatch 
)