#include <math.h>
#include <stdio.h>
Go to the source code of this file.
#define ADDR_BURST_CTRL1_HI 0x0D |
Definition at line 90 of file sensor_epsonG352.h.
#define ADDR_BURST_CTRL1_LO 0x0C |
Definition at line 89 of file sensor_epsonG352.h.
#define ADDR_BURST_CTRL2_HI 0x0F |
Definition at line 92 of file sensor_epsonG352.h.
#define ADDR_BURST_CTRL2_LO 0x0E |
Definition at line 91 of file sensor_epsonG352.h.
#define ADDR_COUNT 0x0A |
Definition at line 60 of file sensor_epsonG352.h.
#define ADDR_DIAG_STAT 0x04 |
Definition at line 57 of file sensor_epsonG352.h.
#define ADDR_FILTER_CTRL_HI 0x07 |
Definition at line 84 of file sensor_epsonG352.h.
#define ADDR_FILTER_CTRL_LO 0x06 |
Definition at line 83 of file sensor_epsonG352.h.
#define ADDR_FLAG 0x06 |
Definition at line 58 of file sensor_epsonG352.h.
#define ADDR_GLOB_CMD_HI 0x0B |
Definition at line 88 of file sensor_epsonG352.h.
#define ADDR_GLOB_CMD_LO 0x0A |
Definition at line 87 of file sensor_epsonG352.h.
#define ADDR_GPIO 0x08 |
Definition at line 59 of file sensor_epsonG352.h.
#define ADDR_MODE_CTRL_HI 0x03 |
Definition at line 56 of file sensor_epsonG352.h.
#define ADDR_MODE_CTRL_LO 0x02 |
Definition at line 55 of file sensor_epsonG352.h.
#define ADDR_MSC_CTRL_HI 0x03 |
Definition at line 80 of file sensor_epsonG352.h.
#define ADDR_MSC_CTRL_LO 0x02 |
Definition at line 79 of file sensor_epsonG352.h.
#define ADDR_PROD_ID1 0x6A |
Definition at line 94 of file sensor_epsonG352.h.
#define ADDR_PROD_ID2 0x6C |
Definition at line 95 of file sensor_epsonG352.h.
#define ADDR_PROD_ID3 0x6E |
Definition at line 96 of file sensor_epsonG352.h.
#define ADDR_PROD_ID4 0x70 |
Definition at line 97 of file sensor_epsonG352.h.
#define ADDR_SERIAL_NUM1 0x74 |
Definition at line 99 of file sensor_epsonG352.h.
#define ADDR_SERIAL_NUM2 0x76 |
Definition at line 100 of file sensor_epsonG352.h.
#define ADDR_SERIAL_NUM3 0x78 |
Definition at line 101 of file sensor_epsonG352.h.
#define ADDR_SERIAL_NUM4 0x7A |
Definition at line 102 of file sensor_epsonG352.h.
#define ADDR_SIG_CTRL_HI 0x01 |
Definition at line 78 of file sensor_epsonG352.h.
#define ADDR_SIG_CTRL_LO 0x00 |
Definition at line 77 of file sensor_epsonG352.h.
#define ADDR_SMPL_CTRL_HI 0x05 |
Definition at line 82 of file sensor_epsonG352.h.
#define ADDR_SMPL_CTRL_LO 0x04 |
Definition at line 81 of file sensor_epsonG352.h.
#define ADDR_TEMP_HIGH 0x0E |
Definition at line 61 of file sensor_epsonG352.h.
#define ADDR_TEMP_LOW 0x10 |
Definition at line 62 of file sensor_epsonG352.h.
#define ADDR_UART_CTRL_HI 0x09 |
Definition at line 86 of file sensor_epsonG352.h.
#define ADDR_UART_CTRL_LO 0x08 |
Definition at line 85 of file sensor_epsonG352.h.
#define ADDR_VERSION 0x72 |
Definition at line 98 of file sensor_epsonG352.h.
#define ADDR_WIN_CTRL 0x7E |
Definition at line 103 of file sensor_epsonG352.h.
#define ADDR_XACCL_HIGH 0x1E |
Definition at line 69 of file sensor_epsonG352.h.
#define ADDR_XACCL_LOW 0x20 |
Definition at line 70 of file sensor_epsonG352.h.
#define ADDR_XGYRO_HIGH 0x12 |
Definition at line 63 of file sensor_epsonG352.h.
#define ADDR_XGYRO_LOW 0x14 |
Definition at line 64 of file sensor_epsonG352.h.
#define ADDR_YACCL_HIGH 0x22 |
Definition at line 71 of file sensor_epsonG352.h.
#define ADDR_YACCL_LOW 0x24 |
Definition at line 72 of file sensor_epsonG352.h.
#define ADDR_YGYRO_HIGH 0x16 |
Definition at line 65 of file sensor_epsonG352.h.
#define ADDR_YGYRO_LOW 0x18 |
Definition at line 66 of file sensor_epsonG352.h.
#define ADDR_ZACCL_HIGH 0x26 |
Definition at line 73 of file sensor_epsonG352.h.
#define ADDR_ZACCL_LOW 0x28 |
Definition at line 74 of file sensor_epsonG352.h.
#define ADDR_ZGYRO_HIGH 0x1A |
Definition at line 67 of file sensor_epsonG352.h.
#define ADDR_ZGYRO_LOW 0x1C |
Definition at line 68 of file sensor_epsonG352.h.
#define BURSTLEN 30 |
Definition at line 31 of file sensor_epsonG352.h.
#define CMD_32BIT 0x30 |
Definition at line 113 of file sensor_epsonG352.h.
#define CMD_BEGIN_SAMPLING 0x01 |
Definition at line 114 of file sensor_epsonG352.h.
#define CMD_BURST 0x80 |
Definition at line 105 of file sensor_epsonG352.h.
#define CMD_EN_BRSTDATA_HI 0x30 |
Definition at line 109 of file sensor_epsonG352.h.
#define CMD_EN_BRSTDATA_LO 0x03 |
Definition at line 108 of file sensor_epsonG352.h.
#define CMD_EN_NDFLAGS 0x7E |
Definition at line 107 of file sensor_epsonG352.h.
#define CMD_END_SAMPLING 0x02 |
Definition at line 115 of file sensor_epsonG352.h.
#define CMD_FIRTAP128FC100 0x11 |
Definition at line 146 of file sensor_epsonG352.h.
#define CMD_FIRTAP128FC200 0x12 |
Definition at line 147 of file sensor_epsonG352.h.
#define CMD_FIRTAP128FC400 0x13 |
Definition at line 148 of file sensor_epsonG352.h.
#define CMD_FIRTAP128FC50 0x10 |
Definition at line 145 of file sensor_epsonG352.h.
#define CMD_FIRTAP32FC100 0x09 |
Definition at line 138 of file sensor_epsonG352.h.
#define CMD_FIRTAP32FC200 0x0A |
Definition at line 139 of file sensor_epsonG352.h.
#define CMD_FIRTAP32FC400 0x0B |
Definition at line 140 of file sensor_epsonG352.h.
#define CMD_FIRTAP32FC50 0x08 |
Definition at line 137 of file sensor_epsonG352.h.
#define CMD_FIRTAP64FC100 0x0D |
Definition at line 142 of file sensor_epsonG352.h.
#define CMD_FIRTAP64FC200 0x0E |
Definition at line 143 of file sensor_epsonG352.h.
#define CMD_FIRTAP64FC400 0x0F |
Definition at line 144 of file sensor_epsonG352.h.
#define CMD_FIRTAP64FC50 0x0C |
Definition at line 141 of file sensor_epsonG352.h.
#define CMD_FLASHTEST 0x08 |
Definition at line 117 of file sensor_epsonG352.h.
#define CMD_FLTAP128 0x07 |
Definition at line 136 of file sensor_epsonG352.h.
#define CMD_FLTAP16 0x04 |
Definition at line 133 of file sensor_epsonG352.h.
#define CMD_FLTAP2 0x01 |
Definition at line 130 of file sensor_epsonG352.h.
#define CMD_FLTAP32 0x05 |
Definition at line 134 of file sensor_epsonG352.h.
#define CMD_FLTAP4 0x02 |
Definition at line 131 of file sensor_epsonG352.h.
#define CMD_FLTAP64 0x06 |
Definition at line 135 of file sensor_epsonG352.h.
#define CMD_FLTAP8 0x03 |
Definition at line 132 of file sensor_epsonG352.h.
#define CMD_RATE1000 0x02 |
Definition at line 122 of file sensor_epsonG352.h.
#define CMD_RATE125 0x05 |
Definition at line 125 of file sensor_epsonG352.h.
#define CMD_RATE2000 0x01 |
Definition at line 121 of file sensor_epsonG352.h.
#define CMD_RATE250 0x04 |
Definition at line 124 of file sensor_epsonG352.h.
#define CMD_RATE31_25 0x07 |
Definition at line 127 of file sensor_epsonG352.h.
#define CMD_RATE500 0x03 |
Definition at line 123 of file sensor_epsonG352.h.
#define CMD_RATE62_5 0x06 |
Definition at line 126 of file sensor_epsonG352.h.
#define CMD_RSTCNTR_DRDY 0x44 |
Definition at line 112 of file sensor_epsonG352.h.
#define CMD_SELFTEST 0x04 |
Definition at line 118 of file sensor_epsonG352.h.
#define CMD_SOFTRESET 0x80 |
Definition at line 116 of file sensor_epsonG352.h.
#define CMD_WINDOW0 0x00 |
Definition at line 110 of file sensor_epsonG352.h.
#define CMD_WINDOW1 0x01 |
Definition at line 111 of file sensor_epsonG352.h.
#define EPSON_ACCL_SF (.200) |
Definition at line 22 of file sensor_epsonG352.h.
#define EPSON_GYRO_SF (.015) |
Definition at line 23 of file sensor_epsonG352.h.
#define FALSE 0 |
Definition at line 20 of file sensor_epsonG352.h.
#define SENSOR_READ_LEN 14 |
Definition at line 29 of file sensor_epsonG352.h.
#define TRUE 1 |
Definition at line 19 of file sensor_epsonG352.h.
#define VAL_CONFIG_MODE 0x04 |
Definition at line 152 of file sensor_epsonG352.h.
#define VAL_SAMPLING_MODE 0x00 |
Definition at line 151 of file sensor_epsonG352.h.