stm32f4_staging/stm32f469/fmc/
eccr.rs

1///Register `ECCR` reader
2pub type R = crate::R<ECCRrs>;
3///Field `ECC` reader - ECCx
4pub type ECC_R = crate::FieldReader<u32>;
5impl R {
6    ///Bits 0:31 - ECCx
7    #[inline(always)]
8    pub fn ecc(&self) -> ECC_R {
9        ECC_R::new(self.bits)
10    }
11}
12impl core::fmt::Debug for R {
13    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14        f.debug_struct("ECCR").field("ecc", &self.ecc()).finish()
15    }
16}
17/**ECC result register 3
18
19You can [`read`](crate::Reg::read) this register and get [`eccr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
20
21See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F469.html#FMC:ECCR)*/
22pub struct ECCRrs;
23impl crate::RegisterSpec for ECCRrs {
24    type Ux = u32;
25}
26///`read()` method returns [`eccr::R`](R) reader structure
27impl crate::Readable for ECCRrs {}
28///`reset()` method sets ECCR to value 0
29impl crate::Resettable for ECCRrs {}