#[repr(transparent)]pub struct Trccntctlr(pub u32);
Expand description
Description collection: Controls the operation of counter n. Might ignore writes when the trace unit is enabled or not idle.
Tuple Fields§
§0: u32
Implementations§
Source§impl Trccntctlr
impl Trccntctlr
Sourcepub const fn cntevent(&self) -> u8
pub const fn cntevent(&self) -> u8
Selects an event, that when it occurs causes counter n to decrement.
Sourcepub fn set_cntevent(&mut self, val: u8)
pub fn set_cntevent(&mut self, val: u8)
Selects an event, that when it occurs causes counter n to decrement.
Sourcepub const fn rldevent(&self) -> u8
pub const fn rldevent(&self) -> u8
Selects an event, that when it occurs causes a reload event for counter n.
Sourcepub fn set_rldevent(&mut self, val: u8)
pub fn set_rldevent(&mut self, val: u8)
Selects an event, that when it occurs causes a reload event for counter n.
Sourcepub const fn rldself(&self) -> bool
pub const fn rldself(&self) -> bool
Controls whether a reload event occurs for counter n, when counter n reaches zero.
Sourcepub fn set_rldself(&mut self, val: bool)
pub fn set_rldself(&mut self, val: bool)
Controls whether a reload event occurs for counter n, when counter n reaches zero.
Sourcepub const fn cntchain(&self) -> bool
pub const fn cntchain(&self) -> bool
For TRCCNTCTLR3 and TRCCNTCTLR1, this bit controls whether counter n decrements when a reload event occurs for counter n-1.
Sourcepub fn set_cntchain(&mut self, val: bool)
pub fn set_cntchain(&mut self, val: bool)
For TRCCNTCTLR3 and TRCCNTCTLR1, this bit controls whether counter n decrements when a reload event occurs for counter n-1.
Trait Implementations§
Source§impl Clone for Trccntctlr
impl Clone for Trccntctlr
Source§fn clone(&self) -> Trccntctlr
fn clone(&self) -> Trccntctlr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for Trccntctlr
impl Default for Trccntctlr
Source§fn default() -> Trccntctlr
fn default() -> Trccntctlr
Source§impl PartialEq for Trccntctlr
impl PartialEq for Trccntctlr
impl Copy for Trccntctlr
impl Eq for Trccntctlr
impl StructuralPartialEq for Trccntctlr
Auto Trait Implementations§
impl Freeze for Trccntctlr
impl RefUnwindSafe for Trccntctlr
impl Send for Trccntctlr
impl Sync for Trccntctlr
impl Unpin for Trccntctlr
impl UnwindSafe for Trccntctlr
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
)