Embedded Artistry C Interfaces
A reference collection of abstract interfaces in C.
Classes
barometric_pressure_sensor.h File Reference

Example barometric pressure sensor interface. More...

#include <stdbool.h>
#include <stdint.h>
Include dependency graph for barometric_pressure_sensor.h:

Go to the source code of this file.

Classes

struct  BarometricPressureSensor
 Virtual Barometric Pressure Sensor Interface. More...
 

Detailed Description

Example barometric pressure sensor interface.

This header defines the core interfaces for a virtual barometric pressure sensor. The interface can be expanded in multiple ways. For a useful study in variations, such as the use of callback functions and support for asynchronous processing, see barometric_sensor.h.

Modifying the Interfaces

There are a number of ways you might modify this interface to suit your needs:

Definition in file barometric_pressure_sensor.h.