#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
cr: CR,
cfr: CFR,
sr: SR,
}
impl RegisterBlock {
#[doc = "0x00 - WWDG control register"]
#[inline(always)]
pub const fn cr(&self) -> &CR {
&self.cr
}
#[doc = "0x04 - WWDG configuration register"]
#[inline(always)]
pub const fn cfr(&self) -> &CFR {
&self.cfr
}
#[doc = "0x08 - WWDG status register"]
#[inline(always)]
pub const fn sr(&self) -> &SR {
&self.sr
}
}
#[doc = "CR (rw) register accessor: WWDG control register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cr::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 [`cr::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@cr`]
module"]
pub type CR = crate::Reg<cr::CRrs>;
#[doc = "WWDG control register"]
pub mod cr;
#[doc = "CFR (rw) register accessor: WWDG configuration register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cfr::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 [`cfr::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@cfr`]
module"]
pub type CFR = crate::Reg<cfr::CFRrs>;
#[doc = "WWDG configuration register"]
pub mod cfr;
#[doc = "SR (rw) register accessor: WWDG status register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`sr::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 [`sr::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@sr`]
module"]
pub type SR = crate::Reg<sr::SRrs>;
#[doc = "WWDG status register"]
pub mod sr;