Type Alias nrf52840_pac::gpiote::intenclr::IN2_R

source ·
pub type IN2_R = BitReader<IN2_A>;
Expand description

Field IN2 reader - Write ‘1’ to disable interrupt for IN[2] event

Aliased Type§

struct IN2_R { /* private fields */ }

Implementations§

source§

impl IN2_R

source

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