Type Alias atsame54n::aes::ctrla::R

source ·
pub type R = R<CTRLA_SPEC>;
Expand description

Register CTRLA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn swrst(&self) -> SWRST_R

Bit 0 - Software Reset

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn aesmode(&self) -> AESMODE_R

Bits 2:4 - AES Modes of operation

source

pub fn cfbs(&self) -> CFBS_R

Bits 5:7 - Cipher Feedback Block Size

source

pub fn keysize(&self) -> KEYSIZE_R

Bits 8:9 - Encryption Key Size

source

pub fn cipher(&self) -> CIPHER_R

Bit 10 - Cipher Mode

source

pub fn startmode(&self) -> STARTMODE_R

Bit 11 - Start Mode Select

source

pub fn lod(&self) -> LOD_R

Bit 12 - Last Output Data Mode

source

pub fn keygen(&self) -> KEYGEN_R

Bit 13 - Last Key Generation

source

pub fn xorkey(&self) -> XORKEY_R

Bit 14 - XOR Key Operation

source

pub fn ctype(&self) -> CTYPE_R

Bits 16:19 - Counter Measure Type