aboutsummaryrefslogtreecommitdiffstats
path: root/src/rp2040/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rp2040/internal.h')
-rw-r--r--src/rp2040/internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rp2040/internal.h b/src/rp2040/internal.h
new file mode 100644
index 00000000..8c48640a
--- /dev/null
+++ b/src/rp2040/internal.h
@@ -0,0 +1,12 @@
+#ifndef __RP2040_INTERNAL_H
+#define __RP2040_INTERNAL_H
+// Local definitions for rp2040
+
+#include "RP2040.h"
+
+void enable_pclock(uint32_t reset_bit);
+int is_enabled_pclock(uint32_t reset_bit);
+uint32_t get_pclock_frequency(uint32_t reset_bit);
+void gpio_peripheral(uint32_t gpio, int func, int pull_up);
+
+#endif // internal.h