1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 cr: Cr,
5 smmr: Smmr,
6 mr: Mr,
7 wumr: Wumr,
8 wuir: Wuir,
9 sr: Sr,
10}
11impl RegisterBlock {
12 #[doc = "0x00 - Supply Controller Control Register"]
13 #[inline(always)]
14 pub const fn cr(&self) -> &Cr {
15 &self.cr
16 }
17 #[doc = "0x04 - Supply Controller Supply Monitor Mode Register"]
18 #[inline(always)]
19 pub const fn smmr(&self) -> &Smmr {
20 &self.smmr
21 }
22 #[doc = "0x08 - Supply Controller Mode Register"]
23 #[inline(always)]
24 pub const fn mr(&self) -> &Mr {
25 &self.mr
26 }
27 #[doc = "0x0c - Supply Controller Wake-up Mode Register"]
28 #[inline(always)]
29 pub const fn wumr(&self) -> &Wumr {
30 &self.wumr
31 }
32 #[doc = "0x10 - Supply Controller Wake-up Inputs Register"]
33 #[inline(always)]
34 pub const fn wuir(&self) -> &Wuir {
35 &self.wuir
36 }
37 #[doc = "0x14 - Supply Controller Status Register"]
38 #[inline(always)]
39 pub const fn sr(&self) -> &Sr {
40 &self.sr
41 }
42}
43#[doc = "CR (w) register accessor: Supply Controller Control Register\n\nYou can [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`cr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cr`]
44module"]
45#[doc(alias = "CR")]
46pub type Cr = crate::Reg<cr::CrSpec>;
47#[doc = "Supply Controller Control Register"]
48pub mod cr;
49#[doc = "SMMR (rw) register accessor: Supply Controller Supply Monitor Mode Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`smmr::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 [`smmr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@smmr`]
50module"]
51#[doc(alias = "SMMR")]
52pub type Smmr = crate::Reg<smmr::SmmrSpec>;
53#[doc = "Supply Controller Supply Monitor Mode Register"]
54pub mod smmr;
55#[doc = "MR (rw) register accessor: Supply Controller Mode Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`mr::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 [`mr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@mr`]
56module"]
57#[doc(alias = "MR")]
58pub type Mr = crate::Reg<mr::MrSpec>;
59#[doc = "Supply Controller Mode Register"]
60pub mod mr;
61#[doc = "WUMR (rw) register accessor: Supply Controller Wake-up Mode Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`wumr::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 [`wumr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@wumr`]
62module"]
63#[doc(alias = "WUMR")]
64pub type Wumr = crate::Reg<wumr::WumrSpec>;
65#[doc = "Supply Controller Wake-up Mode Register"]
66pub mod wumr;
67#[doc = "WUIR (rw) register accessor: Supply Controller Wake-up Inputs Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`wuir::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 [`wuir::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@wuir`]
68module"]
69#[doc(alias = "WUIR")]
70pub type Wuir = crate::Reg<wuir::WuirSpec>;
71#[doc = "Supply Controller Wake-up Inputs Register"]
72pub mod wuir;
73#[doc = "SR (r) register accessor: Supply Controller Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sr`]
74module"]
75#[doc(alias = "SR")]
76pub type Sr = crate::Reg<sr::SrSpec>;
77#[doc = "Supply Controller Status Register"]
78pub mod sr;