aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/pwr.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2012-09-10 12:21:21 -0700
committerPiotr Esden-Tempski2012-09-10 12:21:21 -0700
commit02ea612142fb93d43698b10502a05f6ccd2ec781 (patch)
tree575f5a1be19a9c5133fcd9d0593ad7bb60c99f34 /include/libopencm3/stm32/pwr.h
parent9af50d6e5cf0681b276438acfd92c9975290f1b2 (diff)
parent5ad8f26ede984cbf820707a11e1ddbc8ea52d06b (diff)
Merge pull request #25 "Add support for C++ and fix some comments typo"
Merge remote-tracking branch 'schodet/master' Conflicts: include/libopencm3/stm32/f1/adc.h
Diffstat (limited to 'include/libopencm3/stm32/pwr.h')
-rw-r--r--include/libopencm3/stm32/pwr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/pwr.h b/include/libopencm3/stm32/pwr.h
index 7084382..e709f3d 100644
--- a/include/libopencm3/stm32/pwr.h
+++ b/include/libopencm3/stm32/pwr.h
@@ -106,6 +106,8 @@ LGPL License Terms @ref lgpl_license
/* --- PWR function prototypes ------------------------------------------- */
+BEGIN_DECLS
+
void pwr_disable_backup_domain_write_protect(void);
void pwr_enable_backup_domain_write_protect(void);
void pwr_enable_power_voltage_detect(u32 pvd_level);
@@ -122,6 +124,8 @@ bool pwr_voltage_high(void);
bool pwr_get_standby_flag(void);
bool pwr_get_wakeup_flag(void);
+END_DECLS
+
#endif
/**@}*/