#[doc = "Register `LACTRTC` reader"]
pub type R = crate::R<LACTRTC_SPEC>;
#[doc = "Register `LACTRTC` writer"]
pub type W = crate::W<LACTRTC_SPEC>;
#[doc = "Field `RTC_STEP_LEN` reader - Reserved."]
pub type RTC_STEP_LEN_R = crate::FieldReader<u32>;
#[doc = "Field `RTC_STEP_LEN` writer - Reserved."]
pub type RTC_STEP_LEN_W<'a, REG> = crate::FieldWriter<'a, REG, 26, u32>;
impl R {
    #[doc = "Bits 6:31 - Reserved."]
    #[inline(always)]
    pub fn rtc_step_len(&self) -> RTC_STEP_LEN_R {
        RTC_STEP_LEN_R::new((self.bits >> 6) & 0x03ff_ffff)
    }
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("LACTRTC")
            .field("rtc_step_len", &self.rtc_step_len())
            .finish()
    }
}
impl W {
    #[doc = "Bits 6:31 - Reserved."]
    #[inline(always)]
    pub fn rtc_step_len(&mut self) -> RTC_STEP_LEN_W<'_, LACTRTC_SPEC> {
        RTC_STEP_LEN_W::new(self, 6)
    }
}
#[doc = "LACT RTC register\n\nYou can [`read`](crate::Reg::read) this register and get [`lactrtc::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lactrtc::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct LACTRTC_SPEC;
impl crate::RegisterSpec for LACTRTC_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`lactrtc::R`](R) reader structure"]
impl crate::Readable for LACTRTC_SPEC {}
#[doc = "`write(|w| ..)` method takes [`lactrtc::W`](W) writer structure"]
impl crate::Writable for LACTRTC_SPEC {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets LACTRTC to value 0"]
impl crate::Resettable for LACTRTC_SPEC {}
