Skip to main content

wip_s32k144/pta/
pdir.rs

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