Type Alias nrf52840_pac::p0::outset::PIN1_W

source ·
pub type PIN1_W<'a, const O: u8> = BitWriter1S<'a, u32, OUTSET_SPEC, PIN1_AW, O>;
Expand description

Field PIN1 writer - Pin 1

Aliased Type§

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

Implementations§

source§

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

source

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

Write: writing a ‘1’ sets the pin high; writing a ‘0’ has no effect