Skip to main content

lpc54606_pac/syscon/
device_id0.rs

1#[doc = "Reader of register DEVICE_ID0"]
2pub type R = crate::R<u32, super::DEVICE_ID0>;
3#[doc = "Reader of field `PARTID`"]
4pub type PARTID_R = crate::R<u32, u32>;
5impl R {
6    #[doc = "Bits 0:31 - Part ID"]
7    #[inline(always)]
8    pub fn partid(&self) -> PARTID_R {
9        PARTID_R::new((self.bits & 0xffff_ffff) as u32)
10    }
11}