rp2040_pac/spi0/
ssppcellid2.rs

1#[doc = "Register `SSPPCELLID2` reader"]
2pub type R = crate::R<SSPPCELLID2_SPEC>;
3#[doc = "Field `SSPPCELLID2` reader - These bits read back as 0x05"]
4pub type SSPPCELLID2_R = crate::FieldReader;
5impl R {
6    #[doc = "Bits 0:7 - These bits read back as 0x05"]
7    #[inline(always)]
8    pub fn ssppcellid2(&self) -> SSPPCELLID2_R {
9        SSPPCELLID2_R::new((self.bits & 0xff) as u8)
10    }
11}
12#[doc = "PrimeCell identification registers, SSPPCellID0-3 on page 3-16  
13
14You can [`read`](crate::generic::Reg::read) this register and get [`ssppcellid2::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
15pub struct SSPPCELLID2_SPEC;
16impl crate::RegisterSpec for SSPPCELLID2_SPEC {
17    type Ux = u32;
18}
19#[doc = "`read()` method returns [`ssppcellid2::R`](R) reader structure"]
20impl crate::Readable for SSPPCELLID2_SPEC {}
21#[doc = "`reset()` method sets SSPPCELLID2 to value 0x05"]
22impl crate::Resettable for SSPPCELLID2_SPEC {
23    const RESET_VALUE: u32 = 0x05;
24}