pub type R = crate::R<ECC_FARrs>;
pub type FAIL_ECC_ADDR_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn fail_ecc_addr(&self) -> FAIL_ECC_ADDR_R {
FAIL_ECC_ADDR_R::new((self.bits & 0x7fff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ECC_FAR").field("fail_ecc_addr", &self.fail_ecc_addr()).finish()
}
}
pub struct ECC_FARrs;
impl crate::RegisterSpec for ECC_FARrs {
type Ux = u32;
}
impl crate::Readable for ECC_FARrs {}
impl crate::Resettable for ECC_FARrs {}