esp32c6_lp/
lp_i2c_ana_mst.rs1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 i2c0_ctrl: I2C0_CTRL,
6 i2c0_conf: I2C0_CONF,
7 i2c0_data: I2C0_DATA,
8 ana_conf1: ANA_CONF1,
9 nouse: NOUSE,
10 device_en: DEVICE_EN,
11 _reserved6: [u8; 0x03e4],
12 date: DATE,
13}
14impl RegisterBlock {
15 #[doc = "0x00 - need_des"]
16 #[inline(always)]
17 pub const fn i2c0_ctrl(&self) -> &I2C0_CTRL {
18 &self.i2c0_ctrl
19 }
20 #[doc = "0x04 - need_des"]
21 #[inline(always)]
22 pub const fn i2c0_conf(&self) -> &I2C0_CONF {
23 &self.i2c0_conf
24 }
25 #[doc = "0x08 - need_des"]
26 #[inline(always)]
27 pub const fn i2c0_data(&self) -> &I2C0_DATA {
28 &self.i2c0_data
29 }
30 #[doc = "0x0c - need_des"]
31 #[inline(always)]
32 pub const fn ana_conf1(&self) -> &ANA_CONF1 {
33 &self.ana_conf1
34 }
35 #[doc = "0x10 - need_des"]
36 #[inline(always)]
37 pub const fn nouse(&self) -> &NOUSE {
38 &self.nouse
39 }
40 #[doc = "0x14 - need_des"]
41 #[inline(always)]
42 pub const fn device_en(&self) -> &DEVICE_EN {
43 &self.device_en
44 }
45 #[doc = "0x3fc - need_des"]
46 #[inline(always)]
47 pub const fn date(&self) -> &DATE {
48 &self.date
49 }
50}
51#[doc = "I2C0_CTRL (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`i2c0_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`i2c0_ctrl::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@i2c0_ctrl`] module"]
52pub type I2C0_CTRL = crate::Reg<i2c0_ctrl::I2C0_CTRL_SPEC>;
53#[doc = "need_des"]
54pub mod i2c0_ctrl;
55#[doc = "I2C0_CONF (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`i2c0_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`i2c0_conf::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@i2c0_conf`] module"]
56pub type I2C0_CONF = crate::Reg<i2c0_conf::I2C0_CONF_SPEC>;
57#[doc = "need_des"]
58pub mod i2c0_conf;
59#[doc = "I2C0_DATA (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`i2c0_data::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`i2c0_data::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@i2c0_data`] module"]
60pub type I2C0_DATA = crate::Reg<i2c0_data::I2C0_DATA_SPEC>;
61#[doc = "need_des"]
62pub mod i2c0_data;
63#[doc = "ANA_CONF1 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`ana_conf1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ana_conf1::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@ana_conf1`] module"]
64pub type ANA_CONF1 = crate::Reg<ana_conf1::ANA_CONF1_SPEC>;
65#[doc = "need_des"]
66pub mod ana_conf1;
67#[doc = "NOUSE (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`nouse::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`nouse::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@nouse`] module"]
68pub type NOUSE = crate::Reg<nouse::NOUSE_SPEC>;
69#[doc = "need_des"]
70pub mod nouse;
71#[doc = "DEVICE_EN (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`device_en::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`device_en::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@device_en`] module"]
72pub type DEVICE_EN = crate::Reg<device_en::DEVICE_EN_SPEC>;
73#[doc = "need_des"]
74pub mod device_en;
75#[doc = "DATE (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`date::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`date::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@date`] module"]
76pub type DATE = crate::Reg<date::DATE_SPEC>;
77#[doc = "need_des"]
78pub mod date;