1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 enable: Enable,
5 resync: Resync,
6 intfl: Intfl,
7 inten: Inten,
8 safe_en: SafeEn,
9 safe_dis: SafeDis,
10}
11impl RegisterBlock {
12 #[doc = "0x00 - Global Enable/Disable Controls for All Pulse Trains"]
13 #[inline(always)]
14 pub const fn enable(&self) -> &Enable {
15 &self.enable
16 }
17 #[doc = "0x04 - Global Resync (All Pulse Trains) Control"]
18 #[inline(always)]
19 pub const fn resync(&self) -> &Resync {
20 &self.resync
21 }
22 #[doc = "0x08 - Pulse Train Interrupt Flags"]
23 #[inline(always)]
24 pub const fn intfl(&self) -> &Intfl {
25 &self.intfl
26 }
27 #[doc = "0x0c - Pulse Train Interrupt Enable/Disable"]
28 #[inline(always)]
29 pub const fn inten(&self) -> &Inten {
30 &self.inten
31 }
32 #[doc = "0x10 - Pulse Train Global Safe Enable."]
33 #[inline(always)]
34 pub const fn safe_en(&self) -> &SafeEn {
35 &self.safe_en
36 }
37 #[doc = "0x14 - Pulse Train Global Safe Disable."]
38 #[inline(always)]
39 pub const fn safe_dis(&self) -> &SafeDis {
40 &self.safe_dis
41 }
42}
43#[doc = "ENABLE (rw) register accessor: Global Enable/Disable Controls for All Pulse Trains\n\nYou can [`read`](crate::Reg::read) this register and get [`enable::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`enable::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@enable`]
44module"]
45#[doc(alias = "ENABLE")]
46pub type Enable = crate::Reg<enable::EnableSpec>;
47#[doc = "Global Enable/Disable Controls for All Pulse Trains"]
48pub mod enable;
49#[doc = "RESYNC (rw) register accessor: Global Resync (All Pulse Trains) Control\n\nYou can [`read`](crate::Reg::read) this register and get [`resync::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`resync::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@resync`]
50module"]
51#[doc(alias = "RESYNC")]
52pub type Resync = crate::Reg<resync::ResyncSpec>;
53#[doc = "Global Resync (All Pulse Trains) Control"]
54pub mod resync;
55#[doc = "INTFL (rw) register accessor: Pulse Train Interrupt Flags\n\nYou can [`read`](crate::Reg::read) this register and get [`intfl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`intfl::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@intfl`]
56module"]
57#[doc(alias = "INTFL")]
58pub type Intfl = crate::Reg<intfl::IntflSpec>;
59#[doc = "Pulse Train Interrupt Flags"]
60pub mod intfl;
61#[doc = "INTEN (rw) register accessor: Pulse Train Interrupt Enable/Disable\n\nYou can [`read`](crate::Reg::read) this register and get [`inten::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`inten::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@inten`]
62module"]
63#[doc(alias = "INTEN")]
64pub type Inten = crate::Reg<inten::IntenSpec>;
65#[doc = "Pulse Train Interrupt Enable/Disable"]
66pub mod inten;
67#[doc = "SAFE_EN (w) register accessor: Pulse Train Global Safe Enable.\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`safe_en::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@safe_en`]
68module"]
69#[doc(alias = "SAFE_EN")]
70pub type SafeEn = crate::Reg<safe_en::SafeEnSpec>;
71#[doc = "Pulse Train Global Safe Enable."]
72pub mod safe_en;
73#[doc = "SAFE_DIS (w) register accessor: Pulse Train Global Safe Disable.\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`safe_dis::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@safe_dis`]
74module"]
75#[doc(alias = "SAFE_DIS")]
76pub type SafeDis = crate::Reg<safe_dis::SafeDisSpec>;
77#[doc = "Pulse Train Global Safe Disable."]
78pub mod safe_dis;