Sensorian  1.0
C API Reference Guide Library
MemoryMap.h File Reference

Register memory map header. More...

Go to the source code of this file.

Macros

#define STATUS   0x00
 
#define OUT_X_MSB   0x01
 
#define OUT_X_LSB   0x02
 
#define OUT_Y_MSB   0x03
 
#define OUT_Y_LSB   0x04
 
#define OUT_Z_MSB   0x05
 
#define OUT_Z_LSB   0x05
 
#define F_SETUP   0x09
 
#define TRIG_CFG   0x0A
 
#define SYSMOD   0x0B
 
#define INT_SOURCE   0x0C
 
#define WHO_AM_I   0x0D
 
#define XYZ_DATA_CFG   0x0E
 
#define HP_FILTER_CUTOFF   0x0F
 
#define PL_STATUS   0x10
 
#define PL_CFG   0x11
 
#define PL_COUNT   0x12
 
#define PL_BF_ZCOMP   0x13
 
#define PL_THS_REG   0x14
 
#define A_FFMT_CFG   0x15
 
#define A_FFMT_SRC   0x16
 
#define A_FFMT_THS   0x17
 
#define A_FFMT_COUNT   0x18
 
#define TRANSIENT_CFG   0x1D
 
#define TRANSIENT_SRC   0x1E
 
#define TRANSIENT_THS   0x1F
 
#define TRANSIENT_COUNT   0x20
 
#define PULSE_CFG   0x21
 
#define PULSE_SRC   0x22
 
#define PULSE_THSX   0x23
 
#define PULSE_THSY   0x24
 
#define PULSE_THSZ   0x25
 
#define PULSE_TMLT   0x26
 
#define PULSE_LTCY   0x27
 
#define PULSE_WIND   0x28
 
#define ASLP_COUNT   0x29
 
#define CTRL_REG1   0x2A
 
#define CTRL_REG2   0x2B
 
#define CTRL_REG3   0x2C
 
#define CTRL_REG4   0x2D
 
#define CTRL_REG5   0x2E
 
#define OFF_X   0x2F
 
#define OFF_Y   0x30
 
#define OFF_Z   0x31
 
#define M_DR_STATUS   0x32
 
#define M_OUT_X_MSB   0x33
 
#define M_OUT_X_LSB   0x34
 
#define M_OUT_Y_MSB   0x35
 
#define M_OUT_Y_LSB   0x36
 
#define M_OUT_Z_MSB   0x37
 
#define M_OUT_Z_LSB   0x38
 
#define CMP_X_MSB   0x39
 
#define CMP_X_LSB   0x3A
 
#define CMP_Y_MSB   0x3B
 
#define CMP_Y_LSB   0x3C
 
#define CMP_Z_MSB   0x3D
 
#define CMP_Z_LSB   0x3E
 
#define M_OFF_X_MSB   0x3F
 
#define M_OFF_X_LSB   0x40
 
#define M_OFF_Y_MSB   0x41
 
#define M_OFF_Y_LSB   0x42
 
#define M_OFF_Z_MSB   0x43
 
#define M_OFF_Z_LSB   0x44
 
#define MAX_X_MSB   0x45
 
#define MAX_X_LSB   0x46
 
#define MAX_Y_MSB   0x47
 
#define MAX_Y_LSB   0x48
 
#define MAX_Z_MSB   0x49
 
#define MAX_Z_LSB   0x4A
 
#define MIN_X_MSB   0x4B
 
#define MIN_X_LSB   0x4C
 
#define MIN_Y_MSB   0x4D
 
#define MIN_Y_LSB   0x4E
 
#define MIN_Z_MSB   0x4F
 
#define MIN_Z_LSB   0x50
 
#define TEMP   0x51
 
#define M_THS_CFG   0x52
 
#define M_THS_SRC   0x53
 
#define M_THS_X_MSB   0x54
 
#define M_THS_X_LSB   0x55
 
#define M_THS_Y_MSB   0x56
 
#define M_THS_Y_LSB   0x57
 
#define M_THS_Z_MSB   0x58
 
#define M_THS_Z_LSB   0x59
 
#define M_THS_COUNT   0x5A
 
#define M_CTRL_REG1   0x5B
 
#define M_CTRL_REG2   0x5C
 
#define M_CTRL_REG3   0x5D
 
#define M_INT_SRC   0x5E
 
#define A_VECM_CFG   0x5F
 
#define A_VECM_THS_MSB   0x60
 
#define A_VECM_THS_LSB   0x61
 
#define A_VECM_CNT   0x62
 
#define A_VECM_INITX_MSB   0x63
 
#define A_VECM_INITX_LSB   0x64
 
#define A_VECM_INITY_MSB   0x65
 
#define A_VECM_INITY_LSB   0x66
 
#define A_VECM_INITZ_MSB   0x67
 
#define A_VECM_INITZ_LSB   0x68
 
#define M_VECM_CFG   0x69
 
#define M_VECM_THS_MSB   0x6A
 
#define M_VECM_THS_LSB   0x6B
 
#define M_VECM_CNT   0x6C
 
#define M_VECM_INITX_MSB   0x6D
 
#define M_VECM_INITX_LSB   0x6E
 
#define M_VECM_INITY_MSB   0x6F
 
#define M_VECM_INITY_LSB   0x70
 
#define M_VECM_INITZ_MSB   0x71
 
#define M_VECM_INITZ_LSB   0x72
 
#define A_FFMT_THS_X_MSB   0x73
 
#define A_FFMT_THS_X_LSB   0x74
 
#define A_FFMT_THS_Y_MSB   0x75
 
#define A_FFMT_THS_Y_LSB   0x76
 
#define A_FFMT_THS_Z_MSB   0x77
 
#define A_FFMT_THS_Z_LSB   0x78
 

Detailed Description

Register memory map header.

Author
D.Qendri
Date
30 May 2015

Definition in file MemoryMap.h.

Macro Definition Documentation

#define A_FFMT_CFG   0x15

Definition at line 51 of file MemoryMap.h.

#define A_FFMT_COUNT   0x18

Definition at line 54 of file MemoryMap.h.

#define A_FFMT_SRC   0x16

Definition at line 52 of file MemoryMap.h.

#define A_FFMT_THS   0x17

Definition at line 53 of file MemoryMap.h.

#define A_FFMT_THS_X_LSB   0x74

Definition at line 142 of file MemoryMap.h.

#define A_FFMT_THS_X_MSB   0x73

Definition at line 141 of file MemoryMap.h.

#define A_FFMT_THS_Y_LSB   0x76

Definition at line 144 of file MemoryMap.h.

#define A_FFMT_THS_Y_MSB   0x75

Definition at line 143 of file MemoryMap.h.

#define A_FFMT_THS_Z_LSB   0x78

Definition at line 146 of file MemoryMap.h.

#define A_FFMT_THS_Z_MSB   0x77

Definition at line 145 of file MemoryMap.h.

#define A_VECM_CFG   0x5F

Definition at line 121 of file MemoryMap.h.

#define A_VECM_CNT   0x62

Definition at line 124 of file MemoryMap.h.

#define A_VECM_INITX_LSB   0x64

Definition at line 126 of file MemoryMap.h.

#define A_VECM_INITX_MSB   0x63

Definition at line 125 of file MemoryMap.h.

#define A_VECM_INITY_LSB   0x66

Definition at line 128 of file MemoryMap.h.

#define A_VECM_INITY_MSB   0x65

Definition at line 127 of file MemoryMap.h.

#define A_VECM_INITZ_LSB   0x68

Definition at line 130 of file MemoryMap.h.

#define A_VECM_INITZ_MSB   0x67

Definition at line 129 of file MemoryMap.h.

#define A_VECM_THS_LSB   0x61

Definition at line 123 of file MemoryMap.h.

#define A_VECM_THS_MSB   0x60

Definition at line 122 of file MemoryMap.h.

#define ASLP_COUNT   0x29

Definition at line 67 of file MemoryMap.h.

#define CMP_X_LSB   0x3A

Definition at line 84 of file MemoryMap.h.

#define CMP_X_MSB   0x39

Definition at line 83 of file MemoryMap.h.

#define CMP_Y_LSB   0x3C

Definition at line 86 of file MemoryMap.h.

#define CMP_Y_MSB   0x3B

Definition at line 85 of file MemoryMap.h.

#define CMP_Z_LSB   0x3E

Definition at line 88 of file MemoryMap.h.

#define CMP_Z_MSB   0x3D

Definition at line 87 of file MemoryMap.h.

#define CTRL_REG1   0x2A

Definition at line 68 of file MemoryMap.h.

#define CTRL_REG2   0x2B

Definition at line 69 of file MemoryMap.h.

#define CTRL_REG3   0x2C

Definition at line 70 of file MemoryMap.h.

#define CTRL_REG4   0x2D

Definition at line 71 of file MemoryMap.h.

#define CTRL_REG5   0x2E

Definition at line 72 of file MemoryMap.h.

#define F_SETUP   0x09

Definition at line 39 of file MemoryMap.h.

#define HP_FILTER_CUTOFF   0x0F

Definition at line 45 of file MemoryMap.h.

#define INT_SOURCE   0x0C

Definition at line 42 of file MemoryMap.h.

#define M_CTRL_REG1   0x5B

Definition at line 117 of file MemoryMap.h.

#define M_CTRL_REG2   0x5C

Definition at line 118 of file MemoryMap.h.

#define M_CTRL_REG3   0x5D

Definition at line 119 of file MemoryMap.h.

#define M_DR_STATUS   0x32

Definition at line 76 of file MemoryMap.h.

#define M_INT_SRC   0x5E

Definition at line 120 of file MemoryMap.h.

#define M_OFF_X_LSB   0x40

Definition at line 90 of file MemoryMap.h.

#define M_OFF_X_MSB   0x3F

Definition at line 89 of file MemoryMap.h.

#define M_OFF_Y_LSB   0x42

Definition at line 92 of file MemoryMap.h.

#define M_OFF_Y_MSB   0x41

Definition at line 91 of file MemoryMap.h.

#define M_OFF_Z_LSB   0x44

Definition at line 94 of file MemoryMap.h.

#define M_OFF_Z_MSB   0x43

Definition at line 93 of file MemoryMap.h.

#define M_OUT_X_LSB   0x34

Definition at line 78 of file MemoryMap.h.

#define M_OUT_X_MSB   0x33

Definition at line 77 of file MemoryMap.h.

#define M_OUT_Y_LSB   0x36

Definition at line 80 of file MemoryMap.h.

#define M_OUT_Y_MSB   0x35

Definition at line 79 of file MemoryMap.h.

#define M_OUT_Z_LSB   0x38

Definition at line 82 of file MemoryMap.h.

#define M_OUT_Z_MSB   0x37

Definition at line 81 of file MemoryMap.h.

#define M_THS_CFG   0x52

Definition at line 108 of file MemoryMap.h.

#define M_THS_COUNT   0x5A

Definition at line 116 of file MemoryMap.h.

#define M_THS_SRC   0x53

Definition at line 109 of file MemoryMap.h.

#define M_THS_X_LSB   0x55

Definition at line 111 of file MemoryMap.h.

#define M_THS_X_MSB   0x54

Definition at line 110 of file MemoryMap.h.

#define M_THS_Y_LSB   0x57

Definition at line 113 of file MemoryMap.h.

#define M_THS_Y_MSB   0x56

Definition at line 112 of file MemoryMap.h.

#define M_THS_Z_LSB   0x59

Definition at line 115 of file MemoryMap.h.

#define M_THS_Z_MSB   0x58

Definition at line 114 of file MemoryMap.h.

#define M_VECM_CFG   0x69

Definition at line 131 of file MemoryMap.h.

#define M_VECM_CNT   0x6C

Definition at line 134 of file MemoryMap.h.

#define M_VECM_INITX_LSB   0x6E

Definition at line 136 of file MemoryMap.h.

#define M_VECM_INITX_MSB   0x6D

Definition at line 135 of file MemoryMap.h.

#define M_VECM_INITY_LSB   0x70

Definition at line 138 of file MemoryMap.h.

#define M_VECM_INITY_MSB   0x6F

Definition at line 137 of file MemoryMap.h.

#define M_VECM_INITZ_LSB   0x72

Definition at line 140 of file MemoryMap.h.

#define M_VECM_INITZ_MSB   0x71

Definition at line 139 of file MemoryMap.h.

#define M_VECM_THS_LSB   0x6B

Definition at line 133 of file MemoryMap.h.

#define M_VECM_THS_MSB   0x6A

Definition at line 132 of file MemoryMap.h.

#define MAX_X_LSB   0x46

Definition at line 96 of file MemoryMap.h.

#define MAX_X_MSB   0x45

Definition at line 95 of file MemoryMap.h.

#define MAX_Y_LSB   0x48

Definition at line 98 of file MemoryMap.h.

#define MAX_Y_MSB   0x47

Definition at line 97 of file MemoryMap.h.

#define MAX_Z_LSB   0x4A

Definition at line 100 of file MemoryMap.h.

#define MAX_Z_MSB   0x49

Definition at line 99 of file MemoryMap.h.

#define MIN_X_LSB   0x4C

Definition at line 102 of file MemoryMap.h.

#define MIN_X_MSB   0x4B

Definition at line 101 of file MemoryMap.h.

#define MIN_Y_LSB   0x4E

Definition at line 104 of file MemoryMap.h.

#define MIN_Y_MSB   0x4D

Definition at line 103 of file MemoryMap.h.

#define MIN_Z_LSB   0x50

Definition at line 106 of file MemoryMap.h.

#define MIN_Z_MSB   0x4F

Definition at line 105 of file MemoryMap.h.

#define OFF_X   0x2F

Definition at line 73 of file MemoryMap.h.

#define OFF_Y   0x30

Definition at line 74 of file MemoryMap.h.

#define OFF_Z   0x31

Definition at line 75 of file MemoryMap.h.

#define OUT_X_LSB   0x02

Definition at line 34 of file MemoryMap.h.

#define OUT_X_MSB   0x01

Definition at line 33 of file MemoryMap.h.

#define OUT_Y_LSB   0x04

Definition at line 36 of file MemoryMap.h.

#define OUT_Y_MSB   0x03

Definition at line 35 of file MemoryMap.h.

#define OUT_Z_LSB   0x05

Definition at line 38 of file MemoryMap.h.

#define OUT_Z_MSB   0x05

Definition at line 37 of file MemoryMap.h.

#define PL_BF_ZCOMP   0x13

Definition at line 49 of file MemoryMap.h.

#define PL_CFG   0x11

Definition at line 47 of file MemoryMap.h.

#define PL_COUNT   0x12

Definition at line 48 of file MemoryMap.h.

#define PL_STATUS   0x10

Definition at line 46 of file MemoryMap.h.

#define PL_THS_REG   0x14

Definition at line 50 of file MemoryMap.h.

#define PULSE_CFG   0x21

Definition at line 59 of file MemoryMap.h.

#define PULSE_LTCY   0x27

Definition at line 65 of file MemoryMap.h.

#define PULSE_SRC   0x22

Definition at line 60 of file MemoryMap.h.

#define PULSE_THSX   0x23

Definition at line 61 of file MemoryMap.h.

#define PULSE_THSY   0x24

Definition at line 62 of file MemoryMap.h.

#define PULSE_THSZ   0x25

Definition at line 63 of file MemoryMap.h.

#define PULSE_TMLT   0x26

Definition at line 64 of file MemoryMap.h.

#define PULSE_WIND   0x28

Definition at line 66 of file MemoryMap.h.

#define STATUS   0x00

Definition at line 32 of file MemoryMap.h.

#define SYSMOD   0x0B

Definition at line 41 of file MemoryMap.h.

#define TEMP   0x51

Definition at line 107 of file MemoryMap.h.

#define TRANSIENT_CFG   0x1D

Definition at line 55 of file MemoryMap.h.

#define TRANSIENT_COUNT   0x20

Definition at line 58 of file MemoryMap.h.

#define TRANSIENT_SRC   0x1E

Definition at line 56 of file MemoryMap.h.

#define TRANSIENT_THS   0x1F

Definition at line 57 of file MemoryMap.h.

#define TRIG_CFG   0x0A

Definition at line 40 of file MemoryMap.h.

#define WHO_AM_I   0x0D

Definition at line 43 of file MemoryMap.h.

#define XYZ_DATA_CFG   0x0E

Definition at line 44 of file MemoryMap.h.