aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpc176x/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpc176x/internal.h')
-rw-r--r--src/lpc176x/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lpc176x/internal.h b/src/lpc176x/internal.h
index da1f169f..1ea07df4 100644
--- a/src/lpc176x/internal.h
+++ b/src/lpc176x/internal.h
@@ -2,6 +2,10 @@
#define __LPC176X_INTERNAL_H
// Local definitions for lpc176x code
+#define PCLK_TIMER0 1
+#define PCLK_UART0 3
+#define PCLK_ADC 12
+void enable_peripheral_clock(uint32_t pclk);
void gpio_peripheral(int bank, int pin, int func, int pullup);
#endif // internal.h