# W in k210_pac::aes::mode_ctl - Rust
Writer for register mode_ctl
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::aes::mode_ctl::W

source · [−]

    pub type W = W<u32, MODE_CTL>;

Expand description

Writer for register mode_ctl

## Implementations

source

### impl W

source

#### pub fn cipher_mode(&mut self) -> CIPHER_MODE_W<'_>

Bits 0:2 - Cipher mode

source

#### pub fn key_mode(&mut self) -> KEY_MODE_W<'_>

Bits 3:4 - Key mode

source

#### pub fn key_order(&mut self) -> KEY_ORDER_W<'_>

Bit 5 - Input key order

source

#### pub fn input_order(&mut self) -> INPUT_ORDER_W<'_>

Bit 7 - Input data order

source

#### pub fn output_order(&mut self) -> OUTPUT_ORDER_W<'_>

Bit 9 - Output data order