# KEY_MODE_R in k210_pac::aes::mode_ctl - Rust
Reader of field `key_mode`
Keywords: rust, rustlang, rust-lang, KEY_MODE_R

# Type Definition k210_pac::aes::mode_ctl::KEY_MODE_R

source · [−]

    pub type KEY_MODE_R = R<u8, KEY_MODE_A>;

Expand description

Reader of field `key_mode`

## Implementations

source

### impl KEY_MODE_R

source

#### pub fn variant(&self) -> Variant<u8, KEY_MODE_A>

Get enumerated values variant

source

#### pub fn is_aes128(&self) -> bool

Checks if the value of the field is `AES128`

source

#### pub fn is_aes192(&self) -> bool

Checks if the value of the field is `AES192`

source

#### pub fn is_aes256(&self) -> bool

Checks if the value of the field is `AES256`