diff options
| author | Ulf Lilleengen <[email protected]> | 2021-08-31 14:32:48 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2021-09-02 10:39:56 +0200 |
| commit | 7ad6280e6575fc400f84caa5c26eb3ba9770877f (patch) | |
| tree | 4a888ee84f7c5c59a713e08e53d41fdd6a21f020 /embassy-hal-common/src/lib.rs | |
| parent | db3cb02032fd6b861b2c39a0a354767cc72af1df (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.rs | 1 |
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; | |||
| 8 | pub mod peripheral; | 8 | pub mod peripheral; |
| 9 | pub mod ring_buffer; | 9 | pub mod ring_buffer; |
| 10 | pub mod usb; | 10 | pub mod usb; |
| 11 | pub mod ratio; | ||
| 11 | 12 | ||
| 12 | /// Low power blocking wait loop using WFE/SEV. | 13 | /// Low power blocking wait loop using WFE/SEV. |
| 13 | pub fn low_power_wait_until(mut condition: impl FnMut() -> bool) { | 14 | pub fn low_power_wait_until(mut condition: impl FnMut() -> bool) { |
