Type Alias nrf52840_pac::p0::dir::PIN5_R

source ·
pub type PIN5_R = BitReader<PIN5_A>;
Expand description

Field PIN5 reader - Pin 5

Aliased Type§

struct PIN5_R { /* private fields */ }

Implementations§

source§

impl PIN5_R

source

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