projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comment
[bertos.git]
/
bertos
/
cpu
/
avr
/
drv
/
pwm_avr.h
diff --git
a/bertos/cpu/avr/drv/pwm_avr.h
b/bertos/cpu/avr/drv/pwm_avr.h
index 46bc2d24d3c43949638415e04003c507520e5d1e..e3a6fa7f79c8e1296e83784dd6c20ec5fdfb970b 100644
(file)
--- a/
bertos/cpu/avr/drv/pwm_avr.h
+++ b/
bertos/cpu/avr/drv/pwm_avr.h
@@
-41,7
+41,7
@@
#ifndef DRV_PWM_AVR_H
#define DRV_PWM_AVR_H
#ifndef DRV_PWM_AVR_H
#define DRV_PWM_AVR_H
-#include "pwm_map.h"
+#include "
hw/
pwm_map.h"
#include <cpu/types.h>
#include <cpu/types.h>
@@
-67,6
+67,7
@@
void pwm_hw_setFrequency(PwmDev dev, uint32_t freq);
void pwm_hw_setDutyUnlock(PwmDev dev, uint16_t duty);
void pwm_hw_disable(PwmDev dev);
void pwm_hw_enable(PwmDev dev);
void pwm_hw_setDutyUnlock(PwmDev dev, uint16_t duty);
void pwm_hw_disable(PwmDev dev);
void pwm_hw_enable(PwmDev dev);
+void pwm_hw_setPolarity(PwmDev dev, bool pol);
pwm_period_t pwm_hw_getPeriod(PwmDev dev);
#endif /* DRV_ADC_AT91_H */
pwm_period_t pwm_hw_getPeriod(PwmDev dev);
#endif /* DRV_ADC_AT91_H */