pub struct Radio { /* private fields */ }
Expand description
2.4 GHz radio 0
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_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 tasks_softreset(self) -> Reg<u32, W>
pub const fn tasks_softreset(self) -> Reg<u32, W>
Reset all public registers, but with these exceptions: DMA registers and EVENT/INTEN/SUBSCRIBE/PUBLISH registers. Only to be used in DISABLED state.
Sourcepub const fn subscribe_txen(self) -> Reg<Subscribe, RW>
pub const fn subscribe_txen(self) -> Reg<Subscribe, RW>
Subscribe configuration for task TXEN
Sourcepub const fn subscribe_rxen(self) -> Reg<Subscribe, RW>
pub const fn subscribe_rxen(self) -> Reg<Subscribe, RW>
Subscribe configuration for task RXEN
Sourcepub const fn subscribe_start(self) -> Reg<Subscribe, RW>
pub const fn subscribe_start(self) -> Reg<Subscribe, RW>
Subscribe configuration for task START
Sourcepub const fn subscribe_stop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_stop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task STOP
Sourcepub const fn subscribe_disable(self) -> Reg<Subscribe, RW>
pub const fn subscribe_disable(self) -> Reg<Subscribe, RW>
Subscribe configuration for task DISABLE
Sourcepub const fn subscribe_rssistart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_rssistart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task RSSISTART
Sourcepub const fn subscribe_bcstart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_bcstart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task BCSTART
Sourcepub const fn subscribe_bcstop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_bcstop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task BCSTOP
Sourcepub const fn subscribe_edstart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_edstart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task EDSTART
Sourcepub const fn subscribe_edstop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_edstop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task EDSTOP
Sourcepub const fn subscribe_ccastart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_ccastart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task CCASTART
Sourcepub const fn subscribe_ccastop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_ccastop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task CCASTOP
Sourcepub const fn subscribe_softreset(self) -> Reg<Subscribe, RW>
pub const fn subscribe_softreset(self) -> Reg<Subscribe, RW>
Subscribe configuration for task SOFTRESET
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_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_address(self) -> Reg<u32, RW>
pub const fn events_address(self) -> Reg<u32, RW>
Address sent or received
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_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>
Memory access for packet data has been completed
Sourcepub const fn events_phyend(self) -> Reg<u32, RW>
pub const fn events_phyend(self) -> Reg<u32, RW>
The last bit is sent on air or last bit is 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_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_bcmatch(self) -> Reg<u32, RW>
pub const fn events_bcmatch(self) -> Reg<u32, RW>
Bit counter reached bit count value
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_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>
Initial sync detected
Sourcepub const fn events_ctepresent(self) -> Reg<u32, RW>
pub const fn events_ctepresent(self) -> Reg<u32, RW>
CTEInfo byte is received
Sourcepub const fn publish_ready(self) -> Reg<Publish, RW>
pub const fn publish_ready(self) -> Reg<Publish, RW>
Publish configuration for event READY
Sourcepub const fn publish_txready(self) -> Reg<Publish, RW>
pub const fn publish_txready(self) -> Reg<Publish, RW>
Publish configuration for event TXREADY
Sourcepub const fn publish_rxready(self) -> Reg<Publish, RW>
pub const fn publish_rxready(self) -> Reg<Publish, RW>
Publish configuration for event RXREADY
Sourcepub const fn publish_address(self) -> Reg<Publish, RW>
pub const fn publish_address(self) -> Reg<Publish, RW>
Publish configuration for event ADDRESS
Sourcepub const fn publish_framestart(self) -> Reg<Publish, RW>
pub const fn publish_framestart(self) -> Reg<Publish, RW>
Publish configuration for event FRAMESTART
Sourcepub const fn publish_payload(self) -> Reg<Publish, RW>
pub const fn publish_payload(self) -> Reg<Publish, RW>
Publish configuration for event PAYLOAD
Sourcepub const fn publish_end(self) -> Reg<Publish, RW>
pub const fn publish_end(self) -> Reg<Publish, RW>
Publish configuration for event END
Sourcepub const fn publish_phyend(self) -> Reg<Publish, RW>
pub const fn publish_phyend(self) -> Reg<Publish, RW>
Publish configuration for event PHYEND
Sourcepub const fn publish_disabled(self) -> Reg<Publish, RW>
pub const fn publish_disabled(self) -> Reg<Publish, RW>
Publish configuration for event DISABLED
Sourcepub const fn publish_devmatch(self) -> Reg<Publish, RW>
pub const fn publish_devmatch(self) -> Reg<Publish, RW>
Publish configuration for event DEVMATCH
Sourcepub const fn publish_devmiss(self) -> Reg<Publish, RW>
pub const fn publish_devmiss(self) -> Reg<Publish, RW>
Publish configuration for event DEVMISS
Sourcepub const fn publish_crcok(self) -> Reg<Publish, RW>
pub const fn publish_crcok(self) -> Reg<Publish, RW>
Publish configuration for event CRCOK
Sourcepub const fn publish_crcerror(self) -> Reg<Publish, RW>
pub const fn publish_crcerror(self) -> Reg<Publish, RW>
Publish configuration for event CRCERROR
Sourcepub const fn publish_bcmatch(self) -> Reg<Publish, RW>
pub const fn publish_bcmatch(self) -> Reg<Publish, RW>
Publish configuration for event BCMATCH
Sourcepub const fn publish_edend(self) -> Reg<Publish, RW>
pub const fn publish_edend(self) -> Reg<Publish, RW>
Publish configuration for event EDEND
Sourcepub const fn publish_edstopped(self) -> Reg<Publish, RW>
pub const fn publish_edstopped(self) -> Reg<Publish, RW>
Publish configuration for event EDSTOPPED
Sourcepub const fn publish_ccaidle(self) -> Reg<Publish, RW>
pub const fn publish_ccaidle(self) -> Reg<Publish, RW>
Publish configuration for event CCAIDLE
Sourcepub const fn publish_ccabusy(self) -> Reg<Publish, RW>
pub const fn publish_ccabusy(self) -> Reg<Publish, RW>
Publish configuration for event CCABUSY
Sourcepub const fn publish_ccastopped(self) -> Reg<Publish, RW>
pub const fn publish_ccastopped(self) -> Reg<Publish, RW>
Publish configuration for event CCASTOPPED
Sourcepub const fn publish_rateboost(self) -> Reg<Publish, RW>
pub const fn publish_rateboost(self) -> Reg<Publish, RW>
Publish configuration for event RATEBOOST
Sourcepub const fn publish_mhrmatch(self) -> Reg<Publish, RW>
pub const fn publish_mhrmatch(self) -> Reg<Publish, RW>
Publish configuration for event MHRMATCH
Sourcepub const fn publish_sync(self) -> Reg<Publish, RW>
pub const fn publish_sync(self) -> Reg<Publish, RW>
Publish configuration for event SYNC
Sourcepub const fn publish_ctepresent(self) -> Reg<Publish, RW>
pub const fn publish_ctepresent(self) -> Reg<Publish, RW>
Publish configuration for event CTEPRESENT
Sourcepub const fn rssisample(self) -> Reg<Rssisample, R>
pub const fn rssisample(self) -> Reg<Rssisample, R>
RSSI sample
Sourcepub const fn dfemode(self) -> Reg<Dfemode, RW>
pub const fn dfemode(self) -> Reg<Dfemode, RW>
Whether to use Angle-of-Arrival (AOA) or Angle-of-Departure (AOD)
Sourcepub const fn switchpattern(self) -> Reg<Switchpattern, RW>
pub const fn switchpattern(self) -> Reg<Switchpattern, RW>
GPIO patterns to be used for each antenna
Sourcepub const fn clearpattern(self) -> Reg<Clearpattern, W>
pub const fn clearpattern(self) -> Reg<Clearpattern, W>
Clear the GPIO pattern array for antenna control
Sourcepub const fn rxaddresses(self) -> Reg<Rxaddresses, RW>
pub const fn rxaddresses(self) -> Reg<Rxaddresses, RW>
Receive address select
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 mhrmatchmask(self) -> Reg<u32, RW>
pub const fn mhrmatchmask(self) -> Reg<u32, RW>
Pattern mask
Sourcepub const fn cteinlineconf(self) -> Reg<Cteinlineconf, RW>
pub const fn cteinlineconf(self) -> Reg<Cteinlineconf, RW>
Configuration for CTE inline mode
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
)