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 _reserved7: [u8; 0x34],
12 ecrd: ECRD,
13 _reserved8: [u8; 0x2c],
14 midr: MIDR,
15}
16impl RegisterBlock {
17 #[doc = "0x00 - Global Control Register"]
18 #[inline(always)]
19 pub const fn gctrl(&self) -> &GCTRL {
20 &self.gctrl
21 }
22 #[doc = "0x04 - Global Status Register"]
23 #[inline(always)]
24 pub const fn gstat(&self) -> &GSTAT {
25 &self.gstat
26 }
27 #[doc = "0x08 - Global Idle Set"]
28 #[inline(always)]
29 pub const fn gidls(&self) -> &GIDLS {
30 &self.gidls
31 }
32 #[doc = "0x0c - Global Idle Clear"]
33 #[inline(always)]
34 pub const fn gidlc(&self) -> &GIDLC {
35 &self.gidlc
36 }
37 #[doc = "0x10 - Global Channel Set"]
38 #[inline(always)]
39 pub const fn gcss(&self) -> &GCSS {
40 &self.gcss
41 }
42 #[doc = "0x14 - Global Channel Clear"]
43 #[inline(always)]
44 pub const fn gcsc(&self) -> &GCSC {
45 &self.gcsc
46 }
47 #[doc = "0x18 - Global Channel Status"]
48 #[inline(always)]
49 pub const fn gcst(&self) -> &GCST {
50 &self.gcst
51 }
52 #[doc = "0x50 - Extended Capture Mode Read"]
53 #[inline(always)]
54 pub const fn ecrd(&self) -> &ECRD {
55 &self.ecrd
56 }
57 #[doc = "0x80 - Module Identification"]
58 #[inline(always)]
59 pub const fn midr(&self) -> &MIDR {
60 &self.midr
61 }
62}
63#[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`]
64module"]
65pub type GCTRL = crate::Reg<gctrl::GCTRL_SPEC>;
66#[doc = "Global Control Register"]
67pub mod gctrl;
68#[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`]
69module"]
70pub type GSTAT = crate::Reg<gstat::GSTAT_SPEC>;
71#[doc = "Global Status Register"]
72pub mod gstat;
73#[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`]
74module"]
75pub type GIDLS = crate::Reg<gidls::GIDLS_SPEC>;
76#[doc = "Global Idle Set"]
77pub mod gidls;
78#[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`]
79module"]
80pub type GIDLC = crate::Reg<gidlc::GIDLC_SPEC>;
81#[doc = "Global Idle Clear"]
82pub mod gidlc;
83#[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`]
84module"]
85pub type GCSS = crate::Reg<gcss::GCSS_SPEC>;
86#[doc = "Global Channel Set"]
87pub mod gcss;
88#[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`]
89module"]
90pub type GCSC = crate::Reg<gcsc::GCSC_SPEC>;
91#[doc = "Global Channel Clear"]
92pub mod gcsc;
93#[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`]
94module"]
95pub type GCST = crate::Reg<gcst::GCST_SPEC>;
96#[doc = "Global Channel Status"]
97pub mod gcst;
98#[doc = "ECRD (r) register accessor: Extended Capture Mode Read\n\nYou can [`read`](crate::Reg::read) this register and get [`ecrd::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\n<div class=\"warning\">One or more dependent resources other than the current register are immediately affected by a read operation.</div>\n\nFor information about available fields see [`mod@ecrd`]
99module"]
100pub type ECRD = crate::Reg<ecrd::ECRD_SPEC>;
101#[doc = "Extended Capture Mode Read"]
102pub mod ecrd;
103#[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`]
104module"]
105pub type MIDR = crate::Reg<midr::MIDR_SPEC>;
106#[doc = "Module Identification"]
107pub mod midr;