[]Struct stm32f407g_disc::stm32::cryp::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub fn reset_value() -> W

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

pub fn algodir(&mut self) -> _ALGODIRW

Bit 2 - Algorithm direction

pub fn algomode0(&mut self) -> _ALGOMODE0W

Bits 3:5 - Algorithm mode

pub fn datatype(&mut self) -> _DATATYPEW

Bits 6:7 - Data type selection

pub fn keysize(&mut self) -> _KEYSIZEW

Bits 8:9 - Key size selection (AES mode only)

pub fn fflush(&mut self) -> _FFLUSHW

Bit 14 - FIFO flush

pub fn crypen(&mut self) -> _CRYPENW

Bit 15 - Cryptographic processor enable

pub fn gcm_ccmph(&mut self) -> _GCM_CCMPHW

Bits 16:17 - GCM_CCMPH

pub fn algomode3(&mut self) -> _ALGOMODE3W

Bit 19 - ALGOMODE

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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