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 tasks_edstart(self) -> Reg<u32, W>
pub const fn tasks_edstart(self) -> Reg<u32, W>
Start the energy detect measurement used in IEEE 802.15.4 mode
Sourcepub const fn tasks_edstop(self) -> Reg<u32, W>
pub const fn tasks_edstop(self) -> Reg<u32, W>
Stop the energy detect measurement
Sourcepub const fn tasks_ccastart(self) -> Reg<u32, W>
pub const fn tasks_ccastart(self) -> Reg<u32, W>
Start the clear channel assessment used in IEEE 802.15.4 mode
Sourcepub const fn tasks_ccastop(self) -> Reg<u32, W>
pub const fn tasks_ccastop(self) -> Reg<u32, W>
Stop the clear channel assessment
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 events_framestart(self) -> Reg<u32, RW>
pub const fn events_framestart(self) -> Reg<u32, RW>
IEEE 802.15.4 length field received
Sourcepub const fn events_edend(self) -> Reg<u32, RW>
pub const fn events_edend(self) -> Reg<u32, RW>
Sampling of energy detection complete. A new ED sample is ready for readout from the RADIO.EDSAMPLE register.
Sourcepub const fn events_edstopped(self) -> Reg<u32, RW>
pub const fn events_edstopped(self) -> Reg<u32, RW>
The sampling of energy detection has stopped
Sourcepub const fn events_ccaidle(self) -> Reg<u32, RW>
pub const fn events_ccaidle(self) -> Reg<u32, RW>
Wireless medium in idle - clear to send
Sourcepub const fn events_ccabusy(self) -> Reg<u32, RW>
pub const fn events_ccabusy(self) -> Reg<u32, RW>
Wireless medium busy - do not send
Sourcepub const fn events_ccastopped(self) -> Reg<u32, RW>
pub const fn events_ccastopped(self) -> Reg<u32, RW>
The CCA has stopped
Sourcepub const fn events_rateboost(self) -> Reg<u32, RW>
pub const fn events_rateboost(self) -> Reg<u32, RW>
Ble_LR CI field received, receive mode is changed from Ble_LR125Kbit to Ble_LR500Kbit.
Sourcepub const fn events_txready(self) -> Reg<u32, RW>
pub const fn events_txready(self) -> Reg<u32, RW>
RADIO has ramped up and is ready to be started TX path
Sourcepub const fn events_rxready(self) -> Reg<u32, RW>
pub const fn events_rxready(self) -> Reg<u32, RW>
RADIO has ramped up and is ready to be started RX path
Sourcepub const fn events_mhrmatch(self) -> Reg<u32, RW>
pub const fn events_mhrmatch(self) -> Reg<u32, RW>
MAC header match found
Sourcepub const fn events_sync(self) -> Reg<u32, RW>
pub const fn events_sync(self) -> Reg<u32, RW>
Preamble indicator.
Sourcepub const fn events_phyend(self) -> Reg<u32, RW>
pub const fn events_phyend(self) -> Reg<u32, RW>
Generated in Ble_LR125Kbit, Ble_LR500Kbit and Ieee802154_250Kbit modes when last bit is sent on air.
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
Sourcepub const fn dap(self, n: usize) -> Reg<Dap, RW>
pub const fn dap(self, n: usize) -> Reg<Dap, RW>
Description collection: Device address prefix n
Sourcepub const fn mhrmatchconf(self) -> Reg<u32, RW>
pub const fn mhrmatchconf(self) -> Reg<u32, RW>
Search pattern configuration
Sourcepub const fn mhrmatchmas(self) -> Reg<u32, RW>
pub const fn mhrmatchmas(self) -> Reg<u32, RW>
Pattern mask
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
)