#[doc = "Register `GPBR4` reader"] pub type R = crate::R<Gpbr4Spec>; #[doc = "Register `GPBR4` writer"] pub type W = crate::W<Gpbr4Spec>; #[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<Gpbr4Spec> { GpbrValueW::new(self, 0) } } #[doc = "General Purpose Backup Register 4\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`gpbr4::R`](R). You can [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`gpbr4::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] pub struct Gpbr4Spec; impl crate::RegisterSpec for Gpbr4Spec { type Ux = u32; } #[doc = "`read()` method returns [`gpbr4::R`](R) reader structure"] impl crate::Readable for Gpbr4Spec {} #[doc = "`write(|w| ..)` method takes [`gpbr4::W`](W) writer structure"] impl crate::Writable for Gpbr4Spec { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; }