#[doc = "Register `BUS1_ACS_HIT_CNT` reader"]
pub type R = crate::R<BUS1_ACS_HIT_CNT_SPEC>;
#[doc = "Field `BUS1_HIT_CNT` reader - The register records the number of hits when bus1 accesses Cache."]
pub type BUS1_HIT_CNT_R = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:31 - The register records the number of hits when bus1 accesses Cache."]
    #[inline(always)]
    pub fn bus1_hit_cnt(&self) -> BUS1_HIT_CNT_R {
        BUS1_HIT_CNT_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("BUS1_ACS_HIT_CNT")
            .field("bus1_hit_cnt", &self.bus1_hit_cnt())
            .finish()
    }
}
#[doc = "Cache bus1 Hit-Access Counter register\n\nYou can [`read`](crate::Reg::read) this register and get [`bus1_acs_hit_cnt::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct BUS1_ACS_HIT_CNT_SPEC;
impl crate::RegisterSpec for BUS1_ACS_HIT_CNT_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`bus1_acs_hit_cnt::R`](R) reader structure"]
impl crate::Readable for BUS1_ACS_HIT_CNT_SPEC {}
#[doc = "`reset()` method sets BUS1_ACS_HIT_CNT to value 0"]
impl crate::Resettable for BUS1_ACS_HIT_CNT_SPEC {}
