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 kl_data_in_0(&self) -> &KlDataIn0

0x1000 - Key data input word 0

Source

pub const fn kl_data_in_1(&self) -> &KlDataIn1

0x1004 - Key data input word 1

Source

pub const fn kl_data_in_2(&self) -> &KlDataIn2

0x1008 - Key data input word 2

Source

pub const fn kl_data_in_3(&self) -> &KlDataIn3

0x100c - Key data input word 3

Source

pub const fn kl_key_addr(&self) -> &KlKeyAddr

0x1010 - Key address register

Source

pub const fn kl_key_cfg(&self) -> &KlKeyCfg

0x1014 - Key configuration register

Source

pub const fn kl_key_sec_cfg(&self) -> &KlKeySecCfg

0x1018 - Key security configuration

Source

pub const fn kl_state(&self) -> &KlState

0x1030 - KLAD state register

Source

pub const fn kl_error(&self) -> &KlError

0x1038 - KLAD error register

Source

pub const fn kl_int_en(&self) -> &KlIntEn

0x1040 - KLAD interrupt enable

Source

pub const fn kl_int(&self) -> &KlInt

0x1048 - KLAD interrupt status

Source

pub const fn kl_lock_ctrl(&self) -> &KlLockCtrl

0x1074 - KLAD lock control

Source

pub const fn kl_com_ctrl(&self) -> &KlComCtrl

0x1084 - KLAD common control

Source

pub const fn kl_com_status(&self) -> &KlComStatus

0x1088 - KLAD common status

Source

pub const fn kl_alarm_info(&self) -> &KlAlarmInfo

0x1600 - KLAD alarm info register

Source

pub const fn kc_teecpu_lock_cmd(&self) -> &KcTeecpuLockCmd

0x1b00 - TEE CPU keyslot lock command

Source

pub const fn kc_reecpu_lock_cmd(&self) -> &KcReecpuLockCmd

0x1b04 - REE CPU keyslot lock command

Source

pub const fn kc_pcpu_lock_cmd(&self) -> &KcPcpuLockCmd

0x1b08 - PCPU keyslot lock command

Source

pub const fn kc_aidsp_lock_cmd(&self) -> &KcAidspLockCmd

0x1b0c - AIDSP keyslot lock command

Source

pub const fn kc_rd_slot_num(&self) -> &KcRdSlotNum

0x1b30 - Keyslot query slot number selection

Source

pub const fn kc_rd_lock_status(&self) -> &KcRdLockStatus

0x1b34 - Keyslot lock status readback

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.