1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 0x08],
5 dsp_boot_rammap: DSP_BOOT_RAMMAP,
6 _reserved1: [u8; 0x18],
7 ver: VER,
8 _reserved2: [u8; 0x08],
9 emac_ephy_clk0: EMAC_EPHY_CLK0,
10 _reserved3: [u8; 0x011c],
11 sys_ldo_ctrl: SYS_LDO_CTRL,
12 _reserved4: [u8; 0x0c],
13 rescal_ctrl: RESCAL_CTRL,
14 _reserved5: [u8; 0x04],
15 res240_ctrl: RES240_CTRL,
16 rescal_status: RESCAL_STATUS,
17}
18impl RegisterBlock {
19 #[doc = "0x08 - DSP Boot SRAM Remap Control Register"]
20 #[inline(always)]
21 pub const fn dsp_boot_rammap(&self) -> &DSP_BOOT_RAMMAP {
22 &self.dsp_boot_rammap
23 }
24 #[doc = "0x24 - Version Register"]
25 #[inline(always)]
26 pub const fn ver(&self) -> &VER {
27 &self.ver
28 }
29 #[doc = "0x30 - EMAC-EPHY Clock Register 0"]
30 #[inline(always)]
31 pub const fn emac_ephy_clk0(&self) -> &EMAC_EPHY_CLK0 {
32 &self.emac_ephy_clk0
33 }
34 #[doc = "0x150 - System LDO Control Register"]
35 #[inline(always)]
36 pub const fn sys_ldo_ctrl(&self) -> &SYS_LDO_CTRL {
37 &self.sys_ldo_ctrl
38 }
39 #[doc = "0x160 - Resistor Calibration Control Register"]
40 #[inline(always)]
41 pub const fn rescal_ctrl(&self) -> &RESCAL_CTRL {
42 &self.rescal_ctrl
43 }
44 #[doc = "0x168 - 240ohms Resistor Manual Control Register"]
45 #[inline(always)]
46 pub const fn res240_ctrl(&self) -> &RES240_CTRL {
47 &self.res240_ctrl
48 }
49 #[doc = "0x16c - Resistor Calibration Status Register"]
50 #[inline(always)]
51 pub const fn rescal_status(&self) -> &RESCAL_STATUS {
52 &self.rescal_status
53 }
54}
55#[doc = "dsp_boot_rammap (rw) register accessor: DSP Boot SRAM Remap Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dsp_boot_rammap::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`dsp_boot_rammap::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@dsp_boot_rammap`] module"]
56pub type DSP_BOOT_RAMMAP = crate::Reg<dsp_boot_rammap::DSP_BOOT_RAMMAP_SPEC>;
57#[doc = "DSP Boot SRAM Remap Control Register"]
58pub mod dsp_boot_rammap;
59#[doc = "ver (r) register accessor: Version Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ver::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ver`] module"]
60pub type VER = crate::Reg<ver::VER_SPEC>;
61#[doc = "Version Register"]
62pub mod ver;
63#[doc = "emac_ephy_clk0 (rw) register accessor: EMAC-EPHY Clock Register 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_ephy_clk0::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_ephy_clk0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_ephy_clk0`] module"]
64pub type EMAC_EPHY_CLK0 = crate::Reg<emac_ephy_clk0::EMAC_EPHY_CLK0_SPEC>;
65#[doc = "EMAC-EPHY Clock Register 0"]
66pub mod emac_ephy_clk0;
67#[doc = "sys_ldo_ctrl (rw) register accessor: System LDO Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sys_ldo_ctrl::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`sys_ldo_ctrl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sys_ldo_ctrl`] module"]
68pub type SYS_LDO_CTRL = crate::Reg<sys_ldo_ctrl::SYS_LDO_CTRL_SPEC>;
69#[doc = "System LDO Control Register"]
70pub mod sys_ldo_ctrl;
71#[doc = "rescal_ctrl (rw) register accessor: Resistor Calibration Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rescal_ctrl::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`rescal_ctrl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rescal_ctrl`] module"]
72pub type RESCAL_CTRL = crate::Reg<rescal_ctrl::RESCAL_CTRL_SPEC>;
73#[doc = "Resistor Calibration Control Register"]
74pub mod rescal_ctrl;
75#[doc = "res240_ctrl (rw) register accessor: 240ohms Resistor Manual Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`res240_ctrl::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`res240_ctrl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@res240_ctrl`] module"]
76pub type RES240_CTRL = crate::Reg<res240_ctrl::RES240_CTRL_SPEC>;
77#[doc = "240ohms Resistor Manual Control Register"]
78pub mod res240_ctrl;
79#[doc = "rescal_status (r) register accessor: Resistor Calibration Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rescal_status::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rescal_status`] module"]
80pub type RESCAL_STATUS = crate::Reg<rescal_status::RESCAL_STATUS_SPEC>;
81#[doc = "Resistor Calibration Status Register"]
82pub mod rescal_status;