blob: 129acee157d07a6c8efc2cce6836be21d3342614 (
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
31
32
33
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__ */
 |