Production Line Tool v5.0
The DA1470x Production Line Tool Software Package
Loading...
Searching...
No Matches
Macros | Typedefs | Enumerations | Functions
temp_meas_api.h File Reference

API header file that all temperature measurement DLL plug-ins should use. More...

Go to the source code of this file.

Macros

#define __bool_true_false_are_defined   1
 
#define bool   char
 
#define true   1
 
#define false   0
 
#define TEMP_MEAS_API_EXPORTS
 
#define TEMP_MEAS_API   __declspec(dllexport)
 
#define TEMP_MEAS_CALLBACK(A, Y, Z)   (A != NULL) ? A(Y, Z) : ((void)0)
 Callback macro definition for NULL check. More...
 
#define TEMP_MEAS_STR_SIZE   256
 Callback result string data size. More...
 

Typedefs

typedef enum _TEMP_MEAS_API_STATUS_CODES TEMP_MEAS_API_STATUS_CODES
 The temperature measurement instrument API return status codes.
 
typedef void(* _callback_temp_meas) (int status, float temp)
 Temperature measurement API callback function type definition. More...
 

Enumerations

enum  _TEMP_MEAS_API_STATUS_CODES {
  TEMP_MEAS_API_SUCCESS = 0 , TEMP_MEAS_API_ERROR , TEMP_MEAS_API_INVALID_DBG_PARAMS , TEMP_MEAS_API_DBG_DLL_ERROR ,
  TEMP_MEAS_API_START , TEMP_MEAS_API_READ_OK
}
 The temperature measurement instrument API return status codes. More...
 

Functions

TEMP_MEAS_API int temp_meas_api_dbg_init (_dbg_params *dbg_params_t)
 Temperature measurement instrument debug session initialize. More...
 
TEMP_MEAS_API int temp_meas_api_dbg_close (void)
 Temperature measurement instrument debug session close. More...
 
TEMP_MEAS_API int temp_meas_api_init (const char *iface, _callback_temp_meas callback_temp_meas)
 Temperature measurement instrument initialize function. More...
 
TEMP_MEAS_API int temp_meas_api_close (void)
 Temperature measurement instrument close function and free allocated resources. More...
 
TEMP_MEAS_API int temp_meas_api_measure (void)
 Perform a temperature measurement and return the result with callbacks. More...
 

Detailed Description

API header file that all temperature measurement DLL plug-ins should use.

Copyright (C) 2022 Dialog Semiconductor. This computer program includes Confidential, Proprietary Information of Dialog Semiconductor. All Rights Reserved.

bluet.nosp@m.ooth.nosp@m..supp.nosp@m.ort@.nosp@m.diase.nosp@m.mi.c.nosp@m.om

Definition in file temp_meas_api.h.