1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#[doc = "Register `RX_FRAMES_COUNT_GOOD_BAD` reader"]
pub type R = crate::R<RxFramesCountGoodBadSpec>;
#[doc = "Field `RXFRMGB` reader - This field indicates the number of received good and bad frames."]
pub type RxfrmgbR = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:31 - This field indicates the number of received good and bad frames."]
    #[inline(always)]
    pub fn rxfrmgb(&self) -> RxfrmgbR {
        RxfrmgbR::new(self.bits)
    }
}
#[doc = "Receive Frame Count for Good and Bad Frames\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rx_frames_count_good_bad::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct RxFramesCountGoodBadSpec;
impl crate::RegisterSpec for RxFramesCountGoodBadSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`rx_frames_count_good_bad::R`](R) reader structure"]
impl crate::Readable for RxFramesCountGoodBadSpec {}
#[doc = "`reset()` method sets RX_FRAMES_COUNT_GOOD_BAD to value 0"]
impl crate::Resettable for RxFramesCountGoodBadSpec {
    const RESET_VALUE: u32 = 0;
}