Type Alias nrf52840_pac::p0::outclr::PIN2_R

source ·
pub type PIN2_R = BitReader<PIN2_A>;
Expand description

Field PIN2 reader - Pin 2

Aliased Type§

struct PIN2_R { /* private fields */ }

Implementations§

source§

impl PIN2_R

source

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