# R in k210_pac::aes::mode_ctl - Rust
Reader of register mode_ctl
Keywords: rust, rustlang, rust-lang, R

# Type Definition k210_pac::aes::mode_ctl::R

source · [−]

    pub type R = R<u32, MODE_CTL>;

Expand description

Reader of register mode_ctl

## 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