#[doc = "Register `HW_SPARE_RO3` reader"]
pub type R = crate::R<HwSpareRo3Spec>;
#[doc = "Register `HW_SPARE_RO3` writer"]
pub type W = crate::W<HwSpareRo3Spec>;
#[doc = "Field `hw_spare_ro3` reader - 31:0\\]
Reserved for HW R&D"]
pub type HwSpareRo3R = crate::FieldReader<u32>;
#[doc = "Field `hw_spare_ro3` writer - 31:0\\]
Reserved for HW R&D"]
pub type HwSpareRo3W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[doc = "Bits 0:31 - 31:0\\]
Reserved for HW R&D"]
#[inline(always)]
pub fn hw_spare_ro3(&self) -> HwSpareRo3R {
HwSpareRo3R::new(self.bits)
}
}
impl W {
#[doc = "Bits 0:31 - 31:0\\]
Reserved for HW R&D"]
#[inline(always)]
#[must_use]
pub fn hw_spare_ro3(&mut self) -> HwSpareRo3W<HwSpareRo3Spec> {
HwSpareRo3W::new(self, 0)
}
}
#[doc = "HW_SPARE_RO3\n\nYou can [`read`](crate::Reg::read) this register and get [`hw_spare_ro3::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hw_spare_ro3::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct HwSpareRo3Spec;
impl crate::RegisterSpec for HwSpareRo3Spec {
type Ux = u32;
}
#[doc = "`read()` method returns [`hw_spare_ro3::R`](R) reader structure"]
impl crate::Readable for HwSpareRo3Spec {}
#[doc = "`write(|w| ..)` method takes [`hw_spare_ro3::W`](W) writer structure"]
impl crate::Writable for HwSpareRo3Spec {
type Safety = crate::Unsafe;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets HW_SPARE_RO3 to value 0"]
impl crate::Resettable for HwSpareRo3Spec {
const RESET_VALUE: u32 = 0;
}