nrf52840_pac::ccm::mode

Type Alias MODE_R

Source
pub type MODE_R = BitReader<MODE_A>;
Expand description

Field MODE reader - The mode of operation to be used. The settings in this register apply whenever either the KSGEN or CRYPT tasks are triggered.

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

Source§

impl MODE_R

Source

pub fn variant(&self) -> MODE_A

Get enumerated values variant

Source

pub fn is_encryption(&self) -> bool

Checks if the value of the field is ENCRYPTION

Source

pub fn is_decryption(&self) -> bool

Checks if the value of the field is DECRYPTION