xmc4300/eth0/
rxudp_good_frames.rs1#[doc = "Register `RXUDP_GOOD_FRAMES` reader"]
2pub type R = crate::R<RXUDP_GOOD_FRAMES_SPEC>;
3#[doc = "Field `RXUDPGDFRM` reader - This field indicates the number of good IP datagrams with a good UDP payload. This counter is not updated when the counter is incremented."]
4pub type RXUDPGDFRM_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - This field indicates the number of good IP datagrams with a good UDP payload. This counter is not updated when the counter is incremented."]
7 #[inline(always)]
8 pub fn rxudpgdfrm(&self) -> RXUDPGDFRM_R {
9 RXUDPGDFRM_R::new(self.bits)
10 }
11}
12#[doc = "RxUDP Good Frames Register\n\nYou can [`read`](crate::Reg::read) this register and get [`rxudp_good_frames::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct RXUDP_GOOD_FRAMES_SPEC;
14impl crate::RegisterSpec for RXUDP_GOOD_FRAMES_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`rxudp_good_frames::R`](R) reader structure"]
18impl crate::Readable for RXUDP_GOOD_FRAMES_SPEC {}
19#[doc = "`reset()` method sets RXUDP_GOOD_FRAMES to value 0"]
20impl crate::Resettable for RXUDP_GOOD_FRAMES_SPEC {
21 const RESET_VALUE: u32 = 0;
22}