#[repr(transparent)]pub struct Pwm0subctlN5(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Pwm0subctlN5
impl Pwm0subctlN5
Sourcepub const fn set_clk0_en(&mut self, val: bool)
pub const fn set_clk0_en(&mut self, val: bool)
Enables PWM0 SUB Clock0.
Sourcepub const fn set_clk1_en(&mut self, val: bool)
pub const fn set_clk1_en(&mut self, val: bool)
Enables PWM0 SUB Clock1.
Sourcepub const fn set_clk2_en(&mut self, val: bool)
pub const fn set_clk2_en(&mut self, val: bool)
Enables PWM0 SUB Clock2.
Sourcepub const fn set_clk3_en(&mut self, val: bool)
pub const fn set_clk3_en(&mut self, val: bool)
Enables PWM0 SUB Clock3.
Sourcepub const fn set_dmavalm0(&mut self, val: bool)
pub const fn set_dmavalm0(&mut self, val: bool)
PWM0 submodule 0 DMA compare value done mask.
Sourcepub const fn set_dmavalm1(&mut self, val: bool)
pub const fn set_dmavalm1(&mut self, val: bool)
PWM0 submodule 1 DMA compare value done mask.
Sourcepub const fn set_dmavalm2(&mut self, val: bool)
pub const fn set_dmavalm2(&mut self, val: bool)
PWM0 submodule 2 DMA compare value done mask.
Sourcepub const fn set_dmavalm3(&mut self, val: bool)
pub const fn set_dmavalm3(&mut self, val: bool)
PWM0 submodule 3 DMA compare value done mask.
Trait Implementations§
Source§impl Clone for Pwm0subctlN5
impl Clone for Pwm0subctlN5
Source§fn clone(&self) -> Pwm0subctlN5
fn clone(&self) -> Pwm0subctlN5
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for Pwm0subctlN5
impl Default for Pwm0subctlN5
Source§fn default() -> Pwm0subctlN5
fn default() -> Pwm0subctlN5
Returns the “default value” for a type. Read more
Source§impl PartialEq for Pwm0subctlN5
impl PartialEq for Pwm0subctlN5
impl Copy for Pwm0subctlN5
impl Eq for Pwm0subctlN5
impl StructuralPartialEq for Pwm0subctlN5
Auto Trait Implementations§
impl Freeze for Pwm0subctlN5
impl RefUnwindSafe for Pwm0subctlN5
impl Send for Pwm0subctlN5
impl Sync for Pwm0subctlN5
impl Unpin for Pwm0subctlN5
impl UnwindSafe for Pwm0subctlN5
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