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_int_raw_hash_clear_finish( &self, ) -> &SpaccIntRawHashClearFinish

0x14 - Hash channel-clear completion status; write one to clear

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 in_sym_chn1_ctrl(&self, n: usize) -> &InSymChnCtrl

0x4100..0x4108 - Symmetric channel %s control

`n` is the index of register in the array. `n == 0` corresponds to `IN_SYM_CHN1_CTRL` register.
Source

pub fn in_sym_chn1_ctrl_iter(&self) -> impl Iterator<Item = &InSymChnCtrl>

Iterator for array of: 0x4100..0x4108 - Symmetric channel %s control

Source

pub const fn in_sym_chn2_ctrl(&self) -> &InSymChnCtrl

0x4200 - Symmetric channel 2 control

Source

pub const fn in_sym_out_ctrl1(&self, n: usize) -> &InSymOutCtrl

0x4104..0x410c - Symmetric channel %s output control

`n` is the index of register in the array. `n == 0` corresponds to `IN_SYM_OUT_CTRL1` register.
Source

pub fn in_sym_out_ctrl1_iter(&self) -> impl Iterator<Item = &InSymOutCtrl>

Iterator for array of: 0x4104..0x410c - Symmetric channel %s output control

Source

pub const fn in_sym_out_ctrl2(&self) -> &InSymOutCtrl

0x4204 - Symmetric channel 2 output control

Source

pub const fn in_sym_chn1_key_ctrl(&self, n: usize) -> &InSymChnKeyCtrl

0x4110..0x4118 - Symmetric channel %s algorithm and keyslot control

`n` is the index of register in the array. `n == 0` corresponds to `IN_SYM_CHN1_KEY_CTRL` register.
Source

pub fn in_sym_chn1_key_ctrl_iter( &self, ) -> impl Iterator<Item = &InSymChnKeyCtrl>

Iterator for array of: 0x4110..0x4118 - Symmetric channel %s algorithm and keyslot control

Source

pub const fn in_sym_chn2_key_ctrl(&self) -> &InSymChnKeyCtrl

0x4210 - Symmetric channel 2 algorithm and keyslot control

Source

pub const fn in_sym_chn1_node_start_addr_h( &self, n: usize, ) -> &InSymChnNodeStartAddrH

0x4120..0x4128 - Symmetric input descriptor-list address bits 35:32

`n` is the index of register in the array. `n == 0` corresponds to `IN_SYM_CHN1_NODE_START_ADDR_H` register.
Source

pub fn in_sym_chn1_node_start_addr_h_iter( &self, ) -> impl Iterator<Item = &InSymChnNodeStartAddrH>

Iterator for array of: 0x4120..0x4128 - Symmetric input descriptor-list address bits 35:32

Source

pub const fn in_sym_chn2_node_start_addr_h(&self) -> &InSymChnNodeStartAddrH

0x4220 - Symmetric input descriptor-list address bits 35:32

Source

pub const fn in_sym_chn1_node_start_addr_l( &self, n: usize, ) -> &InSymChnNodeStartAddrL

0x4124..0x412c - Symmetric input descriptor-list address bits 31:0

`n` is the index of register in the array. `n == 0` corresponds to `IN_SYM_CHN1_NODE_START_ADDR_L` register.
Source

pub fn in_sym_chn1_node_start_addr_l_iter( &self, ) -> impl Iterator<Item = &InSymChnNodeStartAddrL>

Iterator for array of: 0x4124..0x412c - Symmetric input descriptor-list address bits 31:0

Source

pub const fn in_sym_chn2_node_start_addr_l(&self) -> &InSymChnNodeStartAddrL

0x4224 - Symmetric input descriptor-list address bits 31:0

Source

pub const fn in_sym_chn1_node_length(&self, n: usize) -> &InSymChnNodeLength

0x412c..0x4134 - Symmetric input descriptor ring depth

`n` is the index of register in the array. `n == 0` corresponds to `IN_SYM_CHN1_NODE_LENGTH` register.
Source

pub fn in_sym_chn1_node_length_iter( &self, ) -> impl Iterator<Item = &InSymChnNodeLength>

Iterator for array of: 0x412c..0x4134 - Symmetric input descriptor ring depth

Source

pub const fn in_sym_chn2_node_length(&self) -> &InSymChnNodeLength

0x422c - Symmetric input descriptor ring depth

Source

pub const fn in_sym_chn1_node_wr_point(&self, n: usize) -> &InSymChnNodeWrPoint

0x4130..0x4138 - Symmetric input descriptor producer pointer

`n` is the index of register in the array. `n == 0` corresponds to `IN_SYM_CHN1_NODE_WR_POINT` register.
Source

pub fn in_sym_chn1_node_wr_point_iter( &self, ) -> impl Iterator<Item = &InSymChnNodeWrPoint>

Iterator for array of: 0x4130..0x4138 - Symmetric input descriptor producer pointer

Source

pub const fn in_sym_chn2_node_wr_point(&self) -> &InSymChnNodeWrPoint

0x4230 - Symmetric input descriptor producer pointer

Source

pub const fn in_sym_chn1_node_rd_point(&self, n: usize) -> &InSymChnNodeRdPoint

0x4134..0x413c - Symmetric input descriptor consumer pointer

`n` is the index of register in the array. `n == 0` corresponds to `IN_SYM_CHN1_NODE_RD_POINT` register.
Source

pub fn in_sym_chn1_node_rd_point_iter( &self, ) -> impl Iterator<Item = &InSymChnNodeRdPoint>

Iterator for array of: 0x4134..0x413c - Symmetric input descriptor consumer pointer

Source

pub const fn in_sym_chn2_node_rd_point(&self) -> &InSymChnNodeRdPoint

0x4234 - Symmetric input descriptor consumer pointer

Source

pub const fn in_hash_chn1_ctrl(&self, n: usize) -> &InHashChnCtrl

0x5100..0x5108 - Hash channel %s control

`n` is the index of register in the array. `n == 0` corresponds to `IN_HASH_CHN1_CTRL` register.
Source

pub fn in_hash_chn1_ctrl_iter(&self) -> impl Iterator<Item = &InHashChnCtrl>

Iterator for array of: 0x5100..0x5108 - Hash channel %s control

Source

pub const fn in_hash_chn2_ctrl(&self) -> &InHashChnCtrl

0x5200 - Hash channel 2 control

Source

pub const fn in_hash_chn1_key_ctrl(&self, n: usize) -> &InHashChnKeyCtrl

0x5110..0x5118 - Hash channel %s algorithm and keyslot control

`n` is the index of register in the array. `n == 0` corresponds to `IN_HASH_CHN1_KEY_CTRL` register.
Source

pub fn in_hash_chn1_key_ctrl_iter( &self, ) -> impl Iterator<Item = &InHashChnKeyCtrl>

Iterator for array of: 0x5110..0x5118 - Hash channel %s algorithm and keyslot control

Source

pub const fn in_hash_chn2_key_ctrl(&self) -> &InHashChnKeyCtrl

0x5210 - Hash channel 2 algorithm and keyslot control

Source

pub const fn in_hash_chn1_node_start_addr_h( &self, n: usize, ) -> &InHashChnNodeStartAddrH

0x5120..0x5128 - Hash channel %s descriptor-list address bits 35:32

`n` is the index of register in the array. `n == 0` corresponds to `IN_HASH_CHN1_NODE_START_ADDR_H` register.
Source

pub fn in_hash_chn1_node_start_addr_h_iter( &self, ) -> impl Iterator<Item = &InHashChnNodeStartAddrH>

Iterator for array of: 0x5120..0x5128 - Hash channel %s descriptor-list address bits 35:32

Source

pub const fn in_hash_chn2_node_start_addr_h(&self) -> &InHashChnNodeStartAddrH

0x5220 - Hash channel 2 descriptor-list address bits 35:32

Source

pub const fn in_hash_chn1_node_start_addr_l( &self, n: usize, ) -> &InHashChnNodeStartAddrL

0x5124..0x512c - Hash channel %s descriptor-list address bits 31:0

`n` is the index of register in the array. `n == 0` corresponds to `IN_HASH_CHN1_NODE_START_ADDR_L` register.
Source

pub fn in_hash_chn1_node_start_addr_l_iter( &self, ) -> impl Iterator<Item = &InHashChnNodeStartAddrL>

Iterator for array of: 0x5124..0x512c - Hash channel %s descriptor-list address bits 31:0

Source

pub const fn in_hash_chn2_node_start_addr_l(&self) -> &InHashChnNodeStartAddrL

0x5224 - Hash channel 2 descriptor-list address bits 31:0

Source

pub const fn in_hash_chn1_node_length(&self, n: usize) -> &InHashChnNodeLength

0x512c..0x5134 - Hash channel %s descriptor ring depth

`n` is the index of register in the array. `n == 0` corresponds to `IN_HASH_CHN1_NODE_LENGTH` register.
Source

pub fn in_hash_chn1_node_length_iter( &self, ) -> impl Iterator<Item = &InHashChnNodeLength>

Iterator for array of: 0x512c..0x5134 - Hash channel %s descriptor ring depth

Source

pub const fn in_hash_chn2_node_length(&self) -> &InHashChnNodeLength

0x522c - Hash channel 2 descriptor ring depth

Source

pub const fn in_hash_chn1_node_wr_point( &self, n: usize, ) -> &InHashChnNodeWrPoint

0x5130..0x5138 - Hash channel %s descriptor write pointer

`n` is the index of register in the array. `n == 0` corresponds to `IN_HASH_CHN1_NODE_WR_POINT` register.
Source

pub fn in_hash_chn1_node_wr_point_iter( &self, ) -> impl Iterator<Item = &InHashChnNodeWrPoint>

Iterator for array of: 0x5130..0x5138 - Hash channel %s descriptor write pointer

Source

pub const fn in_hash_chn2_node_wr_point(&self) -> &InHashChnNodeWrPoint

0x5230 - Hash channel 2 descriptor write pointer

Source

pub const fn in_hash_chn1_node_rd_point( &self, n: usize, ) -> &InHashChnNodeRdPoint

0x5134..0x513c - Hash channel %s descriptor read pointer

`n` is the index of register in the array. `n == 0` corresponds to `IN_HASH_CHN1_NODE_RD_POINT` register.
Source

pub fn in_hash_chn1_node_rd_point_iter( &self, ) -> impl Iterator<Item = &InHashChnNodeRdPoint>

Iterator for array of: 0x5134..0x513c - Hash channel %s descriptor read pointer

Source

pub const fn in_hash_chn2_node_rd_point(&self) -> &InHashChnNodeRdPoint

0x5234 - Hash channel 2 descriptor read pointer

Source

pub const fn in_hash_chn1_data_len(&self, n: usize) -> &InHashChnDataLen

0x51c0..0x51c8 - Hash channel %s unprocessed byte count

`n` is the index of register in the array. `n == 0` corresponds to `IN_HASH_CHN1_DATA_LEN` register.
Source

pub fn in_hash_chn1_data_len_iter( &self, ) -> impl Iterator<Item = &InHashChnDataLen>

Iterator for array of: 0x51c0..0x51c8 - Hash channel %s unprocessed byte count

Source

pub const fn in_hash_chn2_data_len(&self) -> &InHashChnDataLen

0x52c0 - Hash channel 2 unprocessed byte count

Source

pub const fn ree_sym_calc_ctrl_check_err(&self) -> &ReeSymCalcCtrlCheckErr

0x8070 - REE symmetric-control validation error summary

Source

pub const fn ree_sym_calc_ctrl_check_err_status( &self, ) -> &ReeSymCalcCtrlCheckErrStatus

0x8074 - REE symmetric-control validation error detail

Source

pub const fn ree_hash_calc_ctrl_check_err(&self) -> &ReeHashCalcCtrlCheckErr

0x8078 - REE hash-control validation error summary

Source

pub const fn ree_hash_calc_ctrl_check_err_status( &self, ) -> &ReeHashCalcCtrlCheckErrStatus

0x807c - REE hash-control validation error detail

Source

pub const fn hash_chann_raw_int(&self) -> &HashChannRawInt

0x8600 - Hash channel completion status; write one to clear

Source

pub const fn hash_chann_raw_int_en(&self) -> &HashChannRawIntEn

0x8604 - Hash channel completion interrupt enable

Source

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

0x8610 - Sym channel raw interrupt status; write one to clear

Source

pub const fn chann1_hash_state_val(&self, n: usize) -> &ChannHashStateVal

0xa080..0xa088 - Hash channel %s indexed state data

`n` is the index of register in the array. `n == 0` corresponds to `CHANN1_HASH_STATE_VAL` register.
Source

pub fn chann1_hash_state_val_iter( &self, ) -> impl Iterator<Item = &ChannHashStateVal>

Iterator for array of: 0xa080..0xa088 - Hash channel %s indexed state data

Source

pub const fn chann2_hash_state_val(&self) -> &ChannHashStateVal

0xa100 - Hash channel 2 indexed state data

Source

pub const fn chann1_hash_state_val_addr( &self, n: usize, ) -> &ChannHashStateValAddr

0xa084..0xa08c - Hash channel %s state-word selector

`n` is the index of register in the array. `n == 0` corresponds to `CHANN1_HASH_STATE_VAL_ADDR` register.
Source

pub fn chann1_hash_state_val_addr_iter( &self, ) -> impl Iterator<Item = &ChannHashStateValAddr>

Iterator for array of: 0xa084..0xa08c - Hash channel %s state-word selector

Source

pub const fn chann2_hash_state_val_addr(&self) -> &ChannHashStateValAddr

0xa104 - Hash channel 2 state-word selector

Source

pub const fn out_sym_chan_raw_last_node_int(&self) -> &OutSymChanRawLastNodeInt

0xc000 - Output last-node completion status; write one to clear

Source

pub const fn out_sym_chn1_node_start_addr_h( &self, n: usize, ) -> &OutSymChnNodeStartAddrH

0xd020..0xd028 - Symmetric output descriptor-list address bits 35:32

`n` is the index of register in the array. `n == 0` corresponds to `OUT_SYM_CHN1_NODE_START_ADDR_H` register.
Source

pub fn out_sym_chn1_node_start_addr_h_iter( &self, ) -> impl Iterator<Item = &OutSymChnNodeStartAddrH>

Iterator for array of: 0xd020..0xd028 - Symmetric output descriptor-list address bits 35:32

Source

pub const fn out_sym_chn2_node_start_addr_h(&self) -> &OutSymChnNodeStartAddrH

0xd120 - Symmetric output descriptor-list address bits 35:32

Source

pub const fn out_sym_chn1_node_start_addr_l( &self, n: usize, ) -> &OutSymChnNodeStartAddrL

0xd024..0xd02c - Symmetric output descriptor-list address bits 31:0

`n` is the index of register in the array. `n == 0` corresponds to `OUT_SYM_CHN1_NODE_START_ADDR_L` register.
Source

pub fn out_sym_chn1_node_start_addr_l_iter( &self, ) -> impl Iterator<Item = &OutSymChnNodeStartAddrL>

Iterator for array of: 0xd024..0xd02c - Symmetric output descriptor-list address bits 31:0

Source

pub const fn out_sym_chn2_node_start_addr_l(&self) -> &OutSymChnNodeStartAddrL

0xd124 - Symmetric output descriptor-list address bits 31:0

Source

pub const fn out_sym_chn1_node_length(&self, n: usize) -> &OutSymChnNodeLength

0xd028..0xd030 - Symmetric output descriptor ring depth

`n` is the index of register in the array. `n == 0` corresponds to `OUT_SYM_CHN1_NODE_LENGTH` register.
Source

pub fn out_sym_chn1_node_length_iter( &self, ) -> impl Iterator<Item = &OutSymChnNodeLength>

Iterator for array of: 0xd028..0xd030 - Symmetric output descriptor ring depth

Source

pub const fn out_sym_chn2_node_length(&self) -> &OutSymChnNodeLength

0xd128 - Symmetric output descriptor ring depth

Source

pub const fn out_sym_chn1_node_wr_point( &self, n: usize, ) -> &OutSymChnNodeWrPoint

0xd030..0xd038 - Symmetric output descriptor producer pointer

`n` is the index of register in the array. `n == 0` corresponds to `OUT_SYM_CHN1_NODE_WR_POINT` register.
Source

pub fn out_sym_chn1_node_wr_point_iter( &self, ) -> impl Iterator<Item = &OutSymChnNodeWrPoint>

Iterator for array of: 0xd030..0xd038 - Symmetric output descriptor producer pointer

Source

pub const fn out_sym_chn2_node_wr_point(&self) -> &OutSymChnNodeWrPoint

0xd130 - Symmetric output descriptor producer pointer

Source

pub const fn out_sym_chn1_node_rd_point( &self, n: usize, ) -> &OutSymChnNodeRdPoint

0xd034..0xd03c - Symmetric output descriptor consumer pointer

`n` is the index of register in the array. `n == 0` corresponds to `OUT_SYM_CHN1_NODE_RD_POINT` register.
Source

pub fn out_sym_chn1_node_rd_point_iter( &self, ) -> impl Iterator<Item = &OutSymChnNodeRdPoint>

Iterator for array of: 0xd034..0xd03c - Symmetric output descriptor consumer pointer

Source

pub const fn out_sym_chn2_node_rd_point(&self) -> &OutSymChnNodeRdPoint

0xd134 - Symmetric output descriptor consumer pointer

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.