[][src]Type Definition stm32l0::stm32l0x1::flash::pecr::OPTLOCK_R

type OPTLOCK_R = R<bool, OPTLOCK_A>;

Reader of field OPTLOCK

Methods

impl OPTLOCK_R[src]

pub fn variant(&self) -> OPTLOCK_A[src]

Get enumerated values variant

pub fn is_unlocked(&self) -> bool[src]

Checks if the value of the field is UNLOCKED

pub fn is_locked(&self) -> bool[src]

Checks if the value of the field is LOCKED