ChibiOS/HAL
6.1.0
|
Generic thermometer interface header. More...
#include "hal_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. More... | |
#define | _base_thermometer_methods |
BaseThermometer specific methods with inherited ones. More... | |
#define | _base_thermometer_data _base_sensor_data |
BaseThermometer specific data. More... | |
Macro Functions (BaseThermometer) | |
#define | thermometerGetChannelsNumber(ip) (ip)->vmt->get_channels_number(ip) |
Thermometer get channels number. More... | |
#define | thermometerReadRaw(ip, dp) (ip)->vmt->read_raw(ip, dp) |
Thermometer read raw data. More... | |
#define | thermometerReadCooked(ip, dp) (ip)->vmt->read_cooked(ip, dp) |
Thermometer read cooked data. More... | |
#define | thermometerSetBias(ip, bp) (ip)->vmt->set_bias(ip, bp) |
Updates thermometer bias data from received buffer. More... | |
#define | thermometerResetBias(ip) (ip)->vmt->reset_bias(ip) |
Reset thermometer bias data restoring it to zero. More... | |
#define | thermometerSetSensitivity(ip, sp) (ip)->vmt->set_sensitivity(ip, sp) |
Updates thermometer sensitivity data from received buffer. More... | |
#define | thermometerResetSensitivity(ip) (ip)->vmt->reset_sensitivity(ip) |
Reset thermometer sensitivity data restoring it to its typical value. More... | |
Generic thermometer interface header.
Definition in file hal_thermometer.h.