Struct esp32_hal::pac::sha::sha256_start::W
pub struct W(_);
Expand description
Register SHA256_START
writer
Implementations§
§impl W
impl W
pub fn sha256_start(
&mut self
) -> BitWriterRaw<'_, u32, SHA256_START_SPEC, bool, BitM, 0>
pub fn sha256_start(
&mut self
) -> BitWriterRaw<'_, u32, SHA256_START_SPEC, bool, BitM, 0>
Bit 0 - Write 1 to start an SHA-256 operation on the first message block.
Methods from Deref<Target = W<SHA256_START_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<SHA256_START_SPEC>> for W
impl From<W<SHA256_START_SPEC>> for W
§fn from(writer: W<SHA256_START_SPEC>) -> W
fn from(writer: W<SHA256_START_SPEC>) -> W
Converts to this type from the input type.