aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/iwdg.h
diff options
context:
space:
mode:
authorNicolas Schodet2012-09-02 17:12:58 +0200
committerNicolas Schodet2012-09-02 17:12:58 +0200
commit3aab6220d83d5b9fcd318e9d87225ff405cad783 (patch)
treeb61019429043b03b091ce00f84b312829abd0e94 /include/libopencm3/stm32/iwdg.h
parent11727f56c97fb3d007e0d08e59294b6791067bd1 (diff)
Add C linkage declaration for C++ usage
Diffstat (limited to 'include/libopencm3/stm32/iwdg.h')
-rw-r--r--include/libopencm3/stm32/iwdg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/iwdg.h b/include/libopencm3/stm32/iwdg.h
index a5f1ac1..4e44907 100644
--- a/include/libopencm3/stm32/iwdg.h
+++ b/include/libopencm3/stm32/iwdg.h
@@ -106,12 +106,16 @@ LGPL License Terms @ref lgpl_license
/* --- IWDG function prototypes---------------------------------------------- */
+BEGIN_DECLS
+
void iwdg_start(void);
void iwdg_set_period_ms(u32 period);
bool iwdg_reload_busy(void);
bool iwdg_prescaler_busy(void);
void iwdg_reset(void);
+END_DECLS
+
#endif
/**@}*/