Type Alias nrf52840_pac::p0::dirset::PIN20_R

source ·
pub type PIN20_R = BitReader<PIN20_A>;
Expand description

Field PIN20 reader - Set as output pin 20

Aliased Type§

struct PIN20_R { /* private fields */ }

Implementations§

source§

impl PIN20_R

source

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