#[repr(transparent)]pub struct RttConfig(pub u32);Expand description
RTT Config.
Tuple Fields§
§0: u32Implementations§
Source§impl RttConfig
impl RttConfig
Sourcepub const fn en(&self) -> bool
pub const fn en(&self) -> bool
Enable RTT Functionality. Only valid for BLE 1MBPS and 2MBPS mode
Sourcepub const fn set_en(&mut self, val: bool)
pub const fn set_en(&mut self, val: bool)
Enable RTT Functionality. Only valid for BLE 1MBPS and 2MBPS mode
Sourcepub const fn set_enfullaa(&mut self, val: bool)
pub const fn set_enfullaa(&mut self, val: bool)
Enabling/Disable ping over the entire access address.
Sourcepub const fn numsegments(&self) -> u8
pub const fn numsegments(&self) -> u8
Number of 16bit payload segments available for ToA detection. Allowed values are 0, 2, 4, 6 and 8.
Sourcepub const fn set_numsegments(&mut self, val: u8)
pub const fn set_numsegments(&mut self, val: u8)
Number of 16bit payload segments available for ToA detection. Allowed values are 0, 2, 4, 6 and 8.
Sourcepub const fn efsdelay(&self) -> u16
pub const fn efsdelay(&self) -> u16
Early Frame Sync Delay, i.e., number of cycles to wait for access address to anchor correctly. For 2MBPSBLE mode, the EFSDELAY value is 64 (2us) and for 1MBPSBLE mode, it can be 256 (8us).
Sourcepub const fn set_efsdelay(&mut self, val: u16)
pub const fn set_efsdelay(&mut self, val: u16)
Early Frame Sync Delay, i.e., number of cycles to wait for access address to anchor correctly. For 2MBPSBLE mode, the EFSDELAY value is 64 (2us) and for 1MBPSBLE mode, it can be 256 (8us).