Type Alias nrf52840_pac::p0::outset::PIN4_R

source ·
pub type PIN4_R = BitReader<PIN4_A>;
Expand description

Field PIN4 reader - Pin 4

Aliased Type§

struct PIN4_R { /* private fields */ }

Implementations§

source§

impl PIN4_R

source

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