nrf52840_pac::p0::outset

Type Alias PIN22_R

Source
pub type PIN22_R = BitReader<PIN22_A>;
Expand description

Field PIN22 reader - Pin 22

Aliased Type§

struct PIN22_R { /* private fields */ }

Implementations§

Source§

impl PIN22_R

Source

pub fn variant(&self) -> PIN22_A

Get enumerated values variant

Source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH