#[repr(transparent)]pub struct Supportedtriggermodes(pub u32);
Expand description
The Supported_trigger_modes register indicates the implemented trigger counter multipliers and other supported features of the trigger system.
Tuple Fields§
§0: u32
Implementations§
Source§impl Supportedtriggermodes
impl Supportedtriggermodes
Sourcepub const fn mult_0(&self) -> bool
pub const fn mult_0(&self) -> bool
Indicates whether multiplying the trigger counter by 2^(0+1) is supported.
Sourcepub fn set_mult_0(&mut self, val: bool)
pub fn set_mult_0(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(0+1) is supported.
Sourcepub const fn mult_1(&self) -> bool
pub const fn mult_1(&self) -> bool
Indicates whether multiplying the trigger counter by 2^(1+1) is supported.
Sourcepub fn set_mult_1(&mut self, val: bool)
pub fn set_mult_1(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(1+1) is supported.
Sourcepub const fn mult_2(&self) -> bool
pub const fn mult_2(&self) -> bool
Indicates whether multiplying the trigger counter by 2^(2+1) is supported.
Sourcepub fn set_mult_2(&mut self, val: bool)
pub fn set_mult_2(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(2+1) is supported.
Sourcepub const fn mult_3(&self) -> bool
pub const fn mult_3(&self) -> bool
Indicates whether multiplying the trigger counter by 2^(3+1) is supported.
Sourcepub fn set_mult_3(&mut self, val: bool)
pub fn set_mult_3(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(3+1) is supported.
Sourcepub const fn mult_4(&self) -> bool
pub const fn mult_4(&self) -> bool
Indicates whether multiplying the trigger counter by 2^(4+1) is supported.
Sourcepub fn set_mult_4(&mut self, val: bool)
pub fn set_mult_4(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(4+1) is supported.
Sourcepub const fn tcount8(&self) -> bool
pub const fn tcount8(&self) -> bool
Indicates whether an 8-bit wide counter register is implemented.
Sourcepub fn set_tcount8(&mut self, val: bool)
pub fn set_tcount8(&mut self, val: bool)
Indicates whether an 8-bit wide counter register is implemented.
Sourcepub fn set_triggered(&mut self, val: bool)
pub fn set_triggered(&mut self, val: bool)
A trigger has occurred and the counter has reached 0.
Sourcepub fn set_trgrun(&mut self, val: bool)
pub fn set_trgrun(&mut self, val: bool)
A trigger has occurred but the counter is not at 0.
Trait Implementations§
Source§impl Clone for Supportedtriggermodes
impl Clone for Supportedtriggermodes
Source§fn clone(&self) -> Supportedtriggermodes
fn clone(&self) -> Supportedtriggermodes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more