Google is committed to advancing racial equity for Black communities. See how.

temperature_t Struct Reference

temperature_t Struct Reference

#include < thermal.h >

Data Fields

enum temperature_type   type
 
const char *  name
 
float  current_value
 
float  throttling_threshold
 
float  shutdown_threshold
 
float  vr_throttling_threshold
 

Detailed Description

Definition at line 52 of file thermal.h .

Field Documentation

float current_value

Current temperature in Celsius. If not available set by HAL to UNKNOWN_TEMPERATURE. Current temperature can be in any units if type=DEVICE_TEMPERATURE_UNKNOWN.

Definition at line 70 of file thermal.h .

const char* name

Name of this temperature. All temperatures of the same "type" must have a different "name".

Definition at line 62 of file thermal.h .

float shutdown_threshold

Shutdown temperature constant for this temperature. If not available, set by HAL to UNKNOWN_TEMPERATURE.

Definition at line 82 of file thermal.h .

float throttling_threshold

Throttling temperature constant for this temperature. If not available, set by HAL to UNKNOWN_TEMPERATURE.

Definition at line 76 of file thermal.h .

This temperature's type.

Definition at line 56 of file thermal.h .

float vr_throttling_threshold

Threshold temperature above which the VR mode clockrate minimums cannot be maintained for this device. If not available, set by HAL to UNKNOWN_TEMPERATURE.

Definition at line 89 of file thermal.h .


The documentation for this struct was generated from the following file: