Type Alias nrf52840_pac::p0::dir::PIN7_R

source ·
pub type PIN7_R = BitReader<PIN7_A>;
Expand description

Field PIN7 reader - Pin 7

Aliased Type§

struct PIN7_R { /* private fields */ }

Implementations§

source§

impl PIN7_R

source

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