ChibiOS/HAL  6.1.0
hal_sensors.h File Reference

Generic sensors interface header. More...

Go to the source code of this file.

Data Structures

struct  BaseSensorVMT
 BaseSensor virtual methods table. More...
 
struct  BaseSensor
 Base stream class. More...
 

Macros

#define _base_sensor_methods_alone
 BaseSensor specific methods. More...
 
#define _base_sensor_methods
 BaseSensor specific methods with inherited ones. More...
 
#define _base_sensor_data
 BaseSensor specific data. More...
 
Macro Functions (BaseSensor)
#define sensorGetChannelNumber(ip)   (ip)->vmt->get_channels_number(ip)
 Sensors get channels number. More...
 
#define sensorReadRaw(ip, dp)   (ip)->vmt->read_raw(ip, dp)
 Sensors read raw data. More...
 
#define sensorReadCooked(ip, dp)   (ip)->vmt->read_cooked(ip, dp)
 Sensors read cooked data. More...
 

Detailed Description

Generic sensors interface header.

Definition in file hal_sensors.h.