#[repr(transparent)]pub struct Smfrctrl(pub u16);Expand description
Fractional Control Register
Tuple Fields§
§0: u16Implementations§
Source§impl Smfrctrl
impl Smfrctrl
Sourcepub const fn set_frac1_en(&mut self, val: bool)
pub const fn set_frac1_en(&mut self, val: bool)
Fractional Cycle PWM Period Enable
Sourcepub const fn set_frac23_en(&mut self, val: bool)
pub const fn set_frac23_en(&mut self, val: bool)
Fractional Cycle Placement Enable for PWM_A
Sourcepub const fn set_frac45_en(&mut self, val: bool)
pub const fn set_frac45_en(&mut self, val: bool)
Fractional Cycle Placement Enable for PWM_B
Sourcepub const fn set_frac_pu(&mut self, val: FracPu)
pub const fn set_frac_pu(&mut self, val: FracPu)
Fractional Delay Circuit Power Up
Trait Implementations§
impl Copy for Smfrctrl
impl Eq for Smfrctrl
impl StructuralPartialEq for Smfrctrl
Auto Trait Implementations§
impl Freeze for Smfrctrl
impl RefUnwindSafe for Smfrctrl
impl Send for Smfrctrl
impl Sync for Smfrctrl
impl Unpin for Smfrctrl
impl UnwindSafe for Smfrctrl
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