#[doc = "Register `TCE` reader"] pub struct R(crate::R); impl core::ops::Deref for R { type Target = crate::R; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } impl From> for R { #[inline(always)] fn from(reader: crate::R) -> Self { R(reader) } } #[doc = "Field `TCKER` reader - TCP Checksum Errors"] pub type TCKER_R = crate::FieldReader; impl R { #[doc = "Bits 0:7 - TCP Checksum Errors"] #[inline(always)] pub fn tcker(&self) -> TCKER_R { TCKER_R::new((self.bits & 0xff) as u8) } } #[doc = "TCP Checksum Errors Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [tce](index.html) module"] pub struct TCE_SPEC; impl crate::RegisterSpec for TCE_SPEC { type Ux = u32; } #[doc = "`read()` method returns [tce::R](R) reader structure"] impl crate::Readable for TCE_SPEC { type Reader = R; } #[doc = "`reset()` method sets TCE to value 0"] impl crate::Resettable for TCE_SPEC { const RESET_VALUE: Self::Ux = 0; }