pub type R = crate::R<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("FAR").field("fail_ecc_addr", &self.fail_ecc_addr()).finish()
}
}
pub struct FARrs;
impl crate::RegisterSpec for FARrs {
type Ux = u32;
}
impl crate::Readable for FARrs {}
impl crate::Resettable for FARrs {}