pub struct R(_);Expand description
Register LSTIMER3_CONF reader
Implementations
sourceimpl R
impl R
sourcepub fn lstimer3_duty_res(&self) -> LSTIMER3_DUTY_RES_R
pub fn lstimer3_duty_res(&self) -> LSTIMER3_DUTY_RES_R
Bits 0:4 - This register controls the range of the counter in low speed timer3. the counter range is [0 2**reg_lstimer3_lim] the max bit width for counter is 20.
sourcepub fn div_num_lstimer3(&self) -> DIV_NUM_LSTIMER3_R
pub fn div_num_lstimer3(&self) -> DIV_NUM_LSTIMER3_R
Bits 5:22 - This register is used to configure parameter for divider in low speed timer3 the least significant eight bits represent the decimal part.
sourcepub fn lstimer3_pause(&self) -> LSTIMER3_PAUSE_R
pub fn lstimer3_pause(&self) -> LSTIMER3_PAUSE_R
Bit 23 - This bit is used to pause the counter in low speed timer3.
sourcepub fn lstimer3_rst(&self) -> LSTIMER3_RST_R
pub fn lstimer3_rst(&self) -> LSTIMER3_RST_R
Bit 24 - This bit is used to reset low speed timer3 the counter will be 0 after reset.
sourcepub fn tick_sel_lstimer3(&self) -> TICK_SEL_LSTIMER3_R
pub fn tick_sel_lstimer3(&self) -> TICK_SEL_LSTIMER3_R
Bit 25 - This bit is used to choose slow_clk or ref_tick for low speed timer3. 1’b1:slow_clk 0:ref_tick
sourcepub fn lstimer3_para_up(&self) -> LSTIMER3_PARA_UP_R
pub fn lstimer3_para_up(&self) -> LSTIMER3_PARA_UP_R
Bit 26 - Set this bit to update reg_div_num_lstime3 and reg_lstimer3_lim.
sourcepub fn lstimer3_lim(&self) -> LSTIMER3_LIM_R
pub fn lstimer3_lim(&self) -> LSTIMER3_LIM_R
Bits 31:35
Methods from Deref<Target = R<LSTIMER3_CONF_SPEC>>
Trait Implementations
sourceimpl From<R<LSTIMER3_CONF_SPEC>> for R
impl From<R<LSTIMER3_CONF_SPEC>> for R
sourcefn from(reader: R<LSTIMER3_CONF_SPEC>) -> Self
fn from(reader: R<LSTIMER3_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