sfun_wrapper.h 260 B

123456789101112
  1. #pragma once
  2. #include "sim_mcu.h"
  3. typedef struct
  4. {
  5. double data;
  6. int32_t enable;
  7. } injection_dtype;
  8. void McuInit(double ts);
  9. void McuRun(const double *ain, const int32_t *din, const injection_dtype *ctrl, double *aout, int *dout, double *watchOut);