Type Alias nrf52840_pac::p0::latch::PIN21_R

source ·
pub type PIN21_R = BitReader<PIN21_A>;
Expand description

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

Aliased Type§

struct PIN21_R { /* private fields */ }

Implementations§

source§

impl PIN21_R

source

pub fn variant(&self) -> PIN21_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