Type Alias nrf52840_pac::lpcomp::intenset::UP_R

source ·
pub type UP_R = BitReader<UP_A>;
Expand description

Field UP reader - Write ‘1’ to enable interrupt for UP event

Aliased Type§

struct UP_R { /* private fields */ }

Implementations§

source§

impl UP_R

source

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