#[repr(transparent)]pub struct OutSet(pub u32);Expand description
SCT output 0 set register
Tuple Fields§
§0: u32Implementations§
Source§impl OutSet
impl OutSet
Sourcepub const fn set(&self) -> u16
pub const fn set(&self) -> u16
A 1 in bit m selects event m to set output n (or clear it if SETCLRn = 0x1 or 0x2) output 0 = bit 0, output 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register.
Sourcepub const fn set_set(&mut self, val: u16)
pub const fn set_set(&mut self, val: u16)
A 1 in bit m selects event m to set output n (or clear it if SETCLRn = 0x1 or 0x2) output 0 = bit 0, output 1 = bit 1, etc. The number of bits = number of events in this SCT. When the counter is used in bi-directional mode, it is possible to reverse the action specified by the output set and clear registers when counting down, See the OUTPUTCTRL register.
Trait Implementations§
impl Copy for OutSet
impl Eq for OutSet
impl StructuralPartialEq for OutSet
Auto Trait Implementations§
impl Freeze for OutSet
impl RefUnwindSafe for OutSet
impl Send for OutSet
impl Sync for OutSet
impl Unpin for OutSet
impl UnwindSafe for OutSet
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