diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-28 09:17:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-28 09:17:53 +0000 |
commit | 72903490631212c4aff9c7641c8095e71cab2a79 (patch) | |
tree | 614460da3aff13618931db3d51973af1cf65b416 | |
parent | d040dd79a6925838fce4b5a7ff5bf6b6e9c0186c (diff) | |
download | ChibiOS-72903490631212c4aff9c7641c8095e71cab2a79.tar.gz ChibiOS-72903490631212c4aff9c7641c8095e71cab2a79.tar.bz2 ChibiOS-72903490631212c4aff9c7641c8095e71cab2a79.zip |
Documentation related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2443 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/platforms/STM32/pwm_lld.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32/pwm_lld.c b/os/hal/platforms/STM32/pwm_lld.c index 33415513a..56273b5a6 100644 --- a/os/hal/platforms/STM32/pwm_lld.c +++ b/os/hal/platforms/STM32/pwm_lld.c @@ -95,9 +95,9 @@ PWMDriver PWMD5; /*===========================================================================*/
#if STM32_PWM_USE_TIM2 || STM32_PWM_USE_TIM3 || STM32_PWM_USE_TIM4 || \
- defined(__DOXYGEN__)
+ STM32_PWM_USE_TIM5 || defined(__DOXYGEN__)
/**
- * @brief Common TIM2...TIM4 IRQ handler.
+ * @brief Common TIM2...TIM5 IRQ handler.
* @note It is assumed that the various sources are only activated if the
* associated callback pointer is not equal to @p NULL in order to not
* perform an extra check in a potentially critical interrupt handler.
@@ -119,7 +119,7 @@ static void serve_interrupt(PWMDriver *pwmp) { if ((sr & TIM_SR_UIF) != 0)
pwmp->pd_config->pc_callback(pwmp);
}
-#endif /* STM32_PWM_USE_TIM2 || STM32_PWM_USE_TIM3 || STM32_PWM_USE_TIM4 */
+#endif /* STM32_PWM_USE_TIM2 || ... || STM32_PWM_USE_TIM5 */
/*===========================================================================*/
/* Driver interrupt handlers. */
@@ -236,7 +236,6 @@ CH_IRQ_HANDLER(TIM5_IRQHandler) { }
#endif /* STM32_PWM_USE_TIM5 */
-
/*===========================================================================*/
/* Driver exported functions. */
/*===========================================================================*/
@@ -530,6 +529,8 @@ void pwm_lld_enable_channel(PWMDriver *pwmp, *
* @param[in] pwmp pointer to a @p PWMDriver object
* @param[in] channel PWM channel identifier (0...PWM_CHANNELS-1)
+ *
+ * @notapi
*/
void pwm_lld_disable_channel(PWMDriver *pwmp, pwmchannel_t channel) {
|