summaryrefslogtreecommitdiff
path: root/include/linux/m4sensorhub/MemMapPressureSensor.h
blob: 9c192a26447533aee76e93583093c2cddfde2487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*********************************************************************
*
*   Copyright (C) 2012 Motorola, Inc.
*
**********************************************************************

File    : MemMapPressureSensor.h
Purpose :
**********************************************************************/
#ifndef __PRESS_SENSOR_H__
#define __PRESS_SENSOR_H__
/****************************** Defines *******************************/
typedef struct memMapPressure {
	u8 version;
	u8 dummy; /* Align the boundary */
	u16 sampleRate;
	u32 pressure;
	s32 referenceAltitude;
	u32 seaLevelPressure;
	s32 absoluteAltitude;
	s16 temperature;
} sPressureData;

/**************************** Globals ********************************/


/***************************** Prototypes *****************************/

#endif