This module contains APIs to program and use the VTN module. The APIs can be used by other drivers to get access to VTM and also by application to get temperature or voltage reading.
|
file | vtm.h |
| VTM Driver API/interface file.
|
|
◆ VTM_TABLE_SIZE
#define VTM_TABLE_SIZE 1024 |
◆ VTM_printPolynomialLookUpTable()
void VTM_printPolynomialLookUpTable |
( |
| ) |
|
This function is used to print VTM table which defines code values and what temperature value it refers to.
◆ VTM_getAverageTemperature()
int32_t VTM_getAverageTemperature |
( |
float * |
temperature | ) |
|
This function populates current temperature value.
- Parameters
-
temperature | [out] Input pointer to get temperature. |
- Returns
- SystemP_SUCCESS or SystemP_FAILURE.
◆ VTM_reset()
This function resets the VTM sensors.