#[repr(u8)]pub enum Sm0ctrl2InitSel {
PWM_X = 0,
MASTER_RELOAD = 1,
MASTER_SYNC = 2,
EXT_SYNC = 3,
}Variants§
PWM_X = 0
Local sync (PWM_X) causes initialization.
MASTER_RELOAD = 1
Master reload from submodule 0 causes initialization. This setting should not be used in submodule 0 as it forces the INIT signal to logic 0. The submodule counter will only re-initialize when a master reload occurs.
MASTER_SYNC = 2
Master sync from submodule 0 causes initialization. This setting should not be used in submodule 0 as it forces the INIT signal to logic 0.
EXT_SYNC = 3
EXT_SYNC causes initialization.
Implementations§
Trait Implementations§
Source§impl Clone for Sm0ctrl2InitSel
impl Clone for Sm0ctrl2InitSel
Source§fn clone(&self) -> Sm0ctrl2InitSel
fn clone(&self) -> Sm0ctrl2InitSel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Sm0ctrl2InitSel
impl Debug for Sm0ctrl2InitSel
Source§impl From<Sm0ctrl2InitSel> for u8
impl From<Sm0ctrl2InitSel> for u8
Source§fn from(val: Sm0ctrl2InitSel) -> u8
fn from(val: Sm0ctrl2InitSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm0ctrl2InitSel
impl From<u8> for Sm0ctrl2InitSel
Source§fn from(val: u8) -> Sm0ctrl2InitSel
fn from(val: u8) -> Sm0ctrl2InitSel
Converts to this type from the input type.
Source§impl Ord for Sm0ctrl2InitSel
impl Ord for Sm0ctrl2InitSel
Source§fn cmp(&self, other: &Sm0ctrl2InitSel) -> Ordering
fn cmp(&self, other: &Sm0ctrl2InitSel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Sm0ctrl2InitSel
impl PartialEq for Sm0ctrl2InitSel
Source§impl PartialOrd for Sm0ctrl2InitSel
impl PartialOrd for Sm0ctrl2InitSel
impl Copy for Sm0ctrl2InitSel
impl Eq for Sm0ctrl2InitSel
impl StructuralPartialEq for Sm0ctrl2InitSel
Auto Trait Implementations§
impl Freeze for Sm0ctrl2InitSel
impl RefUnwindSafe for Sm0ctrl2InitSel
impl Send for Sm0ctrl2InitSel
impl Sync for Sm0ctrl2InitSel
impl Unpin for Sm0ctrl2InitSel
impl UnwindSafe for Sm0ctrl2InitSel
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