pub struct GenericSx127xInterfaceVariant<CTRL, WAIT> { /* private fields */ }Expand description
Base for the InterfaceVariant implementation for the Sx127x combination
Implementations§
Trait Implementations§
Source§impl<CTRL, WAIT> InterfaceVariant for GenericSx127xInterfaceVariant<CTRL, WAIT>
impl<CTRL, WAIT> InterfaceVariant for GenericSx127xInterfaceVariant<CTRL, WAIT>
Source§async fn reset(&mut self, delay: &mut impl DelayNs) -> Result<(), RadioError>
async fn reset(&mut self, delay: &mut impl DelayNs) -> Result<(), RadioError>
Reset the LoRa chip
Source§async fn wait_on_busy(&mut self) -> Result<(), RadioError>
async fn wait_on_busy(&mut self) -> Result<(), RadioError>
Wait for the LoRa chip to become available for an operation
Source§async fn await_irq(&mut self) -> Result<(), RadioError>
async fn await_irq(&mut self) -> Result<(), RadioError>
Wait for the LoRa chip to indicate an event has occurred
Source§async fn enable_rf_switch_rx(&mut self) -> Result<(), RadioError>
async fn enable_rf_switch_rx(&mut self) -> Result<(), RadioError>
Enable an antenna used for receive operations, disabling other antennas
Source§async fn enable_rf_switch_tx(&mut self) -> Result<(), RadioError>
async fn enable_rf_switch_tx(&mut self) -> Result<(), RadioError>
Enable an antenna used for send operations, disabling other antennas
Source§async fn disable_rf_switch(&mut self) -> Result<(), RadioError>
async fn disable_rf_switch(&mut self) -> Result<(), RadioError>
Disable all antennas
Auto Trait Implementations§
impl<CTRL, WAIT> Freeze for GenericSx127xInterfaceVariant<CTRL, WAIT>
impl<CTRL, WAIT> RefUnwindSafe for GenericSx127xInterfaceVariant<CTRL, WAIT>where
CTRL: RefUnwindSafe,
WAIT: RefUnwindSafe,
impl<CTRL, WAIT> Send for GenericSx127xInterfaceVariant<CTRL, WAIT>
impl<CTRL, WAIT> Sync for GenericSx127xInterfaceVariant<CTRL, WAIT>
impl<CTRL, WAIT> Unpin for GenericSx127xInterfaceVariant<CTRL, WAIT>
impl<CTRL, WAIT> UnwindSafe for GenericSx127xInterfaceVariant<CTRL, WAIT>where
CTRL: UnwindSafe,
WAIT: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more