stm32l476 0.2.0

Peripheral access API for the STM32L476 microcontroller
Documentation
#[doc = "Register `BKP28R` reader"]
pub type R = crate::R<Bkp28rSpec>;
#[doc = "Register `BKP28R` writer"]
pub type W = crate::W<Bkp28rSpec>;
#[doc = "Field `BKP` reader - BKP"]
pub type BkpR = crate::FieldReader<u32>;
#[doc = "Field `BKP` writer - BKP"]
pub type BkpW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - BKP"]
    #[inline(always)]
    pub fn bkp(&self) -> BkpR {
        BkpR::new(self.bits)
    }
}
impl W {
    #[doc = "Bits 0:31 - BKP"]
    #[inline(always)]
    pub fn bkp(&mut self) -> BkpW<Bkp28rSpec> {
        BkpW::new(self, 0)
    }
}
#[doc = "backup register\n\nYou can [`read`](crate::Reg::read) this register and get [`bkp28r::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`bkp28r::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct Bkp28rSpec;
impl crate::RegisterSpec for Bkp28rSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`bkp28r::R`](R) reader structure"]
impl crate::Readable for Bkp28rSpec {}
#[doc = "`write(|w| ..)` method takes [`bkp28r::W`](W) writer structure"]
impl crate::Writable for Bkp28rSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets BKP28R to value 0"]
impl crate::Resettable for Bkp28rSpec {}