#[repr(u8)]pub enum SmctrlInitSel {
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§
Source§impl SmctrlInitSel
impl SmctrlInitSel
Trait Implementations§
Source§impl Clone for SmctrlInitSel
impl Clone for SmctrlInitSel
Source§fn clone(&self) -> SmctrlInitSel
fn clone(&self) -> SmctrlInitSel
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 SmctrlInitSel
impl Debug for SmctrlInitSel
Source§impl From<SmctrlInitSel> for u8
impl From<SmctrlInitSel> for u8
Source§fn from(val: SmctrlInitSel) -> u8
fn from(val: SmctrlInitSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SmctrlInitSel
impl From<u8> for SmctrlInitSel
Source§fn from(val: u8) -> SmctrlInitSel
fn from(val: u8) -> SmctrlInitSel
Converts to this type from the input type.
Source§impl Ord for SmctrlInitSel
impl Ord for SmctrlInitSel
Source§fn cmp(&self, other: &SmctrlInitSel) -> Ordering
fn cmp(&self, other: &SmctrlInitSel) -> 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 SmctrlInitSel
impl PartialEq for SmctrlInitSel
Source§impl PartialOrd for SmctrlInitSel
impl PartialOrd for SmctrlInitSel
impl Copy for SmctrlInitSel
impl Eq for SmctrlInitSel
impl StructuralPartialEq for SmctrlInitSel
Auto Trait Implementations§
impl Freeze for SmctrlInitSel
impl RefUnwindSafe for SmctrlInitSel
impl Send for SmctrlInitSel
impl Sync for SmctrlInitSel
impl Unpin for SmctrlInitSel
impl UnwindSafe for SmctrlInitSel
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