#[repr(u8)]pub enum Sm1ctrlLdmod {
NEXT_PWM_RELOAD = 0,
MTCTRL_LDOK_SET = 1,
}Variants§
NEXT_PWM_RELOAD = 0
Buffered registers of this submodule are loaded and take effect at the next PWM reload if MCTRL[LDOK] is set.
MTCTRL_LDOK_SET = 1
Buffered registers of this submodule are loaded and take effect immediately upon MCTRL[LDOK] being set. In this case, it is not necessary to set CTRL[FULL] or CTRL[HALF].
Implementations§
Source§impl Sm1ctrlLdmod
impl Sm1ctrlLdmod
Trait Implementations§
Source§impl Clone for Sm1ctrlLdmod
impl Clone for Sm1ctrlLdmod
Source§fn clone(&self) -> Sm1ctrlLdmod
fn clone(&self) -> Sm1ctrlLdmod
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 Sm1ctrlLdmod
impl Debug for Sm1ctrlLdmod
Source§impl From<Sm1ctrlLdmod> for u8
impl From<Sm1ctrlLdmod> for u8
Source§fn from(val: Sm1ctrlLdmod) -> u8
fn from(val: Sm1ctrlLdmod) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm1ctrlLdmod
impl From<u8> for Sm1ctrlLdmod
Source§fn from(val: u8) -> Sm1ctrlLdmod
fn from(val: u8) -> Sm1ctrlLdmod
Converts to this type from the input type.
Source§impl Ord for Sm1ctrlLdmod
impl Ord for Sm1ctrlLdmod
Source§fn cmp(&self, other: &Sm1ctrlLdmod) -> Ordering
fn cmp(&self, other: &Sm1ctrlLdmod) -> 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 Sm1ctrlLdmod
impl PartialEq for Sm1ctrlLdmod
Source§impl PartialOrd for Sm1ctrlLdmod
impl PartialOrd for Sm1ctrlLdmod
impl Copy for Sm1ctrlLdmod
impl Eq for Sm1ctrlLdmod
impl StructuralPartialEq for Sm1ctrlLdmod
Auto Trait Implementations§
impl Freeze for Sm1ctrlLdmod
impl RefUnwindSafe for Sm1ctrlLdmod
impl Send for Sm1ctrlLdmod
impl Sync for Sm1ctrlLdmod
impl Unpin for Sm1ctrlLdmod
impl UnwindSafe for Sm1ctrlLdmod
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