diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-04-05 18:21:00 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-04-05 18:21:00 +0000 |
commit | ad009f46d58f4f555cd412aa2f2a267da01db4e0 (patch) | |
tree | 18b4e9fd44f637c664c075b9d611465ed015fc60 /os/hal/include | |
parent | c4fec713d238a4396ee5693c986e3d25a74082e5 (diff) | |
download | ChibiOS-ad009f46d58f4f555cd412aa2f2a267da01db4e0.tar.gz ChibiOS-ad009f46d58f4f555cd412aa2f2a267da01db4e0.tar.bz2 ChibiOS-ad009f46d58f4f555cd412aa2f2a267da01db4e0.zip |
STM32 PWM driver optimization, changed the behavior of pwmChangePeriod().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2869 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/pwm.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h index 72430f1aa..2ffd3599c 100644 --- a/os/hal/include/pwm.h +++ b/os/hal/include/pwm.h @@ -150,11 +150,9 @@ typedef void (*pwmcallback_t)(PWMDriver *pwmp); * been activated using @p pwmStart().
* @pre The PWM unit must have been activated using @p pwmStart().
* @post The PWM unit period is changed to the new value.
- * @post Any active channel is disabled by this function and must be
- * activated explicitly using @p pwmEnableChannel().
- * @note Depending on the hardware implementation this function has
- * effect starting on the next cycle (recommended implementation)
- * or immediately (fallback implementation).
+ * @note If a period is specified that is shorter than the pulse width
+ * programmed in one of the channels then the behavior is not
+ * guaranteed.
*
* @param[in] pwmp pointer to a @p PWMDriver object
* @param[in] period new cycle time in ticks
|