31 const char* allocationLocation,
66 int32_t microsecondPulseTime,
void HAL_SetPWMPulseTimeMicroseconds(HAL_DigitalHandle pwmPortHandle, int32_t microsecondPulseTime, int32_t *status)
Sets a PWM channel to the desired pulse width in microseconds.
void HAL_SetPWMOutputPeriod(HAL_DigitalHandle pwmPortHandle, int32_t period, int32_t *status)
Sets the PWM output period.
HAL_DigitalHandle HAL_InitializePWMPort(int32_t channel, const char *allocationLocation, int32_t *status)
Initializes a PWM port.
void HAL_SetPWMSimDevice(HAL_DigitalHandle handle, HAL_SimDeviceHandle device)
Indicates the pwm is used by a simulated device.
HAL_Bool HAL_CheckPWMChannel(int32_t channel)
Checks if a pwm channel is valid.
int32_t HAL_GetPWMPulseTimeMicroseconds(HAL_DigitalHandle pwmPortHandle, int32_t *status)
Gets the current microsecond pulse time from a PWM channel.
void HAL_FreePWMPort(HAL_DigitalHandle pwmPortHandle)
Frees a PWM port.
int32_t HAL_Bool
Definition Types.h:75
HAL_Handle HAL_SimDeviceHandle
Definition Types.h:53
HAL_Handle HAL_DigitalHandle
Definition Types.h:31