Type Alias nrf52840_pac::lpcomp::result::RESULT_R

source ·
pub type RESULT_R = BitReader<RESULT_A>;
Expand description

Field RESULT reader - Result of last compare. Decision point SAMPLE task.

Aliased Type§

struct RESULT_R { /* private fields */ }

Implementations§

source§

impl RESULT_R

source

pub fn variant(&self) -> RESULT_A

Get enumerated values variant

source

pub fn is_below(&self) -> bool

Checks if the value of the field is BELOW

source

pub fn is_above(&self) -> bool

Checks if the value of the field is ABOVE