ChibiOS/EX 1.3.0
ex_thermometer.h File Reference

Generic thermometer interface header. More...

#include "ex_sensors.h"

Go to the source code of this file.

Data Structures

struct  BaseThermometerVMT
 BaseThermometer virtual methods table. More...
struct  BaseThermometer
 Base thermometer class. More...

Macros

#define _base_thermometer_methods_alone
 BaseThermometer specific methods.
#define _base_thermometer_methods
 BaseThermometer specific methods with inherited ones.
#define _base_thermometer_data    _base_sensor_data
 BaseThermometer specific data.
Macro Functions (BaseThermometer)
#define thermometerGetChannelsNumber(ip)
 Thermometer get channels number.
#define thermometerReadRaw(ip, dp)
 Thermometer read raw data.
#define thermometerReadCooked(ip, dp)
 Thermometer read cooked data.
#define thermometerSetBias(ip, bp)
 Updates thermometer bias data from received buffer.
#define thermometerResetBias(ip)
 Reset thermometer bias data restoring it to zero.
#define thermometerSetSensitivity(ip, sp)
 Updates thermometer sensitivity data from received buffer.
#define thermometerResetSensitivity(ip)
 Reset thermometer sensitivity data restoring it to its typical value.

Detailed Description

Generic thermometer interface header.

Definition in file ex_thermometer.h.