nrf52840_pac::p0::dirclr

Type Alias PIN16_R

Source
pub type PIN16_R = BitReader<PIN16_A>;
Expand description

Field PIN16 reader - Set as input pin 16

Aliased Type§

struct PIN16_R { /* private fields */ }

Implementations§

Source§

impl PIN16_R

Source

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