Type Alias W

Source
pub type W = W<CtrlaSpec>;
Expand description

Register CTRLA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn swrst(&mut self) -> SwrstW<'_, CtrlaSpec>

Bit 0 - Software Reset

Source

pub fn enable(&mut self) -> EnableW<'_, CtrlaSpec>

Bit 1 - Enable

Source

pub fn aesmode(&mut self) -> AesmodeW<'_, CtrlaSpec>

Bits 2:4 - AES Modes of operation

Source

pub fn cfbs(&mut self) -> CfbsW<'_, CtrlaSpec>

Bits 5:7 - Cipher Feedback Block Size

Source

pub fn keysize(&mut self) -> KeysizeW<'_, CtrlaSpec>

Bits 8:9 - Encryption Key Size

Source

pub fn cipher(&mut self) -> CipherW<'_, CtrlaSpec>

Bit 10 - Cipher Mode

Source

pub fn startmode(&mut self) -> StartmodeW<'_, CtrlaSpec>

Bit 11 - Start Mode Select

Source

pub fn lod(&mut self) -> LodW<'_, CtrlaSpec>

Bit 12 - Last Output Data Mode

Source

pub fn keygen(&mut self) -> KeygenW<'_, CtrlaSpec>

Bit 13 - Last Key Generation

Source

pub fn xorkey(&mut self) -> XorkeyW<'_, CtrlaSpec>

Bit 14 - XOR Key Operation

Source

pub fn ctype(&mut self) -> CtypeW<'_, CtrlaSpec>

Bits 16:19 - Counter Measure Type