W

Type Alias W 

Source
pub type W = W<u32, CR>;
Expand description

Writer for register CR

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn npblb(&mut self) -> NPBLB_W<'_>

Bits 20:23 - Number of padding bytes in last block of payload

Source

pub fn keysize(&mut self) -> KEYSIZE_W<'_>

Bit 18 - Key size selection

Source

pub fn chmod2(&mut self) -> CHMOD2_W<'_>

Bit 16 - AES chaining mode Bit2

Source

pub fn gcmph(&mut self) -> GCMPH_W<'_>

Bits 13:14 - Used only for GCM, CCM and GMAC algorithms and has no effect when other algorithms are selected

Source

pub fn dmaouten(&mut self) -> DMAOUTEN_W<'_>

Bit 12 - Enable DMA management of data output phase

Source

pub fn dmainen(&mut self) -> DMAINEN_W<'_>

Bit 11 - Enable DMA management of data input phase

Source

pub fn errie(&mut self) -> ERRIE_W<'_>

Bit 10 - Error interrupt enable

Source

pub fn ccfie(&mut self) -> CCFIE_W<'_>

Bit 9 - CCF flag interrupt enable

Source

pub fn errc(&mut self) -> ERRC_W<'_>

Bit 8 - Error clear

Source

pub fn ccfc(&mut self) -> CCFC_W<'_>

Bit 7 - Computation Complete Flag Clear

Source

pub fn chmod10(&mut self) -> CHMOD10_W<'_>

Bits 5:6 - AES chaining mode Bit1 Bit0

Source

pub fn mode(&mut self) -> MODE_W<'_>

Bits 3:4 - AES operating mode

Source

pub fn datatype(&mut self) -> DATATYPE_W<'_>

Bits 1:2 - Data type selection (for data in and data out to/from the cryptographic block)

Source

pub fn en(&mut self) -> EN_W<'_>

Bit 0 - AES enable