pub struct Radio<'a> { /* private fields */ }
Implementations§
source§impl<'a> Radio<'a>
impl<'a> Radio<'a>
pub const fn new() -> Radio<'a>
pub fn is_enabled(&self) -> bool
pub fn handle_interrupt(&self)
pub fn enable_interrupts(&self)
pub fn enable_interrupt(&self, intr: u32)
pub fn clear_interrupt(&self, intr: u32)
pub fn disable_all_interrupts(&self)
Trait Implementations§
source§impl<'a> BleAdvertisementDriver<'a> for Radio<'a>
impl<'a> BleAdvertisementDriver<'a> for Radio<'a>
fn transmit_advertisement( &self, buf: &'static mut [u8], _len: usize, channel: RadioChannel, )
fn receive_advertisement(&self, channel: RadioChannel)
fn set_receive_client(&self, client: &'a dyn RxClient)
fn set_transmit_client(&self, client: &'a dyn TxClient)
Auto Trait Implementations§
impl<'a> !Freeze for Radio<'a>
impl<'a> !RefUnwindSafe for Radio<'a>
impl<'a> !Send for Radio<'a>
impl<'a> !Sync for Radio<'a>
impl<'a> Unpin for Radio<'a>
impl<'a> !UnwindSafe for Radio<'a>
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