Type Alias nrf52840_pac::gpiote::intenset::IN0_R

source ·
pub type IN0_R = BitReader<IN0_A>;
Expand description

Field IN0 reader - Write ‘1’ to enable interrupt for IN[0] event

Aliased Type§

struct IN0_R { /* private fields */ }

Implementations§

source§

impl IN0_R

source

pub fn variant(&self) -> IN0_A

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED