RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn aes_cr(&self) -> &AES_CR

0x00 - AES control register

Source

pub const fn aes_sr(&self) -> &AES_SR

0x04 - AES status register

Source

pub const fn aes_dinr(&self) -> &AES_DINR

0x08 - AES input data register

Source

pub const fn aes_doutr(&self) -> &AES_DOUTR

0x0c - AES output data register

Source

pub const fn aes_keyr0(&self) -> &AES_KEYR0

0x10 - AES key register 0

Source

pub const fn aes_keyr1(&self) -> &AES_KEYR1

0x14 - AES key register 1

Source

pub const fn aes_keyr2(&self) -> &AES_KEYR2

0x18 - AES key register 2

Source

pub const fn aes_keyr3(&self) -> &AES_KEYR3

0x1c - AES key register 3

Source

pub const fn aes_ivr0(&self) -> &AES_IVR0

0x20 - AES Encryption starting point register 0

Source

pub const fn aes_ivr1(&self) -> &AES_IVR1

0x24 - AES Encryption starting point register 1

Source

pub const fn aes_ivr2(&self) -> &AES_IVR2

0x28 - AES Encryption starting point register 2

Source

pub const fn aes_ivr3(&self) -> &AES_IVR3

0x2c - AES Encryption starting point register 3

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.