diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-13 13:37:06 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-13 13:37:06 +0000 |
commit | 6716159ba1186d9360d80b4b2313b3a047055295 (patch) | |
tree | b7208b66427d8d6afba2f6b54cb4000a63a3bead /os/hal/include/pwm.h | |
parent | 8b165fe3e29168a029d48cd8089a3f2c836e7ee3 (diff) | |
download | ChibiOS-6716159ba1186d9360d80b4b2313b3a047055295.tar.gz ChibiOS-6716159ba1186d9360d80b4b2313b3a047055295.tar.bz2 ChibiOS-6716159ba1186d9360d80b4b2313b3a047055295.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1423 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/pwm.h')
-rw-r--r-- | os/hal/include/pwm.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h index 8f2418691..5ca0083b8 100644 --- a/os/hal/include/pwm.h +++ b/os/hal/include/pwm.h @@ -72,10 +72,8 @@ extern "C" { void pwmObjectInit(PWMDriver *pwmp);
void pwmStart(PWMDriver *pwmp, const PWMConfig *config);
void pwmStop(PWMDriver *pwmp);
- void pwmSetCallback(PWMDriver *pwmp,
- pwmchannel_t channel,
- pwmedge_t edge,
- pwmcallback_t callback);
+ void pwmSetupChannel(PWMDriver *pwmp, pwmchannel_t channel,
+ const PWMChannelConfig *pccp);
void pwmEnableChannel(PWMDriver *pwmp,
pwmchannel_t channel,
pwmcnt_t width);
|