Type Alias nrf52840_pac::rtc0::intenclr::COMPARE2_R

source ·
pub type COMPARE2_R = BitReader<COMPARE2_A>;
Expand description

Field COMPARE2 reader - Write ‘1’ to disable interrupt for COMPARE[2] event

Aliased Type§

struct COMPARE2_R { /* private fields */ }

Implementations§

source§

impl COMPARE2_R

source

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