|
@@ -1,13 +1,10 @@
|
|
|
#ifndef _SAMPLES_H__
|
|
#ifndef _SAMPLES_H__
|
|
|
#define _SAMPLES_H__
|
|
#define _SAMPLES_H__
|
|
|
#include "os/os_types.h"
|
|
#include "os/os_types.h"
|
|
|
-#define MIN_GAS_VALUE 1000.0F
|
|
|
|
|
-#define MAX_GAS_VALUE 5000.0F
|
|
|
|
|
|
|
|
|
|
void samples_init(void);
|
|
void samples_init(void);
|
|
|
int get_vbus_int(void);
|
|
int get_vbus_int(void);
|
|
|
float get_vbus_float(void);
|
|
float get_vbus_float(void);
|
|
|
-float get_throttle_sfix5(void);
|
|
|
|
|
float get_throttle_float(void);
|
|
float get_throttle_float(void);
|
|
|
void get_phase_vols(float *uvw);
|
|
void get_phase_vols(float *uvw);
|
|
|
void sample_uvw_phase(void);
|
|
void sample_uvw_phase(void);
|
|
@@ -26,6 +23,7 @@ void sample_ibus_offset(u16 offset);
|
|
|
float get_adc_vref(void);
|
|
float get_adc_vref(void);
|
|
|
float get_thro2_5v_float(void);
|
|
float get_thro2_5v_float(void);
|
|
|
float get_thro_5v_float(void);
|
|
float get_thro_5v_float(void);
|
|
|
|
|
+float get_throttle2_float(void);
|
|
|
|
|
|
|
|
#endif /* _SAMPLES_H__ */
|
|
#endif /* _SAMPLES_H__ */
|
|
|
|
|
|