#[doc = "Register `REDUNDANCY_SIG1` reader"]
pub type R = crate::R<REDUNDANCY_SIG1_SPEC>;
#[doc = "Register `REDUNDANCY_SIG1` writer"]
pub type W = crate::W<REDUNDANCY_SIG1_SPEC>;
#[doc = "Field `CACHE_REDCY_SIG1` reader - Those bits are prepared for ECO."]
pub type CACHE_REDCY_SIG1_R = crate::FieldReader<u32>;
#[doc = "Field `CACHE_REDCY_SIG1` writer - Those bits are prepared for ECO."]
pub type CACHE_REDCY_SIG1_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[doc = "Bits 0:31 - Those bits are prepared for ECO."]
#[inline(always)]
pub fn cache_redcy_sig1(&self) -> CACHE_REDCY_SIG1_R {
CACHE_REDCY_SIG1_R::new(self.bits)
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("REDUNDANCY_SIG1")
.field("cache_redcy_sig1", &self.cache_redcy_sig1())
.finish()
}
}
impl W {
#[doc = "Bits 0:31 - Those bits are prepared for ECO."]
#[inline(always)]
pub fn cache_redcy_sig1(&mut self) -> CACHE_REDCY_SIG1_W<'_, REDUNDANCY_SIG1_SPEC> {
CACHE_REDCY_SIG1_W::new(self, 0)
}
}
#[doc = "Cache redundancy signal 1 register\n\nYou can [`read`](crate::Reg::read) this register and get [`redundancy_sig1::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`redundancy_sig1::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct REDUNDANCY_SIG1_SPEC;
impl crate::RegisterSpec for REDUNDANCY_SIG1_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`redundancy_sig1::R`](R) reader structure"]
impl crate::Readable for REDUNDANCY_SIG1_SPEC {}
#[doc = "`write(|w| ..)` method takes [`redundancy_sig1::W`](W) writer structure"]
impl crate::Writable for REDUNDANCY_SIG1_SPEC {
type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets REDUNDANCY_SIG1 to value 0"]
impl crate::Resettable for REDUNDANCY_SIG1_SPEC {}