nrf52840_pac::p0::dir

Type Alias PIN18_W

Source
pub type PIN18_W<'a, const O: u8> = BitWriter<'a, u32, DIR_SPEC, PIN18_A, O>;
Expand description

Field PIN18 writer - Pin 18

Aliased Type§

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

Implementations§

Source§

impl<'a, const O: u8> PIN18_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