MLX90632 Driver Library  a258525c
Universal MCU library for the 90632
mlx90632_extended_meas.h
Go to the documentation of this file.
1 
24 #ifndef _MLX90632_EXTENDED_MEAS_LIB_
25 #define _MLX90632_EXTENDED_MEAS_LIB_
26 
43 int32_t mlx90632_read_temp_raw_extended(int16_t *ambient_new_raw, int16_t *ambient_old_raw, int16_t *object_new_raw);
44 
61 int32_t mlx90632_read_temp_raw_extended_burst(int16_t *ambient_new_raw, int16_t *ambient_old_raw, int16_t *object_new_raw);
62 
73 double mlx90632_preprocess_temp_ambient_extended(int16_t ambient_new_raw, int16_t ambient_old_raw, int16_t Gb);
74 
87 double mlx90632_preprocess_temp_object_extended(int16_t object_new_raw, int16_t ambient_new_raw,
88  int16_t ambient_old_raw, int16_t Ka);
89 
102 double mlx90632_calc_temp_ambient_extended(int16_t ambient_new_raw, int16_t ambient_old_raw, int32_t P_T,
103  int32_t P_R, int32_t P_G, int32_t P_O, int16_t Gb);
104 
123 double mlx90632_calc_temp_object_extended(int32_t object, int32_t ambient, double reflected,
124  int32_t Ea, int32_t Eb, int32_t Ga, int32_t Fa, int32_t Fb,
125  int16_t Ha, int16_t Hb);
126 
137 int32_t mlx90632_set_meas_type(uint8_t type);
138 
148 int32_t mlx90632_get_meas_type(void);
149 
150 #ifdef TEST
151 int32_t mlx90632_read_temp_ambient_raw_extended(int16_t *ambient_new_raw, int16_t *ambient_old_raw);
152 int32_t mlx90632_read_temp_object_raw_extended(int16_t *object_new_raw);
153 
154 #endif
155 
156 #endif
int32_t mlx90632_set_meas_type(uint8_t type)
Switch the measurement type of the MLX90632.
STATIC int32_t mlx90632_read_temp_object_raw_extended(int16_t *object_new_raw)
Read object raw values for the extended range based on mlx90632_start_measurement return value...
int32_t mlx90632_get_meas_type(void)
Get the current measurement type set in the MLX90632.
STATIC int32_t mlx90632_read_temp_ambient_raw_extended(int16_t *ambient_new_raw, int16_t *ambient_old_raw)
Read ambient raw old and new values for the extended range based on mlx90632_start_measurement return...
double mlx90632_calc_temp_object_extended(int32_t object, int32_t ambient, double reflected, int32_t Ea, int32_t Eb, int32_t Ga, int32_t Fa, int32_t Fb, int16_t Ha, int16_t Hb)
Calculation of object temperature for the extended range.
double mlx90632_preprocess_temp_object_extended(int16_t object_new_raw, int16_t ambient_new_raw, int16_t ambient_old_raw, int16_t Ka)
Calculation of raw object output for the extended range.
int32_t mlx90632_read_temp_raw_extended(int16_t *ambient_new_raw, int16_t *ambient_old_raw, int16_t *object_new_raw)
Read raw ambient and object temperature for extended range.
int32_t mlx90632_read_temp_raw_extended_burst(int16_t *ambient_new_raw, int16_t *ambient_old_raw, int16_t *object_new_raw)
Read raw ambient and object temperature for extended range sleeping step mode.
double mlx90632_preprocess_temp_ambient_extended(int16_t ambient_new_raw, int16_t ambient_old_raw, int16_t Gb)
Calculation of raw ambient output for the extended range.
double mlx90632_calc_temp_ambient_extended(int16_t ambient_new_raw, int16_t ambient_old_raw, int32_t P_T, int32_t P_R, int32_t P_G, int32_t P_O, int16_t Gb)
Calculation of ambient temperature for the extended range.