Type Definition atsam4e16c_pac::aes::mr::OPMOD_R

source ·
pub type OPMOD_R = FieldReader<u8, OPMOD_A>;
Expand description

Field OPMOD reader - Operation Mode

Implementations§

source§

impl OPMOD_R

source

pub fn variant(&self) -> Option<OPMOD_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_ofb(&self) -> bool

Checks if the value of the field is OFB

source

pub fn is_cfb(&self) -> bool

Checks if the value of the field is CFB

source

pub fn is_ctr(&self) -> bool

Checks if the value of the field is CTR