Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of workinQM_5thJan_azad by
Diff: pni.h
- Revision:
- 20:949d13045431
- Parent:
- 18:3662058a7c10
diff -r 79e69017c855 -r 949d13045431 pni.h --- a/pni.h Sat Jun 04 11:29:13 2016 +0000 +++ b/pni.h Fri Jul 01 17:55:30 2016 +0000 @@ -2,7 +2,9 @@ #define SLAVE_ADDR_READ 0x51 #define SENTRALSTATUS 0x37 #define RESETREQ 0x9B +#define ERROR 0x50 #define MAGRATE 0x55 +#define SENSORSTATUS 0x36 #define ACCERATE 0x56 #define GYRORATE 0x57 #define QRATE_DIV 0x32 @@ -13,6 +15,7 @@ #define ALGO_STATUS 0x38 #define GYRO_XOUT_H 0x22 #define MAG_XOUT_H 0X12 +#define UPLOAD_ADDR 0x94 //Configaration bits #define BIT_RESREQ 0x01 @@ -33,5 +36,6 @@ #define BIT_GYROODR 0x0F//0x0F #define BIT_MAGODR 0x64//0x64 #define BIT_RUN_ENB 0x01//0x01 +#define BIT_HOST_UPLD_ENB 0x02 #define BIT_ALGO_RAW 0x02 #define BIT_EVT_ENB 0X2A// 0x2A \ No newline at end of file
