#[doc = "Register `LFFE` reader"]
pub struct R(crate::R<LFFE_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<LFFE_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<LFFE_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<LFFE_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `LFER` reader - Length Field Frame Errors"]
pub type LFER_R = crate::FieldReader<u16, u16>;
impl R {
#[doc = "Bits 0:9 - Length Field Frame Errors"]
#[inline(always)]
pub fn lfer(&self) -> LFER_R {
LFER_R::new((self.bits & 0x03ff) as u16)
}
}
#[doc = "Length Field Frame 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 [lffe](index.html) module"]
pub struct LFFE_SPEC;
impl crate::RegisterSpec for LFFE_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [lffe::R](R) reader structure"]
impl crate::Readable for LFFE_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets LFFE to value 0"]
impl crate::Resettable for LFFE_SPEC {
const RESET_VALUE: Self::Ux = 0;
}