#[repr(u8)]pub enum Sm2tctrlTrgfrq {
EVERYPWM = 0,
FINALPWM = 1,
}Variants§
EVERYPWM = 0
Trigger outputs are generated during every PWM period even if the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.
FINALPWM = 1
Trigger outputs are generated only during the final PWM period prior to a reload opportunity when the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.
Implementations§
Trait Implementations§
Source§impl Clone for Sm2tctrlTrgfrq
impl Clone for Sm2tctrlTrgfrq
Source§fn clone(&self) -> Sm2tctrlTrgfrq
fn clone(&self) -> Sm2tctrlTrgfrq
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 Sm2tctrlTrgfrq
impl Debug for Sm2tctrlTrgfrq
Source§impl From<Sm2tctrlTrgfrq> for u8
impl From<Sm2tctrlTrgfrq> for u8
Source§fn from(val: Sm2tctrlTrgfrq) -> u8
fn from(val: Sm2tctrlTrgfrq) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm2tctrlTrgfrq
impl From<u8> for Sm2tctrlTrgfrq
Source§fn from(val: u8) -> Sm2tctrlTrgfrq
fn from(val: u8) -> Sm2tctrlTrgfrq
Converts to this type from the input type.
Source§impl Ord for Sm2tctrlTrgfrq
impl Ord for Sm2tctrlTrgfrq
Source§fn cmp(&self, other: &Sm2tctrlTrgfrq) -> Ordering
fn cmp(&self, other: &Sm2tctrlTrgfrq) -> 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 Sm2tctrlTrgfrq
impl PartialEq for Sm2tctrlTrgfrq
Source§impl PartialOrd for Sm2tctrlTrgfrq
impl PartialOrd for Sm2tctrlTrgfrq
impl Copy for Sm2tctrlTrgfrq
impl Eq for Sm2tctrlTrgfrq
impl StructuralPartialEq for Sm2tctrlTrgfrq
Auto Trait Implementations§
impl Freeze for Sm2tctrlTrgfrq
impl RefUnwindSafe for Sm2tctrlTrgfrq
impl Send for Sm2tctrlTrgfrq
impl Sync for Sm2tctrlTrgfrq
impl Unpin for Sm2tctrlTrgfrq
impl UnwindSafe for Sm2tctrlTrgfrq
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