Type Alias nrf52840_pac::p0::dirclr::PIN17_R

source ·
pub type PIN17_R = BitReader<PIN17_A>;
Expand description

Field PIN17 reader - Set as input pin 17

Aliased Type§

struct PIN17_R { /* private fields */ }

Implementations§

source§

impl PIN17_R

source

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