xmc4400/eth0/
rxipv6_header_error_frames.rs1#[doc = "Register `RXIPV6_HEADER_ERROR_FRAMES` reader"]
2pub type R = crate::R<RXIPV6_HEADER_ERROR_FRAMES_SPEC>;
3#[doc = "Field `RXIPV6HDRERRFRM` reader - This field indicates the number of IPv6 datagrams received with header errors (length or version mismatch)."]
4pub type RXIPV6HDRERRFRM_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - This field indicates the number of IPv6 datagrams received with header errors (length or version mismatch)."]
7 #[inline(always)]
8 pub fn rxipv6hdrerrfrm(&self) -> RXIPV6HDRERRFRM_R {
9 RXIPV6HDRERRFRM_R::new(self.bits)
10 }
11}
12#[doc = "Receive IPV6 Header Error Frame Counter Register\n\nYou can [`read`](crate::Reg::read) this register and get [`rxipv6_header_error_frames::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct RXIPV6_HEADER_ERROR_FRAMES_SPEC;
14impl crate::RegisterSpec for RXIPV6_HEADER_ERROR_FRAMES_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`rxipv6_header_error_frames::R`](R) reader structure"]
18impl crate::Readable for RXIPV6_HEADER_ERROR_FRAMES_SPEC {}
19#[doc = "`reset()` method sets RXIPV6_HEADER_ERROR_FRAMES to value 0"]
20impl crate::Resettable for RXIPV6_HEADER_ERROR_FRAMES_SPEC {
21 const RESET_VALUE: u32 = 0;
22}