Embedded Artistry C Interfaces
A reference collection of abstract interfaces in C.
|
Example barometric pressure sensor interface. More...
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | BarometricPressureSensor |
Virtual Barometric Pressure Sensor Interface. More... | |
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.
There are a number of ways you might modify this interface to suit your needs:
Definition in file barometric_pressure_sensor.h.