Type Alias d1_pac::spinlock::spinlock_systatus::LOCKS_NUM_R

source ·
pub type LOCKS_NUM_R = FieldReader<u8, LOCKS_NUM_A>;
Expand description

Field locks_num reader - Number of lock registers implemented

Aliased Type§

struct LOCKS_NUM_R { /* private fields */ }

Implementations§

source§

impl LOCKS_NUM_R

source

pub fn variant(&self) -> LOCKS_NUM_A

Get enumerated values variant

source

pub fn is_n256(&self) -> bool

Checks if the value of the field is N256

source

pub fn is_n32(&self) -> bool

Checks if the value of the field is N32

source

pub fn is_n64(&self) -> bool

Checks if the value of the field is N64

source

pub fn is_n128(&self) -> bool

Checks if the value of the field is N128