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