embassy-stm32

Crates

git

Versions

stm32wle4jb

Flavors

Skip to main content

Module subghz

Module subghz 

Source
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: SpiDevice driver managing SUBGHZSPI and hardware slave-select line (PWR_SUBGHZSPICR.NSS).
  • SubghzControl: Control of radio reset (RCC_CSR.RFRST), BUSY status polling / awaiting, and event interrupts (SUBGHZ_RADIO).

Re-exports§

pub use spi::SubghzSpi;

Modules§

spi
Sub-GHz dedicated SPI interface driver (SUBGHZSPI).

Structs§

BusyTimeout
The radio did not release RFBUSY within the allowed time.
RadioInterruptHandler
Interrupt handler for SUBGHZ_RADIO interrupts.
SubghzControl
Control of the sub-GHz radio: reset, RFBUSY monitoring, wakeup and interrupts.

Enums§

NssSource
Source selection for the SUBGHZSPI_NSS line.

Functions§

set_nss_source
Configure the hardware driving source for the SUBGHZSPI_NSS signal.