esp32c6/
modem_syscon.rs

1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5    test_conf: TEST_CONF,
6    clk_conf: CLK_CONF,
7    clk_conf_force_on: CLK_CONF_FORCE_ON,
8    clk_conf_power_st: CLK_CONF_POWER_ST,
9    modem_rst_conf: MODEM_RST_CONF,
10    clk_conf1: CLK_CONF1,
11    clk_conf1_force_on: CLK_CONF1_FORCE_ON,
12    wifi_bb_cfg: WIFI_BB_CFG,
13    mem_conf: MEM_CONF,
14    date: DATE,
15}
16impl RegisterBlock {
17    #[doc = "0x00 - "]
18    #[inline(always)]
19    pub const fn test_conf(&self) -> &TEST_CONF {
20        &self.test_conf
21    }
22    #[doc = "0x04 - "]
23    #[inline(always)]
24    pub const fn clk_conf(&self) -> &CLK_CONF {
25        &self.clk_conf
26    }
27    #[doc = "0x08 - "]
28    #[inline(always)]
29    pub const fn clk_conf_force_on(&self) -> &CLK_CONF_FORCE_ON {
30        &self.clk_conf_force_on
31    }
32    #[doc = "0x0c - "]
33    #[inline(always)]
34    pub const fn clk_conf_power_st(&self) -> &CLK_CONF_POWER_ST {
35        &self.clk_conf_power_st
36    }
37    #[doc = "0x10 - "]
38    #[inline(always)]
39    pub const fn modem_rst_conf(&self) -> &MODEM_RST_CONF {
40        &self.modem_rst_conf
41    }
42    #[doc = "0x14 - "]
43    #[inline(always)]
44    pub const fn clk_conf1(&self) -> &CLK_CONF1 {
45        &self.clk_conf1
46    }
47    #[doc = "0x18 - "]
48    #[inline(always)]
49    pub const fn clk_conf1_force_on(&self) -> &CLK_CONF1_FORCE_ON {
50        &self.clk_conf1_force_on
51    }
52    #[doc = "0x1c - "]
53    #[inline(always)]
54    pub const fn wifi_bb_cfg(&self) -> &WIFI_BB_CFG {
55        &self.wifi_bb_cfg
56    }
57    #[doc = "0x20 - "]
58    #[inline(always)]
59    pub const fn mem_conf(&self) -> &MEM_CONF {
60        &self.mem_conf
61    }
62    #[doc = "0x24 - "]
63    #[inline(always)]
64    pub const fn date(&self) -> &DATE {
65        &self.date
66    }
67}
68#[doc = "TEST_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`test_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`test_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@test_conf`] module"]
69pub type TEST_CONF = crate::Reg<test_conf::TEST_CONF_SPEC>;
70#[doc = ""]
71pub mod test_conf;
72#[doc = "CLK_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`clk_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clk_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@clk_conf`] module"]
73pub type CLK_CONF = crate::Reg<clk_conf::CLK_CONF_SPEC>;
74#[doc = ""]
75pub mod clk_conf;
76#[doc = "CLK_CONF_FORCE_ON (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`clk_conf_force_on::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clk_conf_force_on::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@clk_conf_force_on`] module"]
77pub type CLK_CONF_FORCE_ON = crate::Reg<clk_conf_force_on::CLK_CONF_FORCE_ON_SPEC>;
78#[doc = ""]
79pub mod clk_conf_force_on;
80#[doc = "CLK_CONF_POWER_ST (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`clk_conf_power_st::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clk_conf_power_st::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@clk_conf_power_st`] module"]
81pub type CLK_CONF_POWER_ST = crate::Reg<clk_conf_power_st::CLK_CONF_POWER_ST_SPEC>;
82#[doc = ""]
83pub mod clk_conf_power_st;
84#[doc = "MODEM_RST_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`modem_rst_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`modem_rst_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@modem_rst_conf`] module"]
85pub type MODEM_RST_CONF = crate::Reg<modem_rst_conf::MODEM_RST_CONF_SPEC>;
86#[doc = ""]
87pub mod modem_rst_conf;
88#[doc = "CLK_CONF1 (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`clk_conf1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clk_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@clk_conf1`] module"]
89pub type CLK_CONF1 = crate::Reg<clk_conf1::CLK_CONF1_SPEC>;
90#[doc = ""]
91pub mod clk_conf1;
92#[doc = "CLK_CONF1_FORCE_ON (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`clk_conf1_force_on::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clk_conf1_force_on::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@clk_conf1_force_on`] module"]
93pub type CLK_CONF1_FORCE_ON = crate::Reg<clk_conf1_force_on::CLK_CONF1_FORCE_ON_SPEC>;
94#[doc = ""]
95pub mod clk_conf1_force_on;
96#[doc = "WIFI_BB_CFG (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`wifi_bb_cfg::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wifi_bb_cfg::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@wifi_bb_cfg`] module"]
97pub type WIFI_BB_CFG = crate::Reg<wifi_bb_cfg::WIFI_BB_CFG_SPEC>;
98#[doc = ""]
99pub mod wifi_bb_cfg;
100#[doc = "MEM_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`mem_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`mem_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@mem_conf`] module"]
101pub type MEM_CONF = crate::Reg<mem_conf::MEM_CONF_SPEC>;
102#[doc = ""]
103pub mod mem_conf;
104#[doc = "DATE (rw) register accessor: \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"]
105pub type DATE = crate::Reg<date::DATE_SPEC>;
106#[doc = ""]
107pub mod date;