pub struct W(_);
Expand description
Register OPTIONS0
writer
Implementations§
§impl W
impl W
pub fn sw_stall_appcpu_c0(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 2, 0>
pub fn sw_stall_appcpu_c0(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - {reg_sw_stall_appcpu_c1[5:0] reg_sw_stall_appcpu_c0[1:0]} == 0x86 will stall APP CPU
pub fn sw_stall_procpu_c0(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 2, 2>
pub fn sw_stall_procpu_c0(
&mut self
) -> FieldWriterRaw<'_, u32, OPTIONS0_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - {reg_sw_stall_procpu_c1[5:0] reg_sw_stall_procpu_c0[1:0]} == 0x86 will stall PRO CPU
pub fn sw_appcpu_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 4>
pub fn sw_appcpu_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 4>
Bit 4 - APP CPU SW reset
pub fn sw_procpu_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 5>
pub fn sw_procpu_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 5>
Bit 5 - PRO CPU SW reset
pub fn bb_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 6>
pub fn bb_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 6>
Bit 6 - BB_I2C force power down
pub fn bb_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 7>
pub fn bb_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 7>
Bit 7 - BB_I2C force power up
pub fn bbpll_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 8>
pub fn bbpll_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 8>
Bit 8 - BB_PLL _I2C force power down
pub fn bbpll_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 9>
pub fn bbpll_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 9>
Bit 9 - BB_PLL_I2C force power up
pub fn bbpll_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 10>
pub fn bbpll_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 10>
Bit 10 - BB_PLL force power down
pub fn bbpll_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 11>
pub fn bbpll_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 11>
Bit 11 - BB_PLL force power up
pub fn xtl_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 12>
pub fn xtl_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 12>
Bit 12 - crystall force power down
pub fn xtl_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 13>
pub fn xtl_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 13>
Bit 13 - crystall force power up
pub fn bias_sleep_folw_8m(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 14>
pub fn bias_sleep_folw_8m(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 14>
Bit 14 - BIAS_SLEEP follow CK8M
pub fn bias_force_sleep(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 15>
pub fn bias_force_sleep(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 15>
Bit 15 - BIAS_SLEEP force sleep
pub fn bias_force_nosleep(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 16>
pub fn bias_force_nosleep(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 16>
Bit 16 - BIAS_SLEEP force no sleep
pub fn bias_i2c_folw_8m(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 17>
pub fn bias_i2c_folw_8m(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 17>
Bit 17 - BIAS_I2C follow CK8M
pub fn bias_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 18>
pub fn bias_i2c_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 18>
Bit 18 - BIAS_I2C force power down
pub fn bias_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 19>
pub fn bias_i2c_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 19>
Bit 19 - BIAS_I2C force power up
pub fn bias_core_folw_8m(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 20>
pub fn bias_core_folw_8m(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 20>
Bit 20 - BIAS_CORE follow CK8M
pub fn bias_core_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 21>
pub fn bias_core_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 21>
Bit 21 - BIAS_CORE force power down
pub fn bias_core_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 22>
pub fn bias_core_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 22>
Bit 22 - BIAS_CORE force power up
pub fn xtl_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 23>
pub fn xtl_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 23>
Bit 23
pub fn pll_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 24>
pub fn pll_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 24>
Bit 24
pub fn analog_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 25>
pub fn analog_force_iso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 25>
Bit 25
pub fn xtl_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 26>
pub fn xtl_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 26>
Bit 26
pub fn pll_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 27>
pub fn pll_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 27>
Bit 27
pub fn analog_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 28>
pub fn analog_force_noiso(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 28>
Bit 28
pub fn dg_wrap_force_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 29>
pub fn dg_wrap_force_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 29>
Bit 29 - digital wrap force reset in deep sleep
pub fn dg_wrap_force_norst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 30>
pub fn dg_wrap_force_norst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 30>
Bit 30 - digital core force no reset in deep sleep
pub fn sw_sys_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 31>
pub fn sw_sys_rst(
&mut self
) -> BitWriterRaw<'_, u32, OPTIONS0_SPEC, bool, BitM, 31>
Bit 31 - SW system reset
Methods from Deref<Target = W<OPTIONS0_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.