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_1024TOMAXOCTETS_FRAMES_GOOD_BAD` reader"]
pub type R = crate::R<Rx1024tomaxoctetsFramesGoodBadSpec>;
#[doc = "Field `RX1024_MAXOCTGB` reader - This field indicates the number of received good and bad frames with length between 1,024 and maxsize (inclusive) bytes, exclusive of preamble and retried frames."]
pub type Rx1024MaxoctgbR = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:31 - This field indicates the number of received good and bad frames with length between 1,024 and maxsize (inclusive) bytes, exclusive of preamble and retried frames."]
    #[inline(always)]
    pub fn rx1024_maxoctgb(&self) -> Rx1024MaxoctgbR {
        Rx1024MaxoctgbR::new(self.bits)
    }
}
#[doc = "Receive Frame Count for Good and Bad 1,024 to Maxsize Bytes Frames\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rx_1024tomaxoctets_frames_good_bad::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct Rx1024tomaxoctetsFramesGoodBadSpec;
impl crate::RegisterSpec for Rx1024tomaxoctetsFramesGoodBadSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`rx_1024tomaxoctets_frames_good_bad::R`](R) reader structure"]
impl crate::Readable for Rx1024tomaxoctetsFramesGoodBadSpec {}
#[doc = "`reset()` method sets RX_1024TOMAXOCTETS_FRAMES_GOOD_BAD to value 0"]
impl crate::Resettable for Rx1024tomaxoctetsFramesGoodBadSpec {
    const RESET_VALUE: u32 = 0;
}