pwm.h File Reference
PWM driver (interface). More...
#include <pwm_map.h>
#include <cfg/compiler.h>
Go to the source code of this file.
Functions | |
| void | pwm_setDuty (PwmDev dev, pwm_duty_t duty) |
Set duty of pwm channel dev. | |
| void | pwm_setFrequency (PwmDev dev, pwm_freq_t freq) |
Set frequency of pwm channel dev at freq in Hz. | |
| void | pwm_enable (PwmDev dev, bool state) |
Set duty of pwm channel dev. | |
| void | pwm_init (void) |
| Initialize PWM hw. | |
Detailed Description
PWM driver (interface).
- Version:
- Id
- pwm.h 1242 2008-04-30 15:23:21Z asterix
- Version:
- Id
- pwm.h 1242 2008-04-30 15:23:21Z asterix
Definition in file pwm.h.
