|
PebbleOS
|
#include <stdint.h>#include <stdbool.h>#include <board/board.h>Functions | |
| void | pwm_init (const PwmConfig *pwm, uint32_t resolution, uint32_t frequency) |
| Initialize a PWM channel. | |
| void | pwm_set_duty_cycle (const PwmConfig *pwm, uint32_t duty_cycle) |
| Set the duty cycle. | |
| void | pwm_enable (const PwmConfig *pwm, bool enable) |
| Start or stop the output. | |