nrf52840_pac::spim0::enable

Type Alias ENABLE_R

Source
pub type ENABLE_R = FieldReader<u8, ENABLE_A>;
Expand description

Field ENABLE reader - Enable or disable SPIM

Aliased Type§

struct ENABLE_R { /* private fields */ }

Implementations§

Source§

impl ENABLE_R

Source

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

Checks if the value of the field is ENABLED