#[repr(u8)]pub enum Flexpwm1Sm0ctrl2InitSel {
PwmX = 0,
MasterReload = 1,
MasterSync = 2,
ExtSync = 3,
}Variants§
PwmX = 0
Local sync (PWM_X) causes initialization.
MasterReload = 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.
MasterSync = 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.
ExtSync = 3
EXT_SYNC causes initialization.
Implementations§
Trait Implementations§
Source§impl Clone for Flexpwm1Sm0ctrl2InitSel
impl Clone for Flexpwm1Sm0ctrl2InitSel
Source§fn clone(&self) -> Flexpwm1Sm0ctrl2InitSel
fn clone(&self) -> Flexpwm1Sm0ctrl2InitSel
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 Flexpwm1Sm0ctrl2InitSel
impl Debug for Flexpwm1Sm0ctrl2InitSel
Source§impl From<Flexpwm1Sm0ctrl2InitSel> for u8
impl From<Flexpwm1Sm0ctrl2InitSel> for u8
Source§fn from(val: Flexpwm1Sm0ctrl2InitSel) -> u8
fn from(val: Flexpwm1Sm0ctrl2InitSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Flexpwm1Sm0ctrl2InitSel
impl From<u8> for Flexpwm1Sm0ctrl2InitSel
Source§fn from(val: u8) -> Flexpwm1Sm0ctrl2InitSel
fn from(val: u8) -> Flexpwm1Sm0ctrl2InitSel
Converts to this type from the input type.
Source§impl Ord for Flexpwm1Sm0ctrl2InitSel
impl Ord for Flexpwm1Sm0ctrl2InitSel
Source§fn cmp(&self, other: &Flexpwm1Sm0ctrl2InitSel) -> Ordering
fn cmp(&self, other: &Flexpwm1Sm0ctrl2InitSel) -> 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 Flexpwm1Sm0ctrl2InitSel
impl PartialEq for Flexpwm1Sm0ctrl2InitSel
Source§impl PartialOrd for Flexpwm1Sm0ctrl2InitSel
impl PartialOrd for Flexpwm1Sm0ctrl2InitSel
impl Copy for Flexpwm1Sm0ctrl2InitSel
impl Eq for Flexpwm1Sm0ctrl2InitSel
impl StructuralPartialEq for Flexpwm1Sm0ctrl2InitSel
Auto Trait Implementations§
impl Freeze for Flexpwm1Sm0ctrl2InitSel
impl RefUnwindSafe for Flexpwm1Sm0ctrl2InitSel
impl Send for Flexpwm1Sm0ctrl2InitSel
impl Sync for Flexpwm1Sm0ctrl2InitSel
impl Unpin for Flexpwm1Sm0ctrl2InitSel
impl UnwindSafe for Flexpwm1Sm0ctrl2InitSel
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