#[doc = "Register `ECCR2` reader"]
pub type R = crate::R<Eccr2Spec>;
#[doc = "Field `ECCx` reader - ECC result"]
pub type EccxR = crate::FieldReader<u32>;
impl R {
#[doc = "Bits 0:31 - ECC result"]
#[inline(always)]
pub fn eccx(&self) -> EccxR {
EccxR::new(self.bits)
}
}
#[doc = "ECC result register 2\n\nYou can [`read`](crate::Reg::read) this register and get [`eccr2::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct Eccr2Spec;
impl crate::RegisterSpec for Eccr2Spec {
type Ux = u32;
}
#[doc = "`read()` method returns [`eccr2::R`](R) reader structure"]
impl crate::Readable for Eccr2Spec {}
#[doc = "`reset()` method sets ECCR2 to value 0"]
impl crate::Resettable for Eccr2Spec {}