#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
pmmctl0: Pmmctl0,
pmmctl1: Pmmctl1,
svsmhctl: Svsmhctl,
svsmlctl: Svsmlctl,
svsmio: Svsmio,
_reserved5: [u8; 0x02],
pmmifg: Pmmifg,
pmmrie: Pmmrie,
}
impl RegisterBlock {
#[doc = "0x00 - PMM Control 0"]
#[inline(always)]
pub const fn pmmctl0(&self) -> &Pmmctl0 {
&self.pmmctl0
}
#[doc = "0x02 - PMM Control 1"]
#[inline(always)]
pub const fn pmmctl1(&self) -> &Pmmctl1 {
&self.pmmctl1
}
#[doc = "0x04 - SVS and SVM high side control register"]
#[inline(always)]
pub const fn svsmhctl(&self) -> &Svsmhctl {
&self.svsmhctl
}
#[doc = "0x06 - SVS and SVM low side control register"]
#[inline(always)]
pub const fn svsmlctl(&self) -> &Svsmlctl {
&self.svsmlctl
}
#[doc = "0x08 - SVSIN and SVSOUT control register"]
#[inline(always)]
pub const fn svsmio(&self) -> &Svsmio {
&self.svsmio
}
#[doc = "0x0c - PMM Interrupt Flag"]
#[inline(always)]
pub const fn pmmifg(&self) -> &Pmmifg {
&self.pmmifg
}
#[doc = "0x0e - PMM and RESET Interrupt Enable"]
#[inline(always)]
pub const fn pmmrie(&self) -> &Pmmrie {
&self.pmmrie
}
}
#[doc = "PMMCTL0 (rw) register accessor: PMM Control 0\n\nYou can [`read`](crate::Reg::read) this register and get [`pmmctl0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pmmctl0::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@pmmctl0`] module"]
#[doc(alias = "PMMCTL0")]
pub type Pmmctl0 = crate::Reg<pmmctl0::Pmmctl0Spec>;
#[doc = "PMM Control 0"]
pub mod pmmctl0;
#[doc = "PMMCTL1 (rw) register accessor: PMM Control 1\n\nYou can [`read`](crate::Reg::read) this register and get [`pmmctl1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pmmctl1::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@pmmctl1`] module"]
#[doc(alias = "PMMCTL1")]
pub type Pmmctl1 = crate::Reg<pmmctl1::Pmmctl1Spec>;
#[doc = "PMM Control 1"]
pub mod pmmctl1;
#[doc = "SVSMHCTL (rw) register accessor: SVS and SVM high side control register\n\nYou can [`read`](crate::Reg::read) this register and get [`svsmhctl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`svsmhctl::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@svsmhctl`] module"]
#[doc(alias = "SVSMHCTL")]
pub type Svsmhctl = crate::Reg<svsmhctl::SvsmhctlSpec>;
#[doc = "SVS and SVM high side control register"]
pub mod svsmhctl;
#[doc = "SVSMLCTL (rw) register accessor: SVS and SVM low side control register\n\nYou can [`read`](crate::Reg::read) this register and get [`svsmlctl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`svsmlctl::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@svsmlctl`] module"]
#[doc(alias = "SVSMLCTL")]
pub type Svsmlctl = crate::Reg<svsmlctl::SvsmlctlSpec>;
#[doc = "SVS and SVM low side control register"]
pub mod svsmlctl;
#[doc = "SVSMIO (rw) register accessor: SVSIN and SVSOUT control register\n\nYou can [`read`](crate::Reg::read) this register and get [`svsmio::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`svsmio::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@svsmio`] module"]
#[doc(alias = "SVSMIO")]
pub type Svsmio = crate::Reg<svsmio::SvsmioSpec>;
#[doc = "SVSIN and SVSOUT control register"]
pub mod svsmio;
#[doc = "PMMIFG (rw) register accessor: PMM Interrupt Flag\n\nYou can [`read`](crate::Reg::read) this register and get [`pmmifg::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pmmifg::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@pmmifg`] module"]
#[doc(alias = "PMMIFG")]
pub type Pmmifg = crate::Reg<pmmifg::PmmifgSpec>;
#[doc = "PMM Interrupt Flag"]
pub mod pmmifg;
#[doc = "PMMRIE (rw) register accessor: PMM and RESET Interrupt Enable\n\nYou can [`read`](crate::Reg::read) this register and get [`pmmrie::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pmmrie::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@pmmrie`] module"]
#[doc(alias = "PMMRIE")]
pub type Pmmrie = crate::Reg<pmmrie::PmmrieSpec>;
#[doc = "PMM and RESET Interrupt Enable"]
pub mod pmmrie;