#[repr(transparent)]pub struct Config(pub u32);
Expand description
RTT Config.
Tuple Fields§
§0: u32
Implementations§
Source§impl Config
impl Config
Sourcepub const fn en(&self) -> bool
pub const fn en(&self) -> bool
Enable RTT Functionality. Only valid for BLE 1MBPS and 2MBPS mode
Sourcepub fn set_en(&mut self, val: bool)
pub fn set_en(&mut self, val: bool)
Enable RTT Functionality. Only valid for BLE 1MBPS and 2MBPS mode
Sourcepub fn set_enfullaa(&mut self, val: bool)
pub 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 fn set_numsegments(&mut self, val: u8)
pub 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 fn set_efsdelay(&mut self, val: u16)
pub 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).
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
)