Type Alias nrf52840_pac::p0::dir::PIN22_W

source ·
pub type PIN22_W<'a, const O: u8> = BitWriter<'a, u32, DIR_SPEC, PIN22_A, O>;
Expand description

Field PIN22 writer - Pin 22

Aliased Type§

struct PIN22_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> PIN22_W<'a, O>

source

pub fn input(self) -> &'a mut W

Pin set as input

source

pub fn output(self) -> &'a mut W

Pin set as output