nrf52840_pac::lpcomp::anadetect

Type Alias 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