ChibiOS/HAL  6.1.0
hal_hygrometer.h File Reference

Generic hygrometer interface header. More...

#include "hal_sensors.h"

Go to the source code of this file.

Data Structures

struct  BaseHygrometerVMT
 BaseHygrometer virtual methods table. More...
 
struct  BaseHygrometer
 Base hygrometer class. More...
 

Macros

#define _base_hygrometer_methods_alone
 BaseHygrometer specific methods. More...
 
#define _base_hygrometer_methods
 BaseHygrometer specific methods with inherited ones. More...
 
#define _base_hygrometer_data   _base_sensor_data
 BaseHygrometer specific data. More...
 
Macro Functions (BaseHygrometer)
#define hygrometerGetChannelsNumber(ip)   (ip)->vmt->get_channels_number(ip)
 Hygrometer get channels number. More...
 
#define hygrometerReadRaw(ip, dp)   (ip)->vmt->read_raw(ip, dp)
 Hygrometer read raw data. More...
 
#define hygrometerReadCooked(ip, dp)   (ip)->vmt->read_cooked(ip, dp)
 Hygrometer read cooked data. More...
 
#define hygrometerSetBias(ip, bp)   (ip)->vmt->set_bias(ip, bp)
 Updates hygrometer bias data from received buffer. More...
 
#define hygrometerResetBias(ip)   (ip)->vmt->reset_bias(ip)
 Reset hygrometer bias data restoring it to zero. More...
 
#define hygrometerSetSensitivity(ip, sp)   (ip)->vmt->set_sensitivity(ip, sp)
 Updates hygrometer sensitivity data from received buffer. More...
 
#define hygrometerResetSensitivity(ip)   (ip)->vmt->reset_sensitivity(ip)
 Reset hygrometer sensitivity data restoring it to its typical value. More...
 

Detailed Description

Generic hygrometer interface header.

Definition in file hal_hygrometer.h.