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