aboutsummaryrefslogtreecommitdiff
path: root/src/clock.h
diff options
context:
space:
mode:
authorVictor Mignot <victor@vmignot.fr>2026-02-02 20:17:04 +0100
committerVictor Mignot <victor@vmignot.fr>2026-02-02 20:17:04 +0100
commitfb859c9c85688d1a144b732cf688746f2651be40 (patch)
treec666b23a1f865945a224c2b2f1026f0227141135 /src/clock.h
downloadnanji-fb859c9c85688d1a144b732cf688746f2651be40.tar.gz
nrf52832: bootstrap and init the CLOCK device
Diffstat (limited to 'src/clock.h')
-rw-r--r--src/clock.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/clock.h b/src/clock.h
new file mode 100644
index 0000000..8c5d1f0
--- /dev/null
+++ b/src/clock.h
@@ -0,0 +1,10 @@
+#ifndef CLOCK_H
+#define CLOCK_H
+
+/**
+ * Init the nrf52832 CLOCK device and ensure that clock sources are correctly
+ * selected.
+ */
+int init_clock();
+
+#endif