This file lists the API's and structs required to access the Pulse-Width Modulation (PWM) driver.
More...
|
uint32_t | wiced_hal_pwm_start (uint8_t channel, PwmClockType clk, uint32_t toggleCount, uint32_t initCount, int invert) |
| Configures, enables, and starts the PWM to be active on a preconfigured GPIO pin. More...
|
|
uint32_t | wiced_hal_pwm_change_values (uint8_t channel, uint32_t toggleCount, uint32_t initCount) |
| Changes the PWM settings after the PWM HW has already been started. More...
|
|
uint32_t | wiced_hal_pwm_get_toggle_count (uint8_t channel) |
| Returns the current toggle count setting for the corresponding PWM channel. More...
|
|
uint32_t | wiced_hal_pwm_get_init_value (uint8_t channel) |
| Returns the current initial count setting for the corresponding PWM channel. More...
|
|
void | wiced_hal_pwm_disable (uint8_t channel) |
| Disables the PWM channel. More...
|
|
void | wiced_hal_pwm_enable (uint8_t channel) |
| Enables the PWM channel which is already preconfigured. More...
|
|
void | wiced_hal_pwm_configure_pin (uint8_t pin, uint8_t PWM) |
| Configure any GPIO as any PWM port. More...
|
|
wiced_result_t | wiced_hal_pwm_get_params (uint32_t clock_frequency_in, uint32_t duty_cycle, uint32_t pwm_frequency_out, wiced_pwm_config_t *params_out) |
| Calculate PWM parameters. More...
|
|
This file lists the API's and structs required to access the Pulse-Width Modulation (PWM) driver.