diff options
| author | James Munns <[email protected]> | 2025-11-24 17:37:57 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-24 17:37:57 +0100 |
| commit | c552cf2434b847b7a8af06e15982eb29d07ad2fa (patch) | |
| tree | bff3e9c1f1413fe19823fe6114ee199ef0765b40 /src/lib.rs | |
| parent | d37f74b7be5abd75c4fef1f2a020550aedecd049 (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.rs | 5 |
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; | |||
| 10 | pub mod pins; // pin mux helpers | 10 | pub mod pins; // pin mux helpers |
| 11 | 11 | ||
| 12 | pub mod adc; | 12 | pub mod adc; |
| 13 | pub mod clkout; | ||
| 13 | pub mod config; | 14 | pub mod config; |
| 14 | pub mod interrupt; | 15 | pub mod interrupt; |
| 15 | pub mod lpuart; | 16 | pub 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, |
