AM62x MCU+ SDK  10.00.00
APIs to get temperature from VTM Module

Introduction

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.

Files

file  vtm.h
 VTM Driver API/interface file.
 

Functions

void VTM_printPolynomialLookUpTable ()
 This function is used to print VTM table which defines code values and what temperature value it refers to. More...
 
int32_t VTM_getAverageTemperature (float *temperature)
 This function populates current temperature value. More...
 

Macros

#define VTM_TABLE_SIZE   1024
 

Macro Definition Documentation

◆ VTM_TABLE_SIZE

#define VTM_TABLE_SIZE   1024

Function Documentation

◆ 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.