Type Definition OPTLOCK_R
stm32l0::stm32l0x2::flash::pecr
type OPTLOCK_R = R<bool, OPTLOCK_A>;
Reader of field OPTLOCK
OPTLOCK
impl OPTLOCK_R
pub fn variant(&self) -> OPTLOCK_A
Get enumerated values variant
pub fn is_unlocked(&self) -> bool
Checks if the value of the field is UNLOCKED
UNLOCKED
pub fn is_locked(&self) -> bool
Checks if the value of the field is LOCKED
LOCKED