summaryrefslogtreecommitdiff
path: root/firmware/src/os/pwm.h
blob: 8836c329183293244335bc27002b2706b229aec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _PWM_H
#define _PWM_H

extern void pwm_freq_set(int channel, u_int32_t freq);
extern void pwm_start(int channel);
extern void pwm_stop(int channel);
extern void pwm_duty_set_percent(int channel, u_int16_t duty);
extern void pwm_init(void);
extern void pwm_fini(void);

#endif
personal git repositories of Harald Welte. Your mileage may vary