driver mlx90614 advance header file
uint8_t mlx90614_set_gain(mlx90614_handle_t *handle, mlx90614_gain_t gain)
set the gain param
uint8_t mlx90614_set_fir_length(mlx90614_handle_t *handle, mlx90614_fir_length_t len)
set the ir sensor fir length
uint8_t mlx90614_set_repeat_sensor_test(mlx90614_handle_t *handle, mlx90614_bool_t enable)
enable or disable the repeat sensor test
uint8_t mlx90614_get_id(mlx90614_handle_t *handle, uint16_t id[4])
get the chip id
uint8_t mlx90614_set_mode(mlx90614_handle_t *handle, mlx90614_mode_t mode)
set the mode
uint8_t mlx90614_set_emissivity_correction_coefficient(mlx90614_handle_t *handle, uint16_t value)
set the emissivity correction coefficient
uint8_t mlx90614_set_iir(mlx90614_handle_t *handle, mlx90614_iir_t iir)
set the iir param
uint8_t mlx90614_set_ir_sensor(mlx90614_handle_t *handle, mlx90614_ir_sensor_t sensor)
set the ir sensor mode
uint8_t mlx90614_exit_sleep_mode(mlx90614_handle_t *handle)
exit from sleep mode
uint8_t mlx90614_set_ks(mlx90614_handle_t *handle, mlx90614_ks_t ks)
set the ks param
uint8_t mlx90614_pwm_to_smbus(mlx90614_handle_t *handle)
change pwm mode to smbus mode
uint8_t mlx90614_set_kt2(mlx90614_handle_t *handle, mlx90614_kt2_t kt2)
set the kt2 param
uint8_t mlx90614_set_sensor_test(mlx90614_handle_t *handle, mlx90614_bool_t enable)
enable or disable the sensor test
uint8_t mlx90614_enter_sleep_mode(mlx90614_handle_t *handle)
enter to sleep mode
uint8_t mlx90614_emissivity_correction_coefficient_convert_to_register(mlx90614_handle_t *handle, double s, uint16_t *reg)
convert the emissivity correction coefficient to the register raw data
uint8_t mlx90614_read_object1(mlx90614_handle_t *handle, uint16_t *raw, float *celsius)
read the object1
uint8_t mlx90614_init(mlx90614_handle_t *handle)
initialize the chip
uint8_t mlx90614_set_addr(mlx90614_handle_t *handle, uint8_t addr)
set the address
uint8_t mlx90614_read_ambient(mlx90614_handle_t *handle, uint16_t *raw, float *celsius)
read the ambient
uint8_t mlx90614_deinit(mlx90614_handle_t *handle)
close the chip
@ MLX90614_ADDRESS_DEFAULT
#define MLX90614_ADVANCE_DEFAULT_KS
#define MLX90614_ADVANCE_DEFAULT_MODE
#define MLX90614_ADVANCE_DEFAULT_GAIN
uint8_t mlx90614_advance_init(void)
advance example init
#define MLX90614_ADVANCE_DEFAULT_KT2
uint8_t mlx90614_advance_read(float *ambient, float *object)
advance example read
#define MLX90614_ADVANCE_DEFAULT_REPEAT_SENSOR_TEST
uint8_t mlx90614_advance_get_id(uint16_t id[4])
advance example get id
#define MLX90614_ADVANCE_DEFAULT_SENSOR_TEST
uint8_t mlx90614_advance_deinit(void)
advance example deinit
#define MLX90614_ADVANCE_DEFAULT_FIR_LENGTH
mlx90614 advance example default definition
#define MLX90614_ADVANCE_DEFAULT_EMISSIVITY_CORRECTION_COEFFICIENT
#define MLX90614_ADVANCE_DEFAULT_IR_SENSOR
#define MLX90614_ADVANCE_DEFAULT_IIR
uint8_t mlx90614_advance_enter_sleep(void)
advance example enter sleep
uint8_t mlx90614_advance_exit_sleep(void)
advance example exit sleep
uint8_t mlx90614_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
interface iic bus write
uint8_t mlx90614_interface_iic_init(void)
interface iic bus init
void mlx90614_interface_delay_ms(uint32_t ms)
interface delay ms
uint8_t mlx90614_interface_iic_deinit(void)
interface iic bus deinit
uint8_t mlx90614_interface_sda_write(uint8_t value)
interface sda write
uint8_t mlx90614_interface_scl_write(uint8_t value)
interface scl write
uint8_t mlx90614_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
interface iic bus read
void mlx90614_interface_debug_print(const char *const fmt,...)
interface print format data
#define DRIVER_MLX90614_LINK_IIC_INIT(HANDLE, FUC)
link iic_init function
#define DRIVER_MLX90614_LINK_IIC_READ(HANDLE, FUC)
link iic_read function
#define DRIVER_MLX90614_LINK_IIC_DEINIT(HANDLE, FUC)
link iic_deinit function
#define DRIVER_MLX90614_LINK_SDA_WRITE(HANDLE, FUC)
link sda_write function
#define DRIVER_MLX90614_LINK_SCL_WRITE(HANDLE, FUC)
link scl_write function
#define DRIVER_MLX90614_LINK_IIC_WRITE(HANDLE, FUC)
link iic_write function
#define DRIVER_MLX90614_LINK_INIT(HANDLE, STRUCTURE)
initialize mlx90614_handle_t structure
#define DRIVER_MLX90614_LINK_DEBUG_PRINT(HANDLE, FUC)
link debug_print function
#define DRIVER_MLX90614_LINK_DELAY_MS(HANDLE, FUC)
link delay_ms function
mlx90614 handle structure definition