Type Alias KeyR

Source
pub type KeyR = FieldReader<Keyselect>;
Expand description

Field KEY reader - Peripheral access control key

Aliased Type§

struct KeyR { /* private fields */ }

Implementations§

Source§

impl KeyR

Source

pub const fn variant(&self) -> Option<Keyselect>

Get enumerated values variant

Source

pub fn is_off(&self) -> bool

No action

Source

pub fn is_clr(&self) -> bool

Clear protection

Source

pub fn is_set(&self) -> bool

Set protection

Source

pub fn is_setlck(&self) -> bool

Set and lock protection