pub struct R(_);Expand description
Register HSCH5_CONF1 reader
Implementations
sourceimpl R
impl R
sourcepub fn duty_scale_hsch5(&self) -> DUTY_SCALE_HSCH5_R
pub fn duty_scale_hsch5(&self) -> DUTY_SCALE_HSCH5_R
Bits 0:9 - This register controls the increase or decrease step scale for high speed channel5.
sourcepub fn duty_cycle_hsch5(&self) -> DUTY_CYCLE_HSCH5_R
pub fn duty_cycle_hsch5(&self) -> DUTY_CYCLE_HSCH5_R
Bits 10:19 - This register is used to increase or decrease the duty every reg_duty_cycle_hsch5 cycles for high speed channel5.
sourcepub fn duty_num_hsch5(&self) -> DUTY_NUM_HSCH5_R
pub fn duty_num_hsch5(&self) -> DUTY_NUM_HSCH5_R
Bits 20:29 - This register is used to control the num of increased or decreased times for high speed channel5.
sourcepub fn duty_inc_hsch5(&self) -> DUTY_INC_HSCH5_R
pub fn duty_inc_hsch5(&self) -> DUTY_INC_HSCH5_R
Bit 30 - This register is used to increase the duty of output signal or decrease the duty of output signal for high speed channel5.
sourcepub fn duty_start_hsch5(&self) -> DUTY_START_HSCH5_R
pub fn duty_start_hsch5(&self) -> DUTY_START_HSCH5_R
Bit 31 - When reg_duty_num_hsch5 reg_duty_cycle_hsch5 and reg_duty_scale_hsch5 has been configured. these register won’t take effect until set reg_duty_start_hsch5. this bit is automatically cleared by hardware.
Methods from Deref<Target = R<HSCH5_CONF1_SPEC>>
Trait Implementations
sourceimpl From<R<HSCH5_CONF1_SPEC>> for R
impl From<R<HSCH5_CONF1_SPEC>> for R
sourcefn from(reader: R<HSCH5_CONF1_SPEC>) -> Self
fn from(reader: R<HSCH5_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