Struct stm32mp1::stm32mp157::hash2::hash_str::HASH_STR_SPEC
source · [−]pub struct HASH_STR_SPEC;
Expand description
The HASH_STR register has two functions: It is used to define the number of valid bits in the last word of the message entered in the hash processor (that is the number of valid least significant bits in the last data written to the HASH_DIN register) It is used to start the processing of the last block in the message by writing the DCAL bit to 1
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see hash_str module
Trait Implementations
sourceimpl Readable for HASH_STR_SPEC
impl Readable for HASH_STR_SPEC
read()
method returns hash_str::R reader structure
sourceimpl RegisterSpec for HASH_STR_SPEC
impl RegisterSpec for HASH_STR_SPEC
sourceimpl Resettable for HASH_STR_SPEC
impl Resettable for HASH_STR_SPEC
reset()
method sets HASH_STR to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for HASH_STR_SPEC
impl Writable for HASH_STR_SPEC
write(|w| ..)
method takes hash_str::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for HASH_STR_SPEC
impl Send for HASH_STR_SPEC
impl Sync for HASH_STR_SPEC
impl Unpin for HASH_STR_SPEC
impl UnwindSafe for HASH_STR_SPEC
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