s32k118.rs/src/flexio/pin.rs

12 lines
311 B
Rust

#[doc = "Reader of register PIN"]
pub type R = crate::R<u32, super::PIN>;
#[doc = "Reader of field `PDI`"]
pub type PDI_R = crate::R<u8, u8>;
impl R {
#[doc = "Bits 0:7 - Pin Data Input"]
#[inline(always)]
pub fn pdi(&self) -> PDI_R {
PDI_R::new((self.bits & 0xff) as u8)
}
}