aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/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/templates/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/templates/icu_lld.h')
-rw-r--r--os/hal/templates/icu_lld.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/templates/icu_lld.h b/os/hal/templates/icu_lld.h
index 4b0568102..56ce3af98 100644
--- a/os/hal/templates/icu_lld.h
+++ b/os/hal/templates/icu_lld.h
@@ -17,6 +17,10 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/*
+ Concepts and parts of this file have been contributed by Fabio Utzig and
+ Xo Wang.
+ */
/**
* @file templates/icu_lld.h
@@ -88,6 +92,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.*/
} ICUConfig;