|
Tizen HAL API
1.0
|
The Thermal provides functions to get information about the temperature.
#include <hal-device-thermal.h>
The Thermal provides the way to get the current thermal value such as Application Processor, Communication Processor and Battery.
The Thermal functions provide thermal information including:
For more information on the Thermal features and the macros, see HAL Thermal programming guides and tutorials.
Typedefs | |
| typedef struct _hal_backend_device_thermal_funcs | hal_backend_device_thermal_funcs |
| Structure for Thermal functions. | |
| typedef void(* | hal_device_thermal_updated_cb )(hal_device_thermal_info_s *info, void *data) |
| Called when a thermal information is handled. | |
| struct _hal_backend_device_thermal_funcs |
Structure for Thermal functions.
Data Fields | |
| int(* | get_info )(hal_device_thermal_e type, hal_device_thermal_info_s *info) |
| int(* | register_changed_event )(hal_device_thermal_updated_cb updated_cb, void *user_data) |
| int(* | unregister_changed_event )(hal_device_thermal_updated_cb updated_cb) |
| int(* _hal_backend_device_thermal_funcs::get_info)(hal_device_thermal_e type, hal_device_thermal_info_s *info) |
Get thermal information
| int(* _hal_backend_device_thermal_funcs::register_changed_event)(hal_device_thermal_updated_cb updated_cb, void *user_data) |
Register thermal event
| int(* _hal_backend_device_thermal_funcs::unregister_changed_event)(hal_device_thermal_updated_cb updated_cb) |
Unregister thermal event
| struct hal_device_thermal_info_s |
Structure for Thermal functions.
| typedef void(* hal_device_thermal_updated_cb)(hal_device_thermal_info_s *info, void *data) |
Called when a thermal information is handled.
| [out] | info | Thermal information |
| [out] | user_data | User data passed |
| enum hal_device_thermal_e |