pub type R = crate::R<INITrs>;
pub type W = crate::W<INITrs>;
pub type INIT_R = crate::FieldReader<u32>;
pub type INIT_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32, crate::Safe>;
impl R {
#[inline(always)]
pub fn init(&self) -> INIT_R {
INIT_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("INIT").field("init", &self.init()).finish()
}
}
impl W {
#[inline(always)]
pub fn init(&mut self) -> INIT_W<INITrs> {
INIT_W::new(self, 0)
}
}
pub struct INITrs;
impl crate::RegisterSpec for INITrs {
type Ux = u32;
}
impl crate::Readable for INITrs {}
impl crate::Writable for INITrs {
type Safety = crate::Safe;
}
impl crate::Resettable for INITrs {}