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