[−][src]Struct stm32g0::stm32g0x1::aes::cr::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn npblb(&mut self) -> _NPBLBW
[src]
Bits 20:23 - Number of padding bytes in last block of payload
pub fn keysize(&mut self) -> _KEYSIZEW
[src]
Bit 18 - Key size selection
pub fn chmod2(&mut self) -> _CHMOD2W
[src]
Bit 16 - AES chaining mode Bit2
pub fn gcmph(&mut self) -> _GCMPHW
[src]
Bits 13:14 - Used only for GCM, CCM and GMAC algorithms and has no effect when other algorithms are selected
pub fn dmaouten(&mut self) -> _DMAOUTENW
[src]
Bit 12 - Enable DMA management of data output phase
pub fn dmainen(&mut self) -> _DMAINENW
[src]
Bit 11 - Enable DMA management of data input phase
pub fn errie(&mut self) -> _ERRIEW
[src]
Bit 10 - Error interrupt enable
pub fn ccfie(&mut self) -> _CCFIEW
[src]
Bit 9 - CCF flag interrupt enable
pub fn errc(&mut self) -> _ERRCW
[src]
Bit 8 - Error clear
pub fn ccfc(&mut self) -> _CCFCW
[src]
Bit 7 - Computation Complete Flag Clear
pub fn chmod10(&mut self) -> _CHMOD10W
[src]
Bits 5:6 - AES chaining mode Bit1 Bit0
pub fn mode(&mut self) -> _MODEW
[src]
Bits 3:4 - AES operating mode
pub fn datatype(&mut self) -> _DATATYPEW
[src]
Bits 1:2 - Data type selection (for data in and data out to/from the cryptographic block)
pub fn en(&mut self) -> _ENW
[src]
Bit 0 - AES enable
Auto Trait Implementations
Blanket Implementations
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> From<T> for T
[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