pub struct W(_);
Expand description
Register INDATA
writer
Implementations
sourceimpl W
impl W
sourcepub fn data(&mut self) -> DATA_W<'_>
pub fn data(&mut self) -> DATA_W<'_>
Bits 0:31 - Write next word in little-endian form. The hash requires big endian word data, but this block swaps the bytes automatically. That is, SHA assumes the data coming in is treated as bytes (e.g. “abcd”) and since the ARM core will treat “abcd” as a word as 0x64636261, the block will swap the word to restore into big endian.
Methods from Deref<Target = W<INDATA_SPEC>>
Trait Implementations
sourceimpl From<W<INDATA_SPEC>> for W
impl From<W<INDATA_SPEC>> for W
sourcefn from(writer: W<INDATA_SPEC>) -> Self
fn from(writer: W<INDATA_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more