1#[doc = "Register `SID` reader"]
2pub type R = crate::R<SidSpec>;
3#[doc = "Field `ID` reader - ID"]
4pub type IdR = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - ID"]
7 #[inline(always)]
8 pub fn id(&self) -> IdR {
9 IdR::new(self.bits)
10 }
11}
12#[cfg(feature = "debug")]
13impl core::fmt::Debug for R {
14 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
15 f.debug_struct("SID").field("id", &self.id()).finish()
16 }
17}
18#[doc = "Target Module ID\n\nYou can [`read`](crate::Reg::read) this register and get [`sid::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct SidSpec;
20impl crate::RegisterSpec for SidSpec {
21 type Ux = u32;
22}
23#[doc = "`read()` method returns [`sid::R`](R) reader structure"]
24impl crate::Readable for SidSpec {}
25#[doc = "`reset()` method sets SID to value 0xedcb_0100"]
26impl crate::Resettable for SidSpec {
27 const RESET_VALUE: u32 = 0xedcb_0100;
28}