#[doc = "Register `GPBR1` reader"] pub type R = crate::R<Gpbr1Spec>; #[doc = "Register `GPBR1` writer"] pub type W = crate::W<Gpbr1Spec>; #[doc = "Field `GPBR_VALUE` reader - Value of GPBR x"] pub type GpbrValueR = crate::FieldReader<u32>; #[doc = "Field `GPBR_VALUE` writer - Value of GPBR x"] pub type GpbrValueW<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>; impl R { #[doc = "Bits 0:31 - Value of GPBR x"] #[inline(always)] pub fn gpbr_value(&self) -> GpbrValueR { GpbrValueR::new(self.bits) } } impl W { #[doc = "Bits 0:31 - Value of GPBR x"] #[inline(always)] #[must_use] pub fn gpbr_value(&mut self) -> GpbrValueW<Gpbr1Spec> { GpbrValueW::new(self, 0) } } #[doc = "General Purpose Backup Register 1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`gpbr1::R`](R). You can [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`gpbr1::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] pub struct Gpbr1Spec; impl crate::RegisterSpec for Gpbr1Spec { type Ux = u32; } #[doc = "`read()` method returns [`gpbr1::R`](R) reader structure"] impl crate::Readable for Gpbr1Spec {} #[doc = "`write(|w| ..)` method takes [`gpbr1::W`](W) writer structure"] impl crate::Writable for Gpbr1Spec { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; }