Trait esp32s2_ulp::generic::Writable
source · pub trait Writable: RegisterSpec {
type Safety;
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux;
}
Expand description
Trait implemented by writeable registers.
This enables the write
, write_with_zero
and reset
methods.
Registers marked with Readable
can be also be modify
’ed.
Required Associated Types§
Required Associated Constants§
sourceconst ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux
Specifies the register bits that are not changed if you pass 1
and are changed if you pass 0
sourceconst ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux
Specifies the register bits that are not changed if you pass 0
and are changed if you pass 1
Object Safety§
Implementors§
source§impl Writable for COCPU_CTRL_SPEC
impl Writable for COCPU_CTRL_SPEC
write(|w| ..)
method takes cocpu_ctrl::W
writer structure
source§impl Writable for ULP_CP_CTRL_SPEC
impl Writable for ULP_CP_CTRL_SPEC
write(|w| ..)
method takes ulp_cp_ctrl::W
writer structure
source§impl Writable for ULP_CP_TIMER_SPEC
impl Writable for ULP_CP_TIMER_SPEC
write(|w| ..)
method takes ulp_cp_timer::W
writer structure
source§impl Writable for ULP_CP_TIMER_1_SPEC
impl Writable for ULP_CP_TIMER_1_SPEC
write(|w| ..)
method takes ulp_cp_timer_1::W
writer structure
source§impl Writable for INT_CLR_SPEC
impl Writable for INT_CLR_SPEC
write(|w| ..)
method takes int_clr::W
writer structure
source§impl Writable for INT_ENA_SPEC
impl Writable for INT_ENA_SPEC
write(|w| ..)
method takes int_ena::W
writer structure
source§impl Writable for SCL_HIGH_SPEC
impl Writable for SCL_HIGH_SPEC
write(|w| ..)
method takes scl_high::W
writer structure
source§impl Writable for SCL_LOW_SPEC
impl Writable for SCL_LOW_SPEC
write(|w| ..)
method takes scl_low::W
writer structure
source§impl Writable for SCL_START_PERIOD_SPEC
impl Writable for SCL_START_PERIOD_SPEC
write(|w| ..)
method takes scl_start_period::W
writer structure
source§impl Writable for SCL_STOP_PERIOD_SPEC
impl Writable for SCL_STOP_PERIOD_SPEC
write(|w| ..)
method takes scl_stop_period::W
writer structure
source§impl Writable for SDA_DUTY_SPEC
impl Writable for SDA_DUTY_SPEC
write(|w| ..)
method takes sda_duty::W
writer structure
source§impl Writable for SLAVE_ADDR_SPEC
impl Writable for SLAVE_ADDR_SPEC
write(|w| ..)
method takes slave_addr::W
writer structure
source§impl Writable for ENABLE_SPEC
impl Writable for ENABLE_SPEC
write(|w| ..)
method takes enable::W
writer structure
source§impl Writable for ENABLE_W1TC_SPEC
impl Writable for ENABLE_W1TC_SPEC
write(|w| ..)
method takes enable_w1tc::W
writer structure
source§impl Writable for ENABLE_W1TS_SPEC
impl Writable for ENABLE_W1TS_SPEC
write(|w| ..)
method takes enable_w1ts::W
writer structure
source§impl Writable for EXT_WAKEUP0_SPEC
impl Writable for EXT_WAKEUP0_SPEC
write(|w| ..)
method takes ext_wakeup0::W
writer structure
source§impl Writable for OUT_W1TC_SPEC
impl Writable for OUT_W1TC_SPEC
write(|w| ..)
method takes out_w1tc::W
writer structure
source§impl Writable for OUT_W1TS_SPEC
impl Writable for OUT_W1TS_SPEC
write(|w| ..)
method takes out_w1ts::W
writer structure
source§impl Writable for PAD_DAC1_SPEC
impl Writable for PAD_DAC1_SPEC
write(|w| ..)
method takes pad_dac1::W
writer structure
source§impl Writable for PAD_DAC2_SPEC
impl Writable for PAD_DAC2_SPEC
write(|w| ..)
method takes pad_dac2::W
writer structure
source§impl Writable for RTC_DEBUG_SEL_SPEC
impl Writable for RTC_DEBUG_SEL_SPEC
write(|w| ..)
method takes rtc_debug_sel::W
writer structure
source§impl Writable for RTC_IO_DATE_SPEC
impl Writable for RTC_IO_DATE_SPEC
write(|w| ..)
method takes rtc_io_date::W
writer structure
source§impl Writable for RTC_IO_TOUCH_CTRL_SPEC
impl Writable for RTC_IO_TOUCH_CTRL_SPEC
write(|w| ..)
method takes rtc_io_touch_ctrl::W
writer structure
source§impl Writable for RTC_PAD19_SPEC
impl Writable for RTC_PAD19_SPEC
write(|w| ..)
method takes rtc_pad19::W
writer structure
source§impl Writable for RTC_PAD20_SPEC
impl Writable for RTC_PAD20_SPEC
write(|w| ..)
method takes rtc_pad20::W
writer structure
source§impl Writable for RTC_PAD21_SPEC
impl Writable for RTC_PAD21_SPEC
write(|w| ..)
method takes rtc_pad21::W
writer structure
source§impl Writable for SAR_I2C_IO_SPEC
impl Writable for SAR_I2C_IO_SPEC
write(|w| ..)
method takes sar_i2c_io::W
writer structure
source§impl Writable for STATUS_SPEC
impl Writable for STATUS_SPEC
write(|w| ..)
method takes status::W
writer structure
source§impl Writable for STATUS_W1TC_SPEC
impl Writable for STATUS_W1TC_SPEC
write(|w| ..)
method takes status_w1tc::W
writer structure
source§impl Writable for STATUS_W1TS_SPEC
impl Writable for STATUS_W1TS_SPEC
write(|w| ..)
method takes status_w1ts::W
writer structure
source§impl Writable for TOUCH_PAD_SPEC
impl Writable for TOUCH_PAD_SPEC
write(|w| ..)
method takes touch_pad::W
writer structure
source§impl Writable for XTAL_32N_PAD_SPEC
impl Writable for XTAL_32N_PAD_SPEC
write(|w| ..)
method takes xtal_32n_pad::W
writer structure
source§impl Writable for XTAL_32P_PAD_SPEC
impl Writable for XTAL_32P_PAD_SPEC
write(|w| ..)
method takes xtal_32p_pad::W
writer structure
source§impl Writable for XTL_EXT_CTR_SPEC
impl Writable for XTL_EXT_CTR_SPEC
write(|w| ..)
method takes xtl_ext_ctr::W
writer structure
source§impl Writable for SAR_COCPU_INT_CLR_SPEC
impl Writable for SAR_COCPU_INT_CLR_SPEC
write(|w| ..)
method takes sar_cocpu_int_clr::W
writer structure
source§impl Writable for SAR_COCPU_INT_ENA_SPEC
impl Writable for SAR_COCPU_INT_ENA_SPEC
write(|w| ..)
method takes sar_cocpu_int_ena::W
writer structure
source§impl Writable for SAR_I2C_CTRL_SPEC
impl Writable for SAR_I2C_CTRL_SPEC
write(|w| ..)
method takes sar_i2c_ctrl::W
writer structure
source§impl Writable for SAR_SLAVE_ADDR1_SPEC
impl Writable for SAR_SLAVE_ADDR1_SPEC
write(|w| ..)
method takes sar_slave_addr1::W
writer structure
source§impl Writable for SAR_SLAVE_ADDR2_SPEC
impl Writable for SAR_SLAVE_ADDR2_SPEC
write(|w| ..)
method takes sar_slave_addr2::W
writer structure
source§impl Writable for SAR_SLAVE_ADDR3_SPEC
impl Writable for SAR_SLAVE_ADDR3_SPEC
write(|w| ..)
method takes sar_slave_addr3::W
writer structure
source§impl Writable for SAR_SLAVE_ADDR4_SPEC
impl Writable for SAR_SLAVE_ADDR4_SPEC
write(|w| ..)
method takes sar_slave_addr4::W
writer structure