#[repr(u8)]pub enum Flexpwm1Sm3ctrl2ClkSel {
Ipbus = 0,
ExtClk = 1,
AuxClk = 2,
_RESERVED_3 = 3,
}Variants§
Ipbus = 0
The IPBus clock is used as the clock for the local prescaler and counter.
ExtClk = 1
EXT_CLK is used as the clock for the local prescaler and counter.
AuxClk = 2
Submodule 0’s clock (AUX_CLK) is used as the source clock for the local prescaler and counter. This setting should not be used in submodule 0 as it forces the clock to logic 0.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for Flexpwm1Sm3ctrl2ClkSel
impl Clone for Flexpwm1Sm3ctrl2ClkSel
Source§fn clone(&self) -> Flexpwm1Sm3ctrl2ClkSel
fn clone(&self) -> Flexpwm1Sm3ctrl2ClkSel
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 Flexpwm1Sm3ctrl2ClkSel
impl Debug for Flexpwm1Sm3ctrl2ClkSel
Source§impl From<Flexpwm1Sm3ctrl2ClkSel> for u8
impl From<Flexpwm1Sm3ctrl2ClkSel> for u8
Source§fn from(val: Flexpwm1Sm3ctrl2ClkSel) -> u8
fn from(val: Flexpwm1Sm3ctrl2ClkSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Flexpwm1Sm3ctrl2ClkSel
impl From<u8> for Flexpwm1Sm3ctrl2ClkSel
Source§fn from(val: u8) -> Flexpwm1Sm3ctrl2ClkSel
fn from(val: u8) -> Flexpwm1Sm3ctrl2ClkSel
Converts to this type from the input type.
Source§impl Ord for Flexpwm1Sm3ctrl2ClkSel
impl Ord for Flexpwm1Sm3ctrl2ClkSel
Source§fn cmp(&self, other: &Flexpwm1Sm3ctrl2ClkSel) -> Ordering
fn cmp(&self, other: &Flexpwm1Sm3ctrl2ClkSel) -> 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 Flexpwm1Sm3ctrl2ClkSel
impl PartialEq for Flexpwm1Sm3ctrl2ClkSel
Source§impl PartialOrd for Flexpwm1Sm3ctrl2ClkSel
impl PartialOrd for Flexpwm1Sm3ctrl2ClkSel
impl Copy for Flexpwm1Sm3ctrl2ClkSel
impl Eq for Flexpwm1Sm3ctrl2ClkSel
impl StructuralPartialEq for Flexpwm1Sm3ctrl2ClkSel
Auto Trait Implementations§
impl Freeze for Flexpwm1Sm3ctrl2ClkSel
impl RefUnwindSafe for Flexpwm1Sm3ctrl2ClkSel
impl Send for Flexpwm1Sm3ctrl2ClkSel
impl Sync for Flexpwm1Sm3ctrl2ClkSel
impl Unpin for Flexpwm1Sm3ctrl2ClkSel
impl UnwindSafe for Flexpwm1Sm3ctrl2ClkSel
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