Type Alias d1_pac::spinlock::spinlock_lock::TAKEN_R

source ·
pub type TAKEN_R = BitReader<TAKEN_A>;
Expand description

Field taken reader - Lock State

Aliased Type§

struct TAKEN_R { /* private fields */ }

Implementations§

source§

impl TAKEN_R

source

pub fn variant(&self) -> TAKEN_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_taken(&self) -> bool

Checks if the value of the field is TAKEN