aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-11-24 17:37:57 +0100
committerGitHub <[email protected]>2025-11-24 17:37:57 +0100
commitc552cf2434b847b7a8af06e15982eb29d07ad2fa (patch)
treebff3e9c1f1413fe19823fe6114ee199ef0765b40 /src/lib.rs
parentd37f74b7be5abd75c4fef1f2a020550aedecd049 (diff)
Introduce clkout peripheral (#36)
Introduces a ClockOut peripheral, allowing for ensuring that internal clocks are operating correctly. Also fixes some incorrect PLL/Div4 usage.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 175642f75..6f3a63c94 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -10,6 +10,7 @@ pub mod gpio;
10pub mod pins; // pin mux helpers 10pub mod pins; // pin mux helpers
11 11
12pub mod adc; 12pub mod adc;
13pub mod clkout;
13pub mod config; 14pub mod config;
14pub mod interrupt; 15pub mod interrupt;
15pub mod lpuart; 16pub mod lpuart;
@@ -33,6 +34,10 @@ embassy_hal_internal::peripherals!(
33 CDOG0, 34 CDOG0,
34 CDOG1, 35 CDOG1,
35 36
37 // CLKOUT is not specifically a peripheral (it's part of SYSCON),
38 // but we still want it to be a singleton.
39 CLKOUT,
40
36 CMC, 41 CMC,
37 CMP0, 42 CMP0,
38 CMP1, 43 CMP1,