[−][src]Struct stm32g0::stm32g0x1::aes::cr::R
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
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self