1 2 3 4 5 6 7 8 9 10 11
#[doc = "Reader of register LOCK"]
pub type R = crate::R<u16, super::LOCK>;
#[doc = "Reader of field `LOCK`"]
pub type LOCK_R = crate::R<u16, u16>;
impl R {
#[doc = "Bits 0:15 - Region Lock Bits"]
#[inline(always)]
pub fn lock(&self) -> LOCK_R {
LOCK_R::new((self.bits & 0xffff) as u16)
}
}