Bavo Van Achte / Mbed 2 deprecated MLX90418_I2C_master

Dependencies:   mbed libscpi

Committer:
wuliqunyy
Date:
Fri Jun 04 08:21:10 2021 +0000
Revision:
20:26e934452728
Parent:
15:83bbc18cccbc
Child:
30:b463e1f3cae3
FPGA_V2 release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wuliqunyy 20:26e934452728 1 // Generated by 90418_MEMmap.xlsm on 2021-06-03 10:02
wuliqunyy 15:83bbc18cccbc 2 // RAM zone defines
wuliqunyy 15:83bbc18cccbc 3 #define DMA_START_RAM_ZONE_RAM_STACK 0x1220
wuliqunyy 15:83bbc18cccbc 4 #define DMA_START_RAM_ZONE_RAM_GLOBAL_VARIABLES 0x1200
wuliqunyy 15:83bbc18cccbc 5 #define DMA_START_RAM_ZONE_RAM_PATCH_TRIM 0x11E0
wuliqunyy 15:83bbc18cccbc 6 #define DMA_START_RAM_ZONE_RAM_PATCH_EXTENSION 0x1094
wuliqunyy 15:83bbc18cccbc 7 #define DMA_START_RAM_ZONE_RAM_MLX_CALIBRATION 0x1064
wuliqunyy 15:83bbc18cccbc 8 #define DMA_START_RAM_ZONE_RAM_MLX_I2C_REGISTER_MAPPING 0x105C
wuliqunyy 15:83bbc18cccbc 9 #define DMA_START_RAM_ZONE_RAM_APPLICATION_TRIMMING 0x1010
wuliqunyy 15:83bbc18cccbc 10 #define DMA_START_RAM_ZONE_RAM_I2C_REGISTER_MAPPING 0x1000
wuliqunyy 15:83bbc18cccbc 11
wuliqunyy 15:83bbc18cccbc 12
wuliqunyy 15:83bbc18cccbc 13 // I2C RAM command defines
wuliqunyy 14:062850afdf38 14 #define I2C_RAM_PATCH_TRIM_0 0x00F0
wuliqunyy 14:062850afdf38 15 #define I2C_CRC_PATCH_23 0x004B
wuliqunyy 14:062850afdf38 16 #define I2C_CRC_PATCH_01 0x004A
wuliqunyy 15:83bbc18cccbc 17 #define I2C_MLX_CALIB_23 0x0049
wuliqunyy 15:83bbc18cccbc 18 #define I2C_MLX_CALIB_22 0x0048
wuliqunyy 15:83bbc18cccbc 19 #define I2C_MLX_CALIB_21 0x0047
wuliqunyy 15:83bbc18cccbc 20 #define I2C_MLX_CALIB_20 0x0046
wuliqunyy 15:83bbc18cccbc 21 #define I2C_MLX_CALIB_19 0x0045
wuliqunyy 15:83bbc18cccbc 22 #define I2C_MLX_CALIB_18 0x0044
wuliqunyy 15:83bbc18cccbc 23 #define I2C_MLX_CALIB_17 0x0043
wuliqunyy 15:83bbc18cccbc 24 #define I2C_MLX_CALIB_16 0x0042
wuliqunyy 15:83bbc18cccbc 25 #define I2C_MLX_CALIB_15 0x0041
wuliqunyy 15:83bbc18cccbc 26 #define I2C_MLX_CALIB_14 0x0040
wuliqunyy 15:83bbc18cccbc 27 #define I2C_MLX_CALIB_13 0x003F
wuliqunyy 15:83bbc18cccbc 28 #define I2C_MLX_CALIB_12 0x003E
wuliqunyy 15:83bbc18cccbc 29 #define I2C_MLX_CALIB_11 0x003D
wuliqunyy 15:83bbc18cccbc 30 #define I2C_MLX_CALIB_10 0x003C
wuliqunyy 15:83bbc18cccbc 31 #define I2C_MLX_CALIB_9 0x003B
wuliqunyy 15:83bbc18cccbc 32 #define I2C_MLX_CALIB_8 0x003A
wuliqunyy 15:83bbc18cccbc 33 #define I2C_MLX_CALIB_7 0x0039
wuliqunyy 15:83bbc18cccbc 34 #define I2C_MLX_CALIB_6 0x0038
wuliqunyy 15:83bbc18cccbc 35 #define I2C_MLX_CALIB_5 0x0037
wuliqunyy 15:83bbc18cccbc 36 #define I2C_MLX_CALIB_4 0x0036
wuliqunyy 15:83bbc18cccbc 37 #define I2C_MLX_CALIB_3 0x0035
wuliqunyy 15:83bbc18cccbc 38 #define I2C_MLX_CALIB_2 0x0034
wuliqunyy 15:83bbc18cccbc 39 #define I2C_CLIM_SET 0x0033
wuliqunyy 15:83bbc18cccbc 40 #define I2C_CLIM_CALIB 0x0032
wuliqunyy 14:062850afdf38 41 #define I2C_CMD_INTERPRETER_DATA 0x0031
wuliqunyy 14:062850afdf38 42 #define I2C_CMD_INTERPRETER_ADDRESS 0x0030
wuliqunyy 14:062850afdf38 43 #define I2C_STARTUP_FLAGS_2 0x002F
wuliqunyy 14:062850afdf38 44 #define I2C_STARTUP_FLAGS_1 0x002E
wuliqunyy 14:062850afdf38 45 #define I2C_MTP_CFGZONE_0 0x002D
wuliqunyy 14:062850afdf38 46 #define I2C_CUST_ID0 0x002C
wuliqunyy 14:062850afdf38 47 #define I2C_CUST_ID1 0x002B
wuliqunyy 14:062850afdf38 48 #define I2C_CUST_ID2 0x002A
wuliqunyy 14:062850afdf38 49 #define I2C_CUST_ID3 0x0029
wuliqunyy 14:062850afdf38 50 #define I2C_DIGITAL_CFG 0x0028
wuliqunyy 14:062850afdf38 51 #define I2C_ZONE0_RES1 0x0027
wuliqunyy 14:062850afdf38 52 #define I2C_ZONE0_RES2 0x0026
wuliqunyy 14:062850afdf38 53 #define I2C_ZONE0_RES3 0x0025
wuliqunyy 14:062850afdf38 54 #define I2C_ZONE0_RES4 0x0024
wuliqunyy 15:83bbc18cccbc 55 #define I2C_CLIM_USER_1 0x0023
wuliqunyy 15:83bbc18cccbc 56 #define I2C_CLIM_USER_0 0x0022
wuliqunyy 15:83bbc18cccbc 57 #define I2C_OC_CL_CTRL 0x0021
wuliqunyy 20:26e934452728 58 #define I2C_DI_TH_1ST_REG 0x0020
wuliqunyy 20:26e934452728 59 #define I2C_DI_TH_2ND_REG 0x001F
wuliqunyy 20:26e934452728 60 #define I2C_I_ZC_TH_HIGH_REG 0x001E
wuliqunyy 20:26e934452728 61 #define I2C_I_ZC_TH_LOW_REG 0x001D
wuliqunyy 15:83bbc18cccbc 62 #define I2C_CURVE_PAR_F 0x001C
wuliqunyy 15:83bbc18cccbc 63 #define I2C_CURVE_PAR_E 0x001B
wuliqunyy 15:83bbc18cccbc 64 #define I2C_CURVE_PAR_D 0x001A
wuliqunyy 15:83bbc18cccbc 65 #define I2C_CURVE_PAR_C 0x0019
wuliqunyy 15:83bbc18cccbc 66 #define I2C_CURVE_PAR_B 0x0018
wuliqunyy 15:83bbc18cccbc 67 #define I2C_CURVE_PAR_A 0x0017
wuliqunyy 15:83bbc18cccbc 68 #define I2C_CURVE_PNT_MAX 0x0016
wuliqunyy 15:83bbc18cccbc 69 #define I2C_CURVE_PNT_MIN 0x0015
wuliqunyy 15:83bbc18cccbc 70 #define I2C_SPD_CTRL_2 0x0014
wuliqunyy 15:83bbc18cccbc 71 #define I2C_SPD_CTRL_1 0x0013
wuliqunyy 15:83bbc18cccbc 72 #define I2C_MIN_EHP 0x0012
wuliqunyy 20:26e934452728 73 #define I2C_POSITION2 0x0011
wuliqunyy 20:26e934452728 74 #define I2C_WIND_BRAKE2 0x0010
wuliqunyy 15:83bbc18cccbc 75 #define I2C_WIND_BRAKE 0x000F
wuliqunyy 15:83bbc18cccbc 76 #define I2C_START_UP 0x000E
wuliqunyy 15:83bbc18cccbc 77 #define I2C_POSITION 0x000D
wuliqunyy 15:83bbc18cccbc 78 #define I2C_GEN_CTRL 0x000C
wuliqunyy 15:83bbc18cccbc 79 #define I2C_APPLICATION_CFG4 0x000B
wuliqunyy 15:83bbc18cccbc 80 #define I2C_APPLICATION_CFG3 0x000A
wuliqunyy 15:83bbc18cccbc 81 #define I2C_APPLICATION_CFG2 0x0009
wuliqunyy 15:83bbc18cccbc 82 #define I2C_APPLICATION_CFG 0x0008
wuliqunyy 20:26e934452728 83 #define I2C_STATE 0x0007
wuliqunyy 14:062850afdf38 84 #define I2C_I2C_RESERVED_2 0x0006
wuliqunyy 14:062850afdf38 85 #define I2C_TEMPERATURE 0x0005
wuliqunyy 14:062850afdf38 86 #define I2C_STATUS 0x0004
wuliqunyy 14:062850afdf38 87 #define I2C_FEEDBACK 0x0003
wuliqunyy 14:062850afdf38 88 #define I2C_COMMAND_KEY 0x0002
wuliqunyy 14:062850afdf38 89 #define I2C_COMMAND_CONTROL 0x0001
wuliqunyy 20:26e934452728 90 #define I2C_SPEED_DUTY 0x0000
wuliqunyy 20:26e934452728 91