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

# Type Definition k210_pac::aes::mode_ctl::CIPHER_MODE_R

source · [−]

    pub type CIPHER_MODE_R = R<u8, CIPHER_MODE_A>;

Expand description

Reader of field `cipher_mode`

## Implementations

source

### impl CIPHER_MODE_R

source

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

Get enumerated values variant

source

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

Checks if the value of the field is `ECB`

source

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

Checks if the value of the field is `CBC`

source

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

Checks if the value of the field is `GCM`