[][src]Type Definition lpc55s6x_pac::hashcrypt::memctrl::R

type R = R<u32, MEMCTRL>;

Reader of register MEMCTRL

Methods

impl R[src]

pub fn master(&self) -> MASTER_R[src]

Bit 0 - Enables mastering.

pub fn count(&self) -> COUNT_R[src]

Bits 16:26 - Number of 512-bit (128-bit if AES, except 1st block which may include key and IV) blocks to copy starting at MEMADDR. This register will decrement after each block is copied, ending in 0. For Hash, the DIGEST interrupt will occur when it reaches 0. Fro AES, the DIGEST/OUTDATA interrupt will occur on ever block. If a bus error occurs, it will stop with this field set to the block that failed. 0:Done - nothing to process. 1 to 2K: Number of 512-bit (or 128bit) blocks to hash.