Struct stm32f4xx_hal::pac::hash::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub cr: Reg<CR_SPEC>,
pub din: Reg<DIN_SPEC>,
pub str: Reg<STR_SPEC>,
pub hr: [Reg<HR_SPEC>; 5],
pub imr: Reg<IMR_SPEC>,
pub sr: Reg<SR_SPEC>,
pub csr: [Reg<CSR_SPEC>; 54],
pub hash_hr: [Reg<HASH_HR_SPEC>; 8],
/* private fields */
}
Expand description
Register block
Fields
cr: Reg<CR_SPEC>
0x00 - control register
din: Reg<DIN_SPEC>
0x04 - data input register
str: Reg<STR_SPEC>
0x08 - start register
hr: [Reg<HR_SPEC>; 5]
0x0c..0x20 - digest registers
imr: Reg<IMR_SPEC>
0x20 - interrupt enable register
sr: Reg<SR_SPEC>
0x24 - status register
csr: [Reg<CSR_SPEC>; 54]
0xf8..0x1d0 - context swap registers
hash_hr: [Reg<HASH_HR_SPEC>; 8]
0x310..0x330 - HASH digest register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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