Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
firmware
boards
breezy
breezystm32
drv_ms4525.h
Go to the documentation of this file.
1
/*
2
drv_ms4525.h : driver for MS4525 Differential Pressure Sensor
3
4
This file is part of BreezySTM32.
5
6
BreezySTM32 is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
BreezySTM32 is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with BreezySTM32. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
#include <stdint.h>
20
21
#pragma once
22
23
bool
ms4525_init
(
void
);
24
25
// Asynchronous I2C function
26
bool
ms4525_present
(
void
);
27
void
ms4525_async_update
(
void
);
28
void
ms4525_async_read
(
float
*diff_press,
float
*
temperature
);
temperature
float temperature
Definition:
ms4525.c:41
ms4525_async_read
void ms4525_async_read(float *diff_press, float *temperature)
Definition:
drv_ms4525.c:80
ms4525_async_update
void ms4525_async_update(void)
Definition:
drv_ms4525.c:53
ms4525_init
bool ms4525_init(void)
Definition:
drv_ms4525.c:40
ms4525_present
bool ms4525_present(void)
Definition:
drv_ms4525.c:62
rosflight_firmware
Author(s): Daniel Koch
, James Jackson
autogenerated on Wed Jul 3 2019 19:59:24