Type Alias nrf52840_pac::p0::outclr::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