161 for (i = 0; i < times; i++)
219 for (i = 0; i < times; i++)
277 for (i = 0; i < times; i++)
335 for (i = 0; i < times; i++)
393 for (i = 0; i < times; i++)
451 for (i = 0; i < times; i++)
509 for (i = 0; i < times; i++)
567 for (i = 0; i < times; i++)
625 for (i = 0; i < times; i++)
683 for (i = 0; i < times; i++)
741 for (i = 0; i < times; i++)
799 for (i = 0; i < times; i++)
857 for (i = 0; i < times; i++)
915 for (i = 0; i < times; i++)
973 for (i = 0; i < times; i++)
1031 for (i = 0; i < times; i++)
1089 for (i = 0; i < times; i++)
1147 for (i = 0; i < times; i++)
1205 for (i = 0; i < times; i++)
1263 for (i = 0; i < times; i++)
1321 for (i = 0; i < times; i++)
1379 for (i = 0; i < times; i++)
1437 for (i = 0; i < times; i++)
1495 for (i = 0; i < times; i++)
1553 for (i = 0; i < times; i++)
1611 for (i = 0; i < times; i++)
1669 for (i = 0; i < times; i++)
1727 for (i = 0; i < times; i++)
1785 for (i = 0; i < times; i++)
1828 value = rand() % 65536;
1843 for (i = 0; i < times; i++)
1901 for (i = 0; i < times; i++)
1959 for (i = 0; i < times; i++)
2017 for (i = 0; i < times; i++)
2065 for (i = 0; i < times; i++)
driver mlx90614 read test 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_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
@ MLX90614_IR_SENSOR_SINGLE
@ MLX90614_IR_SENSOR_DUAL
@ MLX90614_MODE_TOBJ1_TOBJ2
@ MLX90614_IIR_A1_0P25_B1_0P75
@ MLX90614_IIR_A1_0P571_B1_0P428
@ MLX90614_IIR_A1_0P5_B1_0P5
@ MLX90614_IIR_A1_0P166_B1_0P83
@ MLX90614_IIR_A1_0P8_B1_0P2
@ MLX90614_IIR_A1_0P666_B1_0P333
@ MLX90614_IIR_A1_0P125_B1_0P875
@ MLX90614_FIR_LENGTH_128
@ MLX90614_FIR_LENGTH_1024
@ MLX90614_FIR_LENGTH_256
@ MLX90614_FIR_LENGTH_512
uint8_t mlx90614_read_raw_ir_channel(mlx90614_handle_t *handle, uint16_t *channel_1, uint16_t *channel_2)
read the ir channel raw data
uint8_t mlx90614_read_object1(mlx90614_handle_t *handle, uint16_t *raw, float *celsius)
read the object1
uint8_t mlx90614_info(mlx90614_info_t *info)
get chip information
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
uint8_t mlx90614_read_object2(mlx90614_handle_t *handle, uint16_t *raw, float *celsius)
read the object2
@ MLX90614_ADDRESS_DEFAULT
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
uint8_t mlx90614_read_test(uint32_t times)
read test
mlx90614 handle structure definition
mlx90614 information structure definition
float supply_voltage_max_v
char manufacturer_name[32]
float supply_voltage_min_v