pub type R = crate::R<CNVTIMRrs>;
pub type CNVCNT_R = crate::FieldReader<u32>;
impl R {
#[inline(always)]
pub fn cnvcnt(&self) -> CNVCNT_R {
CNVCNT_R::new((self.bits >> 4) & 0x0fff_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CNVTIMR").field("cnvcnt", &self.cnvcnt()).finish()
}
}
pub struct CNVTIMRrs;
impl crate::RegisterSpec for CNVTIMRrs {
type Ux = u32;
}
impl crate::Readable for CNVTIMRrs {}
impl crate::Resettable for CNVTIMRrs {}