nrf52840_pac::p0::dirset

Type Alias PIN2_R

Source
pub type PIN2_R = BitReader<PIN2_A>;
Expand description

Field PIN2 reader - Set as output 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_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