nrf52840_pac::p0::latch

Type Alias PIN0_R

Source
pub type PIN0_R = BitReader<PIN0_A>;
Expand description

Field PIN0 reader - Status on whether PIN0 has met criteria set in PIN_CNF0.SENSE register. Write ‘1’ to clear.

Aliased Type§

struct PIN0_R { /* private fields */ }

Implementations§

Source§

impl PIN0_R

Source

pub fn variant(&self) -> PIN0_A

Get enumerated values variant

Source

pub fn is_not_latched(&self) -> bool

Checks if the value of the field is NOT_LATCHED

Source

pub fn is_latched(&self) -> bool

Checks if the value of the field is LATCHED