#[repr(transparent)]pub struct Sm1frctrl(pub u16);Expand description
Fractional Control Register
Tuple Fields§
§0: u16Implementations§
Source§impl Sm1frctrl
impl Sm1frctrl
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
Trait Implementations§
impl Copy for Sm1frctrl
impl Eq for Sm1frctrl
impl StructuralPartialEq for Sm1frctrl
Auto Trait Implementations§
impl Freeze for Sm1frctrl
impl RefUnwindSafe for Sm1frctrl
impl Send for Sm1frctrl
impl Sync for Sm1frctrl
impl Unpin for Sm1frctrl
impl UnwindSafe for Sm1frctrl
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