RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn pkc_status(&self) -> &PkcStatus

0x00 - Status Register

Source

pub const fn pkc_ctrl(&self) -> &PkcCtrl

0x04 - Control Register

Source

pub const fn pkc_cfg(&self) -> &PkcCfg

0x08 - Configuration register

Source

pub const fn pkc_mode1(&self) -> &PkcMode1

0x10 - Mode register, parameter set 1

Source

pub const fn pkc_xyptr1(&self) -> &PkcXyptr1

0x14 - X+Y pointer register, parameter set 1

Source

pub const fn pkc_zrptr1(&self) -> &PkcZrptr1

0x18 - Z+R pointer register, parameter set 1

Source

pub const fn pkc_len1(&self) -> &PkcLen1

0x1c - Length register, parameter set 1

Source

pub const fn pkc_mode2(&self) -> &PkcMode2

0x20 - Mode register, parameter set 2

Source

pub const fn pkc_xyptr2(&self) -> &PkcXyptr2

0x24 - X+Y pointer register, parameter set 2

Source

pub const fn pkc_zrptr2(&self) -> &PkcZrptr2

0x28 - Z+R pointer register, parameter set 2

Source

pub const fn pkc_len2(&self) -> &PkcLen2

0x2c - Length register, parameter set 2

Source

pub const fn pkc_uptr(&self) -> &PkcUptr

0x40 - Universal pointer FUP program

Source

pub const fn pkc_uptrt(&self) -> &PkcUptrt

0x44 - Universal pointer FUP table

Source

pub const fn pkc_ulen(&self) -> &PkcUlen

0x48 - Universal pointer length

Source

pub const fn pkc_mcdata(&self) -> &PkcMcdata

0x50 - MC pattern data interface

Source

pub const fn pkc_version(&self) -> &PkcVersion

0x60 - PKC version register

Source

pub const fn pkc_soft_rst(&self) -> &PkcSoftRst

0xfb0 - Software reset

Source

pub const fn pkc_access_err(&self) -> &PkcAccessErr

0xfc0 - Access Error

Source

pub const fn pkc_access_err_clr(&self) -> &PkcAccessErrClr

0xfc4 - Clear Access Error

Source

pub const fn pkc_int_clr_enable(&self) -> &PkcIntClrEnable

0xfd8 - Interrupt enable clear

Source

pub const fn pkc_int_set_enable(&self) -> &PkcIntSetEnable

0xfdc - Interrupt enable set

Source

pub const fn pkc_int_status(&self) -> &PkcIntStatus

0xfe0 - Interrupt status

Source

pub const fn pkc_int_enable(&self) -> &PkcIntEnable

0xfe4 - Interrupt enable

Source

pub const fn pkc_int_clr_status(&self) -> &PkcIntClrStatus

0xfe8 - Interrupt status clear

Source

pub const fn pkc_int_set_status(&self) -> &PkcIntSetStatus

0xfec - Interrupt status set

Source

pub const fn pkc_module_id(&self) -> &PkcModuleId

0xffc - Module ID

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.