acs beacon and hk integrated

Dependencies:   mbed-rtos mbed

Committer:
sakthipriya
Date:
Sat May 16 07:07:56 2015 +0000
Revision:
0:1a04c0beef21
acs beacon and hk integrated

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sakthipriya 0:1a04c0beef21 1 #define SLAVE_ADDR 0x50
sakthipriya 0:1a04c0beef21 2 #define SLAVE_ADDR_READ 0x51
sakthipriya 0:1a04c0beef21 3 #define SENTRALSTATUS 0x37
sakthipriya 0:1a04c0beef21 4 #define RESETREQ 0x9B
sakthipriya 0:1a04c0beef21 5 #define MAGRATE 0x55
sakthipriya 0:1a04c0beef21 6 #define ACCERATE 0x56
sakthipriya 0:1a04c0beef21 7 #define GYRORATE 0x57
sakthipriya 0:1a04c0beef21 8 #define QRATE_DIV 0x32
sakthipriya 0:1a04c0beef21 9 #define ALGO_CTRL 0x54
sakthipriya 0:1a04c0beef21 10 #define ENB_EVT 0x33
sakthipriya 0:1a04c0beef21 11 #define HOST_CTRL 0x34
sakthipriya 0:1a04c0beef21 12 #define EVT_STATUS 0x35
sakthipriya 0:1a04c0beef21 13 #define ALGO_STATUS 0x38
sakthipriya 0:1a04c0beef21 14 #define GYRO_XOUT_H 0x22
sakthipriya 0:1a04c0beef21 15 #define MAG_XOUT_H 0X12
sakthipriya 0:1a04c0beef21 16
sakthipriya 0:1a04c0beef21 17 //Configaration bits
sakthipriya 0:1a04c0beef21 18 #define BIT_RESREQ 0x01
sakthipriya 0:1a04c0beef21 19 #define BIT_EEP_DET 0x01
sakthipriya 0:1a04c0beef21 20 #define BIT_EEP_UPDN 0x02
sakthipriya 0:1a04c0beef21 21 #define BIT_EEP_UPERR 0x04
sakthipriya 0:1a04c0beef21 22 #define BIT_EEP_IDLE 0x08
sakthipriya 0:1a04c0beef21 23 #define BIT_EEP_NODET 0x10
sakthipriya 0:1a04c0beef21 24 #define BIT_STBY 0x01
sakthipriya 0:1a04c0beef21 25 #define BIT_RAW_ENB 0x02
sakthipriya 0:1a04c0beef21 26 #define BIT_HPR_OUT 0x04
sakthipriya 0:1a04c0beef21 27 #define BIT_CPU_RES 0x01
sakthipriya 0:1a04c0beef21 28 #define BIT_ERR 0x02
sakthipriya 0:1a04c0beef21 29 #define BIT_QRES 0x04
sakthipriya 0:1a04c0beef21 30 #define BIT_MAG_RES 0x08
sakthipriya 0:1a04c0beef21 31 #define BIT_ACC_RES 0x10
sakthipriya 0:1a04c0beef21 32 #define BIT_GYRO_RES 0x20
sakthipriya 0:1a04c0beef21 33 #define BIT_GYROODR 0x0F
sakthipriya 0:1a04c0beef21 34 #define BIT_MAGODR 0x64
sakthipriya 0:1a04c0beef21 35 #define BIT_RUN_ENB 0x01
sakthipriya 0:1a04c0beef21 36 #define BIT_ALGO_RAW 0x02
sakthipriya 0:1a04c0beef21 37 #define BIT_EVT_ENB 0X2A