From c552cf2434b847b7a8af06e15982eb29d07ad2fa Mon Sep 17 00:00:00 2001 From: James Munns Date: Mon, 24 Nov 2025 17:37:57 +0100 Subject: Introduce clkout peripheral (#36) Introduces a ClockOut peripheral, allowing for ensuring that internal clocks are operating correctly. Also fixes some incorrect PLL/Div4 usage. --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib.rs') 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; pub mod pins; // pin mux helpers pub mod adc; +pub mod clkout; pub mod config; pub mod interrupt; pub mod lpuart; @@ -33,6 +34,10 @@ embassy_hal_internal::peripherals!( CDOG0, CDOG1, + // CLKOUT is not specifically a peripheral (it's part of SYSCON), + // but we still want it to be a singleton. + CLKOUT, + CMC, CMP0, CMP1, -- cgit