Skip to main content

RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn spacc_ie(&self) -> &SpaccIe

0x04 - SPACC interrupt enable

Source

pub const fn spacc_int_raw_sym_clr_finish(&self) -> &SpaccIntRawSymClrFinish

0x08 - Sym clear finish raw interrupt

Source

pub const fn spacc_sym_chn_lock(&self) -> &SpaccSymChnLock

0x20 - Sym channel lock register

Source

pub const fn spacc_hash_chn_lock(&self) -> &SpaccHashChnLock

0x40 - Hash channel lock register

Source

pub const fn spacc_sym_chn_clear_req(&self) -> &SpaccSymChnClearReq

0x60 - Sym channel clear request

Source

pub const fn spacc_hash_chn_clear_req(&self) -> &SpaccHashChnClearReq

0x68 - Hash channel clear request

Source

pub const fn spacc_bus_err(&self) -> &SpaccBusErr

0x200 - Bus error register

Source

pub const fn in_sym_chn0_ctrl(&self) -> &InSymChn0Ctrl

0x4000 - Sym channel 0 control register (no-DMA mode)

Source

pub const fn in_sym_chn0_special_ctrl(&self) -> &InSymChn0SpecialCtrl

0x4004 - Sym channel 0 special control

Source

pub const fn in_sym_chn0_key_ctrl(&self) -> &InSymChn0KeyCtrl

0x4010 - Sym channel 0 key control (no-DMA mode)

Source

pub const fn in_sym_chn0_iv_data_ctrl(&self) -> &InSymChn0IvDataCtrl

0x4030 - Sym channel 0 IV/data control (register mode)

Source

pub const fn in_sym_chn0_iv0(&self) -> &InSymChn0Iv0

0x4040 - Sym channel 0 IV word 0 (register mode)

Source

pub const fn in_sym_chn0_iv1(&self) -> &InSymChn0Iv1

0x4044 - Sym channel 0 IV word 1

Source

pub const fn in_sym_chn0_iv2(&self) -> &InSymChn0Iv2

0x4048 - Sym channel 0 IV word 2

Source

pub const fn in_sym_chn0_iv3(&self) -> &InSymChn0Iv3

0x404c - Sym channel 0 IV word 3

Source

pub const fn in_sym_chn0_data0(&self) -> &InSymChn0Data0

0x4050 - Sym channel 0 data word 0 (register mode)

Source

pub const fn sym_chann_raw_int(&self) -> &SymChannRawInt

0x8610 - Sym channel raw interrupt status

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.