Type Alias nrf52840_pac::p0::latch::PIN2_W

source ·
pub type PIN2_W<'a, const O: u8> = BitWriter<'a, u32, LATCH_SPEC, PIN2_A, O>;
Expand description

Field PIN2 writer - Status on whether PIN2 has met criteria set in PIN_CNF2.SENSE register. Write ‘1’ to clear.

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 not_latched(self) -> &'a mut W

Criteria has not been met

source

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

Criteria has been met