aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/icu_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-03-10 11:56:43 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-03-10 11:56:43 +0000
commit1f05b803edfb45940c544aa01ae3af3693b1a4cd (patch)
tree76823dd701e8e8609ae4f83f7ea9bdc9e5609a6a /os/hal/platforms/STM32/icu_lld.h
parent696e7202dca8e59cb3a38bfdb190a1e095da70cd (diff)
downloadChibiOS-1f05b803edfb45940c544aa01ae3af3693b1a4cd.tar.gz
ChibiOS-1f05b803edfb45940c544aa01ae3af3693b1a4cd.tar.bz2
ChibiOS-1f05b803edfb45940c544aa01ae3af3693b1a4cd.zip
Overflow handling in ICU driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4033 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/icu_lld.h')
-rw-r--r--os/hal/platforms/STM32/icu_lld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/icu_lld.h b/os/hal/platforms/STM32/icu_lld.h
index 642de2a64..691b06a71 100644
--- a/os/hal/platforms/STM32/icu_lld.h
+++ b/os/hal/platforms/STM32/icu_lld.h
@@ -227,6 +227,10 @@ typedef struct {
* @brief Callback for cycle period measurement.
*/
icucallback_t period_cb;
+ /**
+ * @brief Callback for timer overflow.
+ */
+ icucallback_t overflow_cb;
/* End of the mandatory fields.*/
/**
* @brief Timer input channel to be used.