Trait Resettable

Source
pub trait Resettable: RegisterSpec {
    const RESET_VALUE: Self::Ux;

    // Provided method
    fn reset_value() -> Self::Ux { ... }
}
Expand description

Reset value of the register.

This value is the initial value for the write method. It can also be directly written to the register by using the reset method.

Required Associated Constants§

Source

const RESET_VALUE: Self::Ux

Reset value of the register.

Provided Methods§

Source

fn reset_value() -> Self::Ux

Reset value of the register.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Resettable for COCPU_CTRL_SPEC

reset() method sets COCPU_CTRL to value 0x008a_0810

Source§

const RESET_VALUE: u32 = 9_046_032u32

Source§

impl Resettable for ULP_CP_CTRL_SPEC

reset() method sets ULP_CP_CTRL to value 0x0010_0200

Source§

const RESET_VALUE: u32 = 1_049_088u32

Source§

impl Resettable for ULP_CP_TIMER_SPEC

reset() method sets ULP_CP_TIMER to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for ULP_CP_TIMER_1_SPEC

reset() method sets ULP_CP_TIMER_1 to value 0xc800

Source§

const RESET_VALUE: u32 = 51_200u32

Source§

impl Resettable for CMD_SPEC

reset() method sets CMD%s to value 0x0903

Source§

const RESET_VALUE: u32 = 2_307u32

Source§

impl Resettable for CTRL_SPEC

reset() method sets CTRL to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for DATA_SPEC

reset() method sets DATA to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for DATE_SPEC

reset() method sets DATE to value 0x0190_5310

Source§

const RESET_VALUE: u32 = 26_235_664u32

Source§

impl Resettable for INT_CLR_SPEC

reset() method sets INT_CLR to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for INT_ENA_SPEC

reset() method sets INT_ENA to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for INT_RAW_SPEC

reset() method sets INT_RAW to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for INT_ST_SPEC

reset() method sets INT_ST to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SCL_HIGH_SPEC

reset() method sets SCL_HIGH to value 0x0100

Source§

const RESET_VALUE: u32 = 256u32

Source§

impl Resettable for SCL_LOW_SPEC

reset() method sets SCL_LOW to value 0x0100

Source§

const RESET_VALUE: u32 = 256u32

Source§

impl Resettable for SCL_START_PERIOD_SPEC

reset() method sets SCL_START_PERIOD to value 0x08

Source§

const RESET_VALUE: u32 = 8u32

Source§

impl Resettable for SCL_STOP_PERIOD_SPEC

reset() method sets SCL_STOP_PERIOD to value 0x08

Source§

const RESET_VALUE: u32 = 8u32

Source§

impl Resettable for SDA_DUTY_SPEC

reset() method sets SDA_DUTY to value 0x10

Source§

const RESET_VALUE: u32 = 16u32

Source§

impl Resettable for SLAVE_ADDR_SPEC

reset() method sets SLAVE_ADDR to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for esp32s2_ulp::rtc_i2c::status::STATUS_SPEC

reset() method sets STATUS to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for TO_SPEC

reset() method sets TO to value 0x0001_0000

Source§

const RESET_VALUE: u32 = 65_536u32

Source§

impl Resettable for ENABLE_SPEC

reset() method sets ENABLE to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for ENABLE_W1TC_SPEC

reset() method sets ENABLE_W1TC to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for ENABLE_W1TS_SPEC

reset() method sets ENABLE_W1TS to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for EXT_WAKEUP0_SPEC

reset() method sets EXT_WAKEUP0 to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for IN_SPEC

reset() method sets IN to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for OUT_SPEC

reset() method sets OUT to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for OUT_W1TC_SPEC

reset() method sets OUT_W1TC to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for OUT_W1TS_SPEC

reset() method sets OUT_W1TS to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for PAD_DAC1_SPEC

reset() method sets PAD_DAC1 to value 0x4000_0000

Source§

const RESET_VALUE: u32 = 1_073_741_824u32

Source§

impl Resettable for PAD_DAC2_SPEC

reset() method sets PAD_DAC2 to value 0x4000_0000

Source§

const RESET_VALUE: u32 = 1_073_741_824u32

Source§

impl Resettable for PIN_SPEC

reset() method sets PIN%s to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for RTC_DEBUG_SEL_SPEC

reset() method sets RTC_DEBUG_SEL to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for RTC_IO_DATE_SPEC

reset() method sets RTC_IO_DATE to value 0x0190_3170

Source§

const RESET_VALUE: u32 = 26_227_056u32

Source§

impl Resettable for RTC_IO_TOUCH_CTRL_SPEC

reset() method sets RTC_IO_TOUCH_CTRL to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for RTC_PAD19_SPEC

reset() method sets RTC_PAD19 to value 0x5000_0000

Source§

const RESET_VALUE: u32 = 1_342_177_280u32

Source§

impl Resettable for RTC_PAD20_SPEC

reset() method sets RTC_PAD20 to value 0x5000_0000

Source§

const RESET_VALUE: u32 = 1_342_177_280u32

Source§

impl Resettable for RTC_PAD21_SPEC

reset() method sets RTC_PAD21 to value 0x5000_0000

Source§

const RESET_VALUE: u32 = 1_342_177_280u32

Source§

impl Resettable for SAR_I2C_IO_SPEC

reset() method sets SAR_I2C_IO to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for esp32s2_ulp::rtc_io::status::STATUS_SPEC

reset() method sets STATUS to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for STATUS_W1TC_SPEC

reset() method sets STATUS_W1TC to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for STATUS_W1TS_SPEC

reset() method sets STATUS_W1TS to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for TOUCH_PAD_SPEC

reset() method sets TOUCH_PAD%s to value 0x5200_0000

Source§

const RESET_VALUE: u32 = 1_375_731_712u32

Source§

impl Resettable for XTAL_32N_PAD_SPEC

reset() method sets XTAL_32N_PAD to value 0x4000_0000

Source§

const RESET_VALUE: u32 = 1_073_741_824u32

Source§

impl Resettable for XTAL_32P_PAD_SPEC

reset() method sets XTAL_32P_PAD to value 0x4000_0000

Source§

const RESET_VALUE: u32 = 1_073_741_824u32

Source§

impl Resettable for XTL_EXT_CTR_SPEC

reset() method sets XTL_EXT_CTR to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_COCPU_INT_CLR_SPEC

reset() method sets SAR_COCPU_INT_CLR to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_COCPU_INT_ENA_SPEC

reset() method sets SAR_COCPU_INT_ENA to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_COCPU_INT_RAW_SPEC

reset() method sets SAR_COCPU_INT_RAW to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_COCPU_INT_ST_SPEC

reset() method sets SAR_COCPU_INT_ST to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_I2C_CTRL_SPEC

reset() method sets SAR_I2C_CTRL to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_SLAVE_ADDR1_SPEC

reset() method sets SAR_SLAVE_ADDR1 to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_SLAVE_ADDR2_SPEC

reset() method sets SAR_SLAVE_ADDR2 to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_SLAVE_ADDR3_SPEC

reset() method sets SAR_SLAVE_ADDR3 to value 0

Source§

const RESET_VALUE: u32 = 0u32

Source§

impl Resettable for SAR_SLAVE_ADDR4_SPEC

reset() method sets SAR_SLAVE_ADDR4 to value 0

Source§

const RESET_VALUE: u32 = 0u32