aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2014-10-16 17:22:14 +0800
committerbryan newbold <bnewbold@twinleaf.com>2014-11-24 15:17:41 -0800
commit27db07c5857af897fad3b2326f1d6be5b0694c68 (patch)
tree8e4e4b9a959a50b403b10faced14281fbaf2c43a
parent68a45ed3c0cf860da9a366ca1e560977adf21f57 (diff)
downloadlibrambutan-27db07c5857af897fad3b2326f1d6be5b0694c68.tar.gz
librambutan-27db07c5857af897fad3b2326f1d6be5b0694c68.zip
systick.h: add systick_attach_callback() prototype
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--libmaple/include/libmaple/systick.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/include/libmaple/systick.h b/libmaple/include/libmaple/systick.h
index 551f800..bd8b18f 100644
--- a/libmaple/include/libmaple/systick.h
+++ b/libmaple/include/libmaple/systick.h
@@ -87,6 +87,7 @@ static inline uint32 systick_uptime(void) {
void systick_init(uint32 reload_val);
void systick_disable();
void systick_enable();
+void systick_attach_callback(void (*)(void));
/**
* @brief Returns the current value of the SysTick counter.