#[repr(transparent)]pub struct Phyendtxdelay(pub u32);Expand description
Configurable delay of PHYEND event for TX
Tuple Fields§
§0: u32Implementations§
Source§impl Phyendtxdelay
impl Phyendtxdelay
Sourcepub const fn rate4m(&self) -> u8
pub const fn rate4m(&self) -> u8
For modes with 4 Mbps on-air bit rate, unit is 2 bit periods (Nrf_4Mbit0_5 and Nrf_4Mbit0_25 modes)
Sourcepub const fn set_rate4m(&mut self, val: u8)
pub const fn set_rate4m(&mut self, val: u8)
For modes with 4 Mbps on-air bit rate, unit is 2 bit periods (Nrf_4Mbit0_5 and Nrf_4Mbit0_25 modes)
Sourcepub const fn rate2m(&self) -> u8
pub const fn rate2m(&self) -> u8
For modes with 2 Mbps on-air bit rate, unit is 1 bit period (Nrf_2Mbit, Ble_2Mbit, and Ieee802154_250Kbit modes)
Sourcepub const fn set_rate2m(&mut self, val: u8)
pub const fn set_rate2m(&mut self, val: u8)
For modes with 2 Mbps on-air bit rate, unit is 1 bit period (Nrf_2Mbit, Ble_2Mbit, and Ieee802154_250Kbit modes)
Sourcepub const fn rate1m(&self) -> u8
pub const fn rate1m(&self) -> u8
For modes with 1 Mbps on-air bit rate, unit is 1/2 bit period (Nrf_1Mbit, Ble_1Mbit, Ble_LR125Kbit, and Ble_LR500Kbit modes)
Sourcepub const fn set_rate1m(&mut self, val: u8)
pub const fn set_rate1m(&mut self, val: u8)
For modes with 1 Mbps on-air bit rate, unit is 1/2 bit period (Nrf_1Mbit, Ble_1Mbit, Ble_LR125Kbit, and Ble_LR500Kbit modes)
Sourcepub const fn rate250k(&self) -> u8
pub const fn rate250k(&self) -> u8
For modes with 250 kbps on-air bit rate, unit is 1/8 bit period (Nrf_250Kbit mode)
Sourcepub const fn set_rate250k(&mut self, val: u8)
pub const fn set_rate250k(&mut self, val: u8)
For modes with 250 kbps on-air bit rate, unit is 1/8 bit period (Nrf_250Kbit mode)
Trait Implementations§
Source§impl Clone for Phyendtxdelay
impl Clone for Phyendtxdelay
Source§fn clone(&self) -> Phyendtxdelay
fn clone(&self) -> Phyendtxdelay
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Phyendtxdelay
impl Debug for Phyendtxdelay
Source§impl Default for Phyendtxdelay
impl Default for Phyendtxdelay
Source§fn default() -> Phyendtxdelay
fn default() -> Phyendtxdelay
Source§impl PartialEq for Phyendtxdelay
impl PartialEq for Phyendtxdelay
impl Copy for Phyendtxdelay
impl Eq for Phyendtxdelay
impl StructuralPartialEq for Phyendtxdelay
Auto Trait Implementations§
impl Freeze for Phyendtxdelay
impl RefUnwindSafe for Phyendtxdelay
impl Send for Phyendtxdelay
impl Sync for Phyendtxdelay
impl Unpin for Phyendtxdelay
impl UnwindSafe for Phyendtxdelay
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)