Type Alias nrf52840_pac::p0::outset::PIN18_R

source ·
pub type PIN18_R = BitReader<PIN18_A>;
Expand description

Field PIN18 reader - Pin 18

Aliased Type§

struct PIN18_R { /* private fields */ }

Implementations§

source§

impl PIN18_R

source

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