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