Type Alias atsame54n::pac::wrctrl::KEY_R

source ·
pub type KEY_R = FieldReader<KEYSELECT_A>;
Expand description

Field KEY reader - Peripheral access control key

Aliased Type§

struct KEY_R { /* private fields */ }

Implementations§

source§

impl KEY_R

source

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

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