Struct atsame70n21b::aes::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 16 fields
pub cr: CR,
pub mr: MR,
pub ier: IER,
pub idr: IDR,
pub imr: IMR,
pub isr: ISR,
pub keywr: [KEYWR; 8],
pub idatar: [IDATAR; 4],
pub odatar: [ODATAR; 4],
pub ivr: [IVR; 4],
pub aadlenr: AADLENR,
pub clenr: CLENR,
pub ghashr: [GHASHR; 4],
pub tagr: [TAGR; 4],
pub ctrr: CTRR,
pub gcmhr: [GCMHR; 4],
/* private fields */
}
Expand description
Register block
Fields§
§cr: CR
0x00 - Control Register
mr: MR
0x04 - Mode Register
ier: IER
0x10 - Interrupt Enable Register
idr: IDR
0x14 - Interrupt Disable Register
imr: IMR
0x18 - Interrupt Mask Register
isr: ISR
0x1c - Interrupt Status Register
keywr: [KEYWR; 8]
0x20..0x40 - Key Word Register
idatar: [IDATAR; 4]
0x40..0x50 - Input Data Register
odatar: [ODATAR; 4]
0x50..0x60 - Output Data Register
ivr: [IVR; 4]
0x60..0x70 - Initialization Vector Register
aadlenr: AADLENR
0x70 - Additional Authenticated Data Length Register
clenr: CLENR
0x74 - Plaintext/Ciphertext Length Register
ghashr: [GHASHR; 4]
0x78..0x88 - GCM Intermediate Hash Word Register
tagr: [TAGR; 4]
0x88..0x98 - GCM Authentication Tag Word Register
ctrr: CTRR
0x98 - GCM Encryption Counter Value Register
gcmhr: [GCMHR; 4]
0x9c..0xac - GCM H Word 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more