k210_pac::aes::mode_ctl

Type Alias R

Source
pub type R = R<u32, MODE_CTL>;
Expand description

Reader of register mode_ctl

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn cipher_mode(&self) -> CIPHER_MODE_R

Bits 0:2 - Cipher mode

Source

pub fn key_mode(&self) -> KEY_MODE_R

Bits 3:4 - Key mode

Source

pub fn key_order(&self) -> KEY_ORDER_R

Bit 5 - Input key order

Source

pub fn input_order(&self) -> INPUT_ORDER_R

Bit 7 - Input data order

Source

pub fn output_order(&self) -> OUTPUT_ORDER_R

Bit 9 - Output data order