nrf52840_pac::p0::out

Type Alias PIN2_W

Source
pub type PIN2_W<'a, const O: u8> = BitWriter<'a, u32, OUT_SPEC, PIN2_A, O>;
Expand description

Field PIN2 writer - Pin 2

Aliased Type§

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

Implementations§

Source§

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

Source

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

Pin driver is low

Source

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

Pin driver is high