Struct Tprcr
#[repr(transparent)]pub struct Tprcr(pub u32);
Expand description
The TPRCR register is an 8-bit counter start value that is decremented. A write sets the initial counter value and a read returns the programmed value.
Tuple Fields§
§0: u32
Implementations§
§impl Tprcr
impl Tprcr
pub const fn pattcount(&self) -> u8
pub const fn pattcount(&self) -> u8
8-bit counter value to indicate the number of traceclkin cycles for which a pattern runs before it switches to the next pattern.
pub fn set_pattcount(&mut self, val: u8)
pub fn set_pattcount(&mut self, val: u8)
8-bit counter value to indicate the number of traceclkin cycles for which a pattern runs before it switches to the next pattern.
Trait Implementations§
impl Copy for Tprcr
impl Eq for Tprcr
impl StructuralPartialEq for Tprcr
Auto Trait Implementations§
impl Freeze for Tprcr
impl RefUnwindSafe for Tprcr
impl Send for Tprcr
impl Sync for Tprcr
impl Unpin for Tprcr
impl UnwindSafe for Tprcr
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
)