1#[repr(C)]
2#[cfg_attr(feature = "debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 _reserved0: [u8; 0x10],
6 sys_ctlr: SysCtlr,
7 gexp_status_ie: GexpStatusIe,
8 gexp_status: GexpStatus,
9 _reserved3: [u8; 0x14],
10 op_ctrl: OpCtrl,
11 _reserved4: [u8; 0x04],
12 res_status_ie: ResStatusIe,
13 res_status: ResStatus,
14 res0: Res0,
15 res1: Res1,
16 res2: Res2,
17 res3: Res3,
18}
19impl RegisterBlock {
20 #[doc = "0x10 - System Control"]
21 #[inline(always)]
22 pub const fn sys_ctlr(&self) -> &SysCtlr {
23 &self.sys_ctlr
24 }
25 #[doc = "0x14 - General Exception Status Interrupt Enable"]
26 #[inline(always)]
27 pub const fn gexp_status_ie(&self) -> &GexpStatusIe {
28 &self.gexp_status_ie
29 }
30 #[doc = "0x18 - General Exception Status"]
31 #[inline(always)]
32 pub const fn gexp_status(&self) -> &GexpStatus {
33 &self.gexp_status
34 }
35 #[doc = "0x30 - Operation Control"]
36 #[inline(always)]
37 pub const fn op_ctrl(&self) -> &OpCtrl {
38 &self.op_ctrl
39 }
40 #[doc = "0x38 - Result Status Interrupt Enable"]
41 #[inline(always)]
42 pub const fn res_status_ie(&self) -> &ResStatusIe {
43 &self.res_status_ie
44 }
45 #[doc = "0x3c - Result Status"]
46 #[inline(always)]
47 pub const fn res_status(&self) -> &ResStatus {
48 &self.res_status
49 }
50 #[doc = "0x40 - Result Register 0"]
51 #[inline(always)]
52 pub const fn res0(&self) -> &Res0 {
53 &self.res0
54 }
55 #[doc = "0x44 - Result Register 1"]
56 #[inline(always)]
57 pub const fn res1(&self) -> &Res1 {
58 &self.res1
59 }
60 #[doc = "0x48 - Result Register 2"]
61 #[inline(always)]
62 pub const fn res2(&self) -> &Res2 {
63 &self.res2
64 }
65 #[doc = "0x4c - Result Register 3"]
66 #[inline(always)]
67 pub const fn res3(&self) -> &Res3 {
68 &self.res3
69 }
70}
71#[doc = "SYS_CTLR (rw) register accessor: System Control\n\nYou can [`read`](crate::Reg::read) this register and get [`sys_ctlr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sys_ctlr::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@sys_ctlr`] module"]
72#[doc(alias = "SYS_CTLR")]
73pub type SysCtlr = crate::Reg<sys_ctlr::SysCtlrSpec>;
74#[doc = "System Control"]
75pub mod sys_ctlr;
76#[doc = "GEXP_STATUS_IE (rw) register accessor: General Exception Status Interrupt Enable\n\nYou can [`read`](crate::Reg::read) this register and get [`gexp_status_ie::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gexp_status_ie::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@gexp_status_ie`] module"]
77#[doc(alias = "GEXP_STATUS_IE")]
78pub type GexpStatusIe = crate::Reg<gexp_status_ie::GexpStatusIeSpec>;
79#[doc = "General Exception Status Interrupt Enable"]
80pub mod gexp_status_ie;
81#[doc = "GEXP_STATUS (rw) register accessor: General Exception Status\n\nYou can [`read`](crate::Reg::read) this register and get [`gexp_status::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gexp_status::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@gexp_status`] module"]
82#[doc(alias = "GEXP_STATUS")]
83pub type GexpStatus = crate::Reg<gexp_status::GexpStatusSpec>;
84#[doc = "General Exception Status"]
85pub mod gexp_status;
86#[doc = "OP_CTRL (rw) register accessor: Operation Control\n\nYou can [`read`](crate::Reg::read) this register and get [`op_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`op_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@op_ctrl`] module"]
87#[doc(alias = "OP_CTRL")]
88pub type OpCtrl = crate::Reg<op_ctrl::OpCtrlSpec>;
89#[doc = "Operation Control"]
90pub mod op_ctrl;
91#[doc = "RES_STATUS_IE (rw) register accessor: Result Status Interrupt Enable\n\nYou can [`read`](crate::Reg::read) this register and get [`res_status_ie::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`res_status_ie::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@res_status_ie`] module"]
92#[doc(alias = "RES_STATUS_IE")]
93pub type ResStatusIe = crate::Reg<res_status_ie::ResStatusIeSpec>;
94#[doc = "Result Status Interrupt Enable"]
95pub mod res_status_ie;
96#[doc = "RES_STATUS (rw) register accessor: Result Status\n\nYou can [`read`](crate::Reg::read) this register and get [`res_status::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`res_status::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@res_status`] module"]
97#[doc(alias = "RES_STATUS")]
98pub type ResStatus = crate::Reg<res_status::ResStatusSpec>;
99#[doc = "Result Status"]
100pub mod res_status;
101#[doc = "RES0 (rw) register accessor: Result Register 0\n\nYou can [`read`](crate::Reg::read) this register and get [`res0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`res0::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@res0`] module"]
102#[doc(alias = "RES0")]
103pub type Res0 = crate::Reg<res0::Res0Spec>;
104#[doc = "Result Register 0"]
105pub mod res0;
106#[doc = "RES1 (rw) register accessor: Result Register 1\n\nYou can [`read`](crate::Reg::read) this register and get [`res1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`res1::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@res1`] module"]
107#[doc(alias = "RES1")]
108pub type Res1 = crate::Reg<res1::Res1Spec>;
109#[doc = "Result Register 1"]
110pub mod res1;
111#[doc = "RES2 (rw) register accessor: Result Register 2\n\nYou can [`read`](crate::Reg::read) this register and get [`res2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`res2::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@res2`] module"]
112#[doc(alias = "RES2")]
113pub type Res2 = crate::Reg<res2::Res2Spec>;
114#[doc = "Result Register 2"]
115pub mod res2;
116#[doc = "RES3 (rw) register accessor: Result Register 3\n\nYou can [`read`](crate::Reg::read) this register and get [`res3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`res3::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@res3`] module"]
117#[doc(alias = "RES3")]
118pub type Res3 = crate::Reg<res3::Res3Spec>;
119#[doc = "Result Register 3"]
120pub mod res3;