esp32c3/extmem/
dbus_acs_flash_miss_cnt.rs

1#[doc = "Register `DBUS_ACS_FLASH_MISS_CNT` reader"]
2pub type R = crate::R<DBUS_ACS_FLASH_MISS_CNT_SPEC>;
3#[doc = "Field `DBUS_ACS_FLASH_MISS_CNT` reader - The bits are used to count the number of the cache miss caused by dbus access flash."]
4pub type DBUS_ACS_FLASH_MISS_CNT_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - The bits are used to count the number of the cache miss caused by dbus access flash."]
7    #[inline(always)]
8    pub fn dbus_acs_flash_miss_cnt(&self) -> DBUS_ACS_FLASH_MISS_CNT_R {
9        DBUS_ACS_FLASH_MISS_CNT_R::new(self.bits)
10    }
11}
12#[cfg(feature = "impl-register-debug")]
13impl core::fmt::Debug for R {
14    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
15        f.debug_struct("DBUS_ACS_FLASH_MISS_CNT")
16            .field("dbus_acs_flash_miss_cnt", &self.dbus_acs_flash_miss_cnt())
17            .finish()
18    }
19}
20#[doc = "This description will be updated in the near future.\n\nYou can [`read`](crate::Reg::read) this register and get [`dbus_acs_flash_miss_cnt::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct DBUS_ACS_FLASH_MISS_CNT_SPEC;
22impl crate::RegisterSpec for DBUS_ACS_FLASH_MISS_CNT_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`dbus_acs_flash_miss_cnt::R`](R) reader structure"]
26impl crate::Readable for DBUS_ACS_FLASH_MISS_CNT_SPEC {}
27#[doc = "`reset()` method sets DBUS_ACS_FLASH_MISS_CNT to value 0"]
28impl crate::Resettable for DBUS_ACS_FLASH_MISS_CNT_SPEC {}