pub struct Radio { /* private fields */ }
Expand description
The 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 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>
Ready event.
Sourcepub const fn events_address(self) -> Reg<u32, RW>
pub const fn events_address(self) -> Reg<u32, RW>
Address event.
Sourcepub const fn events_payload(self) -> Reg<u32, RW>
pub const fn events_payload(self) -> Reg<u32, RW>
Payload event.
Sourcepub const fn events_end(self) -> Reg<u32, RW>
pub const fn events_end(self) -> Reg<u32, RW>
End event.
Sourcepub const fn events_disabled(self) -> Reg<u32, RW>
pub const fn events_disabled(self) -> Reg<u32, RW>
Disable event.
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 the receive signal strength complete. A new RSSI sample is ready for readout at the RSSISAMPLE register.
Sourcepub const fn events_bcmatch(self) -> Reg<u32, RW>
pub const fn events_bcmatch(self) -> Reg<u32, RW>
Bit counter reached bit count value specified in BCC register.
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.
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)