#[repr(transparent)]pub struct Pwm0subctl(pub u32);Expand description
PWM0 Submodule Control
Tuple Fields§
§0: u32Implementations§
Source§impl Pwm0subctl
impl Pwm0subctl
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 Pwm0subctl
impl Clone for Pwm0subctl
Source§fn clone(&self) -> Pwm0subctl
fn clone(&self) -> Pwm0subctl
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 Debug for Pwm0subctl
impl Debug for Pwm0subctl
Source§impl Default for Pwm0subctl
impl Default for Pwm0subctl
Source§fn default() -> Pwm0subctl
fn default() -> Pwm0subctl
Returns the “default value” for a type. Read more
Source§impl PartialEq for Pwm0subctl
impl PartialEq for Pwm0subctl
impl Copy for Pwm0subctl
impl Eq for Pwm0subctl
impl StructuralPartialEq for Pwm0subctl
Auto Trait Implementations§
impl Freeze for Pwm0subctl
impl RefUnwindSafe for Pwm0subctl
impl Send for Pwm0subctl
impl Sync for Pwm0subctl
impl Unpin for Pwm0subctl
impl UnwindSafe for Pwm0subctl
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