pub struct W(_);
Expand description
Register LSCH2_CONF1
writer
Implementations
sourceimpl W
impl W
sourcepub fn duty_scale_lsch2(&mut self) -> DUTY_SCALE_LSCH2_W<'_>
pub fn duty_scale_lsch2(&mut self) -> DUTY_SCALE_LSCH2_W<'_>
Bits 0:9 - This register controls the increase or decrease step scale for low speed channel2.
sourcepub fn duty_cycle_lsch2(&mut self) -> DUTY_CYCLE_LSCH2_W<'_>
pub fn duty_cycle_lsch2(&mut self) -> DUTY_CYCLE_LSCH2_W<'_>
Bits 10:19 - This register is used to increase or decrease the duty every reg_duty_cycle_lsch2 cycles for low speed channel2.
sourcepub fn duty_num_lsch2(&mut self) -> DUTY_NUM_LSCH2_W<'_>
pub fn duty_num_lsch2(&mut self) -> DUTY_NUM_LSCH2_W<'_>
Bits 20:29 - This register is used to control the num of increased or decreased times for low speed channel2.
sourcepub fn duty_inc_lsch2(&mut self) -> DUTY_INC_LSCH2_W<'_>
pub fn duty_inc_lsch2(&mut self) -> DUTY_INC_LSCH2_W<'_>
Bit 30 - This register is used to increase the duty of output signal or decrease the duty of output signal for low speed channel2.
sourcepub fn duty_start_lsch2(&mut self) -> DUTY_START_LSCH2_W<'_>
pub fn duty_start_lsch2(&mut self) -> DUTY_START_LSCH2_W<'_>
Bit 31 - When reg_duty_num_hsch2 reg_duty_cycle_hsch2 and reg_duty_scale_hsch2 has been configured. these register won’t take effect until set reg_duty_start_hsch2. this bit is automatically cleared by hardware.
Methods from Deref<Target = W<LSCH2_CONF1_SPEC>>
Trait Implementations
sourceimpl From<W<LSCH2_CONF1_SPEC>> for W
impl From<W<LSCH2_CONF1_SPEC>> for W
sourcefn from(writer: W<LSCH2_CONF1_SPEC>) -> Self
fn from(writer: W<LSCH2_CONF1_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more