nrf52840_pac::spis0::semstat

Type Alias SEMSTAT_R

Source
pub type SEMSTAT_R = FieldReader<u8, SEMSTAT_A>;
Expand description

Field SEMSTAT reader - Semaphore status

Aliased Type§

struct SEMSTAT_R { /* private fields */ }

Implementations§

Source§

impl SEMSTAT_R

Source

pub fn variant(&self) -> SEMSTAT_A

Get enumerated values variant

Source

pub fn is_free(&self) -> bool

Checks if the value of the field is FREE

Source

pub fn is_cpu(&self) -> bool

Checks if the value of the field is CPU

Source

pub fn is_spis(&self) -> bool

Checks if the value of the field is SPIS

Source

pub fn is_cpupending(&self) -> bool

Checks if the value of the field is CPUPENDING