pub struct PkcShared { /* private fields */ }Expand description
Public-key coprocessor raw register interface. Invalid or unimplemented accesses raise a security alert and reset PKC; system response can include a global reset. No accesses are performed automatically.
Implementations§
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn pkc_status(self) -> Reg<PkcStatus, R>
pub const fn pkc_status(self) -> Reg<PkcStatus, R>
Status Register.
Sourcepub const fn pkc_ctrl(self) -> Reg<PkcCtrl, RW>
pub const fn pkc_ctrl(self) -> Reg<PkcCtrl, RW>
PKC control. RESET must already have been cleared in an earlier write and observed cleared before a GO write; clearing RESET and setting GO in the same write raises a security alarm. Set only one GO bit with GOANY=0. After changing RESET or STOP, poll that bit until the new value is read back. STOP must already be disabled before changing RESET; do not enable STOP while changing RESET. This reset controls the PKC kernel, not device lifecycle.
Sourcepub const fn pkc_cfg(self) -> Reg<PkcCfg, RW>
pub const fn pkc_cfg(self) -> Reg<PkcCfg, RW>
Configuration. May be written only with PKC_CTRL.RESET=1; otherwise a security alarm is triggered. The documented noise/randomization/idle features are unavailable in this IP version.
Sourcepub const fn pkc_xyptr1(self) -> Reg<PkcXyptr1, RW>
pub const fn pkc_xyptr1(self) -> Reg<PkcXyptr1, RW>
X+Y pointer register, parameter set 1.
Sourcepub const fn pkc_zrptr1(self) -> Reg<PkcZrptr1, RW>
pub const fn pkc_zrptr1(self) -> Reg<PkcZrptr1, RW>
Z+R pointer register, parameter set 1.
Sourcepub const fn pkc_xyptr2(self) -> Reg<PkcXyptr2, RW>
pub const fn pkc_xyptr2(self) -> Reg<PkcXyptr2, RW>
X+Y pointer register, parameter set 2.
Sourcepub const fn pkc_zrptr2(self) -> Reg<PkcZrptr2, RW>
pub const fn pkc_zrptr2(self) -> Reg<PkcZrptr2, RW>
Z+R pointer register, parameter set 2.
Sourcepub const fn pkc_uptr(self) -> Reg<PkcUptr, RW>
pub const fn pkc_uptr(self) -> Reg<PkcUptr, RW>
Universal pointer FUP program. Do not update while GOANY=1 during an L2 calculation; hardware does not prevent this and the result can be corrupted or a security alarm raised.
Sourcepub const fn pkc_uptrt(self) -> Reg<PkcUptrt, RW>
pub const fn pkc_uptrt(self) -> Reg<PkcUptrt, RW>
Universal pointer FUP table. Do not update while GOANY=1 during an L2 calculation; hardware does not prevent this and the result can be corrupted or a security alarm raised.
Sourcepub const fn pkc_ulen(self) -> Reg<PkcUlen, RW>
pub const fn pkc_ulen(self) -> Reg<PkcUlen, RW>
Universal pointer length. Do not update while GOANY=1 during an L2 calculation; hardware does not prevent this and the result can be corrupted or a security alarm raised.
Sourcepub const fn pkc_soft_rst(self) -> Reg<PkcSoftRst, W>
pub const fn pkc_soft_rst(self) -> Reg<PkcSoftRst, W>
Software reset.
Sourcepub const fn pkc_access_err(self) -> Reg<PkcAccessErr, R>
pub const fn pkc_access_err(self) -> Reg<PkcAccessErr, R>
Read-only error status. Unimplemented SFR accesses set APB_NOTAV and raise a security alert; do not probe undefined offsets.
Sourcepub const fn pkc_access_err_clr(self) -> Reg<PkcAccessErrClr, W>
pub const fn pkc_access_err_clr(self) -> Reg<PkcAccessErrClr, W>
Clear Access Error.
Sourcepub const fn pkc_int_clr_enable(self) -> Reg<PkcIntClrEnable, W>
pub const fn pkc_int_clr_enable(self) -> Reg<PkcIntClrEnable, W>
Interrupt enable clear.
Sourcepub const fn pkc_int_set_enable(self) -> Reg<PkcIntSetEnable, W>
pub const fn pkc_int_set_enable(self) -> Reg<PkcIntSetEnable, W>
Interrupt enable set.
Sourcepub const fn pkc_int_status(self) -> Reg<PkcIntStatus, R>
pub const fn pkc_int_status(self) -> Reg<PkcIntStatus, R>
Interrupt status.
Sourcepub const fn pkc_int_enable(self) -> Reg<PkcIntEnable, R>
pub const fn pkc_int_enable(self) -> Reg<PkcIntEnable, R>
Interrupt enable.
Sourcepub const fn pkc_int_clr_status(self) -> Reg<PkcIntClrStatus, W>
pub const fn pkc_int_clr_status(self) -> Reg<PkcIntClrStatus, W>
Interrupt status clear.
Sourcepub const fn pkc_int_set_status(self) -> Reg<PkcIntSetStatus, W>
pub const fn pkc_int_set_status(self) -> Reg<PkcIntSetStatus, W>
Interrupt status set.