nrf52840_pac::p0::dirclr

Type Alias PIN8_R

Source
pub type PIN8_R = BitReader<PIN8_A>;
Expand description

Field PIN8 reader - Set as input pin 8

Aliased Type§

struct PIN8_R { /* private fields */ }

Implementations§

Source§

impl PIN8_R

Source

pub fn variant(&self) -> PIN8_A

Get enumerated values variant

Source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

Source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT