#ifndef __DAC7811_H #define __DAC7811_H_ #include "data_type_def.h" #include "eeprom_spi.h" #include "mux_signal.h" #define CALIBRATE_RES_OHM_OUT_START 0 #define CALIBRATE_RES_OHM_OUT_END 4000 extern BOOL dac7811_spi_init_flag; extern uint8_t resohm_out_cal_enable; void fun_dac7811_operate(float32 *data_pv); float32 calibrate_res_ohm_out(float32 raw); #endif