samples.h 359 B

12345678910111213141516
  1. #ifndef _SAMPLES_H__
  2. #define _SAMPLES_H__
  3. #include "os/os_types.h"
  4. #define MIN_GAS_VALUE 1000.0F
  5. #define MAX_GAS_VALUE 5000.0F
  6. void samples_init(void);
  7. int get_vbus_int(void);
  8. float get_vbus_float(void);
  9. float get_throttle_sfix5(void);
  10. float get_throttle_float(void);
  11. void get_phase_vols(float *uvw);
  12. void sample_uvw_phase(void);
  13. #endif /* _SAMPLES_H__ */