Skip to main content

delta_encode

Function delta_encode 

Source
pub fn delta_encode(plan: &[TimedCmd]) -> Vec<u64>
Expand description

Encode a timed plan as executor words: [delta:24][op:3][chan:5][die:8][pad:24]. delta = cycles after the PREVIOUS command (first word: cycles after reset). op: 0=Read 1=Program 2=Erase.