Embedded Artistry C Interfaces
A reference collection of abstract interfaces in C.
virtual_devices
barometric_altimeter.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: © 2022 Embedded Artistry LLC <contact@embeddedartistry.com>
2
// SPDX-License-Identifier: MIT
3
4
#include <stdbool.h>
5
#include <stdint.h>
6
49
typedef
struct
50
{
67
bool (*readAltitude)(int32_t*
const
altitude);
68
74
void (*setSeaLevelPressure)(
const
uint32_t slp);
75
}
BarometricAltimeter
;
BarometricAltimeter
Virtual Barometric Altimeter Sensor Interface.
Definition:
barometric_altimeter.h:50
Generated by
1.9.4