stm32mp1/stm32mp157/ddrperfm/
id.rs

1///Register `ID` reader
2pub type R = crate::R<IDrs>;
3///Field `ID` reader - ID
4pub type ID_R = crate::FieldReader<u32>;
5impl R {
6    ///Bits 0:31 - ID
7    #[inline(always)]
8    pub fn id(&self) -> ID_R {
9        ID_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("ID").field("id", &self.id()).finish()
15    }
16}
17/**DDRPERFM ID register
18
19You can [`read`](crate::Reg::read) this register and get [`id::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
20
21See register [structure](https://stm32-rs.github.io/stm32-rs/STM32MP157.html#DDRPERFM:ID)*/
22pub struct IDrs;
23impl crate::RegisterSpec for IDrs {
24    type Ux = u32;
25}
26///`read()` method returns [`id::R`](R) reader structure
27impl crate::Readable for IDrs {}
28///`reset()` method sets ID to value 0x0014_0061
29impl crate::Resettable for IDrs {
30    const RESET_VALUE: u32 = 0x0014_0061;
31}