1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - System Control."]
5 pub scon: SCON,
6 #[doc = "0x04 - Reset."]
7 pub rst0: RST0,
8 #[doc = "0x08 - Clock Control."]
9 pub clk_ctrl: CLK_CTRL,
10 #[doc = "0x0c - Power Management."]
11 pub pm: PM,
12 _reserved4: [u8; 0x14],
13 #[doc = "0x24 - Peripheral Clock Disable."]
14 pub pclk_dis0: PCLK_DIS0,
15 #[doc = "0x28 - Memory Clock Control."]
16 pub mem_ctrl: MEM_CTRL,
17 #[doc = "0x2c - Memory Zeroize Control."]
18 pub mem_zctrl: MEM_ZCTRL,
19 _reserved7: [u8; 0x10],
20 #[doc = "0x40 - System Status."]
21 pub sys_stat: SYS_STAT,
22 #[doc = "0x44 - Reset 1."]
23 pub rst1: RST1,
24 #[doc = "0x48 - Peripheral Clock Disable."]
25 pub pclk_dis1: PCLK_DIS1,
26 #[doc = "0x4c - Event Enable."]
27 pub evten: EVTEN,
28 #[doc = "0x50 - Revision."]
29 pub rev: REV,
30 #[doc = "0x54 - System Status Interrupt Enable."]
31 pub sys_ie: SYS_IE,
32}
33#[doc = "SCON (rw) register accessor: System Control.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`scon::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 [`scon::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 [`scon`]
34module"]
35pub type SCON = crate::Reg<scon::SCON_SPEC>;
36#[doc = "System Control."]
37pub mod scon;
38#[doc = "RST0 (rw) register accessor: Reset.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rst0::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 [`rst0::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 [`rst0`]
39module"]
40pub type RST0 = crate::Reg<rst0::RST0_SPEC>;
41#[doc = "Reset."]
42pub mod rst0;
43#[doc = "CLK_CTRL (rw) register accessor: Clock Control.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`clk_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 [`clk_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 [`clk_ctrl`]
44module"]
45pub type CLK_CTRL = crate::Reg<clk_ctrl::CLK_CTRL_SPEC>;
46#[doc = "Clock Control."]
47pub mod clk_ctrl;
48#[doc = "PM (rw) register accessor: Power Management.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pm::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 [`pm::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 [`pm`]
49module"]
50pub type PM = crate::Reg<pm::PM_SPEC>;
51#[doc = "Power Management."]
52pub mod pm;
53#[doc = "PCLK_DIS0 (rw) register accessor: Peripheral Clock Disable.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pclk_dis0::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 [`pclk_dis0::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 [`pclk_dis0`]
54module"]
55pub type PCLK_DIS0 = crate::Reg<pclk_dis0::PCLK_DIS0_SPEC>;
56#[doc = "Peripheral Clock Disable."]
57pub mod pclk_dis0;
58#[doc = "MEM_CTRL (rw) register accessor: Memory Clock Control.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`mem_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 [`mem_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 [`mem_ctrl`]
59module"]
60pub type MEM_CTRL = crate::Reg<mem_ctrl::MEM_CTRL_SPEC>;
61#[doc = "Memory Clock Control."]
62pub mod mem_ctrl;
63#[doc = "MEM_ZCTRL (rw) register accessor: Memory Zeroize Control.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`mem_zctrl::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 [`mem_zctrl::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 [`mem_zctrl`]
64module"]
65pub type MEM_ZCTRL = crate::Reg<mem_zctrl::MEM_ZCTRL_SPEC>;
66#[doc = "Memory Zeroize Control."]
67pub mod mem_zctrl;
68#[doc = "SYS_STAT (rw) register accessor: System Status.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sys_stat::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_stat::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 [`sys_stat`]
69module"]
70pub type SYS_STAT = crate::Reg<sys_stat::SYS_STAT_SPEC>;
71#[doc = "System Status."]
72pub mod sys_stat;
73#[doc = "RST1 (rw) register accessor: Reset 1.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rst1::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 [`rst1::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 [`rst1`]
74module"]
75pub type RST1 = crate::Reg<rst1::RST1_SPEC>;
76#[doc = "Reset 1."]
77pub mod rst1;
78#[doc = "PCLK_DIS1 (rw) register accessor: Peripheral Clock Disable.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pclk_dis1::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 [`pclk_dis1::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 [`pclk_dis1`]
79module"]
80pub type PCLK_DIS1 = crate::Reg<pclk_dis1::PCLK_DIS1_SPEC>;
81#[doc = "Peripheral Clock Disable."]
82pub mod pclk_dis1;
83#[doc = "EVTEN (rw) register accessor: Event Enable.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evten::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 [`evten::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 [`evten`]
84module"]
85pub type EVTEN = crate::Reg<evten::EVTEN_SPEC>;
86#[doc = "Event Enable."]
87pub mod evten;
88#[doc = "REV (r) register accessor: Revision.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rev::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`rev`]
89module"]
90pub type REV = crate::Reg<rev::REV_SPEC>;
91#[doc = "Revision."]
92pub mod rev;
93#[doc = "SYS_IE (rw) register accessor: System Status Interrupt Enable.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sys_ie::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_ie::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 [`sys_ie`]
94module"]
95pub type SYS_IE = crate::Reg<sys_ie::SYS_IE_SPEC>;
96#[doc = "System Status Interrupt Enable."]
97pub mod sys_ie;