Type Alias R

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

Register CTRLA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn swrst(&self) -> SwrstR

Bit 0 - Software Reset

Source

pub fn enable(&self) -> EnableR

Bit 1 - Enable

Source

pub fn aesmode(&self) -> AesmodeR

Bits 2:4 - AES Modes of operation

Source

pub fn cfbs(&self) -> CfbsR

Bits 5:7 - Cipher Feedback Block Size

Source

pub fn keysize(&self) -> KeysizeR

Bits 8:9 - Encryption Key Size

Source

pub fn cipher(&self) -> CipherR

Bit 10 - Cipher Mode

Source

pub fn startmode(&self) -> StartmodeR

Bit 11 - Start Mode Select

Source

pub fn lod(&self) -> LodR

Bit 12 - Last Output Data Mode

Source

pub fn keygen(&self) -> KeygenR

Bit 13 - Last Key Generation

Source

pub fn xorkey(&self) -> XorkeyR

Bit 14 - XOR Key Operation

Source

pub fn ctype(&self) -> CtypeR

Bits 16:19 - Counter Measure Type