rp2040_pac/uart0/
uartperiphid0.rs

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