nrf52840_pac::ccm::mode

Type Alias MODE_W

Source
pub type MODE_W<'a, const O: u8> = BitWriter<'a, u32, MODE_SPEC, MODE_A, O>;
Expand description

Field MODE writer - 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_W<'a, const O: u8> { /* private fields */ }

Implementations§

Source§

impl<'a, const O: u8> MODE_W<'a, O>

Source

pub fn encryption(self) -> &'a mut W

AES CCM packet encryption mode

Source

pub fn decryption(self) -> &'a mut W

AES CCM packet decryption mode