Struct Supportedtriggermodes
#[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: u32Implementations§
§impl Supportedtriggermodes
impl Supportedtriggermodes
pub 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.
pub const fn set_mult_0(&mut self, val: bool)
pub const fn set_mult_0(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(0+1) is supported.
pub 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.
pub const fn set_mult_1(&mut self, val: bool)
pub const fn set_mult_1(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(1+1) is supported.
pub 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.
pub const fn set_mult_2(&mut self, val: bool)
pub const fn set_mult_2(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(2+1) is supported.
pub 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.
pub const fn set_mult_3(&mut self, val: bool)
pub const fn set_mult_3(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(3+1) is supported.
pub 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.
pub const fn set_mult_4(&mut self, val: bool)
pub const fn set_mult_4(&mut self, val: bool)
Indicates whether multiplying the trigger counter by 2^(4+1) is supported.
pub const fn set_tcount8(&mut self, val: bool)
pub const fn set_tcount8(&mut self, val: bool)
Indicates whether an 8-bit wide counter register is implemented.
pub const fn set_triggered(&mut self, val: bool)
pub const fn set_triggered(&mut self, val: bool)
A trigger has occurred and the counter has reached 0.
pub const fn set_trgrun(&mut self, val: bool)
pub const fn set_trgrun(&mut self, val: bool)
A trigger has occurred but the counter is not at 0.
Trait Implementations§
§impl Clone for Supportedtriggermodes
impl Clone for Supportedtriggermodes
§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