diff options
Diffstat (limited to 'include/linux/m4sensorhub/MemMapCompassSensor.h')
| -rw-r--r-- | include/linux/m4sensorhub/MemMapCompassSensor.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/linux/m4sensorhub/MemMapCompassSensor.h b/include/linux/m4sensorhub/MemMapCompassSensor.h new file mode 100644 index 00000000000..a4da37d43b1 --- /dev/null +++ b/include/linux/m4sensorhub/MemMapCompassSensor.h @@ -0,0 +1,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__ */ |