Struct atsam4lc8a_pac::aesa::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 14 fields
pub ctrl: CTRL,
pub mode: MODE,
pub databufptr: DATABUFPTR,
pub sr: SR,
pub ier: IER,
pub idr: IDR,
pub imr: IMR,
pub key: [KEY; 8],
pub initvect: [INITVECT; 4],
pub idata: IDATA,
pub odata: ODATA,
pub drngseed: DRNGSEED,
pub parameter: PARAMETER,
pub version: VERSION,
/* private fields */
}
Expand description
Register block
Fields§
§ctrl: CTRL
0x00 - Control Register
mode: MODE
0x04 - Mode Register
databufptr: DATABUFPTR
0x08 - Data Buffer Pointer Register
sr: SR
0x0c - Status Register
ier: IER
0x10 - Interrupt Enable Register
idr: IDR
0x14 - Interrupt Disable Register
imr: IMR
0x18 - Interrupt Mask Register
key: [KEY; 8]
0x20..0x40 - Key Register
initvect: [INITVECT; 4]
0x40..0x50 - Initialization Vector Register
idata: IDATA
0x50 - Input Data Register
odata: ODATA
0x60 - Output Data Register
drngseed: DRNGSEED
0x70 - DRNG Seed Register
parameter: PARAMETER
0xf8 - Parameter Register
version: VERSION
0xfc - Version 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