thermo 2.0.0.0
|
Functions | |
void | thermo_cfg_setup (thermo_cfg_t *cfg) |
Config Object Initialization function. | |
THERMO_RETVAL | thermo_init (thermo_t *ctx, thermo_cfg_t *cfg) |
Initialization function. | |
uint32_t | thermo_read_data (thermo_t *ctx) |
Read data from sensor function. | |
float | thermo_get_temperature (thermo_t *ctx) |
Get thermocouple temperature function. | |
float | thermo_get_junction_temperature (thermo_t *ctx) |
Get reference junction temperature function. | |
uint8_t | thermo_check_fault (thermo_t *ctx) |
Check fault states function. | |
uint8_t | thermo_short_circuited_vcc (thermo_t *ctx) |
Check short-circuited to Vcc function. | |
uint8_t | thermo_short_circuited_gnd (thermo_t *ctx) |
Check short-circuited to GND function. | |
uint8_t | thermo_check_connections (thermo_t *ctx) |
Check connections fault function. | |
void thermo_cfg_setup | ( | thermo_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint8_t thermo_check_connections | ( | thermo_t * | ctx | ) |
Check connections fault function.
thermo | Click object. |
@description Function check connections fault of MAX31855 sensor on Thermo click board.
uint8_t thermo_check_fault | ( | thermo_t * | ctx | ) |
Check fault states function.
thermo | Click object. |
@description Function checks fault states of MAX31855 sensor on Thermo click board.
float thermo_get_junction_temperature | ( | thermo_t * | ctx | ) |
Get reference junction temperature function.
thermo | Click object. |
@description Function get reference junction temperature data from MAX31855 sensor on Thermo click board and convert to float value of reference junction temperature in degree Celsius [ �C ].
float thermo_get_temperature | ( | thermo_t * | ctx | ) |
Get thermocouple temperature function.
thermo | Click object. |
@description Function gets thermocouple temperature data from MAX31855 sensor on Thermo click board and convert to float value of thermocouple temperature in degree Celsius [ �C ].
THERMO_RETVAL thermo_init | ( | thermo_t * | ctx, |
thermo_cfg_t * | cfg ) |
Initialization function.
thermo | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
uint32_t thermo_read_data | ( | thermo_t * | ctx | ) |
Read data from sensor function.
thermo | Click object. |
@description Function reads the 32-bit of data from the MAX31855 sensor on Thermo click board.
uint8_t thermo_short_circuited_gnd | ( | thermo_t * | ctx | ) |
Check short-circuited to GND function.
thermo | Click object. |
@description Function check fault states of short-circuited to GND of MAX31855 sensor on Thermo click board.
uint8_t thermo_short_circuited_vcc | ( | thermo_t * | ctx | ) |
Check short-circuited to Vcc function.
thermo | Click object. |
@description Function check fault states of short-circuited to Vcc of MAX31855 sensor on Thermo click board.