//*****************************************************************************
//
// TEMP.h - Knihovna pro ovladani snimace teploty
//
//*****************************************************************************

#ifndef __TEMP_H__
#define __TEMP_H__


#define POINTER_TO_TEMP 0x00                //nastaveni ukazatele na registr s teplotou
#define POINTER_TO_CONF 0x01                //Nastaveni ukazatele na registr s konfiguraci
#define FACTORY_SETTINGS 0x00               //vychozi nastaveni konfiguracniho registru snimace teploty

//konstanty pro nastaveni presnosti mereni teploty
#define RESOLUTION_9B 0x00                  //rozliseni 9b
#define RESOLUTION_10B 0x01                 //10b
#define RESOLUTION_11B 0x10                 //11b
#define RESOLUTION_12B 0x11                 //12b


//Deklarace funkci-----------------------
extern void TEMPInit(void);
extern float TEMPGetValue(void);


#endif // __TEMP_H__
