summaryrefslogtreecommitdiff
path: root/openpcd/firmware/src/pcd/pwm.h
diff options
context:
space:
mode:
author(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-09 01:08:38 +0000
committer(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-09 01:08:38 +0000
commit520784c7ba6a8325e413a293ab11840d982ba87d (patch)
tree44ee93d44102d47014c6ff696ebc93e8de402e01 /openpcd/firmware/src/pcd/pwm.h
parentb0317c72667378333e1008c49559e974f3e7c15d (diff)
- major reorganization, split source tree in
- os: core "operating system" - pcd: PCD (reader) side - picc: PICC (transponder) side - rewrite linker script almost from scratch (for correct DFU operation) git-svn-id: https://svn.openpcd.org:2342/trunk@142 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpcd/firmware/src/pcd/pwm.h')
-rw-r--r--openpcd/firmware/src/pcd/pwm.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/openpcd/firmware/src/pcd/pwm.h b/openpcd/firmware/src/pcd/pwm.h
new file mode 100644
index 0000000..8836c32
--- /dev/null
+++ b/openpcd/firmware/src/pcd/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
personal git repositories of Harald Welte. Your mileage may vary