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