pub struct CcPka { /* private fields */ }
Expand description
CRYPTOCELL PKA engine
Implementations§
Source§impl CcPka
impl CcPka
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn memory_map(self, n: usize) -> Reg<MemoryMap, RW>
pub const fn memory_map(self, n: usize) -> Reg<MemoryMap, RW>
Description collection: Register for mapping the virtual register R[n] to a physical address in the PKA SRAM.
Sourcepub const fn opcode(self) -> Reg<Opcode, RW>
pub const fn opcode(self) -> Reg<Opcode, RW>
Operation code to be executed by the PKA engine. Writing to this register triggers the PKA operation.
Sourcepub const fn n_np_t0_t1_addr(self) -> Reg<NNpT0T1Addr, RW>
pub const fn n_np_t0_t1_addr(self) -> Reg<NNpT0T1Addr, RW>
This register defines the N, Np, T0, and T1 virtual register index.
Sourcepub const fn pka_status(self) -> Reg<PkaStatus, R>
pub const fn pka_status(self) -> Reg<PkaStatus, R>
This register holds the status for the PKA pipeline.
Sourcepub const fn pka_sw_reset(self) -> Reg<PkaSwReset, W>
pub const fn pka_sw_reset(self) -> Reg<PkaSwReset, W>
Reset the PKA engine.
Sourcepub const fn pka_l(self, n: usize) -> Reg<PkaL, RW>
pub const fn pka_l(self, n: usize) -> Reg<PkaL, RW>
Description collection: This register holds the operands bit size.
Sourcepub const fn pka_pipe(self) -> Reg<PkaPipe, R>
pub const fn pka_pipe(self) -> Reg<PkaPipe, R>
Status register indicating if the PKA pipeline is ready to receive a new OPCODE.
Sourcepub const fn pka_done(self) -> Reg<PkaDone, R>
pub const fn pka_done(self) -> Reg<PkaDone, R>
Status register indicating if the PKA operation has been completed.
Sourcepub const fn pka_version(self) -> Reg<u32, R>
pub const fn pka_version(self) -> Reg<u32, R>
PKA engine HW version. Reset value holds the version.
Sourcepub const fn pka_sram_waddr(self) -> Reg<u32, W>
pub const fn pka_sram_waddr(self) -> Reg<u32, W>
Start address in PKA SRAM for subsequent write transactions.
Sourcepub const fn pka_sram_wdata(self) -> Reg<u32, W>
pub const fn pka_sram_wdata(self) -> Reg<u32, W>
Write data to PKA SRAM. Writing to this register triggers a DMA transaction writing data into PKA SRAM. The DMA address offset is automatically incremented during write.
Sourcepub const fn pka_sram_rdata(self) -> Reg<u32, R>
pub const fn pka_sram_rdata(self) -> Reg<u32, R>
Read data from PKA SRAM. Reading from this register triggers a DMA transaction read data from PKA SRAM. The DMA address offset is automatically incremented during read.
Sourcepub const fn pka_sram_wclear(self) -> Reg<u32, W>
pub const fn pka_sram_wclear(self) -> Reg<u32, W>
Register for clearing PKA SRAM write buffer.
Sourcepub const fn pka_sram_raddr(self) -> Reg<u32, W>
pub const fn pka_sram_raddr(self) -> Reg<u32, W>
Start address in PKA SRAM for subsequent read transactions.