#[doc = "Register `CNVTIMR` reader"]
pub struct R(crate::R<CNVTIMR_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<CNVTIMR_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<CNVTIMR_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<CNVTIMR_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Field `CNVCNT` reader - 28-bit timer counting conversion time t = CNVCNT\\[27:0\\]
/ fDFSDM_CKIN"]
pub type CNVCNT_R = crate::FieldReader<u32, u32>;
impl R {
    #[doc = "Bits 4:31 - 28-bit timer counting conversion time t = CNVCNT\\[27:0\\]
/ fDFSDM_CKIN"]
    #[inline(always)]
    pub fn cnvcnt(&self) -> CNVCNT_R {
        CNVCNT_R::new(((self.bits >> 4) & 0x0fff_ffff) as u32)
    }
}
#[doc = "conversion timer register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [cnvtimr](index.html) module"]
pub struct CNVTIMR_SPEC;
impl crate::RegisterSpec for CNVTIMR_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [cnvtimr::R](R) reader structure"]
impl crate::Readable for CNVTIMR_SPEC {
    type Reader = R;
}
#[doc = "`reset()` method sets CNVTIMR to value 0"]
impl crate::Resettable for CNVTIMR_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}
