Type Alias nrf52840_pac::p0::outclr::PIN21_R

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

Field PIN21 reader - Pin 21

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_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