You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
451 B

  1. #ifndef ZOOM_H
  2. #define ZOOM_H
  3. #define ZOOM_SWEEP_COUNT 4000
  4. /* debug mode */
  5. int zoom_init_real(int fd, int dozero);
  6. #define zoom_init(fd) zoom_init_real(fd, 1)
  7. #define zoom_init_nozero(fd) zoom_init_real(fd, 0)
  8. int zoom_zero_start(int fd);
  9. int zoom_zero_stop(int fd);
  10. int zoom_sweep(int fd, int dac[ZOOM_SWEEP_COUNT], int adc[ZOOM_SWEEP_COUNT]);
  11. int zoom_write_dac(int fd, int dac);
  12. /* run mode */
  13. void zoomrun_trigger_calibrate(int fd);
  14. #endif