Struct atsamd51g::aes::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 14 fields
pub ctrla: Reg<CTRLA_SPEC>,
pub ctrlb: Reg<CTRLB_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub databufptr: Reg<DATABUFPTR_SPEC>,
pub dbgctrl: Reg<DBGCTRL_SPEC>,
pub keyword: [Reg<KEYWORD_SPEC>; 8],
pub indata: Reg<INDATA_SPEC>,
pub intvectv: [Reg<INTVECTV_SPEC>; 4],
pub hashkey: [Reg<HASHKEY_SPEC>; 4],
pub ghash: [Reg<GHASH_SPEC>; 4],
pub ciplen: Reg<CIPLEN_SPEC>,
pub randseed: Reg<RANDSEED_SPEC>,
/* private fields */
}Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>0x00 - Control A
ctrlb: Reg<CTRLB_SPEC>0x04 - Control B
intenclr: Reg<INTENCLR_SPEC>0x05 - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>0x06 - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>0x07 - Interrupt Flag Status
databufptr: Reg<DATABUFPTR_SPEC>0x08 - Data buffer pointer
dbgctrl: Reg<DBGCTRL_SPEC>0x09 - Debug control
keyword: [Reg<KEYWORD_SPEC>; 8]0x0c..0x2c - Keyword n
indata: Reg<INDATA_SPEC>0x38 - Indata
intvectv: [Reg<INTVECTV_SPEC>; 4]0x3c..0x4c - Initialisation Vector n
hashkey: [Reg<HASHKEY_SPEC>; 4]0x5c..0x6c - Hash key n
ghash: [Reg<GHASH_SPEC>; 4]0x6c..0x7c - Galois Hash n
ciplen: Reg<CIPLEN_SPEC>0x80 - Cipher Length
randseed: Reg<RANDSEED_SPEC>0x84 - Random Seed
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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