diff options
Diffstat (limited to 'include/pwm.h')
-rw-r--r-- | include/pwm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pwm.h b/include/pwm.h index bdc2fdd858..5ca9fa056b 100644 --- a/include/pwm.h +++ b/include/pwm.h @@ -29,6 +29,11 @@ int pwm_enable(struct pwm_device *pwm); */ void pwm_disable(struct pwm_device *pwm); +void pwm_set_period(struct pwm_device *pwm, unsigned int period); +unsigned int pwm_get_period(struct pwm_device *pwm); +void pwm_set_duty_cycle(struct pwm_device *pwm, unsigned int duty); +unsigned int pwm_get_duty_cycle(struct pwm_device *pwm); + struct pwm_chip; /** |