aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f4/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f4/internal.h')
-rw-r--r--src/stm32f4/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm32f4/internal.h b/src/stm32f4/internal.h
index f1c2fd66..062d7c65 100644
--- a/src/stm32f4/internal.h
+++ b/src/stm32f4/internal.h
@@ -14,6 +14,7 @@
#define GPIO_ANALOG 3
void enable_pclock(uint32_t periph_base);
+int is_enabled_pclock(uint32_t periph_base);
uint32_t get_pclock_frequency(uint32_t periph_base);
void clock_setup(void);
void gpio_peripheral(uint32_t gpio, uint32_t mode, int pullup);