#[doc = "Register `PRO_CACHE_4` reader"]
pub type R = crate::R<PRO_CACHE_4_SPEC>;
#[doc = "Field `PRO_CACHE_ILG_ST_D` reader - Record the illegitimate information of Dcache to access memory. \\[16\\]: access enable, active low. \\[15:4\\]: store the bits \\[11:0\\] of address. \\[3:0\\]: Dcache bus write byte enables, active low."]
pub type PRO_CACHE_ILG_ST_D_R = crate::FieldReader<u32>;
impl R {
#[doc = "Bits 0:16 - Record the illegitimate information of Dcache to access memory. \\[16\\]: access enable, active low. \\[15:4\\]: store the bits \\[11:0\\] of address. \\[3:0\\]: Dcache bus write byte enables, active low."]
#[inline(always)]
pub fn pro_cache_ilg_st_d(&self) -> PRO_CACHE_ILG_ST_D_R {
PRO_CACHE_ILG_ST_D_R::new(self.bits & 0x0001_ffff)
}
}
#[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("PRO_CACHE_4")
.field("pro_cache_ilg_st_d", &self.pro_cache_ilg_st_d())
.finish()
}
}
#[doc = "Dcache status register.\n\nYou can [`read`](crate::Reg::read) this register and get [`pro_cache_4::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct PRO_CACHE_4_SPEC;
impl crate::RegisterSpec for PRO_CACHE_4_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`pro_cache_4::R`](R) reader structure"]
impl crate::Readable for PRO_CACHE_4_SPEC {}
#[doc = "`reset()` method sets PRO_CACHE_4 to value 0"]
impl crate::Resettable for PRO_CACHE_4_SPEC {
const RESET_VALUE: u32 = 0;
}