[][src]Type Definition lpc55s6x_pac::hashcrypt::indata::W

type W = W<u32, INDATA>;

Writer for register INDATA

Methods

impl W[src]

pub fn data(&mut self) -> DATA_W[src]

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.