[][src]Struct stm32g0::stm32g0x1::aes::cr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn npblb(&self) -> NPBLBR[src]

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

pub fn keysize(&self) -> KEYSIZER[src]

Bit 18 - Key size selection

pub fn chmod2(&self) -> CHMOD2R[src]

Bit 16 - AES chaining mode Bit2

pub fn gcmph(&self) -> GCMPHR[src]

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

pub fn dmaouten(&self) -> DMAOUTENR[src]

Bit 12 - Enable DMA management of data output phase

pub fn dmainen(&self) -> DMAINENR[src]

Bit 11 - Enable DMA management of data input phase

pub fn errie(&self) -> ERRIER[src]

Bit 10 - Error interrupt enable

pub fn ccfie(&self) -> CCFIER[src]

Bit 9 - CCF flag interrupt enable

pub fn errc(&self) -> ERRCR[src]

Bit 8 - Error clear

pub fn ccfc(&self) -> CCFCR[src]

Bit 7 - Computation Complete Flag Clear

pub fn chmod10(&self) -> CHMOD10R[src]

Bits 5:6 - AES chaining mode Bit1 Bit0

pub fn mode(&self) -> MODER[src]

Bits 3:4 - AES operating mode

pub fn datatype(&self) -> DATATYPER[src]

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

pub fn en(&self) -> ENR[src]

Bit 0 - AES enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self