1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 gctrl: GCTRL,
5 gstat: GSTAT,
6 gidls: GIDLS,
7 gidlc: GIDLC,
8 gcss: GCSS,
9 gcsc: GCSC,
10 gcst: GCST,
11 gpchk: GPCHK,
12 _reserved8: [u8; 0x60],
13 midr: MIDR,
14}
15impl RegisterBlock {
16 #[doc = "0x00 - Global Control Register"]
17 #[inline(always)]
18 pub const fn gctrl(&self) -> &GCTRL {
19 &self.gctrl
20 }
21 #[doc = "0x04 - Global Status Register"]
22 #[inline(always)]
23 pub const fn gstat(&self) -> &GSTAT {
24 &self.gstat
25 }
26 #[doc = "0x08 - Global Idle Set"]
27 #[inline(always)]
28 pub const fn gidls(&self) -> &GIDLS {
29 &self.gidls
30 }
31 #[doc = "0x0c - Global Idle Clear"]
32 #[inline(always)]
33 pub const fn gidlc(&self) -> &GIDLC {
34 &self.gidlc
35 }
36 #[doc = "0x10 - Global Channel Set"]
37 #[inline(always)]
38 pub const fn gcss(&self) -> &GCSS {
39 &self.gcss
40 }
41 #[doc = "0x14 - Global Channel Clear"]
42 #[inline(always)]
43 pub const fn gcsc(&self) -> &GCSC {
44 &self.gcsc
45 }
46 #[doc = "0x18 - Global Channel status"]
47 #[inline(always)]
48 pub const fn gcst(&self) -> &GCST {
49 &self.gcst
50 }
51 #[doc = "0x1c - Parity Checker Configuration"]
52 #[inline(always)]
53 pub const fn gpchk(&self) -> &GPCHK {
54 &self.gpchk
55 }
56 #[doc = "0x80 - Module Identification"]
57 #[inline(always)]
58 pub const fn midr(&self) -> &MIDR {
59 &self.midr
60 }
61}
62#[doc = "GCTRL (rw) register accessor: Global Control Register\n\nYou can [`read`](crate::Reg::read) this register and get [`gctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gctrl::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@gctrl`]
63module"]
64pub type GCTRL = crate::Reg<gctrl::GCTRL_SPEC>;
65#[doc = "Global Control Register"]
66pub mod gctrl;
67#[doc = "GSTAT (r) register accessor: Global Status Register\n\nYou can [`read`](crate::Reg::read) this register and get [`gstat::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@gstat`]
68module"]
69pub type GSTAT = crate::Reg<gstat::GSTAT_SPEC>;
70#[doc = "Global Status Register"]
71pub mod gstat;
72#[doc = "GIDLS (w) register accessor: Global Idle Set\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gidls::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@gidls`]
73module"]
74pub type GIDLS = crate::Reg<gidls::GIDLS_SPEC>;
75#[doc = "Global Idle Set"]
76pub mod gidls;
77#[doc = "GIDLC (w) register accessor: Global Idle Clear\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gidlc::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@gidlc`]
78module"]
79pub type GIDLC = crate::Reg<gidlc::GIDLC_SPEC>;
80#[doc = "Global Idle Clear"]
81pub mod gidlc;
82#[doc = "GCSS (w) register accessor: Global Channel Set\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gcss::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@gcss`]
83module"]
84pub type GCSS = crate::Reg<gcss::GCSS_SPEC>;
85#[doc = "Global Channel Set"]
86pub mod gcss;
87#[doc = "GCSC (w) register accessor: Global Channel Clear\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gcsc::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@gcsc`]
88module"]
89pub type GCSC = crate::Reg<gcsc::GCSC_SPEC>;
90#[doc = "Global Channel Clear"]
91pub mod gcsc;
92#[doc = "GCST (r) register accessor: Global Channel status\n\nYou can [`read`](crate::Reg::read) this register and get [`gcst::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@gcst`]
93module"]
94pub type GCST = crate::Reg<gcst::GCST_SPEC>;
95#[doc = "Global Channel status"]
96pub mod gcst;
97#[doc = "GPCHK (rw) register accessor: Parity Checker Configuration\n\nYou can [`read`](crate::Reg::read) this register and get [`gpchk::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gpchk::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@gpchk`]
98module"]
99pub type GPCHK = crate::Reg<gpchk::GPCHK_SPEC>;
100#[doc = "Parity Checker Configuration"]
101pub mod gpchk;
102#[doc = "MIDR (r) register accessor: Module Identification\n\nYou can [`read`](crate::Reg::read) this register and get [`midr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@midr`]
103module"]
104pub type MIDR = crate::Reg<midr::MIDR_SPEC>;
105#[doc = "Module Identification"]
106pub mod midr;