pub struct W(_);
Expand description
Register HSTIMER0_CONF
writer
Implementations
sourceimpl W
impl W
sourcepub fn hstimer0_duty_res(&mut self) -> HSTIMER0_DUTY_RES_W<'_>
pub fn hstimer0_duty_res(&mut self) -> HSTIMER0_DUTY_RES_W<'_>
Bits 0:4 - This register controls the range of the counter in high speed timer0. the counter range is [0 2**reg_hstimer0_lim] the max bit width for counter is 20.
sourcepub fn div_num_hstimer0(&mut self) -> DIV_NUM_HSTIMER0_W<'_>
pub fn div_num_hstimer0(&mut self) -> DIV_NUM_HSTIMER0_W<'_>
Bits 5:22 - This register is used to configure parameter for divider in high speed timer0 the least significant eight bits represent the decimal part.
sourcepub fn hstimer0_pause(&mut self) -> HSTIMER0_PAUSE_W<'_>
pub fn hstimer0_pause(&mut self) -> HSTIMER0_PAUSE_W<'_>
Bit 23 - This bit is used to pause the counter in high speed timer0
sourcepub fn hstimer0_rst(&mut self) -> HSTIMER0_RST_W<'_>
pub fn hstimer0_rst(&mut self) -> HSTIMER0_RST_W<'_>
Bit 24 - This bit is used to reset high speed timer0 the counter will be 0 after reset.
sourcepub fn tick_sel_hstimer0(&mut self) -> TICK_SEL_HSTIMER0_W<'_>
pub fn tick_sel_hstimer0(&mut self) -> TICK_SEL_HSTIMER0_W<'_>
Bit 25 - This bit is used to choose apb_clk or ref_tick for high speed timer0. 1’b1:apb_clk 0:ref_tick
sourcepub fn hstimer0_lim(&mut self) -> HSTIMER0_LIM_W<'_>
pub fn hstimer0_lim(&mut self) -> HSTIMER0_LIM_W<'_>
Bits 31:35
Methods from Deref<Target = W<HSTIMER0_CONF_SPEC>>
Trait Implementations
sourceimpl From<W<HSTIMER0_CONF_SPEC>> for W
impl From<W<HSTIMER0_CONF_SPEC>> for W
sourcefn from(writer: W<HSTIMER0_CONF_SPEC>) -> Self
fn from(writer: W<HSTIMER0_CONF_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