29 const char* allocationLocation,
int32_t HAL_GetDutyCycleHighTime(HAL_DutyCycleHandle dutyCycleHandle, int32_t *status)
Get the raw high time of the duty cycle signal.
double 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.
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.
HAL_DutyCycleHandle HAL_InitializeDutyCycle(int32_t channel, const char *allocationLocation, int32_t *status)
Initialize a DutyCycle input.
HAL_Handle HAL_SimDeviceHandle
Definition Types.h:53
HAL_Handle HAL_DutyCycleHandle
Definition Types.h:59