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