Type Alias nrf52840_pac::spis0::semstat::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