#[repr(transparent)]pub struct Pwmc(pub u32);Expand description
PWM Control
Tuple Fields§
§0: u32Implementations§
Source§impl Pwmc
impl Pwmc
Sourcepub const fn set_pwmen0(&mut self, val: Pwmen)
pub const fn set_pwmen0(&mut self, val: Pwmen)
PWM Mode Enable for Channel 0
Sourcepub const fn set_pwmen1(&mut self, val: Pwmen)
pub const fn set_pwmen1(&mut self, val: Pwmen)
PWM Mode Enable for Channel 1
Sourcepub const fn set_pwmen2(&mut self, val: Pwmen)
pub const fn set_pwmen2(&mut self, val: Pwmen)
PWM Mode Enable for Channel 2
Sourcepub const fn set_pwmen3(&mut self, val: Pwmen)
pub const fn set_pwmen3(&mut self, val: Pwmen)
PWM Mode Enable for Channel 3
Trait Implementations§
impl Copy for Pwmc
impl Eq for Pwmc
impl StructuralPartialEq for Pwmc
Auto Trait Implementations§
impl Freeze for Pwmc
impl RefUnwindSafe for Pwmc
impl Send for Pwmc
impl Sync for Pwmc
impl Unpin for Pwmc
impl UnwindSafe for Pwmc
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