Struct Trcsyncpr
#[repr(transparent)]pub struct Trcsyncpr(pub u32);
Expand description
Controls how often trace synchronization requests occur. Might ignore writes when the trace unit is enabled or not idle. If writes are permitted then the register must be programmed.
Tuple Fields§
§0: u32
Implementations§
§impl Trcsyncpr
impl Trcsyncpr
pub const fn period(&self) -> Period
pub const fn period(&self) -> Period
Controls how many bytes of trace, the sum of instruction and data, that a trace unit can generate before a trace synchronization request occurs. The number of bytes is always a power of two, calculated by 2^PERIOD
pub fn set_period(&mut self, val: Period)
pub fn set_period(&mut self, val: Period)
Controls how many bytes of trace, the sum of instruction and data, that a trace unit can generate before a trace synchronization request occurs. The number of bytes is always a power of two, calculated by 2^PERIOD
Trait Implementations§
impl Copy for Trcsyncpr
impl Eq for Trcsyncpr
impl StructuralPartialEq for Trcsyncpr
Auto Trait Implementations§
impl Freeze for Trcsyncpr
impl RefUnwindSafe for Trcsyncpr
impl Send for Trcsyncpr
impl Sync for Trcsyncpr
impl Unpin for Trcsyncpr
impl UnwindSafe for Trcsyncpr
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
)