Trait w806_pac::generic::Resettable
source · [−]pub trait Resettable: RegisterSpec {
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 Methods
fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Implementors
impl Resettable for ALTERNATE_ENABLE_SPEC
reset()
method sets alternate_enable to value 0xffff
impl Resettable for DATA_ENABLE_SPEC
reset()
method sets data_enable to value 0xffff
impl Resettable for DATA_VALUE_SPEC
reset()
method sets data_value to value 0x180b
impl Resettable for DIRECTION_SPEC
reset()
method sets direction to value 0
impl Resettable for FUNCTION_HIGH_SPEC
reset()
method sets function_high to value 0
impl Resettable for FUNCTION_LOW_SPEC
reset()
method sets function_low to value 0
impl Resettable for INTERRUPT_CLEAR_SPEC
reset()
method sets interrupt_clear to value 0
impl Resettable for INTERRUPT_ENABLE_SPEC
reset()
method sets interrupt_enable to value 0
impl Resettable for INTERRUPT_STATE_SPEC
reset()
method sets interrupt_state to value 0
impl Resettable for INTERRUPT_STATE_RAW_SPEC
reset()
method sets interrupt_state_raw to value 0
impl Resettable for PULL_DOWN_SPEC
reset()
method sets pull_down to value 0
impl Resettable for PULL_UP_SPEC
reset()
method sets pull_up to value 0xffff
impl Resettable for TRIGGER_BOTH_SPEC
reset()
method sets trigger_both to value 0
impl Resettable for TRIGGER_EDGE_LEVEL_SPEC
reset()
method sets trigger_edge_level to value 0
impl Resettable for TRIGGER_MODE_SPEC
reset()
method sets trigger_mode to value 0
impl Resettable for CONTROL_REGISTER_SPEC
reset()
method sets control_register to value 0x02
impl Resettable for INTERRUPT_SOURCE_SPEC
reset()
method sets interrupt_source to value 0
impl Resettable for RTC_REGISTER_0_SPEC
reset()
method sets rtc_register_0 to value 0
impl Resettable for RTC_REGISTER_1_SPEC
reset()
method sets rtc_register_1 to value 0
impl Resettable for TIMER0_SPEC
reset()
method sets timer0 to value 0
impl Resettable for ADAPT_MASK_SPEC
reset()
method sets adapt_mask to value 0x7e
impl Resettable for CLOCK_DIVIDE_SPEC
reset()
method sets clock_divide to value 0x0302_0306
impl Resettable for CLOCK_ENABLE_SPEC
reset()
method sets clock_enable to value 0x7fff
impl Resettable for DEBUG_CONTROL_SPEC
reset()
method sets debug_control to value 0x0a00
impl Resettable for I2S_CLOCK_SPEC
reset()
method sets i2s_clock to value 0
impl Resettable for RESET_CONTROL_SPEC
reset()
method sets reset_control to value 0xffff_ffff
impl Resettable for RESET_STATE_SPEC
reset()
method sets reset_state to value 0