Type Alias nrf52840_pac::lpcomp::anadetect::ANADETECT_R

source ·
pub type ANADETECT_R = FieldReader<u8, ANADETECT_A>;
Expand description

Field ANADETECT reader - Analog detect configuration

Aliased Type§

struct ANADETECT_R { /* private fields */ }

Implementations§

source§

impl ANADETECT_R

source

pub fn variant(&self) -> Option<ANADETECT_A>

Get enumerated values variant

source

pub fn is_cross(&self) -> bool

Checks if the value of the field is CROSS

source

pub fn is_up(&self) -> bool

Checks if the value of the field is UP

source

pub fn is_down(&self) -> bool

Checks if the value of the field is DOWN