nrf52840_pac::p0::dir

Type Alias PIN12_R

Source
pub type PIN12_R = BitReader<PIN12_A>;
Expand description

Field PIN12 reader - Pin 12

Aliased Type§

struct PIN12_R { /* private fields */ }

Implementations§

Source§

impl PIN12_R

Source

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