debug_idle/
debug_idle.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Set the DRS4 idle register and then watch the buffers

extern crate liftof_rb;

use liftof_rb::api::*;
use liftof_rb::control::*;

fn main() {

  match reset_dma() {
    Ok(_) => (),
    Err(err) => println!("Unable to reset DMA, error {err}")
  }
  run_check();
}