#[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 more