Struct d1_pac::hs_timer::hs_tmr_ctrl::W
source · pub struct W(/* private fields */);
Expand description
Register hs_tmr%s_ctrl
writer
Implementations§
source§impl W
impl W
sourcepub fn hs_tmr_en(&mut self) -> HS_TMR_EN_W<'_, 0>
pub fn hs_tmr_en(&mut self) -> HS_TMR_EN_W<'_, 0>
Bit 0 - HSTimer Enable
sourcepub fn hs_tmr_reload(&mut self) -> HS_TMR_RELOAD_W<'_, 1>
pub fn hs_tmr_reload(&mut self) -> HS_TMR_RELOAD_W<'_, 1>
Bit 1 - HSTimer Reload
sourcepub fn hs_tmr_clk(&mut self) -> HS_TMR_CLK_W<'_, 4>
pub fn hs_tmr_clk(&mut self) -> HS_TMR_CLK_W<'_, 4>
Bits 4:6 - Select the pre-scale for the HSTimer clock sources
sourcepub fn hs_tmr_mode(&mut self) -> HS_TMR_MODE_W<'_, 7>
pub fn hs_tmr_mode(&mut self) -> HS_TMR_MODE_W<'_, 7>
Bit 7 - Select the timing mode for HSTimer
sourcepub fn hs_tmr_test(&mut self) -> HS_TMR_TEST_W<'_, 31>
pub fn hs_tmr_test(&mut self) -> HS_TMR_TEST_W<'_, 31>
Bit 31 - Select the operating mode for HSTimer
Methods from Deref<Target = W<HS_TMR_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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