esp32s2/
i2c_ana_mst.rs

1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5    config2: CONFIG2,
6    _reserved1: [u8; 0x40],
7    config1: CONFIG1,
8    config0: CONFIG0,
9}
10impl RegisterBlock {
11    #[doc = "0x00 - I2C RTC Configuration register 2"]
12    #[inline(always)]
13    pub const fn config2(&self) -> &CONFIG2 {
14        &self.config2
15    }
16    #[doc = "0x44 - I2C RTC Configuration register 1"]
17    #[inline(always)]
18    pub const fn config1(&self) -> &CONFIG1 {
19        &self.config1
20    }
21    #[doc = "0x48 - I2C RTC Configuration register 0"]
22    #[inline(always)]
23    pub const fn config0(&self) -> &CONFIG0 {
24        &self.config0
25    }
26}
27#[doc = "CONFIG2 (rw) register accessor: I2C RTC Configuration register 2\n\nYou can [`read`](crate::Reg::read) this register and get [`config2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`config2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@config2`] module"]
28pub type CONFIG2 = crate::Reg<config2::CONFIG2_SPEC>;
29#[doc = "I2C RTC Configuration register 2"]
30pub mod config2;
31#[doc = "CONFIG1 (rw) register accessor: I2C RTC Configuration register 1\n\nYou can [`read`](crate::Reg::read) this register and get [`config1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`config1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@config1`] module"]
32pub type CONFIG1 = crate::Reg<config1::CONFIG1_SPEC>;
33#[doc = "I2C RTC Configuration register 1"]
34pub mod config1;
35#[doc = "CONFIG0 (rw) register accessor: I2C RTC Configuration register 0\n\nYou can [`read`](crate::Reg::read) this register and get [`config0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`config0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@config0`] module"]
36pub type CONFIG0 = crate::Reg<config0::CONFIG0_SPEC>;
37#[doc = "I2C RTC Configuration register 0"]
38pub mod config0;