va416xx 0.5.0

PAC for the Vorago VA416xx family of MCUs
Documentation
#[doc = "Register `SYSTIME_SECSUPDAT` reader"]
pub type R = crate::R<SystimeSecsupdatSpec>;
#[doc = "Register `SYSTIME_SECSUPDAT` writer"]
pub type W = crate::W<SystimeSecsupdatSpec>;
#[doc = "Field `TSS` reader - Timestamp Second"]
pub type TssR = crate::FieldReader<u32>;
#[doc = "Field `TSS` writer - Timestamp Second"]
pub type TssW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - Timestamp Second"]
    #[inline(always)]
    pub fn tss(&self) -> TssR {
        TssR::new(self.bits)
    }
}
impl W {
    #[doc = "Bits 0:31 - Timestamp Second"]
    #[inline(always)]
    pub fn tss(&mut self) -> TssW<'_, SystimeSecsupdatSpec> {
        TssW::new(self, 0)
    }
}
#[doc = "Holds the lower 32 bits of the second field to be written to, added to, or subtracted from the system time value\n\nYou can [`read`](crate::Reg::read) this register and get [`systime_secsupdat::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`systime_secsupdat::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct SystimeSecsupdatSpec;
impl crate::RegisterSpec for SystimeSecsupdatSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`systime_secsupdat::R`](R) reader structure"]
impl crate::Readable for SystimeSecsupdatSpec {}
#[doc = "`write(|w| ..)` method takes [`systime_secsupdat::W`](W) writer structure"]
impl crate::Writable for SystimeSecsupdatSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets SYSTIME_SECSUPDAT to value 0"]
impl crate::Resettable for SystimeSecsupdatSpec {}