#[repr(transparent)]pub struct EvState(pub u32);Expand description
SCT event state register 0
Tuple Fields§
§0: u32Implementations§
Source§impl EvState
impl EvState
Sourcepub const fn statemskn(&self) -> u16
pub const fn statemskn(&self) -> u16
If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT.
Sourcepub const fn set_statemskn(&mut self, val: u16)
pub const fn set_statemskn(&mut self, val: u16)
If bit m is one, event n happens in state m of the counter selected by the HEVENT bit (n = event number, m = state number; state 0 = bit 0, state 1= bit 1, etc.). The number of bits = number of states in this SCT.
Trait Implementations§
impl Copy for EvState
impl Eq for EvState
impl StructuralPartialEq for EvState
Auto Trait Implementations§
impl Freeze for EvState
impl RefUnwindSafe for EvState
impl Send for EvState
impl Sync for EvState
impl Unpin for EvState
impl UnwindSafe for EvState
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
Mutably borrows from an owned value. Read more