Type Alias nrf52840_pac::rtc0::evten::COMPARE0_R

source ·
pub type COMPARE0_R = BitReader<COMPARE0_A>;
Expand description

Field COMPARE0 reader - Enable or disable event routing for COMPARE[0] event

Aliased Type§

struct COMPARE0_R { /* private fields */ }

Implementations§

source§

impl COMPARE0_R

source

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