summaryrefslogtreecommitdiff
path: root/include/linux/m4sensorhub/MemMapCompassSensor.h
blob: a4da37d43b12f419a9a98a456aff0f07f42bac26 (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
30
/*********************************************************************
*
*   Copyright (C) 2012 Motorola, Inc.
*
**********************************************************************

File    : MemMapCompassSensor.h
Purpose :
**********************************************************************/
#ifndef __MEMMAP_COMPASSSENSOR_H__
#define __MEMMAP_COMPASSSENSOR_H__
/****************************** Defines *******************************/
typedef struct memMapCompass {
	u8 version;
	u8 testCmd;
	u16 dummy; /* Align to 32-bit boundary */
	s32 x;
	s32 y;
	s32 z;
	s8 accuracy;
} sCompassData;

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


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



#endif /* __MEMMAP_COMPASSSENSOR_H__ */