1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#[doc = "Register `DDRMON_CH0_COUNT_NUM` reader"]
pub type R = crate::R<DdrmonCh0CountNumSpec>;
#[doc = "Field `CH0_DFI_COUNT_NUM` reader - Timer count number in the statistics range of the channel 0, the value should be divided by 2 as actual timer count."]
pub type Ch0DfiCountNumR = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:31 - Timer count number in the statistics range of the channel 0, the value should be divided by 2 as actual timer count."]
    #[inline(always)]
    pub fn ch0_dfi_count_num(&self) -> Ch0DfiCountNumR {
        Ch0DfiCountNumR::new(self.bits)
    }
}
#[doc = "Channel 0 Timer Count Number\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ddrmon_ch0_count_num::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct DdrmonCh0CountNumSpec;
impl crate::RegisterSpec for DdrmonCh0CountNumSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`ddrmon_ch0_count_num::R`](R) reader structure"]
impl crate::Readable for DdrmonCh0CountNumSpec {}
#[doc = "`reset()` method sets DDRMON_CH0_COUNT_NUM to value 0"]
impl crate::Resettable for DdrmonCh0CountNumSpec {
    const RESET_VALUE: u32 = 0;
}