nrf52840_pac::p0::dirset

Type Alias PIN18_R

Source
pub type PIN18_R = BitReader<PIN18_A>;
Expand description

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