Type Alias nrf52840_pac::p0::outset::PIN1_R

source ·
pub type PIN1_R = BitReader<PIN1_A>;
Expand description

Field PIN1 reader - Pin 1

Aliased Type§

struct PIN1_R { /* private fields */ }

Implementations§

source§

impl PIN1_R

source

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