xmc4400/eth0/
rx_oversize_frames_good.rs

1#[doc = "Register `RX_OVERSIZE_FRAMES_GOOD` reader"]
2pub type R = crate::R<RX_OVERSIZE_FRAMES_GOOD_SPEC>;
3#[doc = "Field `RXOVERSZG` reader - This field indicates the number of frames received without errors, with length greater than the maxsize (1,518 or 1,522 for VLAN tagged frames; 2,000 bytes if enabled by setting MAC Configuration.2KPE)."]
4pub type RXOVERSZG_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - This field indicates the number of frames received without errors, with length greater than the maxsize (1,518 or 1,522 for VLAN tagged frames; 2,000 bytes if enabled by setting MAC Configuration.2KPE)."]
7    #[inline(always)]
8    pub fn rxoverszg(&self) -> RXOVERSZG_R {
9        RXOVERSZG_R::new(self.bits)
10    }
11}
12#[doc = "Rx Oversize Frames Good Register\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_oversize_frames_good::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct RX_OVERSIZE_FRAMES_GOOD_SPEC;
14impl crate::RegisterSpec for RX_OVERSIZE_FRAMES_GOOD_SPEC {
15    type Ux = u32;
16}
17#[doc = "`read()` method returns [`rx_oversize_frames_good::R`](R) reader structure"]
18impl crate::Readable for RX_OVERSIZE_FRAMES_GOOD_SPEC {}
19#[doc = "`reset()` method sets RX_OVERSIZE_FRAMES_GOOD to value 0"]
20impl crate::Resettable for RX_OVERSIZE_FRAMES_GOOD_SPEC {
21    const RESET_VALUE: u32 = 0;
22}