k210_pac::aes::mode_ctl

Type Alias W

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

Writer for register mode_ctl

Aliased Type§

struct W { /* private fields */ }

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