![]() |
LibDriver MLX90614
|
mlx90614 advance driver modules More...
Functions | |
| uint8_t | mlx90614_set_fir_length (mlx90614_handle_t *handle, mlx90614_fir_length_t len) |
| set the ir sensor fir length | |
| uint8_t | mlx90614_get_fir_length (mlx90614_handle_t *handle, mlx90614_fir_length_t *len) |
| get the ir sensor fir length | |
| uint8_t | mlx90614_set_iir (mlx90614_handle_t *handle, mlx90614_iir_t iir) |
| set the iir param | |
| uint8_t | mlx90614_get_iir (mlx90614_handle_t *handle, mlx90614_iir_t *iir) |
| get the iir param | |
| uint8_t | mlx90614_set_mode (mlx90614_handle_t *handle, mlx90614_mode_t mode) |
| set the mode | |
| uint8_t | mlx90614_get_mode (mlx90614_handle_t *handle, mlx90614_mode_t *mode) |
| get the mode | |
| uint8_t | mlx90614_set_ir_sensor (mlx90614_handle_t *handle, mlx90614_ir_sensor_t sensor) |
| set the ir sensor mode | |
| uint8_t | mlx90614_get_ir_sensor (mlx90614_handle_t *handle, mlx90614_ir_sensor_t *sensor) |
| get the ir sensor mode | |
| uint8_t | mlx90614_set_ks (mlx90614_handle_t *handle, mlx90614_ks_t ks) |
| set the ks param | |
| uint8_t | mlx90614_get_ks (mlx90614_handle_t *handle, mlx90614_ks_t *ks) |
| get the ks param | |
| uint8_t | mlx90614_set_kt2 (mlx90614_handle_t *handle, mlx90614_kt2_t kt2) |
| set the kt2 param | |
| uint8_t | mlx90614_get_kt2 (mlx90614_handle_t *handle, mlx90614_kt2_t *kt2) |
| get the kt2 param | |
| uint8_t | mlx90614_set_gain (mlx90614_handle_t *handle, mlx90614_gain_t gain) |
| set the gain param | |
| uint8_t | mlx90614_get_gain (mlx90614_handle_t *handle, mlx90614_gain_t *gain) |
| get the gain param | |
| uint8_t | mlx90614_set_sensor_test (mlx90614_handle_t *handle, mlx90614_bool_t enable) |
| enable or disable the sensor test | |
| uint8_t | mlx90614_get_sensor_test (mlx90614_handle_t *handle, mlx90614_bool_t *enable) |
| get the sensor test status | |
| 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_repeat_sensor_test (mlx90614_handle_t *handle, mlx90614_bool_t *enable) |
| get the repeat sensor test status | |
| uint8_t | mlx90614_set_emissivity_correction_coefficient (mlx90614_handle_t *handle, uint16_t value) |
| set the emissivity correction coefficient | |
| uint8_t | mlx90614_get_emissivity_correction_coefficient (mlx90614_handle_t *handle, uint16_t *value) |
| get the emissivity correction coefficient | |
| 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_emissivity_correction_coefficient_convert_to_data (mlx90614_handle_t *handle, uint16_t reg, double *s) |
| emissivity correction coefficient convert to data | |
| uint8_t | mlx90614_get_id (mlx90614_handle_t *handle, uint16_t id[4]) |
| get the chip id | |
| uint8_t | mlx90614_enter_sleep_mode (mlx90614_handle_t *handle) |
| enter to sleep mode | |
| uint8_t | mlx90614_exit_sleep_mode (mlx90614_handle_t *handle) |
| exit from sleep mode | |
| uint8_t | mlx90614_get_flag (mlx90614_handle_t *handle, uint16_t *flag) |
| get the flag | |
| uint8_t | mlx90614_pwm_to_smbus (mlx90614_handle_t *handle) |
| change pwm mode to smbus mode | |
mlx90614 advance driver modules
| enum mlx90614_bool_t |
mlx90614 bool enumeration definition
| Enumerator | |
|---|---|
| MLX90614_BOOL_FALSE | false |
| MLX90614_BOOL_TRUE | true |
Definition at line 114 of file driver_mlx90614.h.
mlx90614 fir length enumeration definition
Definition at line 150 of file driver_mlx90614.h.
| enum mlx90614_flag_t |
mlx90614 flag enumeration definition
Definition at line 79 of file driver_mlx90614.h.
| enum mlx90614_gain_t |
mlx90614 gain enumeration definition
| Enumerator | |
|---|---|
| MLX90614_GAIN_1 | gain 1 |
| MLX90614_GAIN_3 | gain 3 |
| MLX90614_GAIN_6 | gain 6 |
| MLX90614_GAIN_12P5 | gain 12.5 |
| MLX90614_GAIN_25 | gain 25 |
| MLX90614_GAIN_50 | gain 50 |
| MLX90614_GAIN_100 | gain 100 |
Definition at line 100 of file driver_mlx90614.h.
| enum mlx90614_iir_t |
mlx90614 iir enumeration definition
Definition at line 165 of file driver_mlx90614.h.
| enum mlx90614_ir_sensor_t |
mlx90614 ir sensor enumeration definition
| Enumerator | |
|---|---|
| MLX90614_IR_SENSOR_SINGLE | single ir sensor |
| MLX90614_IR_SENSOR_DUAL | dual ir sensor |
Definition at line 141 of file driver_mlx90614.h.
| enum mlx90614_ks_t |
mlx90614 ks enumeration definition
| Enumerator | |
|---|---|
| MLX90614_KS_POSITIVE | |
| MLX90614_KS_NEGATIVE | |
Definition at line 132 of file driver_mlx90614.h.
| enum mlx90614_kt2_t |
mlx90614 kt2 enumeration definition
| Enumerator | |
|---|---|
| MLX90614_KT2_POSITIVE | positive |
| MLX90614_KT2_NEGATIVE | negative |
Definition at line 123 of file driver_mlx90614.h.
| enum mlx90614_mode_t |
mlx90614 mode enumeration definition
| Enumerator | |
|---|---|
| MLX90614_MODE_TA_TOBJ1 | ta and tobj1 mode |
| MLX90614_MODE_TA_TOBJ2 | ta and tobj2 mode |
| MLX90614_MODE_TOBJ2 | tobj2 mode |
| MLX90614_MODE_TOBJ1_TOBJ2 | tobj1 and tobj2 mode |
Definition at line 89 of file driver_mlx90614.h.
| uint8_t mlx90614_emissivity_correction_coefficient_convert_to_data | ( | mlx90614_handle_t * | handle, |
| uint16_t | reg, | ||
| double * | s ) |
emissivity correction coefficient convert to data
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | reg | raw data |
| [out] | *s | pointer to a converted data buffer |
Definition at line 1144 of file driver_mlx90614.c.
| 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
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | s | emissivity correction coefficient |
| [out] | *reg | pointer to a register raw data buffer |
Definition at line 1110 of file driver_mlx90614.c.
| uint8_t mlx90614_enter_sleep_mode | ( | mlx90614_handle_t * | handle | ) |
enter to sleep mode
| [in] | *handle | pointer to an mlx90614 handle structure |
Definition at line 1426 of file driver_mlx90614.c.
| uint8_t mlx90614_exit_sleep_mode | ( | mlx90614_handle_t * | handle | ) |
exit from sleep mode
| [in] | *handle | pointer to an mlx90614 handle structure |
Definition at line 1506 of file driver_mlx90614.c.
| uint8_t mlx90614_get_emissivity_correction_coefficient | ( | mlx90614_handle_t * | handle, |
| uint16_t * | value ) |
get the emissivity correction coefficient
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *value | pointer to a value buffer |
Definition at line 1083 of file driver_mlx90614.c.
| uint8_t mlx90614_get_fir_length | ( | mlx90614_handle_t * | handle, |
| mlx90614_fir_length_t * | len ) |
get the ir sensor fir length
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *len | pointer to an fir length buffer |
Definition at line 412 of file driver_mlx90614.c.
| uint8_t mlx90614_get_flag | ( | mlx90614_handle_t * | handle, |
| uint16_t * | flag ) |
get the flag
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *flag | pointer to a flag buffer |
Definition at line 1395 of file driver_mlx90614.c.
| uint8_t mlx90614_get_gain | ( | mlx90614_handle_t * | handle, |
| mlx90614_gain_t * | gain ) |
get the gain param
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *gain | pointer to a gain param buffer |
Definition at line 868 of file driver_mlx90614.c.
| uint8_t mlx90614_get_id | ( | mlx90614_handle_t * | handle, |
| uint16_t | id[4] ) |
get the chip id
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *id | pointer to an id buffer |
Definition at line 1339 of file driver_mlx90614.c.
| uint8_t mlx90614_get_iir | ( | mlx90614_handle_t * | handle, |
| mlx90614_iir_t * | iir ) |
get the iir param
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *iir | pointer to an iir param buffer |
Definition at line 488 of file driver_mlx90614.c.
| uint8_t mlx90614_get_ir_sensor | ( | mlx90614_handle_t * | handle, |
| mlx90614_ir_sensor_t * | sensor ) |
get the ir sensor mode
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *sensor | pointer to an ir sensor mode buffer |
Definition at line 640 of file driver_mlx90614.c.
| uint8_t mlx90614_get_ks | ( | mlx90614_handle_t * | handle, |
| mlx90614_ks_t * | ks ) |
get the ks param
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *ks | pointer to a ks param buffer |
Definition at line 716 of file driver_mlx90614.c.
| uint8_t mlx90614_get_kt2 | ( | mlx90614_handle_t * | handle, |
| mlx90614_kt2_t * | kt2 ) |
get the kt2 param
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *kt2 | pointer to a kt2 param buffer |
Definition at line 792 of file driver_mlx90614.c.
| uint8_t mlx90614_get_mode | ( | mlx90614_handle_t * | handle, |
| mlx90614_mode_t * | mode ) |
get the mode
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *mode | pointer to a chip mode buffer |
Definition at line 564 of file driver_mlx90614.c.
| uint8_t mlx90614_get_repeat_sensor_test | ( | mlx90614_handle_t * | handle, |
| mlx90614_bool_t * | enable ) |
get the repeat sensor test status
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1020 of file driver_mlx90614.c.
| uint8_t mlx90614_get_sensor_test | ( | mlx90614_handle_t * | handle, |
| mlx90614_bool_t * | enable ) |
get the sensor test status
| [in] | *handle | pointer to an mlx90614 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 944 of file driver_mlx90614.c.
| uint8_t mlx90614_pwm_to_smbus | ( | mlx90614_handle_t * | handle | ) |
change pwm mode to smbus mode
| [in] | *handle | pointer to an mlx90614 handle structure |
Definition at line 1464 of file driver_mlx90614.c.
| uint8_t mlx90614_set_emissivity_correction_coefficient | ( | mlx90614_handle_t * | handle, |
| uint16_t | value ) |
set the emissivity correction coefficient
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | value | set value |
Definition at line 1058 of file driver_mlx90614.c.
| uint8_t mlx90614_set_fir_length | ( | mlx90614_handle_t * | handle, |
| mlx90614_fir_length_t | len ) |
set the ir sensor fir length
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | len | fir length |
Definition at line 374 of file driver_mlx90614.c.
| uint8_t mlx90614_set_gain | ( | mlx90614_handle_t * | handle, |
| mlx90614_gain_t | gain ) |
set the gain param
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | gain | gain param |
Definition at line 830 of file driver_mlx90614.c.
| uint8_t mlx90614_set_iir | ( | mlx90614_handle_t * | handle, |
| mlx90614_iir_t | iir ) |
set the iir param
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | iir | iir param |
Definition at line 450 of file driver_mlx90614.c.
| uint8_t mlx90614_set_ir_sensor | ( | mlx90614_handle_t * | handle, |
| mlx90614_ir_sensor_t | sensor ) |
set the ir sensor mode
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | sensor | ir sensor mode |
Definition at line 602 of file driver_mlx90614.c.
| uint8_t mlx90614_set_ks | ( | mlx90614_handle_t * | handle, |
| mlx90614_ks_t | ks ) |
set the ks param
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | ks | ks param |
Definition at line 678 of file driver_mlx90614.c.
| uint8_t mlx90614_set_kt2 | ( | mlx90614_handle_t * | handle, |
| mlx90614_kt2_t | kt2 ) |
set the kt2 param
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | kt2 | kt2 param |
Definition at line 754 of file driver_mlx90614.c.
| uint8_t mlx90614_set_mode | ( | mlx90614_handle_t * | handle, |
| mlx90614_mode_t | mode ) |
set the mode
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | mode | chip mode |
Definition at line 526 of file driver_mlx90614.c.
| uint8_t mlx90614_set_repeat_sensor_test | ( | mlx90614_handle_t * | handle, |
| mlx90614_bool_t | enable ) |
enable or disable the repeat sensor test
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | enable | bool value |
Definition at line 982 of file driver_mlx90614.c.
| uint8_t mlx90614_set_sensor_test | ( | mlx90614_handle_t * | handle, |
| mlx90614_bool_t | enable ) |
enable or disable the sensor test
| [in] | *handle | pointer to an mlx90614 handle structure |
| [in] | enable | bool value |
Definition at line 906 of file driver_mlx90614.c.