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_CONTROL_FRAMES_GOOD` reader"]
pub type R = crate::R<RxControlFramesGoodSpec>;
#[doc = "Field `RXCTRLG` reader - This field indicates the number of frames received with error because of the watchdog timeout error (frames with more than 2,048 bytes data load)."]
pub type RxctrlgR = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:31 - This field indicates the number of frames received with error because of the watchdog timeout error (frames with more than 2,048 bytes data load)."]
    #[inline(always)]
    pub fn rxctrlg(&self) -> RxctrlgR {
        RxctrlgR::new(self.bits)
    }
}
#[doc = "Receive Frame Count for Good Control Frames Frames\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rx_control_frames_good::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct RxControlFramesGoodSpec;
impl crate::RegisterSpec for RxControlFramesGoodSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`rx_control_frames_good::R`](R) reader structure"]
impl crate::Readable for RxControlFramesGoodSpec {}
#[doc = "`reset()` method sets RX_CONTROL_FRAMES_GOOD to value 0"]
impl crate::Resettable for RxControlFramesGoodSpec {
    const RESET_VALUE: u32 = 0;
}