1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 frce_on: FRCE_ON,
5 frce_off: FRCE_OFF,
6 wdsel: WDSEL,
7 done: DONE,
8}
9impl RegisterBlock {
10#[doc = "0x00 - Force block out of reset (i.e. power it on)"]
11 #[inline(always)]
12pub const fn frce_on(&self) -> &FRCE_ON {
13&self.frce_on
14 }
15#[doc = "0x04 - Force into reset (i.e. power it off)"]
16 #[inline(always)]
17pub const fn frce_off(&self) -> &FRCE_OFF {
18&self.frce_off
19 }
20#[doc = "0x08 - Set to 1 if this peripheral should be reset when the watchdog fires."]
21 #[inline(always)]
22pub const fn wdsel(&self) -> &WDSEL {
23&self.wdsel
24 }
25#[doc = "0x0c - Indicates the peripheral's registers are ready to access."]
26 #[inline(always)]
27pub const fn done(&self) -> &DONE {
28&self.done
29 }
30}
31#[doc = "FRCE_ON (rw) register accessor: Force block out of reset (i.e. power it on)
3233You can [`read`](crate::generic::Reg::read) this register and get [`frce_on::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 [`frce_on::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
3435For information about available fields see [`mod@frce_on`]
36module"]
37pub type FRCE_ON = crate::Reg<frce_on::FRCE_ON_SPEC>;
38#[doc = "Force block out of reset (i.e. power it on)"]
39pub mod frce_on;
40#[doc = "FRCE_OFF (rw) register accessor: Force into reset (i.e. power it off)
4142You can [`read`](crate::generic::Reg::read) this register and get [`frce_off::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 [`frce_off::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
4344For information about available fields see [`mod@frce_off`]
45module"]
46pub type FRCE_OFF = crate::Reg<frce_off::FRCE_OFF_SPEC>;
47#[doc = "Force into reset (i.e. power it off)"]
48pub mod frce_off;
49#[doc = "WDSEL (rw) register accessor: Set to 1 if this peripheral should be reset when the watchdog fires.
5051You can [`read`](crate::generic::Reg::read) this register and get [`wdsel::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 [`wdsel::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
5253For information about available fields see [`mod@wdsel`]
54module"]
55pub type WDSEL = crate::Reg<wdsel::WDSEL_SPEC>;
56#[doc = "Set to 1 if this peripheral should be reset when the watchdog fires."]
57pub mod wdsel;
58#[doc = "DONE (r) register accessor: Indicates the peripheral's registers are ready to access.
5960You can [`read`](crate::generic::Reg::read) this register and get [`done::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
6162For information about available fields see [`mod@done`]
63module"]
64pub type DONE = crate::Reg<done::DONE_SPEC>;
65#[doc = "Indicates the peripheral's registers are ready to access."]
66pub mod done;