[][src]Type Definition stm32l0::stm32l0x2::flash::pecr::PRGLOCK_R

type PRGLOCK_R = R<bool, PRGLOCK_A>;

Reader of field PRGLOCK

Methods

impl PRGLOCK_R[src]

pub fn variant(&self) -> PRGLOCK_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