rp2040_pac/xip_ssi/
idr.rs
1#[doc = "Register `IDR` reader"]
2pub type R = crate::R<IDR_SPEC>;
3#[doc = "Field `IDCODE` reader - Peripheral dentification code"]
4pub type IDCODE_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - Peripheral dentification code"]
7 #[inline(always)]
8 pub fn idcode(&self) -> IDCODE_R {
9 IDCODE_R::new(self.bits)
10 }
11}
12#[doc = "Identification register
13
14You can [`read`](crate::generic::Reg::read) this register and get [`idr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
15pub struct IDR_SPEC;
16impl crate::RegisterSpec for IDR_SPEC {
17 type Ux = u32;
18}
19#[doc = "`read()` method returns [`idr::R`](R) reader structure"]
20impl crate::Readable for IDR_SPEC {}
21#[doc = "`reset()` method sets IDR to value 0x5153_5049"]
22impl crate::Resettable for IDR_SPEC {
23 const RESET_VALUE: u32 = 0x5153_5049;
24}