#[repr(transparent)]pub struct Pwm1subctl(pub u32);Expand description
PWM1 Submodule Control
Tuple Fields§
§0: u32Implementations§
Source§impl Pwm1subctl
impl Pwm1subctl
Sourcepub const fn set_clk0_en(&mut self, val: bool)
pub const fn set_clk0_en(&mut self, val: bool)
Enables PWM1 SUB Clock0
Sourcepub const fn set_clk1_en(&mut self, val: bool)
pub const fn set_clk1_en(&mut self, val: bool)
Enables PWM1 SUB Clock1
Sourcepub const fn set_clk2_en(&mut self, val: bool)
pub const fn set_clk2_en(&mut self, val: bool)
Enables PWM1 SUB Clock2
Sourcepub const fn set_clk3_en(&mut self, val: bool)
pub const fn set_clk3_en(&mut self, val: bool)
Enables PWM1 SUB Clock3
Sourcepub const fn set_dmavalm0(&mut self, val: bool)
pub const fn set_dmavalm0(&mut self, val: bool)
PWM1 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)
PWM1 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)
PWM1 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)
PWM1 submodule 3 DMA compare value done mask
Trait Implementations§
Source§impl Clone for Pwm1subctl
impl Clone for Pwm1subctl
Source§fn clone(&self) -> Pwm1subctl
fn clone(&self) -> Pwm1subctl
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 Pwm1subctl
impl Debug for Pwm1subctl
Source§impl Default for Pwm1subctl
impl Default for Pwm1subctl
Source§fn default() -> Pwm1subctl
fn default() -> Pwm1subctl
Returns the “default value” for a type. Read more
Source§impl PartialEq for Pwm1subctl
impl PartialEq for Pwm1subctl
impl Copy for Pwm1subctl
impl Eq for Pwm1subctl
impl StructuralPartialEq for Pwm1subctl
Auto Trait Implementations§
impl Freeze for Pwm1subctl
impl RefUnwindSafe for Pwm1subctl
impl Send for Pwm1subctl
impl Sync for Pwm1subctl
impl Unpin for Pwm1subctl
impl UnwindSafe for Pwm1subctl
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