Struct Config
#[repr(transparent)]pub struct Config(pub u32);
Expand description
RTT Config.
Tuple Fields§
§0: u32
Implementations§
§impl Config
impl Config
pub 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
pub fn set_enfullaa(&mut self, val: bool)
pub fn set_enfullaa(&mut self, val: bool)
Enabling/Disable ping over the entire access address.
pub 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.
pub 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.
pub 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).
pub 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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)