nrf52840_pac::gpiote::config

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