Type Alias atsame51j::pac::wrctrl::KEY_W

source ·
pub type KEY_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 8, O, KEYSELECT_A>;
Expand description

Field KEY writer - Peripheral access control key

Aliased Type§

struct KEY_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> KEY_W<'a, REG, O>
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