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