#[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 moreSource§impl Default for Supportedtriggermodes
impl Default for Supportedtriggermodes
Source§fn default() -> Supportedtriggermodes
fn default() -> Supportedtriggermodes
Source§impl PartialEq for Supportedtriggermodes
impl PartialEq for Supportedtriggermodes
impl Copy for Supportedtriggermodes
impl Eq for Supportedtriggermodes
impl StructuralPartialEq for Supportedtriggermodes
Auto Trait Implementations§
impl Freeze for Supportedtriggermodes
impl RefUnwindSafe for Supportedtriggermodes
impl Send for Supportedtriggermodes
impl Sync for Supportedtriggermodes
impl Unpin for Supportedtriggermodes
impl UnwindSafe for Supportedtriggermodes
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
)