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