pub struct Radio { /* private fields */ }
Expand description
2.4 GHz Radio
Implementations§
Source§impl Radio
impl Radio
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_txen(self) -> Reg<u32, W>
pub const fn tasks_txen(self) -> Reg<u32, W>
Enable RADIO in TX mode
Sourcepub const fn tasks_rxen(self) -> Reg<u32, W>
pub const fn tasks_rxen(self) -> Reg<u32, W>
Enable RADIO in RX mode
Sourcepub const fn tasks_start(self) -> Reg<u32, W>
pub const fn tasks_start(self) -> Reg<u32, W>
Start RADIO
Sourcepub const fn tasks_stop(self) -> Reg<u32, W>
pub const fn tasks_stop(self) -> Reg<u32, W>
Stop RADIO
Sourcepub const fn tasks_disable(self) -> Reg<u32, W>
pub const fn tasks_disable(self) -> Reg<u32, W>
Disable RADIO
Sourcepub const fn tasks_rssistart(self) -> Reg<u32, W>
pub const fn tasks_rssistart(self) -> Reg<u32, W>
Start the RSSI and take one single sample of the receive signal strength.
Sourcepub const fn tasks_rssistop(self) -> Reg<u32, W>
pub const fn tasks_rssistop(self) -> Reg<u32, W>
Stop the RSSI measurement
Sourcepub const fn tasks_bcstart(self) -> Reg<u32, W>
pub const fn tasks_bcstart(self) -> Reg<u32, W>
Start the bit counter
Sourcepub const fn tasks_bcstop(self) -> Reg<u32, W>
pub const fn tasks_bcstop(self) -> Reg<u32, W>
Stop the bit counter
Sourcepub const fn events_ready(self) -> Reg<u32, RW>
pub const fn events_ready(self) -> Reg<u32, RW>
RADIO has ramped up and is ready to be started
Sourcepub const fn events_address(self) -> Reg<u32, RW>
pub const fn events_address(self) -> Reg<u32, RW>
Address sent or received
Sourcepub const fn events_payload(self) -> Reg<u32, RW>
pub const fn events_payload(self) -> Reg<u32, RW>
Packet payload sent or received
Sourcepub const fn events_end(self) -> Reg<u32, RW>
pub const fn events_end(self) -> Reg<u32, RW>
Packet sent or received
Sourcepub const fn events_disabled(self) -> Reg<u32, RW>
pub const fn events_disabled(self) -> Reg<u32, RW>
RADIO has been disabled
Sourcepub const fn events_devmatch(self) -> Reg<u32, RW>
pub const fn events_devmatch(self) -> Reg<u32, RW>
A device address match occurred on the last received packet
Sourcepub const fn events_devmiss(self) -> Reg<u32, RW>
pub const fn events_devmiss(self) -> Reg<u32, RW>
No device address match occurred on the last received packet
Sourcepub const fn events_rssiend(self) -> Reg<u32, RW>
pub const fn events_rssiend(self) -> Reg<u32, RW>
Sampling of receive signal strength complete.
Sourcepub const fn events_bcmatch(self) -> Reg<u32, RW>
pub const fn events_bcmatch(self) -> Reg<u32, RW>
Bit counter reached bit count value.
Sourcepub const fn events_crcok(self) -> Reg<u32, RW>
pub const fn events_crcok(self) -> Reg<u32, RW>
Packet received with CRC ok
Sourcepub const fn events_crcerror(self) -> Reg<u32, RW>
pub const fn events_crcerror(self) -> Reg<u32, RW>
Packet received with CRC error
Sourcepub const fn rxaddresses(self) -> Reg<Rxaddresses, RW>
pub const fn rxaddresses(self) -> Reg<Rxaddresses, RW>
Receive address select
Sourcepub const fn rssisample(self) -> Reg<Rssisample, R>
pub const fn rssisample(self) -> Reg<Rssisample, R>
RSSI sample
Sourcepub const fn datawhiteiv(self) -> Reg<Datawhiteiv, RW>
pub const fn datawhiteiv(self) -> Reg<Datawhiteiv, RW>
Data whitening initial value
Sourcepub const fn dab(self, n: usize) -> Reg<u32, RW>
pub const fn dab(self, n: usize) -> Reg<u32, RW>
Description collection: Device address base segment n
Trait Implementations§
impl Copy for Radio
impl Eq for Radio
impl Send for Radio
impl StructuralPartialEq for Radio
impl Sync for Radio
Auto Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)