Type Alias rp2040_pac::clocks::clk_sys_resus_ctrl::W
source · pub type W = W<CLK_SYS_RESUS_CTRL_SPEC>;
Expand description
Register CLK_SYS_RESUS_CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn timeout(&mut self) -> TIMEOUT_W<'_, CLK_SYS_RESUS_CTRL_SPEC>
pub fn timeout(&mut self) -> TIMEOUT_W<'_, CLK_SYS_RESUS_CTRL_SPEC>
Bits 0:7 - This is expressed as a number of clk_ref cycles
and must be >= 2x clk_ref_freq/min_clk_tst_freq
sourcepub fn enable(&mut self) -> ENABLE_W<'_, CLK_SYS_RESUS_CTRL_SPEC>
pub fn enable(&mut self) -> ENABLE_W<'_, CLK_SYS_RESUS_CTRL_SPEC>
Bit 8 - Enable resus
sourcepub fn frce(&mut self) -> FRCE_W<'_, CLK_SYS_RESUS_CTRL_SPEC>
pub fn frce(&mut self) -> FRCE_W<'_, CLK_SYS_RESUS_CTRL_SPEC>
Bit 12 - Force a resus, for test purposes only
sourcepub fn clear(&mut self) -> CLEAR_W<'_, CLK_SYS_RESUS_CTRL_SPEC>
pub fn clear(&mut self) -> CLEAR_W<'_, CLK_SYS_RESUS_CTRL_SPEC>
Bit 16 - For clearing the resus after the fault that triggered it has been corrected