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