![]() |
WPILibC++ 2025.3.2
|
Go to the source code of this file.
Functions | |
| HAL_DutyCycleHandle | HAL_InitializeDutyCycle (HAL_Handle digitalSourceHandle, HAL_AnalogTriggerType triggerType, int32_t *status) |
| Initialize a DutyCycle input. | |
| void | HAL_FreeDutyCycle (HAL_DutyCycleHandle dutyCycleHandle) |
| Free a DutyCycle. | |
| void | HAL_SetDutyCycleSimDevice (HAL_DutyCycleHandle handle, HAL_SimDeviceHandle device) |
| Indicates the duty cycle is used by a simulated device. | |
| int32_t | HAL_GetDutyCycleFrequency (HAL_DutyCycleHandle dutyCycleHandle, int32_t *status) |
| Get the frequency of the duty cycle signal. | |
| double | HAL_GetDutyCycleOutput (HAL_DutyCycleHandle dutyCycleHandle, int32_t *status) |
| Get the output ratio of the duty cycle signal. | |
| int32_t | HAL_GetDutyCycleHighTime (HAL_DutyCycleHandle dutyCycleHandle, int32_t *status) |
| Get the raw high time of the duty cycle signal. | |
| int32_t | HAL_GetDutyCycleOutputScaleFactor (HAL_DutyCycleHandle dutyCycleHandle, int32_t *status) |
| Get the scale factor of the output. | |
| int32_t | HAL_GetDutyCycleFPGAIndex (HAL_DutyCycleHandle dutyCycleHandle, int32_t *status) |
| Get the FPGA index for the DutyCycle. | |