aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/TIMv1
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-03-23 11:58:28 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-03-23 11:58:28 +0000
commite9f502f1713049fb7f4e9cae67f8df8c919c72a2 (patch)
tree5bcd871babc892535b65ec413e5180cfeb031d2c /os/hal/ports/STM32/LLD/TIMv1
parenta9feb302569832fe89376943528e37e231abbd10 (diff)
downloadChibiOS-e9f502f1713049fb7f4e9cae67f8df8c919c72a2.tar.gz
ChibiOS-e9f502f1713049fb7f4e9cae67f8df8c919c72a2.tar.bz2
ChibiOS-e9f502f1713049fb7f4e9cae67f8df8c919c72a2.zip
Documentation fixes to the ICU driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11840 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/STM32/LLD/TIMv1')
-rw-r--r--os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c b/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c
index 73341736a..cbd7cee57 100644
--- a/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c
+++ b/os/hal/ports/STM32/LLD/TIMv1/hal_icu_lld.c
@@ -712,7 +712,8 @@ void icu_lld_stop_capture(ICUDriver *icup) {
/**
* @brief Enables notifications.
- * @pre The ICU unit must have been activated using @p icuStart().
+ * @pre The ICU unit must have been activated using @p icuStart() and the
+ * capture started using @p icuStartCapture().
* @note If the notification is already enabled then the call has no effect.
*
* @param[in] icup pointer to the @p ICUDriver object
@@ -758,7 +759,8 @@ void icu_lld_enable_notifications(ICUDriver *icup) {
/**
* @brief Disables notifications.
- * @pre The ICU unit must have been activated using @p icuStart().
+ * @pre The ICU unit must have been activated using @p icuStart() and the
+ * capture started using @p icuStartCapture().
* @note If the notification is already disabled then the call has no effect.
*
* @param[in] icup pointer to the @p ICUDriver object