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