fn regs(&self) -> &gpio::RegisterBlock {
        let ptr = match self.port {
            Port::P0 => P0::ptr(),
            #[cfg(any(feature = "52833", feature = "52840", feature = "53"))]
            Port::P1 => P1::ptr(),
            #[cfg(feature = "53")]
            Port::P2 => P2::ptr(),
            #[cfg(feature = "53")]
            Port::P3 => P3::ptr(),
        };

        unsafe { &*ptr }
    }
/// Internal function used to access the register block.
Internal function used to access the register block.
Internal function used to access the register block .
fn regs(&self) -> &gpio::RegisterBlock {
        let ptr = match self.port {
            Port::P0 => P0::ptr(),
            #[cfg(any(feature = "52833", feature = "52840", feature = "53"))]
            Port::P1 => P1::ptr(),
            #[cfg(feature = "53")]
            Port::P2 => P2::ptr(),
            #[cfg(feature = "53")]
            Port::P3 => P3::ptr(),
        };
        unsafe { &*ptr }
    }
fn regs ( & self ) -> & gpio :: RegisterBlock { let ptr = match self . port { Port :: P0 => P0 :: ptr ( ) , # [ cfg ( any ( feature " " feature " " feature " " ) ) ] Port :: P1 => P1 :: ptr ( ) , # [ cfg ( feature " " ) ] Port :: P2 => P2 :: ptr ( ) , # [ cfg ( feature " " ) ] Port :: P3 => P3 :: ptr ( ) , } ; unsafe { & * ptr } }
Internal function used to access the register block.
Internal function used to access the register block .
&self
&self