Type Definition atsame54n19a_pac::aes::ctrla::W[][src]

type W = W<u32, CTRLA>;

Writer for register CTRLA

Implementations

impl W[src]

pub fn swrst(&mut self) -> SWRST_W<'_>[src]

Bit 0 - Software Reset

pub fn enable(&mut self) -> ENABLE_W<'_>[src]

Bit 1 - Enable

pub fn aesmode(&mut self) -> AESMODE_W<'_>[src]

Bits 2:4 - AES Modes of operation

pub fn cfbs(&mut self) -> CFBS_W<'_>[src]

Bits 5:7 - Cipher Feedback Block Size

pub fn keysize(&mut self) -> KEYSIZE_W<'_>[src]

Bits 8:9 - Encryption Key Size

pub fn cipher(&mut self) -> CIPHER_W<'_>[src]

Bit 10 - Cipher Mode

pub fn startmode(&mut self) -> STARTMODE_W<'_>[src]

Bit 11 - Start Mode Select

pub fn lod(&mut self) -> LOD_W<'_>[src]

Bit 12 - Last Output Data Mode

pub fn keygen(&mut self) -> KEYGEN_W<'_>[src]

Bit 13 - Last Key Generation

pub fn xorkey(&mut self) -> XORKEY_W<'_>[src]

Bit 14 - XOR Key Operation

pub fn ctype(&mut self) -> CTYPE_W<'_>[src]

Bits 16:19 - Counter Measure Type