Skip to main content

efm32pg12_pac/gpio/
pj_din.rs

1#[doc = "Reader of register PJ_DIN"]
2pub type R = crate::R<u32, super::PJ_DIN>;
3#[doc = "Reader of field `DIN`"]
4pub type DIN_R = crate::R<u16, u16>;
5impl R {
6    #[doc = "Bits 0:15 - Data in"]
7    #[inline(always)]
8    pub fn din(&self) -> DIN_R {
9        DIN_R::new((self.bits & 0xffff) as u16)
10    }
11}