Instances of this class handle access to the TMP05/06 temperature sensors. More...
#include <core/DspTmp0506.h>
Public Member Functions | |
tcDspTmp0506 (void *apAddress, int anLevel=gnAutoLevel) | |
This constructor is used to initialize a TMP05/06 device using the generic RAM Block interface. | |
~tcDspTmp0506 () | |
Default Destructor. | |
float | getTemperature (void) |
This routine reads the 8 most recent temperature readings, averages them and computes a temperature (in deg-C). | |
Static Public Attributes | |
static const int | gnNumReadings = 8 |
Instances of this class handle access to the TMP05/06 temperature sensors.
tcDspTmp0506::tcDspTmp0506 | ( | void * | apAddress, | |
int | anLevel = gnAutoLevel | |||
) |
This constructor is used to initialize a TMP05/06 device using the generic RAM Block interface.
[in] | apAddress | - Base Address of the TMP05/06 RAM Block interface |
[in] | anLevel | - Optional interrupt level parameter |
tcDspTmp0506::~tcDspTmp0506 | ( | ) |
Default Destructor.
float tcDspTmp0506::getTemperature | ( | void | ) |
This routine reads the 8 most recent temperature readings, averages them and computes a temperature (in deg-C).
const int MityDSP::tcDspTmp0506::gnNumReadings = 8 [static] |