aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 08:55:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-21 08:55:48 +0000
commita2e1f71fc25c29620af68246125f81151f80f733 (patch)
tree750311b3eda243442732c7e779b20de5397da4a6 /os/hal/templates
parent8da551f1a3410cd700b20b0679147f491b45a483 (diff)
downloadChibiOS-a2e1f71fc25c29620af68246125f81151f80f733.tar.gz
ChibiOS-a2e1f71fc25c29620af68246125f81151f80f733.tar.bz2
ChibiOS-a2e1f71fc25c29620af68246125f81151f80f733.zip
Documentation related improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2403 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates')
-rw-r--r--os/hal/templates/pwm_lld.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/os/hal/templates/pwm_lld.c b/os/hal/templates/pwm_lld.c
index 02de6b17c..4f9aab29b 100644
--- a/os/hal/templates/pwm_lld.c
+++ b/os/hal/templates/pwm_lld.c
@@ -102,26 +102,10 @@ bool_t pwm_lld_is_enabled(PWMDriver *pwmp, pwmchannel_t channel) {
}
/**
- * @brief Enables a callback mode for the specified PWM channel.
- * @details The callback mode must be set before starting a PWM channel.
- *
- * @param[in] pwmp pointer to the @p PWMDriver object
- * @param[in] channel PWM channel identifier
- * @param[in] edge output edge mode
- * @param[in] callback callback function
- *
- * @notapi
- */
-void pwm_lld_set_callback(PWMDriver *pwmp, pwmchannel_t channel,
- pwmedge_t edge, pwmcallback_t callback) {
-
-}
-
-/**
* @brief Enables a PWM channel.
*
* @param[in] pwmp pointer to the @p PWMDriver object
- * @param[in] channel PWM channel identifier
+ * @param[in] channel PWM channel identifier (0...PWM_CHANNELS-1])
* @param[in] width PWM pulse width as clock pulses number
*
* @notapi
@@ -138,7 +122,7 @@ void pwm_lld_enable_channel(PWMDriver *pwmp,
* idle state.
*
* @param[in] pwmp pointer to the @p PWMDriver object
- * @param[in] channel PWM channel identifier
+ * @param[in] channel PWM channel identifier (0...PWM_CHANNELS-1])
*
* @notapi
*/