#ifndef __SENSOR_DRIVER_H__
#define __SENSOR_DRIVER_H__

#include "bmc_main.h"

int lm73_1_init(hal_t *phal);
int lm73_1_write(hal_t *phal);
int lm73_1_read(hal_t *phal);

int lm73_2_init(hal_t *phal);
int lm73_2_write(hal_t *phal);
int lm73_2_read(hal_t *phal);

int INA220_3V3_Volts_init(hal_t *phal);
int INA220_3V3_Volts_write(hal_t *phal);
int INA220_3V3_Volts_read(hal_t *phal);

int INA220_5V0_Volts_init(hal_t *phal);
int INA220_5V0_Volts_write(hal_t *phal);
int INA220_5V0_Volts_read(hal_t *phal);

int INA220_12V0_Volts_init(hal_t *phal);
int INA220_12V0_Volts_write(hal_t *phal);
int INA220_12V0_Volts_read(hal_t *phal);

int INA220_3V3_Amps_init(hal_t *phal);
int INA220_3V3_Amps_write(hal_t *phal);
int INA220_3V3_Amps_read(hal_t *phal);

int INA220_5V0_Amps_init(hal_t *phal);
int INA220_5V0_Amps_write(hal_t *phal);
int INA220_5V0_Amps_read(hal_t *phal);

int INA220_12V0_Amps_init(hal_t *phal);
int INA220_12V0_Amps_write(hal_t *phal);
int INA220_12V0_Amps_read(hal_t *phal);

//int INA220_3V3_Power_init(hal_t *phal);
//int INA220_3V3_Power_write(hal_t *phal);
//int INA220_3V3_Power_read(hal_t *phal);
//
//int INA220_5V0_Power_init(hal_t *phal);
//int INA220_5V0_Power_write(hal_t *phal);
//int INA220_5V0_Power_read(hal_t *phal);
//
//int INA220_12V0_Power_init(hal_t *phal);
//int INA220_12V0_Power_write(hal_t *phal);
//int INA220_12V0_Power_read(hal_t *phal);


extern sensor_tbl_t sensor_tbl[];

//extern sensor_tbl_t g_sensor_tbl[];

#endif /* __SENSOR_DRIVER_H__ */
