aboutsummaryrefslogtreecommitdiff
path: root/src/clock.h
diff options
context:
space:
mode:
authorVictor Mignot <victor@vmignot.fr>2025-07-24 13:54:25 +0200
committerVictor Mignot <victor@vmignot.fr>2025-08-08 09:01:26 +0200
commit6d10f951d5c5ebae58f7c24df1066a479b68d5fa (patch)
tree3c6cb8385578b27c6d10cc6a41663fd647a77ebb /src/clock.h
parentb6b7ad8fc4e02e987601286699082c3009c424d8 (diff)
downloadnanji-6d10f951d5c5ebae58f7c24df1066a479b68d5fa.tar.gz
nrf52832: add clock driver
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..30cfb44
--- /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.
+ */
+bool init_clock();
+
+#endif