Type Alias KeyW

Source
pub type KeyW<'a, REG> = FieldWriter<'a, REG, 8, Keyselect>;
Expand description

Field KEY writer - Peripheral access control key

Aliased Type§

struct KeyW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> KeyW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn off(self) -> &'a mut W<REG>

No action

Source

pub fn clr(self) -> &'a mut W<REG>

Clear protection

Source

pub fn set_(self) -> &'a mut W<REG>

Set protection

Source

pub fn setlck(self) -> &'a mut W<REG>

Set and lock protection