Type Alias R

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

Reader of register CR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn npblb(&self) -> NPBLB_R

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

Source

pub fn keysize(&self) -> KEYSIZE_R

Bit 18 - Key size selection

Source

pub fn chmod2(&self) -> CHMOD2_R

Bit 16 - AES chaining mode Bit2

Source

pub fn gcmph(&self) -> GCMPH_R

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

Source

pub fn dmaouten(&self) -> DMAOUTEN_R

Bit 12 - Enable DMA management of data output phase

Source

pub fn dmainen(&self) -> DMAINEN_R

Bit 11 - Enable DMA management of data input phase

Source

pub fn errie(&self) -> ERRIE_R

Bit 10 - Error interrupt enable

Source

pub fn ccfie(&self) -> CCFIE_R

Bit 9 - CCF flag interrupt enable

Source

pub fn errc(&self) -> ERRC_R

Bit 8 - Error clear

Source

pub fn ccfc(&self) -> CCFC_R

Bit 7 - Computation Complete Flag Clear

Source

pub fn chmod10(&self) -> CHMOD10_R

Bits 5:6 - AES chaining mode Bit1 Bit0

Source

pub fn mode(&self) -> MODE_R

Bits 3:4 - AES operating mode

Source

pub fn datatype(&self) -> DATATYPE_R

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

Source

pub fn en(&self) -> EN_R

Bit 0 - AES enable