Team Fox / Mbed 2 deprecated ACS_Flowchart_BAE

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of QM_BAE_review_1 by Team Fox

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pni.h Source File

pni.h

00001 #define SLAVE_ADDR         0x50
00002 #define SLAVE_ADDR_READ    0x51
00003 #define SENTRALSTATUS      0x37
00004 #define RESETREQ           0x9B
00005 #define ERROR              0x50
00006 #define SENSORSTATUS       0x36
00007 #define MAGRATE            0x55
00008 #define ACCERATE           0x56
00009 #define GYRORATE           0x57
00010 #define QRATE_DIV          0x32
00011 #define ALGO_CTRL          0x54
00012 #define ENB_EVT            0x33
00013 #define HOST_CTRL          0x34
00014 #define EVT_STATUS         0x35
00015 #define ALGO_STATUS        0x38
00016 #define GYRO_XOUT_H        0x22
00017 #define MAG_XOUT_H         0X12
00018 #define UPLOAD_ADDR        0x94
00019 
00020 //Configaration bits
00021 #define BIT_RESREQ     0x01
00022 #define BIT_EEP_DET    0x01
00023 #define BIT_EEP_UPDN   0x02
00024 #define BIT_EEP_UPERR  0x04
00025 #define BIT_EEP_IDLE   0x08
00026 #define BIT_EEP_NODET  0x10
00027 #define BIT_STBY       0x01
00028 #define BIT_RAW_ENB    0x02
00029 #define BIT_HPR_OUT    0x04
00030 #define BIT_CPU_RES    0x01
00031 #define BIT_ERR        0x02
00032 #define BIT_QRES       0x04
00033 #define BIT_MAG_RES    0x08
00034 #define BIT_ACC_RES    0x10
00035 #define BIT_GYRO_RES   0x20
00036 #define BIT_GYROODR    0x0F
00037 #define BIT_MAGODR     0x64
00038 #define BIT_RUN_ENB    0x01
00039 #define BIT_HOST_UPLD_ENB 0x02
00040 #define BIT_ALGO_RAW   0x02
00041 #define BIT_EVT_ENB    0X2B