Struct esp32s2::rtc_cntl::cocpu_ctrl::W
source · pub struct W(_);
Expand description
Register COCPU_CTRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn cocpu_clk_fo(&mut self) -> COCPU_CLK_FO_W<'_, 0>
pub fn cocpu_clk_fo(&mut self) -> COCPU_CLK_FO_W<'_, 0>
Bit 0 - ULP-RISCV clock force on
sourcepub fn cocpu_start_2_reset_dis(&mut self) -> COCPU_START_2_RESET_DIS_W<'_, 1>
pub fn cocpu_start_2_reset_dis(&mut self) -> COCPU_START_2_RESET_DIS_W<'_, 1>
Bits 1:6 - Time from ULP-RISCV startup to pull down reset
sourcepub fn cocpu_start_2_intr_en(&mut self) -> COCPU_START_2_INTR_EN_W<'_, 7>
pub fn cocpu_start_2_intr_en(&mut self) -> COCPU_START_2_INTR_EN_W<'_, 7>
Bits 7:12 - Time from ULP-RISCV startup to send out RISCV_START_INT interrupt
sourcepub fn cocpu_shut(&mut self) -> COCPU_SHUT_W<'_, 13>
pub fn cocpu_shut(&mut self) -> COCPU_SHUT_W<'_, 13>
Bit 13 - Shut down ULP-RISCV
sourcepub fn cocpu_shut_2_clk_dis(&mut self) -> COCPU_SHUT_2_CLK_DIS_W<'_, 14>
pub fn cocpu_shut_2_clk_dis(&mut self) -> COCPU_SHUT_2_CLK_DIS_W<'_, 14>
Bits 14:21 - Time from shut down ULP-RISCV to disable clock
sourcepub fn cocpu_shut_reset_en(&mut self) -> COCPU_SHUT_RESET_EN_W<'_, 22>
pub fn cocpu_shut_reset_en(&mut self) -> COCPU_SHUT_RESET_EN_W<'_, 22>
Bit 22 - This bit is used to reset ULP-RISCV
sourcepub fn cocpu_sel(&mut self) -> COCPU_SEL_W<'_, 23>
pub fn cocpu_sel(&mut self) -> COCPU_SEL_W<'_, 23>
Bit 23 - 0: select ULP-RISCV. 1: select ULP-FSM
sourcepub fn cocpu_done_force(&mut self) -> COCPU_DONE_FORCE_W<'_, 24>
pub fn cocpu_done_force(&mut self) -> COCPU_DONE_FORCE_W<'_, 24>
Bit 24 - 0: select ULP-FSM DONE signal. 1: select ULP-RISCV DONE signal
sourcepub fn cocpu_done(&mut self) -> COCPU_DONE_W<'_, 25>
pub fn cocpu_done(&mut self) -> COCPU_DONE_W<'_, 25>
Bit 25 - DONE signal. Write 1 to this bit, ULP-RISCV will go to HALT and the timer starts counting
sourcepub fn cocpu_sw_int_trigger(&mut self) -> COCPU_SW_INT_TRIGGER_W<'_, 26>
pub fn cocpu_sw_int_trigger(&mut self) -> COCPU_SW_INT_TRIGGER_W<'_, 26>
Bit 26 - Trigger ULP-RISCV register interrupt
Methods from Deref<Target = W<COCPU_CTRL_SPEC>>
Trait Implementations
sourceimpl From<W<COCPU_CTRL_SPEC>> for W
impl From<W<COCPU_CTRL_SPEC>> for W
sourcefn from(writer: W<COCPU_CTRL_SPEC>) -> Self
fn from(writer: W<COCPU_CTRL_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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