xmc4700/eth0/
rx_out_of_range_type_frames.rs1#[doc = "Register `RX_OUT_OF_RANGE_TYPE_FRAMES` reader"]
2pub type R = crate::R<RX_OUT_OF_RANGE_TYPE_FRAMES_SPEC>;
3#[doc = "Field `RXOUTOFRNG` reader - This field indicates the number of received frames with length field not equal to the valid frame size (greater than 1,500 but less than 1,536)."]
4pub type RXOUTOFRNG_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - This field indicates the number of received frames with length field not equal to the valid frame size (greater than 1,500 but less than 1,536)."]
7 #[inline(always)]
8 pub fn rxoutofrng(&self) -> RXOUTOFRNG_R {
9 RXOUTOFRNG_R::new(self.bits)
10 }
11}
12#[doc = "Receive Frame Count for Out of Range Frames\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_out_of_range_type_frames::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct RX_OUT_OF_RANGE_TYPE_FRAMES_SPEC;
14impl crate::RegisterSpec for RX_OUT_OF_RANGE_TYPE_FRAMES_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`rx_out_of_range_type_frames::R`](R) reader structure"]
18impl crate::Readable for RX_OUT_OF_RANGE_TYPE_FRAMES_SPEC {}
19#[doc = "`reset()` method sets RX_OUT_OF_RANGE_TYPE_FRAMES to value 0"]
20impl crate::Resettable for RX_OUT_OF_RANGE_TYPE_FRAMES_SPEC {
21 const RESET_VALUE: u32 = 0;
22}