summaryrefslogtreecommitdiff
path: root/include/linux/m4sensorhub/MemMapPedometer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/m4sensorhub/MemMapPedometer.h')
-rw-r--r--include/linux/m4sensorhub/MemMapPedometer.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/linux/m4sensorhub/MemMapPedometer.h b/include/linux/m4sensorhub/MemMapPedometer.h
new file mode 100644
index 00000000000..129acee157d
--- /dev/null
+++ b/include/linux/m4sensorhub/MemMapPedometer.h
@@ -0,0 +1,34 @@
+/*********************************************************************
+*
+* Copyright (C) 2012 Motorola, Inc.
+*
+**********************************************************************
+
+File : Pedometer.h
+Purpose :
+**********************************************************************/
+#ifndef __PEDOMETER_H__
+#define __PEDOMETER_H__
+/****************************** Defines *******************************/
+typedef struct memMapPedometer {
+ u8 version;
+ u8 testCmd;
+ u16 totalSteps;
+ u32 totatDistance;
+ u32 currentSpeed;
+ u8 activity;
+} sPedoData;
+
+typedef enum {
+ WALK,
+ JOG,
+ RUN
+} eActivity;
+/**************************** Globals ********************************/
+
+
+/***************************** Prototypes *****************************/
+
+
+
+#endif /* __PEDOMETER_H__ */