Type Alias nrf52840_pac::ccm::mode::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