pub struct R(_);
Expand description
Register MULT_CONF
reader
Implementations§
source§impl R
impl R
sourcepub fn start(&self) -> START_R
pub fn start(&self) -> START_R
Bit 0 - Write 1 to start caculation of ECC Accelerator. This bit will be self-cleared after the caculatrion is done.
sourcepub fn key_length(&self) -> KEY_LENGTH_R
pub fn key_length(&self) -> KEY_LENGTH_R
Bit 2 - The key length mode bit of ECC Accelerator. 0: P-192. 1: P-256.
sourcepub fn mod_base(&self) -> MOD_BASE_R
pub fn mod_base(&self) -> MOD_BASE_R
Bit 3 - The mod base of mod operation, only valid in work_mode 8-11. 0: n(order of curve). 1: p(mod base of curve)
sourcepub fn work_mode(&self) -> WORK_MODE_R
pub fn work_mode(&self) -> WORK_MODE_R
Bits 4:7 - The work mode bits of ECC Accelerator. 0: Point Mult Mode. 1: Reserved. 2: Point verification mode. 3: Point Verif+mult mode. 4: Jacobian Point Mult Mode. 5: Point Add Mode. 6: Jacobian Point Verification Mode. 7: Point Verif + Jacobian Mult Mode. 8: mod addition. 9. mod substraction. 10: mod multiplication. 11: mod division.
sourcepub fn security_mode(&self) -> SECURITY_MODE_R
pub fn security_mode(&self) -> SECURITY_MODE_R
Bit 8 - Reserved
sourcepub fn verification_result(&self) -> VERIFICATION_RESULT_R
pub fn verification_result(&self) -> VERIFICATION_RESULT_R
Bit 29 - The verification result bit of ECC Accelerator, only valid when calculation is done.
sourcepub fn mem_clock_gate_force_on(&self) -> MEM_CLOCK_GATE_FORCE_ON_R
pub fn mem_clock_gate_force_on(&self) -> MEM_CLOCK_GATE_FORCE_ON_R
Bit 31 - ECC memory clock gate force on register