Type Alias nrf52840_pac::gpiote::config::MODE_R

source ·
pub type MODE_R = FieldReader<u8, MODE_A>;
Expand description

Field MODE reader - Mode

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

source§

impl MODE_R

source

pub fn variant(&self) -> Option<MODE_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_event(&self) -> bool

Checks if the value of the field is EVENT

source

pub fn is_task(&self) -> bool

Checks if the value of the field is TASK