Expand description
Sub-GHz Radio (SUBGHZ) peripheral driver for STM32WL / STM32WLE5 series.
The STM32WLEx family integrates a Semtech SX1262-class sub-GHz radio transceiver
hardwired to the internal SUBGHZSPI interface, power management (PWR), and reset (RCC).
This module provides:
SubghzSpi:SpiDevicedriver managingSUBGHZSPIand hardware slave-select line (PWR_SUBGHZSPICR.NSS).SubghzRadio: Control of radio reset (RCC_CSR.RFRST), BUSY status polling / awaiting, and event interrupts (SUBGHZ_RADIO).rf_switch: Multi-pin RF front-end switch abstractions (rf_switch::NucleoRfSwitch,rf_switch::LoraE5RfSwitch).
Re-exports§
pub use rf_switch::DummyRfSwitch;pub use rf_switch::LoraE5RfSwitch;pub use rf_switch::NucleoRfSwitch;pub use rf_switch::RfMode;pub use rf_switch::RfSwitch;pub use spi::SubghzSpi;
Modules§
- rf_
switch - Radio Frequency (RF) front-end switch abstractions.
- spi
- Sub-GHz dedicated SPI interface driver (
SUBGHZSPI).
Structs§
- Busy
Timeout - The radio did not release
RFBUSYwithin the allowed time. - Radio
Interrupt Handler - Interrupt handler for
SUBGHZ_RADIOinterrupts. - Subghz
- Sub-GHz peripheral manager and factory.
- Subghz
Radio - Sub-GHz radio physical control driver (reset, busy monitoring, and interrupts).
Enums§
- NssSource
- Source selection for the
SUBGHZSPI_NSSline.
Functions§
- set_
nss_ source - Configure the hardware driving source for the
SUBGHZSPI_NSSsignal.