git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add pressure sensors
[matches/MCTX3420.git]
/
server
/
sensors
/
pressure.h
1
/**
2
* @file pressure.h
3
* @purpose Declarations for Pressure Sensor functions
4
*/
5
6
#ifndef _PRESSURE_H
7
8
#include "../common.h"
9
10
typedef enum
11
{
12
PRES_HIGH0,
13
PRES_HIGH1,
14
PRES_LOW0
15
} PressureId;
16
17
extern bool Pressure_Init(const char * name, int id);
18
extern bool Pressure_Cleanup(int id);
19
extern bool Pressure_Read(int id, double * value);
20
21
#endif //_PRESSURE_H
22
23
UCC
git Repository :: git.ucc.asn.au