pub type W = W<CTRLA_SPEC>;
Expand description
Register CTRLA
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn swrst(&mut self) -> SWRST_W<'_, CTRLA_SPEC, 0>
pub fn swrst(&mut self) -> SWRST_W<'_, CTRLA_SPEC, 0>
Bit 0 - Software Reset
sourcepub fn enable(&mut self) -> ENABLE_W<'_, CTRLA_SPEC, 1>
pub fn enable(&mut self) -> ENABLE_W<'_, CTRLA_SPEC, 1>
Bit 1 - Enable
sourcepub fn aesmode(&mut self) -> AESMODE_W<'_, CTRLA_SPEC, 2>
pub fn aesmode(&mut self) -> AESMODE_W<'_, CTRLA_SPEC, 2>
Bits 2:4 - AES Modes of operation
sourcepub fn cfbs(&mut self) -> CFBS_W<'_, CTRLA_SPEC, 5>
pub fn cfbs(&mut self) -> CFBS_W<'_, CTRLA_SPEC, 5>
Bits 5:7 - Cipher Feedback Block Size
sourcepub fn keysize(&mut self) -> KEYSIZE_W<'_, CTRLA_SPEC, 8>
pub fn keysize(&mut self) -> KEYSIZE_W<'_, CTRLA_SPEC, 8>
Bits 8:9 - Encryption Key Size
sourcepub fn cipher(&mut self) -> CIPHER_W<'_, CTRLA_SPEC, 10>
pub fn cipher(&mut self) -> CIPHER_W<'_, CTRLA_SPEC, 10>
Bit 10 - Cipher Mode
sourcepub fn startmode(&mut self) -> STARTMODE_W<'_, CTRLA_SPEC, 11>
pub fn startmode(&mut self) -> STARTMODE_W<'_, CTRLA_SPEC, 11>
Bit 11 - Start Mode Select
sourcepub fn lod(&mut self) -> LOD_W<'_, CTRLA_SPEC, 12>
pub fn lod(&mut self) -> LOD_W<'_, CTRLA_SPEC, 12>
Bit 12 - Last Output Data Mode
sourcepub fn keygen(&mut self) -> KEYGEN_W<'_, CTRLA_SPEC, 13>
pub fn keygen(&mut self) -> KEYGEN_W<'_, CTRLA_SPEC, 13>
Bit 13 - Last Key Generation
sourcepub fn xorkey(&mut self) -> XORKEY_W<'_, CTRLA_SPEC, 14>
pub fn xorkey(&mut self) -> XORKEY_W<'_, CTRLA_SPEC, 14>
Bit 14 - XOR Key Operation
sourcepub fn ctype(&mut self) -> CTYPE_W<'_, CTRLA_SPEC, 16>
pub fn ctype(&mut self) -> CTYPE_W<'_, CTRLA_SPEC, 16>
Bits 16:19 - Counter Measure Type