aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-11-14 14:39:23 +0100
committerJames Munns <[email protected]>2025-11-14 14:39:23 +0100
commit4979747286af4cd7bab43f8048b0ce6f00cc5ab6 (patch)
tree188116a3254e45e70acdecc6cd4e3f05a9efd888 /src/lib.rs
parent0f8e7650b937aa5d4accef3fdf01047afe099df3 (diff)
Plumb clocks changes to lpuart
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9899564d8..e3e603ef2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -16,7 +16,19 @@ pub mod ostimer;
16pub mod rtc; 16pub mod rtc;
17pub mod uart; 17pub mod uart;
18 18
19embassy_hal_internal::peripherals!(LPUART2, OSTIMER0, GPIO, RTC0, ADC1,); 19embassy_hal_internal::peripherals!(
20 PORT1,
21 PORT2,
22 PORT3,
23 LPUART2,
24 OSTIMER0,
25 GPIO,
26 PIO2_2,
27 PIO2_3,
28 GPIO3,
29 RTC0,
30 ADC1,
31);
20 32
21/// Get access to the PAC Peripherals for low-level register access. 33/// Get access to the PAC Peripherals for low-level register access.
22/// This is a lazy-initialized singleton that can be called after init(). 34/// This is a lazy-initialized singleton that can be called after init().