Struct Trccntctlr
#[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: u32Implementations§
§impl Trccntctlr
impl Trccntctlr
pub const fn cntevent(&self) -> u8
pub const fn cntevent(&self) -> u8
Selects an event, that when it occurs causes counter n to decrement.
pub const fn set_cntevent(&mut self, val: u8)
pub const fn set_cntevent(&mut self, val: u8)
Selects an event, that when it occurs causes counter n to decrement.
pub 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.
pub const fn set_rldevent(&mut self, val: u8)
pub const fn set_rldevent(&mut self, val: u8)
Selects an event, that when it occurs causes a reload event for counter n.
pub 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.
pub const fn set_rldself(&mut self, val: bool)
pub const fn set_rldself(&mut self, val: bool)
Controls whether a reload event occurs for counter n, when counter n reaches zero.
pub 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.
pub const fn set_cntchain(&mut self, val: bool)
pub const 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§
§impl Clone for Trccntctlr
impl Clone for Trccntctlr
§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