mkl25z4 0.0.3

Peripheral access API for NXP KL25Z microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register PERIPHID%s"]
pub type R = crate::R<u32, super::PERIPHID>;
#[doc = "Reader of field `PERIPHID`"]
pub type PERIPHID_R = crate::R<u32, u32>;
impl R {
    #[doc = "Bits 0:31 - Peripheral ID1 is hardwired to 0x0000_00E0; ID2 to 0x0000_0008; and all the others to 0x0000_0000."]
    #[inline(always)]
    pub fn periphid(&self) -> PERIPHID_R {
        PERIPHID_R::new((self.bits & 0xffff_ffff) as u32)
    }
}