#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
cr: Cr,
smmr: Smmr,
mr: Mr,
wumr: Wumr,
wuir: Wuir,
sr: Sr,
}
impl RegisterBlock {
#[doc = "0x00 - Supply Controller Control Register"]
#[inline(always)]
pub const fn cr(&self) -> &Cr {
&self.cr
}
#[doc = "0x04 - Supply Controller Supply Monitor Mode Register"]
#[inline(always)]
pub const fn smmr(&self) -> &Smmr {
&self.smmr
}
#[doc = "0x08 - Supply Controller Mode Register"]
#[inline(always)]
pub const fn mr(&self) -> &Mr {
&self.mr
}
#[doc = "0x0c - Supply Controller Wake Up Mode Register"]
#[inline(always)]
pub const fn wumr(&self) -> &Wumr {
&self.wumr
}
#[doc = "0x10 - Supply Controller Wake Up Inputs Register"]
#[inline(always)]
pub const fn wuir(&self) -> &Wuir {
&self.wuir
}
#[doc = "0x14 - Supply Controller Status Register"]
#[inline(always)]
pub const fn sr(&self) -> &Sr {
&self.sr
}
}
#[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`]
module"]
#[doc(alias = "CR")]
pub type Cr = crate::Reg<cr::CrSpec>;
#[doc = "Supply Controller Control Register"]
pub mod cr;
#[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`]
module"]
#[doc(alias = "SMMR")]
pub type Smmr = crate::Reg<smmr::SmmrSpec>;
#[doc = "Supply Controller Supply Monitor Mode Register"]
pub mod smmr;
#[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`]
module"]
#[doc(alias = "MR")]
pub type Mr = crate::Reg<mr::MrSpec>;
#[doc = "Supply Controller Mode Register"]
pub mod mr;
#[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`]
module"]
#[doc(alias = "WUMR")]
pub type Wumr = crate::Reg<wumr::WumrSpec>;
#[doc = "Supply Controller Wake Up Mode Register"]
pub mod wumr;
#[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`]
module"]
#[doc(alias = "WUIR")]
pub type Wuir = crate::Reg<wuir::WuirSpec>;
#[doc = "Supply Controller Wake Up Inputs Register"]
pub mod wuir;
#[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`]
module"]
#[doc(alias = "SR")]
pub type Sr = crate::Reg<sr::SrSpec>;
#[doc = "Supply Controller Status Register"]
pub mod sr;