From d3294d3cf32e649815c89f6e5759e39601b3ec4f Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Sun, 10 Sep 2006 14:14:17 +0000 Subject: move PWM code to OS git-svn-id: https://svn.openpcd.org:2342/trunk@170 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/src/os/pwm.h | 11 +++++++++++ openpcd/firmware/src/pcd/pwm.h | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 openpcd/firmware/src/os/pwm.h delete mode 100644 openpcd/firmware/src/pcd/pwm.h diff --git a/openpcd/firmware/src/os/pwm.h b/openpcd/firmware/src/os/pwm.h new file mode 100644 index 0000000..8836c32 --- /dev/null +++ b/openpcd/firmware/src/os/pwm.h @@ -0,0 +1,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 diff --git a/openpcd/firmware/src/pcd/pwm.h b/openpcd/firmware/src/pcd/pwm.h deleted file mode 100644 index 8836c32..0000000 --- a/openpcd/firmware/src/pcd/pwm.h +++ /dev/null @@ -1,11 +0,0 @@ -#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 -- cgit v1.2.3