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 pke_work_len(&self) -> &PkeWorkLen

0x00 - PKE work length register

Source

pub const fn pke_instr0(&self) -> &PkeInstr0

0x04 - PKE instruction register 0

Source

pub const fn pke_instr1(&self) -> &PkeInstr1

0x08 - PKE instruction register 1

Source

pub const fn pke_instr_addr_low(&self) -> &PkeInstrAddrLow

0x0c - PKE instruction start address low

Source

pub const fn pke_instr_addr_hig(&self) -> &PkeInstrAddrHig

0x10 - PKE instruction start address high

Source

pub const fn pke_instr_len(&self) -> &PkeInstrLen

0x14 - PKE instruction length

Source

pub const fn pke_mask_rng_cfg(&self) -> &PkeMaskRngCfg

0x18 - PKE mask RNG configuration

Source

pub const fn pke_mont_para0(&self) -> &PkeMontPara0

0x20 - PKE Montgomery parameter 0

Source

pub const fn pke_mont_para1(&self) -> &PkeMontPara1

0x24 - PKE Montgomery parameter 1

Source

pub const fn pke_start(&self) -> &PkeStart

0x40 - PKE start control register

Source

pub const fn pke_instr_rdy(&self) -> &PkeInstrRdy

0x44 - PKE instruction ready status

Source

pub const fn pke_busy(&self) -> &PkeBusy

0x48 - PKE busy status register

Source

pub const fn pke_noise_en(&self) -> &PkeNoiseEn

0x4c - PKE noise enable register

Source

pub const fn pke_int_enable(&self) -> &PkeIntEnable

0x80 - PKE interrupt enable

Source

pub const fn pke_int_nomask_status(&self) -> &PkeIntNomaskStatus

0x84 - PKE unmasked interrupt status

Source

pub const fn pke_alarm_status(&self) -> &PkeAlarmStatus

0x8c - PKE alarm status register

Source

pub const fn pke_failure_flag(&self) -> &PkeFailureFlag

0x90 - PKE failure flag register

Source

pub const fn pke_dram_clr(&self) -> &PkeDramClr

0xc0 - PKE DRAM clear register

Source

pub const fn pke_lock_ctrl(&self) -> &PkeLockCtrl

0x810 - PKE lock control register

Source

pub const fn pke_lock_status(&self) -> &PkeLockStatus

0x814 - PKE lock status register

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.