esp32c5 0.2.2

Peripheral access crate for the ESP32-C5
Documentation
#[doc = "Register `DBUS0_ACS_NXTLVL_WR_CNT` reader"]
pub type R = crate::R<DBUS0_ACS_NXTLVL_WR_CNT_SPEC>;
#[doc = "Field `BUS0_NXTLVL_WR_CNT` reader - The register records the number of write back when bus0 accesses Cache."]
pub type BUS0_NXTLVL_WR_CNT_R = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:31 - The register records the number of write back when bus0 accesses Cache."]
    #[inline(always)]
    pub fn bus0_nxtlvl_wr_cnt(&self) -> BUS0_NXTLVL_WR_CNT_R {
        BUS0_NXTLVL_WR_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("DBUS0_ACS_NXTLVL_WR_CNT")
            .field("bus0_nxtlvl_wr_cnt", &self.bus0_nxtlvl_wr_cnt())
            .finish()
    }
}
#[doc = "DCache bus0 WB-Access Counter register\n\nYou can [`read`](crate::Reg::read) this register and get [`dbus0_acs_nxtlvl_wr_cnt::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct DBUS0_ACS_NXTLVL_WR_CNT_SPEC;
impl crate::RegisterSpec for DBUS0_ACS_NXTLVL_WR_CNT_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`dbus0_acs_nxtlvl_wr_cnt::R`](R) reader structure"]
impl crate::Readable for DBUS0_ACS_NXTLVL_WR_CNT_SPEC {}
#[doc = "`reset()` method sets DBUS0_ACS_NXTLVL_WR_CNT to value 0"]
impl crate::Resettable for DBUS0_ACS_NXTLVL_WR_CNT_SPEC {}