Skip to main content

mr_opcode

Function mr_opcode 

Source
pub fn mr_opcode(t: &DramTimings, dll_reset: bool) -> u16
Expand description

Encode the Mode Register (BA = 00) opcode from the timing table: burst length (A2:A0), sequential burst type (A3 = 0), CAS latency (A6:A4, == tRCD on the 5-5-5 grade), DLL reset (A8), and write recovery WR-1 (A11:A9).