aboutsummaryrefslogtreecommitdiff
path: root/embassy-hal-common/src/lib.rs
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2021-08-31 14:32:48 +0200
committerUlf Lilleengen <[email protected]>2021-09-02 10:39:56 +0200
commit7ad6280e6575fc400f84caa5c26eb3ba9770877f (patch)
tree4a888ee84f7c5c59a713e08e53d41fdd6a21f020 /embassy-hal-common/src/lib.rs
parentdb3cb02032fd6b861b2c39a0a354767cc72af1df (diff)
Add HAL for SubGhz peripheral for STM32 WL series
Based on the HAL from stm32wl, the peripheral driver has been modified to fit into embassy, using the embassy APIs, providing operation of the radio peripheral. The initial version does not offer any async APIs, but the example shows how the radio IRQ can be used to perform async TX of the radio.
Diffstat (limited to 'embassy-hal-common/src/lib.rs')
-rw-r--r--embassy-hal-common/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-hal-common/src/lib.rs b/embassy-hal-common/src/lib.rs
index b62ae8b98..d2f6daba5 100644
--- a/embassy-hal-common/src/lib.rs
+++ b/embassy-hal-common/src/lib.rs
@@ -8,6 +8,7 @@ mod macros;
8pub mod peripheral; 8pub mod peripheral;
9pub mod ring_buffer; 9pub mod ring_buffer;
10pub mod usb; 10pub mod usb;
11pub mod ratio;
11 12
12/// Low power blocking wait loop using WFE/SEV. 13/// Low power blocking wait loop using WFE/SEV.
13pub fn low_power_wait_until(mut condition: impl FnMut() -> bool) { 14pub fn low_power_wait_until(mut condition: impl FnMut() -> bool) {