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
FPGA_V2 release

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wuliqunyy 9:76a0b9f29a2d 1 #define NV_D_CORDAT_ID_ADDRESS 0x09FE
wuliqunyy 5:daab0e0e67e2 2 #define NV_D_CORDAT_ID_OFFSET 10
wuliqunyy 5:daab0e0e67e2 3 #define NV_D_CORDAT_ID_LENGTH 6
wuliqunyy 5:daab0e0e67e2 4 #define NV_D_CORDAT_ID_MASK 0xFC00
wuliqunyy 5:daab0e0e67e2 5
wuliqunyy 9:76a0b9f29a2d 6 #define NV_D_FAB_ID_ADDRESS 0x09FE
wuliqunyy 5:daab0e0e67e2 7 #define NV_D_FAB_ID_OFFSET 6
wuliqunyy 5:daab0e0e67e2 8 #define NV_D_FAB_ID_LENGTH 4
wuliqunyy 5:daab0e0e67e2 9 #define NV_D_FAB_ID_MASK 0x03C0
wuliqunyy 5:daab0e0e67e2 10
wuliqunyy 9:76a0b9f29a2d 11 #define NV_D_LOT_ID_16_11_ADDRESS 0x09FE
wuliqunyy 5:daab0e0e67e2 12 #define NV_D_LOT_ID_16_11_OFFSET 0
wuliqunyy 5:daab0e0e67e2 13 #define NV_D_LOT_ID_16_11_LENGTH 6
wuliqunyy 5:daab0e0e67e2 14 #define NV_D_LOT_ID_16_11_MASK 0x003F
wuliqunyy 5:daab0e0e67e2 15
wuliqunyy 9:76a0b9f29a2d 16 #define NV_D_LOT_ID_10_0_ADDRESS 0x09FC
wuliqunyy 5:daab0e0e67e2 17 #define NV_D_LOT_ID_10_0_OFFSET 5
wuliqunyy 5:daab0e0e67e2 18 #define NV_D_LOT_ID_10_0_LENGTH 11
wuliqunyy 5:daab0e0e67e2 19 #define NV_D_LOT_ID_10_0_MASK 0xFFE0
wuliqunyy 5:daab0e0e67e2 20
wuliqunyy 9:76a0b9f29a2d 21 #define NV_D_WFR_ID_ADDRESS 0x09FC
wuliqunyy 5:daab0e0e67e2 22 #define NV_D_WFR_ID_OFFSET 0
wuliqunyy 5:daab0e0e67e2 23 #define NV_D_WFR_ID_LENGTH 5
wuliqunyy 5:daab0e0e67e2 24 #define NV_D_WFR_ID_MASK 0x001F
wuliqunyy 5:daab0e0e67e2 25
wuliqunyy 9:76a0b9f29a2d 26 #define NV_D_YPOS_ID_ADDRESS 0x09FA
wuliqunyy 5:daab0e0e67e2 27 #define NV_D_YPOS_ID_OFFSET 8
wuliqunyy 5:daab0e0e67e2 28 #define NV_D_YPOS_ID_LENGTH 8
wuliqunyy 5:daab0e0e67e2 29 #define NV_D_YPOS_ID_MASK 0xFF00
wuliqunyy 5:daab0e0e67e2 30
wuliqunyy 9:76a0b9f29a2d 31 #define NV_D_XPOS_ID_ADDRESS 0x09FA
wuliqunyy 5:daab0e0e67e2 32 #define NV_D_XPOS_ID_OFFSET 0
wuliqunyy 5:daab0e0e67e2 33 #define NV_D_XPOS_ID_LENGTH 8
wuliqunyy 5:daab0e0e67e2 34 #define NV_D_XPOS_ID_MASK 0x00FF
wuliqunyy 5:daab0e0e67e2 35
wuliqunyy 9:76a0b9f29a2d 36 #define NV_TRACEABILITY_0_ADDRESS 0x09F8
wuliqunyy 9:76a0b9f29a2d 37 #define NV_TRACEABILITY_0_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 38 #define NV_TRACEABILITY_0_LENGTH 16
wuliqunyy 9:76a0b9f29a2d 39 #define NV_TRACEABILITY_0_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 40
wuliqunyy 14:062850afdf38 41 #define NV_CRC_MLX_TRIMMING_ADDRESS 0x09F6
wuliqunyy 14:062850afdf38 42 #define NV_CRC_MLX_TRIMMING_OFFSET 8
wuliqunyy 14:062850afdf38 43 #define NV_CRC_MLX_TRIMMING_LENGTH 8
wuliqunyy 14:062850afdf38 44 #define NV_CRC_MLX_TRIMMING_MASK 0xFF00
wuliqunyy 14:062850afdf38 45
wuliqunyy 20:26e934452728 46 #define NV_CLAMP_RES_HIGH_DELAY_DRV_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 47 #define NV_CLAMP_RES_HIGH_DELAY_DRV_OFFSET 15
wuliqunyy 20:26e934452728 48 #define NV_CLAMP_RES_HIGH_DELAY_DRV_LENGTH 1
wuliqunyy 20:26e934452728 49 #define NV_CLAMP_RES_HIGH_DELAY_DRV_MASK 0x8000
wuliqunyy 20:26e934452728 50
wuliqunyy 20:26e934452728 51 #define NV_VS_UVDET_HYST_SUP_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 52 #define NV_VS_UVDET_HYST_SUP_OFFSET 14
wuliqunyy 20:26e934452728 53 #define NV_VS_UVDET_HYST_SUP_LENGTH 1
wuliqunyy 20:26e934452728 54 #define NV_VS_UVDET_HYST_SUP_MASK 0x4000
wuliqunyy 20:26e934452728 55
wuliqunyy 20:26e934452728 56 #define NV_VS_UVDET_SEL_SUP_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 57 #define NV_VS_UVDET_SEL_SUP_OFFSET 11
wuliqunyy 20:26e934452728 58 #define NV_VS_UVDET_SEL_SUP_LENGTH 3
wuliqunyy 20:26e934452728 59 #define NV_VS_UVDET_SEL_SUP_MASK 0x3800
wuliqunyy 20:26e934452728 60
wuliqunyy 20:26e934452728 61 #define NV_OC_ADJ_DRV_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 62 #define NV_OC_ADJ_DRV_OFFSET 10
wuliqunyy 20:26e934452728 63 #define NV_OC_ADJ_DRV_LENGTH 1
wuliqunyy 20:26e934452728 64 #define NV_OC_ADJ_DRV_MASK 0x0400
wuliqunyy 20:26e934452728 65
wuliqunyy 20:26e934452728 66 #define NV_OC_ONDET_ENABLE_DRV_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 67 #define NV_OC_ONDET_ENABLE_DRV_OFFSET 9
wuliqunyy 20:26e934452728 68 #define NV_OC_ONDET_ENABLE_DRV_LENGTH 1
wuliqunyy 20:26e934452728 69 #define NV_OC_ONDET_ENABLE_DRV_MASK 0x0200
wuliqunyy 20:26e934452728 70
wuliqunyy 20:26e934452728 71 #define NV_CL_ONDET_ENABLE_DRV_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 72 #define NV_CL_ONDET_ENABLE_DRV_OFFSET 8
wuliqunyy 20:26e934452728 73 #define NV_CL_ONDET_ENABLE_DRV_LENGTH 1
wuliqunyy 20:26e934452728 74 #define NV_CL_ONDET_ENABLE_DRV_MASK 0x0100
wuliqunyy 20:26e934452728 75
wuliqunyy 20:26e934452728 76 #define NV_OV_BLANK_OPTION_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 77 #define NV_OV_BLANK_OPTION_OFFSET 6
wuliqunyy 20:26e934452728 78 #define NV_OV_BLANK_OPTION_LENGTH 2
wuliqunyy 20:26e934452728 79 #define NV_OV_BLANK_OPTION_MASK 0x00C0
wuliqunyy 20:26e934452728 80
wuliqunyy 20:26e934452728 81 #define NV_OV_BLANK_TIMER_DIS_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 82 #define NV_OV_BLANK_TIMER_DIS_OFFSET 5
wuliqunyy 20:26e934452728 83 #define NV_OV_BLANK_TIMER_DIS_LENGTH 1
wuliqunyy 20:26e934452728 84 #define NV_OV_BLANK_TIMER_DIS_MASK 0x0020
wuliqunyy 20:26e934452728 85
wuliqunyy 20:26e934452728 86 #define NV_OV_BLANK_DIS_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 87 #define NV_OV_BLANK_DIS_OFFSET 4
wuliqunyy 20:26e934452728 88 #define NV_OV_BLANK_DIS_LENGTH 1
wuliqunyy 20:26e934452728 89 #define NV_OV_BLANK_DIS_MASK 0x0010
wuliqunyy 20:26e934452728 90
wuliqunyy 20:26e934452728 91 #define NV_OV_TIMEBASE_SELECT_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 92 #define NV_OV_TIMEBASE_SELECT_OFFSET 2
wuliqunyy 20:26e934452728 93 #define NV_OV_TIMEBASE_SELECT_LENGTH 2
wuliqunyy 20:26e934452728 94 #define NV_OV_TIMEBASE_SELECT_MASK 0x000C
wuliqunyy 20:26e934452728 95
wuliqunyy 20:26e934452728 96 #define NV_VS_OVDET_SEL_SUP_ADDRESS 0x09F4
wuliqunyy 20:26e934452728 97 #define NV_VS_OVDET_SEL_SUP_OFFSET 0
wuliqunyy 20:26e934452728 98 #define NV_VS_OVDET_SEL_SUP_LENGTH 2
wuliqunyy 20:26e934452728 99 #define NV_VS_OVDET_SEL_SUP_MASK 0x0003
wuliqunyy 20:26e934452728 100
wuliqunyy 20:26e934452728 101 #define NV_DRV_MODE_SEL_DRV_ADDRESS 0x09F2
wuliqunyy 20:26e934452728 102 #define NV_DRV_MODE_SEL_DRV_OFFSET 14
wuliqunyy 20:26e934452728 103 #define NV_DRV_MODE_SEL_DRV_LENGTH 1
wuliqunyy 20:26e934452728 104 #define NV_DRV_MODE_SEL_DRV_MASK 0x4000
wuliqunyy 20:26e934452728 105
wuliqunyy 20:26e934452728 106 #define NV_DRVMOD_OSC_DIV4_EN_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 107 #define NV_DRVMOD_OSC_DIV4_EN_DRV_OFFSET 13
wuliqunyy 15:83bbc18cccbc 108 #define NV_DRVMOD_OSC_DIV4_EN_DRV_LENGTH 1
wuliqunyy 15:83bbc18cccbc 109 #define NV_DRVMOD_OSC_DIV4_EN_DRV_MASK 0x2000
wuliqunyy 15:83bbc18cccbc 110
wuliqunyy 20:26e934452728 111 #define NV_DRVMOD_OSC_DIV4_SETTING_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 112 #define NV_DRVMOD_OSC_DIV4_SETTING_DRV_OFFSET 12
wuliqunyy 15:83bbc18cccbc 113 #define NV_DRVMOD_OSC_DIV4_SETTING_DRV_LENGTH 1
wuliqunyy 15:83bbc18cccbc 114 #define NV_DRVMOD_OSC_DIV4_SETTING_DRV_MASK 0x1000
wuliqunyy 15:83bbc18cccbc 115
wuliqunyy 20:26e934452728 116 #define NV_HS_BOOST_PD_MODE_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 117 #define NV_HS_BOOST_PD_MODE_DRV_OFFSET 10
wuliqunyy 15:83bbc18cccbc 118 #define NV_HS_BOOST_PD_MODE_DRV_LENGTH 2
wuliqunyy 15:83bbc18cccbc 119 #define NV_HS_BOOST_PD_MODE_DRV_MASK 0x0C00
wuliqunyy 15:83bbc18cccbc 120
wuliqunyy 20:26e934452728 121 #define NV_HS_BOOST_PU_MODE_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 122 #define NV_HS_BOOST_PU_MODE_DRV_OFFSET 8
wuliqunyy 15:83bbc18cccbc 123 #define NV_HS_BOOST_PU_MODE_DRV_LENGTH 2
wuliqunyy 15:83bbc18cccbc 124 #define NV_HS_BOOST_PU_MODE_DRV_MASK 0x0300
wuliqunyy 15:83bbc18cccbc 125
wuliqunyy 20:26e934452728 126 #define NV_HS_HIGH_I_MODE_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 127 #define NV_HS_HIGH_I_MODE_DRV_OFFSET 6
wuliqunyy 15:83bbc18cccbc 128 #define NV_HS_HIGH_I_MODE_DRV_LENGTH 2
wuliqunyy 15:83bbc18cccbc 129 #define NV_HS_HIGH_I_MODE_DRV_MASK 0x00C0
wuliqunyy 15:83bbc18cccbc 130
wuliqunyy 20:26e934452728 131 #define NV_HS_ONSW_DELAY_ENABLE_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 132 #define NV_HS_ONSW_DELAY_ENABLE_DRV_OFFSET 5
wuliqunyy 15:83bbc18cccbc 133 #define NV_HS_ONSW_DELAY_ENABLE_DRV_LENGTH 1
wuliqunyy 15:83bbc18cccbc 134 #define NV_HS_ONSW_DELAY_ENABLE_DRV_MASK 0x0020
wuliqunyy 9:76a0b9f29a2d 135
wuliqunyy 20:26e934452728 136 #define NV_LS_BOOST_MODE_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 137 #define NV_LS_BOOST_MODE_DRV_OFFSET 3
wuliqunyy 15:83bbc18cccbc 138 #define NV_LS_BOOST_MODE_DRV_LENGTH 2
wuliqunyy 15:83bbc18cccbc 139 #define NV_LS_BOOST_MODE_DRV_MASK 0x0018
wuliqunyy 15:83bbc18cccbc 140
wuliqunyy 20:26e934452728 141 #define NV_LS_HIGH_I_MODE_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 142 #define NV_LS_HIGH_I_MODE_DRV_OFFSET 1
wuliqunyy 15:83bbc18cccbc 143 #define NV_LS_HIGH_I_MODE_DRV_LENGTH 2
wuliqunyy 15:83bbc18cccbc 144 #define NV_LS_HIGH_I_MODE_DRV_MASK 0x0006
wuliqunyy 15:83bbc18cccbc 145
wuliqunyy 20:26e934452728 146 #define NV_DISABLE_DRVSUP_STARTLOAD_DRV_ADDRESS 0x09F2
wuliqunyy 15:83bbc18cccbc 147 #define NV_DISABLE_DRVSUP_STARTLOAD_DRV_OFFSET 0
wuliqunyy 15:83bbc18cccbc 148 #define NV_DISABLE_DRVSUP_STARTLOAD_DRV_LENGTH 1
wuliqunyy 15:83bbc18cccbc 149 #define NV_DISABLE_DRVSUP_STARTLOAD_DRV_MASK 0x0001
wuliqunyy 15:83bbc18cccbc 150
wuliqunyy 20:26e934452728 151 #define NV_THR_SEL_OTD_MISC_ADDRESS 0x09F0
wuliqunyy 20:26e934452728 152 #define NV_THR_SEL_OTD_MISC_OFFSET 0
wuliqunyy 20:26e934452728 153 #define NV_THR_SEL_OTD_MISC_LENGTH 3
wuliqunyy 20:26e934452728 154 #define NV_THR_SEL_OTD_MISC_MASK 0x0007
wuliqunyy 20:26e934452728 155
wuliqunyy 20:26e934452728 156 #define NV_OTP_VPP_SETUP_TIME_ADDRESS 0x09EC
wuliqunyy 15:83bbc18cccbc 157 #define NV_OTP_VPP_SETUP_TIME_OFFSET 5
wuliqunyy 15:83bbc18cccbc 158 #define NV_OTP_VPP_SETUP_TIME_LENGTH 5
wuliqunyy 15:83bbc18cccbc 159 #define NV_OTP_VPP_SETUP_TIME_MASK 0x03E0
wuliqunyy 15:83bbc18cccbc 160
wuliqunyy 20:26e934452728 161 #define NV_OTP_PROGRAM_WIDTH_ADDRESS 0x09EC
wuliqunyy 15:83bbc18cccbc 162 #define NV_OTP_PROGRAM_WIDTH_OFFSET 0
wuliqunyy 15:83bbc18cccbc 163 #define NV_OTP_PROGRAM_WIDTH_LENGTH 5
wuliqunyy 15:83bbc18cccbc 164 #define NV_OTP_PROGRAM_WIDTH_MASK 0x001F
wuliqunyy 9:76a0b9f29a2d 165
wuliqunyy 20:26e934452728 166 #define NV_OTP_USETIMINGS_ADDRESS 0x09EA
wuliqunyy 15:83bbc18cccbc 167 #define NV_OTP_USETIMINGS_OFFSET 15
wuliqunyy 15:83bbc18cccbc 168 #define NV_OTP_USETIMINGS_LENGTH 1
wuliqunyy 15:83bbc18cccbc 169 #define NV_OTP_USETIMINGS_MASK 0x8000
wuliqunyy 15:83bbc18cccbc 170
wuliqunyy 20:26e934452728 171 #define NV_OTP_CEB_SETUP_WIDTH_ADDRESS 0x09EA
wuliqunyy 15:83bbc18cccbc 172 #define NV_OTP_CEB_SETUP_WIDTH_OFFSET 10
wuliqunyy 15:83bbc18cccbc 173 #define NV_OTP_CEB_SETUP_WIDTH_LENGTH 5
wuliqunyy 15:83bbc18cccbc 174 #define NV_OTP_CEB_SETUP_WIDTH_MASK 0x7C00
wuliqunyy 15:83bbc18cccbc 175
wuliqunyy 20:26e934452728 176 #define NV_OTP_WAIT_STATES_ADDRESS 0x09EA
wuliqunyy 15:83bbc18cccbc 177 #define NV_OTP_WAIT_STATES_OFFSET 5
wuliqunyy 15:83bbc18cccbc 178 #define NV_OTP_WAIT_STATES_LENGTH 5
wuliqunyy 15:83bbc18cccbc 179 #define NV_OTP_WAIT_STATES_MASK 0x03E0
wuliqunyy 9:76a0b9f29a2d 180
wuliqunyy 20:26e934452728 181 #define NV_OTP_RESET_PULSE_WIDTH_ADDRESS 0x09EA
wuliqunyy 15:83bbc18cccbc 182 #define NV_OTP_RESET_PULSE_WIDTH_OFFSET 0
wuliqunyy 15:83bbc18cccbc 183 #define NV_OTP_RESET_PULSE_WIDTH_LENGTH 5
wuliqunyy 15:83bbc18cccbc 184 #define NV_OTP_RESET_PULSE_WIDTH_MASK 0x001F
wuliqunyy 15:83bbc18cccbc 185
wuliqunyy 20:26e934452728 186 #define NV_OC_FB_DIS_DRV_ADDRESS 0x09E8
wuliqunyy 15:83bbc18cccbc 187 #define NV_OC_FB_DIS_DRV_OFFSET 1
wuliqunyy 15:83bbc18cccbc 188 #define NV_OC_FB_DIS_DRV_LENGTH 1
wuliqunyy 15:83bbc18cccbc 189 #define NV_OC_FB_DIS_DRV_MASK 0x0002
wuliqunyy 15:83bbc18cccbc 190
wuliqunyy 20:26e934452728 191 #define NV_CL_FB_DIS_DRV_ADDRESS 0x09E8
wuliqunyy 15:83bbc18cccbc 192 #define NV_CL_FB_DIS_DRV_OFFSET 0
wuliqunyy 15:83bbc18cccbc 193 #define NV_CL_FB_DIS_DRV_LENGTH 1
wuliqunyy 15:83bbc18cccbc 194 #define NV_CL_FB_DIS_DRV_MASK 0x0001
wuliqunyy 9:76a0b9f29a2d 195
wuliqunyy 14:062850afdf38 196 #define NV_MLX_TRIM_7_ADDRESS 0x09E6
wuliqunyy 14:062850afdf38 197 #define NV_MLX_TRIM_7_OFFSET 0
wuliqunyy 14:062850afdf38 198 #define NV_MLX_TRIM_7_LENGTH 16
wuliqunyy 14:062850afdf38 199 #define NV_MLX_TRIM_7_MASK 0xFFFF
wuliqunyy 14:062850afdf38 200
wuliqunyy 14:062850afdf38 201 #define NV_MLX_TRIM_6_ADDRESS 0x09E4
wuliqunyy 14:062850afdf38 202 #define NV_MLX_TRIM_6_OFFSET 0
wuliqunyy 14:062850afdf38 203 #define NV_MLX_TRIM_6_LENGTH 16
wuliqunyy 14:062850afdf38 204 #define NV_MLX_TRIM_6_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 205
wuliqunyy 20:26e934452728 206 #define TR_RINT_TEMP_COM_MISC_ADDRESS 0x09E2
wuliqunyy 20:26e934452728 207 #define TR_RINT_TEMP_COM_MISC_OFFSET 0
wuliqunyy 20:26e934452728 208 #define TR_RINT_TEMP_COM_MISC_LENGTH 8
wuliqunyy 20:26e934452728 209 #define TR_RINT_TEMP_COM_MISC_MASK 0x00FF
wuliqunyy 9:76a0b9f29a2d 210
wuliqunyy 15:83bbc18cccbc 211 #define TR_DRVSUP_DRV_ADDRESS 0x09E0
wuliqunyy 15:83bbc18cccbc 212 #define TR_DRVSUP_DRV_OFFSET 12
wuliqunyy 15:83bbc18cccbc 213 #define TR_DRVSUP_DRV_LENGTH 4
wuliqunyy 15:83bbc18cccbc 214 #define TR_DRVSUP_DRV_MASK 0xF000
wuliqunyy 15:83bbc18cccbc 215
wuliqunyy 15:83bbc18cccbc 216 #define TR_CPCLK_DRV_ADDRESS 0x09E0
wuliqunyy 15:83bbc18cccbc 217 #define TR_CPCLK_DRV_OFFSET 0
wuliqunyy 15:83bbc18cccbc 218 #define TR_CPCLK_DRV_LENGTH 10
wuliqunyy 15:83bbc18cccbc 219 #define TR_CPCLK_DRV_MASK 0x03FF
wuliqunyy 15:83bbc18cccbc 220
wuliqunyy 15:83bbc18cccbc 221 #define TR_OC_DRV_ADDRESS 0x09DE
wuliqunyy 15:83bbc18cccbc 222 #define TR_OC_DRV_OFFSET 8
wuliqunyy 15:83bbc18cccbc 223 #define TR_OC_DRV_LENGTH 5
wuliqunyy 15:83bbc18cccbc 224 #define TR_OC_DRV_MASK 0x1F00
wuliqunyy 15:83bbc18cccbc 225
wuliqunyy 15:83bbc18cccbc 226 #define TR_SLWRT_DRV_ADDRESS 0x09DE
wuliqunyy 15:83bbc18cccbc 227 #define TR_SLWRT_DRV_OFFSET 4
wuliqunyy 15:83bbc18cccbc 228 #define TR_SLWRT_DRV_LENGTH 4
wuliqunyy 15:83bbc18cccbc 229 #define TR_SLWRT_DRV_MASK 0x00F0
wuliqunyy 9:76a0b9f29a2d 230
wuliqunyy 15:83bbc18cccbc 231 #define TR_VSMCLAMP_DRV_ADDRESS 0x09DE
wuliqunyy 15:83bbc18cccbc 232 #define TR_VSMCLAMP_DRV_OFFSET 0
wuliqunyy 15:83bbc18cccbc 233 #define TR_VSMCLAMP_DRV_LENGTH 4
wuliqunyy 15:83bbc18cccbc 234 #define TR_VSMCLAMP_DRV_MASK 0x000F
wuliqunyy 15:83bbc18cccbc 235
wuliqunyy 15:83bbc18cccbc 236 #define I2C_SDA_IN_FILT_ADDRESS 0x09DC
wuliqunyy 15:83bbc18cccbc 237 #define I2C_SDA_IN_FILT_OFFSET 10
wuliqunyy 15:83bbc18cccbc 238 #define I2C_SDA_IN_FILT_LENGTH 2
wuliqunyy 15:83bbc18cccbc 239 #define I2C_SDA_IN_FILT_MASK 0x0C00
wuliqunyy 15:83bbc18cccbc 240
wuliqunyy 15:83bbc18cccbc 241 #define I2C_SDA_OUT_FILT_ADDRESS 0x09DC
wuliqunyy 15:83bbc18cccbc 242 #define I2C_SDA_OUT_FILT_OFFSET 8
wuliqunyy 15:83bbc18cccbc 243 #define I2C_SDA_OUT_FILT_LENGTH 2
wuliqunyy 15:83bbc18cccbc 244 #define I2C_SDA_OUT_FILT_MASK 0x0300
wuliqunyy 15:83bbc18cccbc 245
wuliqunyy 15:83bbc18cccbc 246 #define TR_OTPVPP_SUP_ADDRESS 0x09DC
wuliqunyy 15:83bbc18cccbc 247 #define TR_OTPVPP_SUP_OFFSET 6
wuliqunyy 15:83bbc18cccbc 248 #define TR_OTPVPP_SUP_LENGTH 2
wuliqunyy 15:83bbc18cccbc 249 #define TR_OTPVPP_SUP_MASK 0x00C0
wuliqunyy 9:76a0b9f29a2d 250
wuliqunyy 15:83bbc18cccbc 251 #define TR_FDA_GAIN_ISENSE_ADDRESS 0x09DC
wuliqunyy 15:83bbc18cccbc 252 #define TR_FDA_GAIN_ISENSE_OFFSET 0
wuliqunyy 15:83bbc18cccbc 253 #define TR_FDA_GAIN_ISENSE_LENGTH 6
wuliqunyy 15:83bbc18cccbc 254 #define TR_FDA_GAIN_ISENSE_MASK 0x003F
wuliqunyy 15:83bbc18cccbc 255
wuliqunyy 20:26e934452728 256 #define TR_MSB_OSC_ADDRESS 0x09DA
wuliqunyy 20:26e934452728 257 #define TR_MSB_OSC_OFFSET 15
wuliqunyy 20:26e934452728 258 #define TR_MSB_OSC_LENGTH 1
wuliqunyy 20:26e934452728 259 #define TR_MSB_OSC_MASK 0x8000
wuliqunyy 20:26e934452728 260
wuliqunyy 15:83bbc18cccbc 261 #define TR_OSC_ADDRESS 0x09DA
wuliqunyy 15:83bbc18cccbc 262 #define TR_OSC_OFFSET 6
wuliqunyy 15:83bbc18cccbc 263 #define TR_OSC_LENGTH 9
wuliqunyy 15:83bbc18cccbc 264 #define TR_OSC_MASK 0x7FC0
wuliqunyy 15:83bbc18cccbc 265
wuliqunyy 15:83bbc18cccbc 266 #define TR_HIGHSPEED_OSC_ADDRESS 0x09DA
wuliqunyy 15:83bbc18cccbc 267 #define TR_HIGHSPEED_OSC_OFFSET 5
wuliqunyy 15:83bbc18cccbc 268 #define TR_HIGHSPEED_OSC_LENGTH 1
wuliqunyy 15:83bbc18cccbc 269 #define TR_HIGHSPEED_OSC_MASK 0x0020
wuliqunyy 15:83bbc18cccbc 270
wuliqunyy 15:83bbc18cccbc 271 #define TR_IREF_SUP_ADDRESS 0x09DA
wuliqunyy 15:83bbc18cccbc 272 #define TR_IREF_SUP_OFFSET 0
wuliqunyy 15:83bbc18cccbc 273 #define TR_IREF_SUP_LENGTH 5
wuliqunyy 15:83bbc18cccbc 274 #define TR_IREF_SUP_MASK 0x001F
wuliqunyy 9:76a0b9f29a2d 275
wuliqunyy 15:83bbc18cccbc 276 #define TR_BGTC_SUP_ADDRESS 0x09D8
wuliqunyy 15:83bbc18cccbc 277 #define TR_BGTC_SUP_OFFSET 11
wuliqunyy 15:83bbc18cccbc 278 #define TR_BGTC_SUP_LENGTH 5
wuliqunyy 15:83bbc18cccbc 279 #define TR_BGTC_SUP_MASK 0xF800
wuliqunyy 15:83bbc18cccbc 280
wuliqunyy 15:83bbc18cccbc 281 #define TR_BGDC_SUP_ADDRESS 0x09D8
wuliqunyy 15:83bbc18cccbc 282 #define TR_BGDC_SUP_OFFSET 8
wuliqunyy 15:83bbc18cccbc 283 #define TR_BGDC_SUP_LENGTH 3
wuliqunyy 15:83bbc18cccbc 284 #define TR_BGDC_SUP_MASK 0x0700
wuliqunyy 9:76a0b9f29a2d 285
wuliqunyy 15:83bbc18cccbc 286 #define TR_VDDA_SUP_ADDRESS 0x09D8
wuliqunyy 15:83bbc18cccbc 287 #define TR_VDDA_SUP_OFFSET 4
wuliqunyy 20:26e934452728 288 #define TR_VDDA_SUP_LENGTH 3
wuliqunyy 20:26e934452728 289 #define TR_VDDA_SUP_MASK 0x0070
wuliqunyy 15:83bbc18cccbc 290
wuliqunyy 15:83bbc18cccbc 291 #define TR_VDDD_SUP_ADDRESS 0x09D8
wuliqunyy 15:83bbc18cccbc 292 #define TR_VDDD_SUP_OFFSET 0
wuliqunyy 20:26e934452728 293 #define TR_VDDD_SUP_LENGTH 3
wuliqunyy 20:26e934452728 294 #define TR_VDDD_SUP_MASK 0x0007
wuliqunyy 5:daab0e0e67e2 295
wuliqunyy 14:062850afdf38 296 #define NV_CRC_MLX_CALIBRATION_ADDRESS 0x09D6
wuliqunyy 14:062850afdf38 297 #define NV_CRC_MLX_CALIBRATION_OFFSET 8
wuliqunyy 14:062850afdf38 298 #define NV_CRC_MLX_CALIBRATION_LENGTH 8
wuliqunyy 14:062850afdf38 299 #define NV_CRC_MLX_CALIBRATION_MASK 0xFF00
wuliqunyy 14:062850afdf38 300
wuliqunyy 14:062850afdf38 301 #define NV_MLX_CALIB_22_ADDRESS 0x09D4
wuliqunyy 14:062850afdf38 302 #define NV_MLX_CALIB_22_OFFSET 0
wuliqunyy 14:062850afdf38 303 #define NV_MLX_CALIB_22_LENGTH 16
wuliqunyy 14:062850afdf38 304 #define NV_MLX_CALIB_22_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 305
wuliqunyy 14:062850afdf38 306 #define NV_MLX_CALIB_21_ADDRESS 0x09D2
wuliqunyy 14:062850afdf38 307 #define NV_MLX_CALIB_21_OFFSET 0
wuliqunyy 14:062850afdf38 308 #define NV_MLX_CALIB_21_LENGTH 16
wuliqunyy 14:062850afdf38 309 #define NV_MLX_CALIB_21_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 310
wuliqunyy 14:062850afdf38 311 #define NV_MLX_CALIB_20_ADDRESS 0x09D0
wuliqunyy 14:062850afdf38 312 #define NV_MLX_CALIB_20_OFFSET 0
wuliqunyy 14:062850afdf38 313 #define NV_MLX_CALIB_20_LENGTH 16
wuliqunyy 14:062850afdf38 314 #define NV_MLX_CALIB_20_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 315
wuliqunyy 14:062850afdf38 316 #define NV_MLX_CALIB_19_ADDRESS 0x09CE
wuliqunyy 14:062850afdf38 317 #define NV_MLX_CALIB_19_OFFSET 0
wuliqunyy 14:062850afdf38 318 #define NV_MLX_CALIB_19_LENGTH 16
wuliqunyy 14:062850afdf38 319 #define NV_MLX_CALIB_19_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 320
wuliqunyy 14:062850afdf38 321 #define NV_MLX_CALIB_18_ADDRESS 0x09CC
wuliqunyy 14:062850afdf38 322 #define NV_MLX_CALIB_18_OFFSET 0
wuliqunyy 14:062850afdf38 323 #define NV_MLX_CALIB_18_LENGTH 16
wuliqunyy 14:062850afdf38 324 #define NV_MLX_CALIB_18_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 325
wuliqunyy 14:062850afdf38 326 #define NV_MLX_CALIB_17_ADDRESS 0x09CA
wuliqunyy 14:062850afdf38 327 #define NV_MLX_CALIB_17_OFFSET 0
wuliqunyy 14:062850afdf38 328 #define NV_MLX_CALIB_17_LENGTH 16
wuliqunyy 14:062850afdf38 329 #define NV_MLX_CALIB_17_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 330
wuliqunyy 14:062850afdf38 331 #define NV_MLX_CALIB_16_ADDRESS 0x09C8
wuliqunyy 14:062850afdf38 332 #define NV_MLX_CALIB_16_OFFSET 0
wuliqunyy 14:062850afdf38 333 #define NV_MLX_CALIB_16_LENGTH 16
wuliqunyy 14:062850afdf38 334 #define NV_MLX_CALIB_16_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 335
wuliqunyy 14:062850afdf38 336 #define NV_MLX_CALIB_15_ADDRESS 0x09C6
wuliqunyy 14:062850afdf38 337 #define NV_MLX_CALIB_15_OFFSET 0
wuliqunyy 14:062850afdf38 338 #define NV_MLX_CALIB_15_LENGTH 16
wuliqunyy 14:062850afdf38 339 #define NV_MLX_CALIB_15_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 340
wuliqunyy 14:062850afdf38 341 #define NV_MLX_CALIB_14_ADDRESS 0x09C4
wuliqunyy 14:062850afdf38 342 #define NV_MLX_CALIB_14_OFFSET 0
wuliqunyy 14:062850afdf38 343 #define NV_MLX_CALIB_14_LENGTH 16
wuliqunyy 14:062850afdf38 344 #define NV_MLX_CALIB_14_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 345
wuliqunyy 14:062850afdf38 346 #define NV_MLX_CALIB_13_ADDRESS 0x09C2
wuliqunyy 14:062850afdf38 347 #define NV_MLX_CALIB_13_OFFSET 0
wuliqunyy 14:062850afdf38 348 #define NV_MLX_CALIB_13_LENGTH 16
wuliqunyy 14:062850afdf38 349 #define NV_MLX_CALIB_13_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 350
wuliqunyy 14:062850afdf38 351 #define NV_MLX_CALIB_12_ADDRESS 0x09C0
wuliqunyy 14:062850afdf38 352 #define NV_MLX_CALIB_12_OFFSET 0
wuliqunyy 14:062850afdf38 353 #define NV_MLX_CALIB_12_LENGTH 16
wuliqunyy 14:062850afdf38 354 #define NV_MLX_CALIB_12_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 355
wuliqunyy 14:062850afdf38 356 #define NV_MLX_CALIB_11_ADDRESS 0x09BE
wuliqunyy 14:062850afdf38 357 #define NV_MLX_CALIB_11_OFFSET 0
wuliqunyy 14:062850afdf38 358 #define NV_MLX_CALIB_11_LENGTH 16
wuliqunyy 14:062850afdf38 359 #define NV_MLX_CALIB_11_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 360
wuliqunyy 14:062850afdf38 361 #define NV_MLX_CALIB_10_ADDRESS 0x09BC
wuliqunyy 14:062850afdf38 362 #define NV_MLX_CALIB_10_OFFSET 0
wuliqunyy 14:062850afdf38 363 #define NV_MLX_CALIB_10_LENGTH 16
wuliqunyy 14:062850afdf38 364 #define NV_MLX_CALIB_10_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 365
wuliqunyy 14:062850afdf38 366 #define NV_MLX_CALIB_9_ADDRESS 0x09BA
wuliqunyy 14:062850afdf38 367 #define NV_MLX_CALIB_9_OFFSET 0
wuliqunyy 14:062850afdf38 368 #define NV_MLX_CALIB_9_LENGTH 16
wuliqunyy 14:062850afdf38 369 #define NV_MLX_CALIB_9_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 370
wuliqunyy 14:062850afdf38 371 #define NV_MLX_CALIB_8_ADDRESS 0x09B8
wuliqunyy 14:062850afdf38 372 #define NV_MLX_CALIB_8_OFFSET 0
wuliqunyy 14:062850afdf38 373 #define NV_MLX_CALIB_8_LENGTH 16
wuliqunyy 14:062850afdf38 374 #define NV_MLX_CALIB_8_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 375
wuliqunyy 14:062850afdf38 376 #define NV_MLX_CALIB_7_ADDRESS 0x09B6
wuliqunyy 14:062850afdf38 377 #define NV_MLX_CALIB_7_OFFSET 0
wuliqunyy 14:062850afdf38 378 #define NV_MLX_CALIB_7_LENGTH 16
wuliqunyy 14:062850afdf38 379 #define NV_MLX_CALIB_7_MASK 0xFFFF
wuliqunyy 14:062850afdf38 380
wuliqunyy 14:062850afdf38 381 #define NV_MLX_CALIB_6_ADDRESS 0x09B4
wuliqunyy 14:062850afdf38 382 #define NV_MLX_CALIB_6_OFFSET 0
wuliqunyy 14:062850afdf38 383 #define NV_MLX_CALIB_6_LENGTH 16
wuliqunyy 14:062850afdf38 384 #define NV_MLX_CALIB_6_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 385
wuliqunyy 14:062850afdf38 386 #define NV_MLX_CALIB_5_ADDRESS 0x09B2
wuliqunyy 14:062850afdf38 387 #define NV_MLX_CALIB_5_OFFSET 0
wuliqunyy 14:062850afdf38 388 #define NV_MLX_CALIB_5_LENGTH 16
wuliqunyy 14:062850afdf38 389 #define NV_MLX_CALIB_5_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 390
wuliqunyy 14:062850afdf38 391 #define NV_MLX_CALIB_4_ADDRESS 0x09B0
wuliqunyy 14:062850afdf38 392 #define NV_MLX_CALIB_4_OFFSET 0
wuliqunyy 14:062850afdf38 393 #define NV_MLX_CALIB_4_LENGTH 16
wuliqunyy 14:062850afdf38 394 #define NV_MLX_CALIB_4_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 395
wuliqunyy 14:062850afdf38 396 #define NV_MLX_CALIB_3_ADDRESS 0x09AE
wuliqunyy 14:062850afdf38 397 #define NV_MLX_CALIB_3_OFFSET 0
wuliqunyy 14:062850afdf38 398 #define NV_MLX_CALIB_3_LENGTH 16
wuliqunyy 14:062850afdf38 399 #define NV_MLX_CALIB_3_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 400
wuliqunyy 14:062850afdf38 401 #define NV_MLX_CALIB_2_ADDRESS 0x09AC
wuliqunyy 14:062850afdf38 402 #define NV_MLX_CALIB_2_OFFSET 0
wuliqunyy 14:062850afdf38 403 #define NV_MLX_CALIB_2_LENGTH 16
wuliqunyy 14:062850afdf38 404 #define NV_MLX_CALIB_2_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 405
wuliqunyy 15:83bbc18cccbc 406 #define NV_MAX_CLIM_USER_ADDRESS 0x09AA
wuliqunyy 15:83bbc18cccbc 407 #define NV_MAX_CLIM_USER_OFFSET 0
wuliqunyy 15:83bbc18cccbc 408 #define NV_MAX_CLIM_USER_LENGTH 8
wuliqunyy 15:83bbc18cccbc 409 #define NV_MAX_CLIM_USER_MASK 0x00FF
wuliqunyy 15:83bbc18cccbc 410
wuliqunyy 15:83bbc18cccbc 411 #define NV_CLIM_GAIN_ADDRESS 0x09A8
wuliqunyy 15:83bbc18cccbc 412 #define NV_CLIM_GAIN_OFFSET 8
wuliqunyy 15:83bbc18cccbc 413 #define NV_CLIM_GAIN_LENGTH 8
wuliqunyy 15:83bbc18cccbc 414 #define NV_CLIM_GAIN_MASK 0xFF00
wuliqunyy 15:83bbc18cccbc 415
wuliqunyy 15:83bbc18cccbc 416 #define NV_CLIM_OFFSET_ADDRESS 0x09A8
wuliqunyy 15:83bbc18cccbc 417 #define NV_CLIM_OFFSET_OFFSET 0
wuliqunyy 15:83bbc18cccbc 418 #define NV_CLIM_OFFSET_LENGTH 8
wuliqunyy 15:83bbc18cccbc 419 #define NV_CLIM_OFFSET_MASK 0x00FF
wuliqunyy 9:76a0b9f29a2d 420
wuliqunyy 14:062850afdf38 421 #define NV_FREE_89_ADDRESS 0x09A6
wuliqunyy 14:062850afdf38 422 #define NV_FREE_89_OFFSET 0
wuliqunyy 14:062850afdf38 423 #define NV_FREE_89_LENGTH 16
wuliqunyy 14:062850afdf38 424 #define NV_FREE_89_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 425
wuliqunyy 14:062850afdf38 426 #define NV_FREE_88_ADDRESS 0x09A4
wuliqunyy 14:062850afdf38 427 #define NV_FREE_88_OFFSET 0
wuliqunyy 14:062850afdf38 428 #define NV_FREE_88_LENGTH 16
wuliqunyy 14:062850afdf38 429 #define NV_FREE_88_MASK 0xFFFF
wuliqunyy 14:062850afdf38 430
wuliqunyy 14:062850afdf38 431 #define NV_FREE_87_ADDRESS 0x09A2
wuliqunyy 14:062850afdf38 432 #define NV_FREE_87_OFFSET 0
wuliqunyy 14:062850afdf38 433 #define NV_FREE_87_LENGTH 16
wuliqunyy 14:062850afdf38 434 #define NV_FREE_87_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 435
wuliqunyy 14:062850afdf38 436 #define NV_FREE_86_ADDRESS 0x09A0
wuliqunyy 14:062850afdf38 437 #define NV_FREE_86_OFFSET 0
wuliqunyy 14:062850afdf38 438 #define NV_FREE_86_LENGTH 16
wuliqunyy 14:062850afdf38 439 #define NV_FREE_86_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 440
wuliqunyy 14:062850afdf38 441 #define NV_FREE_85_ADDRESS 0x099E
wuliqunyy 14:062850afdf38 442 #define NV_FREE_85_OFFSET 0
wuliqunyy 14:062850afdf38 443 #define NV_FREE_85_LENGTH 16
wuliqunyy 14:062850afdf38 444 #define NV_FREE_85_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 445
wuliqunyy 14:062850afdf38 446 #define NV_FREE_84_ADDRESS 0x099C
wuliqunyy 14:062850afdf38 447 #define NV_FREE_84_OFFSET 0
wuliqunyy 14:062850afdf38 448 #define NV_FREE_84_LENGTH 16
wuliqunyy 14:062850afdf38 449 #define NV_FREE_84_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 450
wuliqunyy 14:062850afdf38 451 #define NV_FREE_83_ADDRESS 0x099A
wuliqunyy 14:062850afdf38 452 #define NV_FREE_83_OFFSET 0
wuliqunyy 14:062850afdf38 453 #define NV_FREE_83_LENGTH 16
wuliqunyy 14:062850afdf38 454 #define NV_FREE_83_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 455
wuliqunyy 14:062850afdf38 456 #define NV_FREE_82_ADDRESS 0x0998
wuliqunyy 14:062850afdf38 457 #define NV_FREE_82_OFFSET 0
wuliqunyy 14:062850afdf38 458 #define NV_FREE_82_LENGTH 16
wuliqunyy 14:062850afdf38 459 #define NV_FREE_82_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 460
wuliqunyy 14:062850afdf38 461 #define NV_FREE_81_ADDRESS 0x0996
wuliqunyy 14:062850afdf38 462 #define NV_FREE_81_OFFSET 0
wuliqunyy 14:062850afdf38 463 #define NV_FREE_81_LENGTH 16
wuliqunyy 14:062850afdf38 464 #define NV_FREE_81_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 465
wuliqunyy 14:062850afdf38 466 #define NV_FREE_80_ADDRESS 0x0994
wuliqunyy 14:062850afdf38 467 #define NV_FREE_80_OFFSET 0
wuliqunyy 14:062850afdf38 468 #define NV_FREE_80_LENGTH 16
wuliqunyy 14:062850afdf38 469 #define NV_FREE_80_MASK 0xFFFF
wuliqunyy 14:062850afdf38 470
wuliqunyy 14:062850afdf38 471 #define NV_FREE_79_ADDRESS 0x0992
wuliqunyy 14:062850afdf38 472 #define NV_FREE_79_OFFSET 0
wuliqunyy 14:062850afdf38 473 #define NV_FREE_79_LENGTH 16
wuliqunyy 14:062850afdf38 474 #define NV_FREE_79_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 475
wuliqunyy 14:062850afdf38 476 #define NV_FREE_78_ADDRESS 0x0990
wuliqunyy 14:062850afdf38 477 #define NV_FREE_78_OFFSET 0
wuliqunyy 14:062850afdf38 478 #define NV_FREE_78_LENGTH 16
wuliqunyy 14:062850afdf38 479 #define NV_FREE_78_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 480
wuliqunyy 14:062850afdf38 481 #define NV_FREE_77_ADDRESS 0x098E
wuliqunyy 14:062850afdf38 482 #define NV_FREE_77_OFFSET 0
wuliqunyy 14:062850afdf38 483 #define NV_FREE_77_LENGTH 16
wuliqunyy 14:062850afdf38 484 #define NV_FREE_77_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 485
wuliqunyy 14:062850afdf38 486 #define NV_FREE_76_ADDRESS 0x098C
wuliqunyy 14:062850afdf38 487 #define NV_FREE_76_OFFSET 0
wuliqunyy 14:062850afdf38 488 #define NV_FREE_76_LENGTH 16
wuliqunyy 14:062850afdf38 489 #define NV_FREE_76_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 490
wuliqunyy 14:062850afdf38 491 #define NV_FREE_75_ADDRESS 0x098A
wuliqunyy 14:062850afdf38 492 #define NV_FREE_75_OFFSET 0
wuliqunyy 14:062850afdf38 493 #define NV_FREE_75_LENGTH 16
wuliqunyy 14:062850afdf38 494 #define NV_FREE_75_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 495
wuliqunyy 14:062850afdf38 496 #define NV_FREE_74_ADDRESS 0x0988
wuliqunyy 14:062850afdf38 497 #define NV_FREE_74_OFFSET 0
wuliqunyy 14:062850afdf38 498 #define NV_FREE_74_LENGTH 16
wuliqunyy 14:062850afdf38 499 #define NV_FREE_74_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 500
wuliqunyy 14:062850afdf38 501 #define NV_FREE_73_ADDRESS 0x0986
wuliqunyy 14:062850afdf38 502 #define NV_FREE_73_OFFSET 0
wuliqunyy 14:062850afdf38 503 #define NV_FREE_73_LENGTH 16
wuliqunyy 14:062850afdf38 504 #define NV_FREE_73_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 505
wuliqunyy 14:062850afdf38 506 #define NV_FREE_72_ADDRESS 0x0984
wuliqunyy 14:062850afdf38 507 #define NV_FREE_72_OFFSET 0
wuliqunyy 14:062850afdf38 508 #define NV_FREE_72_LENGTH 16
wuliqunyy 14:062850afdf38 509 #define NV_FREE_72_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 510
wuliqunyy 14:062850afdf38 511 #define NV_FREE_71_ADDRESS 0x0982
wuliqunyy 14:062850afdf38 512 #define NV_FREE_71_OFFSET 0
wuliqunyy 14:062850afdf38 513 #define NV_FREE_71_LENGTH 16
wuliqunyy 14:062850afdf38 514 #define NV_FREE_71_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 515
wuliqunyy 14:062850afdf38 516 #define NV_FREE_70_ADDRESS 0x0980
wuliqunyy 14:062850afdf38 517 #define NV_FREE_70_OFFSET 0
wuliqunyy 14:062850afdf38 518 #define NV_FREE_70_LENGTH 16
wuliqunyy 14:062850afdf38 519 #define NV_FREE_70_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 520
wuliqunyy 14:062850afdf38 521 #define NV_FREE_69_ADDRESS 0x097E
wuliqunyy 14:062850afdf38 522 #define NV_FREE_69_OFFSET 0
wuliqunyy 14:062850afdf38 523 #define NV_FREE_69_LENGTH 16
wuliqunyy 14:062850afdf38 524 #define NV_FREE_69_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 525
wuliqunyy 14:062850afdf38 526 #define NV_FREE_68_ADDRESS 0x097C
wuliqunyy 14:062850afdf38 527 #define NV_FREE_68_OFFSET 0
wuliqunyy 14:062850afdf38 528 #define NV_FREE_68_LENGTH 16
wuliqunyy 14:062850afdf38 529 #define NV_FREE_68_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 530
wuliqunyy 14:062850afdf38 531 #define NV_FREE_67_ADDRESS 0x097A
wuliqunyy 14:062850afdf38 532 #define NV_FREE_67_OFFSET 0
wuliqunyy 14:062850afdf38 533 #define NV_FREE_67_LENGTH 16
wuliqunyy 14:062850afdf38 534 #define NV_FREE_67_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 535
wuliqunyy 14:062850afdf38 536 #define NV_FREE_66_ADDRESS 0x0978
wuliqunyy 14:062850afdf38 537 #define NV_FREE_66_OFFSET 0
wuliqunyy 14:062850afdf38 538 #define NV_FREE_66_LENGTH 16
wuliqunyy 14:062850afdf38 539 #define NV_FREE_66_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 540
wuliqunyy 14:062850afdf38 541 #define NV_FREE_65_ADDRESS 0x0976
wuliqunyy 14:062850afdf38 542 #define NV_FREE_65_OFFSET 0
wuliqunyy 14:062850afdf38 543 #define NV_FREE_65_LENGTH 16
wuliqunyy 14:062850afdf38 544 #define NV_FREE_65_MASK 0xFFFF
wuliqunyy 14:062850afdf38 545
wuliqunyy 14:062850afdf38 546 #define NV_FREE_64_ADDRESS 0x0974
wuliqunyy 14:062850afdf38 547 #define NV_FREE_64_OFFSET 0
wuliqunyy 14:062850afdf38 548 #define NV_FREE_64_LENGTH 16
wuliqunyy 14:062850afdf38 549 #define NV_FREE_64_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 550
wuliqunyy 14:062850afdf38 551 #define NV_FREE_63_ADDRESS 0x0972
wuliqunyy 14:062850afdf38 552 #define NV_FREE_63_OFFSET 0
wuliqunyy 14:062850afdf38 553 #define NV_FREE_63_LENGTH 16
wuliqunyy 14:062850afdf38 554 #define NV_FREE_63_MASK 0xFFFF
wuliqunyy 14:062850afdf38 555
wuliqunyy 14:062850afdf38 556 #define NV_FREE_62_ADDRESS 0x0970
wuliqunyy 14:062850afdf38 557 #define NV_FREE_62_OFFSET 0
wuliqunyy 14:062850afdf38 558 #define NV_FREE_62_LENGTH 16
wuliqunyy 14:062850afdf38 559 #define NV_FREE_62_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 560
wuliqunyy 14:062850afdf38 561 #define NV_FREE_61_ADDRESS 0x096E
wuliqunyy 14:062850afdf38 562 #define NV_FREE_61_OFFSET 0
wuliqunyy 14:062850afdf38 563 #define NV_FREE_61_LENGTH 16
wuliqunyy 14:062850afdf38 564 #define NV_FREE_61_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 565
wuliqunyy 14:062850afdf38 566 #define NV_FREE_60_ADDRESS 0x096C
wuliqunyy 14:062850afdf38 567 #define NV_FREE_60_OFFSET 0
wuliqunyy 14:062850afdf38 568 #define NV_FREE_60_LENGTH 16
wuliqunyy 14:062850afdf38 569 #define NV_FREE_60_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 570
wuliqunyy 14:062850afdf38 571 #define NV_FREE_59_ADDRESS 0x096A
wuliqunyy 14:062850afdf38 572 #define NV_FREE_59_OFFSET 0
wuliqunyy 14:062850afdf38 573 #define NV_FREE_59_LENGTH 16
wuliqunyy 14:062850afdf38 574 #define NV_FREE_59_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 575
wuliqunyy 14:062850afdf38 576 #define NV_FREE_58_ADDRESS 0x0968
wuliqunyy 14:062850afdf38 577 #define NV_FREE_58_OFFSET 0
wuliqunyy 14:062850afdf38 578 #define NV_FREE_58_LENGTH 16
wuliqunyy 14:062850afdf38 579 #define NV_FREE_58_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 580
wuliqunyy 14:062850afdf38 581 #define NV_FREE_57_ADDRESS 0x0966
wuliqunyy 14:062850afdf38 582 #define NV_FREE_57_OFFSET 0
wuliqunyy 14:062850afdf38 583 #define NV_FREE_57_LENGTH 16
wuliqunyy 14:062850afdf38 584 #define NV_FREE_57_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 585
wuliqunyy 14:062850afdf38 586 #define NV_FREE_56_ADDRESS 0x0964
wuliqunyy 14:062850afdf38 587 #define NV_FREE_56_OFFSET 0
wuliqunyy 14:062850afdf38 588 #define NV_FREE_56_LENGTH 16
wuliqunyy 14:062850afdf38 589 #define NV_FREE_56_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 590
wuliqunyy 14:062850afdf38 591 #define NV_FREE_55_ADDRESS 0x0962
wuliqunyy 14:062850afdf38 592 #define NV_FREE_55_OFFSET 0
wuliqunyy 14:062850afdf38 593 #define NV_FREE_55_LENGTH 16
wuliqunyy 14:062850afdf38 594 #define NV_FREE_55_MASK 0xFFFF
wuliqunyy 14:062850afdf38 595
wuliqunyy 14:062850afdf38 596 #define NV_FREE_54_ADDRESS 0x0960
wuliqunyy 14:062850afdf38 597 #define NV_FREE_54_OFFSET 0
wuliqunyy 14:062850afdf38 598 #define NV_FREE_54_LENGTH 16
wuliqunyy 14:062850afdf38 599 #define NV_FREE_54_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 600
wuliqunyy 14:062850afdf38 601 #define NV_FREE_53_ADDRESS 0x095E
wuliqunyy 14:062850afdf38 602 #define NV_FREE_53_OFFSET 0
wuliqunyy 14:062850afdf38 603 #define NV_FREE_53_LENGTH 16
wuliqunyy 14:062850afdf38 604 #define NV_FREE_53_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 605
wuliqunyy 14:062850afdf38 606 #define NV_FREE_52_ADDRESS 0x095C
wuliqunyy 14:062850afdf38 607 #define NV_FREE_52_OFFSET 0
wuliqunyy 14:062850afdf38 608 #define NV_FREE_52_LENGTH 16
wuliqunyy 14:062850afdf38 609 #define NV_FREE_52_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 610
wuliqunyy 14:062850afdf38 611 #define NV_FREE_51_ADDRESS 0x095A
wuliqunyy 14:062850afdf38 612 #define NV_FREE_51_OFFSET 0
wuliqunyy 14:062850afdf38 613 #define NV_FREE_51_LENGTH 16
wuliqunyy 14:062850afdf38 614 #define NV_FREE_51_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 615
wuliqunyy 14:062850afdf38 616 #define NV_FREE_50_ADDRESS 0x0958
wuliqunyy 14:062850afdf38 617 #define NV_FREE_50_OFFSET 0
wuliqunyy 14:062850afdf38 618 #define NV_FREE_50_LENGTH 16
wuliqunyy 14:062850afdf38 619 #define NV_FREE_50_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 620
wuliqunyy 14:062850afdf38 621 #define NV_FREE_49_ADDRESS 0x0956
wuliqunyy 14:062850afdf38 622 #define NV_FREE_49_OFFSET 0
wuliqunyy 14:062850afdf38 623 #define NV_FREE_49_LENGTH 16
wuliqunyy 14:062850afdf38 624 #define NV_FREE_49_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 625
wuliqunyy 14:062850afdf38 626 #define NV_FREE_48_ADDRESS 0x0954
wuliqunyy 14:062850afdf38 627 #define NV_FREE_48_OFFSET 0
wuliqunyy 14:062850afdf38 628 #define NV_FREE_48_LENGTH 16
wuliqunyy 14:062850afdf38 629 #define NV_FREE_48_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 630
wuliqunyy 14:062850afdf38 631 #define NV_FREE_47_ADDRESS 0x0952
wuliqunyy 14:062850afdf38 632 #define NV_FREE_47_OFFSET 0
wuliqunyy 14:062850afdf38 633 #define NV_FREE_47_LENGTH 16
wuliqunyy 14:062850afdf38 634 #define NV_FREE_47_MASK 0xFFFF
wuliqunyy 14:062850afdf38 635
wuliqunyy 14:062850afdf38 636 #define NV_FREE_46_ADDRESS 0x0950
wuliqunyy 14:062850afdf38 637 #define NV_FREE_46_OFFSET 0
wuliqunyy 14:062850afdf38 638 #define NV_FREE_46_LENGTH 16
wuliqunyy 14:062850afdf38 639 #define NV_FREE_46_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 640
wuliqunyy 14:062850afdf38 641 #define NV_FREE_45_ADDRESS 0x094E
wuliqunyy 14:062850afdf38 642 #define NV_FREE_45_OFFSET 0
wuliqunyy 14:062850afdf38 643 #define NV_FREE_45_LENGTH 16
wuliqunyy 14:062850afdf38 644 #define NV_FREE_45_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 645
wuliqunyy 14:062850afdf38 646 #define NV_FREE_44_ADDRESS 0x094C
wuliqunyy 14:062850afdf38 647 #define NV_FREE_44_OFFSET 0
wuliqunyy 14:062850afdf38 648 #define NV_FREE_44_LENGTH 16
wuliqunyy 14:062850afdf38 649 #define NV_FREE_44_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 650
wuliqunyy 14:062850afdf38 651 #define NV_FREE_43_ADDRESS 0x094A
wuliqunyy 14:062850afdf38 652 #define NV_FREE_43_OFFSET 0
wuliqunyy 14:062850afdf38 653 #define NV_FREE_43_LENGTH 16
wuliqunyy 14:062850afdf38 654 #define NV_FREE_43_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 655
wuliqunyy 14:062850afdf38 656 #define NV_FREE_42_ADDRESS 0x0948
wuliqunyy 14:062850afdf38 657 #define NV_FREE_42_OFFSET 0
wuliqunyy 14:062850afdf38 658 #define NV_FREE_42_LENGTH 16
wuliqunyy 14:062850afdf38 659 #define NV_FREE_42_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 660
wuliqunyy 14:062850afdf38 661 #define NV_FREE_41_ADDRESS 0x0946
wuliqunyy 14:062850afdf38 662 #define NV_FREE_41_OFFSET 0
wuliqunyy 14:062850afdf38 663 #define NV_FREE_41_LENGTH 16
wuliqunyy 14:062850afdf38 664 #define NV_FREE_41_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 665
wuliqunyy 14:062850afdf38 666 #define NV_FREE_40_ADDRESS 0x0944
wuliqunyy 14:062850afdf38 667 #define NV_FREE_40_OFFSET 0
wuliqunyy 14:062850afdf38 668 #define NV_FREE_40_LENGTH 16
wuliqunyy 14:062850afdf38 669 #define NV_FREE_40_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 670
wuliqunyy 14:062850afdf38 671 #define NV_FREE_39_ADDRESS 0x0942
wuliqunyy 14:062850afdf38 672 #define NV_FREE_39_OFFSET 0
wuliqunyy 14:062850afdf38 673 #define NV_FREE_39_LENGTH 16
wuliqunyy 14:062850afdf38 674 #define NV_FREE_39_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 675
wuliqunyy 14:062850afdf38 676 #define NV_FREE_38_ADDRESS 0x0940
wuliqunyy 14:062850afdf38 677 #define NV_FREE_38_OFFSET 0
wuliqunyy 14:062850afdf38 678 #define NV_FREE_38_LENGTH 16
wuliqunyy 14:062850afdf38 679 #define NV_FREE_38_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 680
wuliqunyy 14:062850afdf38 681 #define NV_FREE_37_ADDRESS 0x093E
wuliqunyy 14:062850afdf38 682 #define NV_FREE_37_OFFSET 0
wuliqunyy 14:062850afdf38 683 #define NV_FREE_37_LENGTH 16
wuliqunyy 14:062850afdf38 684 #define NV_FREE_37_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 685
wuliqunyy 14:062850afdf38 686 #define NV_FREE_36_ADDRESS 0x093C
wuliqunyy 14:062850afdf38 687 #define NV_FREE_36_OFFSET 0
wuliqunyy 14:062850afdf38 688 #define NV_FREE_36_LENGTH 16
wuliqunyy 14:062850afdf38 689 #define NV_FREE_36_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 690
wuliqunyy 14:062850afdf38 691 #define NV_FREE_35_ADDRESS 0x093A
wuliqunyy 14:062850afdf38 692 #define NV_FREE_35_OFFSET 0
wuliqunyy 14:062850afdf38 693 #define NV_FREE_35_LENGTH 16
wuliqunyy 14:062850afdf38 694 #define NV_FREE_35_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 695
wuliqunyy 14:062850afdf38 696 #define NV_FREE_34_ADDRESS 0x0938
wuliqunyy 14:062850afdf38 697 #define NV_FREE_34_OFFSET 0
wuliqunyy 14:062850afdf38 698 #define NV_FREE_34_LENGTH 16
wuliqunyy 14:062850afdf38 699 #define NV_FREE_34_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 700
wuliqunyy 14:062850afdf38 701 #define NV_FREE_33_ADDRESS 0x0936
wuliqunyy 14:062850afdf38 702 #define NV_FREE_33_OFFSET 0
wuliqunyy 14:062850afdf38 703 #define NV_FREE_33_LENGTH 16
wuliqunyy 14:062850afdf38 704 #define NV_FREE_33_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 705
wuliqunyy 14:062850afdf38 706 #define NV_FREE_32_ADDRESS 0x0934
wuliqunyy 14:062850afdf38 707 #define NV_FREE_32_OFFSET 0
wuliqunyy 14:062850afdf38 708 #define NV_FREE_32_LENGTH 16
wuliqunyy 14:062850afdf38 709 #define NV_FREE_32_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 710
wuliqunyy 14:062850afdf38 711 #define NV_FREE_31_ADDRESS 0x0932
wuliqunyy 14:062850afdf38 712 #define NV_FREE_31_OFFSET 0
wuliqunyy 14:062850afdf38 713 #define NV_FREE_31_LENGTH 16
wuliqunyy 14:062850afdf38 714 #define NV_FREE_31_MASK 0xFFFF
wuliqunyy 14:062850afdf38 715
wuliqunyy 14:062850afdf38 716 #define NV_FREE_30_ADDRESS 0x0930
wuliqunyy 14:062850afdf38 717 #define NV_FREE_30_OFFSET 0
wuliqunyy 14:062850afdf38 718 #define NV_FREE_30_LENGTH 16
wuliqunyy 14:062850afdf38 719 #define NV_FREE_30_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 720
wuliqunyy 14:062850afdf38 721 #define NV_FREE_29_ADDRESS 0x092E
wuliqunyy 14:062850afdf38 722 #define NV_FREE_29_OFFSET 0
wuliqunyy 14:062850afdf38 723 #define NV_FREE_29_LENGTH 16
wuliqunyy 14:062850afdf38 724 #define NV_FREE_29_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 725
wuliqunyy 14:062850afdf38 726 #define NV_FREE_28_ADDRESS 0x092C
wuliqunyy 14:062850afdf38 727 #define NV_FREE_28_OFFSET 0
wuliqunyy 14:062850afdf38 728 #define NV_FREE_28_LENGTH 16
wuliqunyy 14:062850afdf38 729 #define NV_FREE_28_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 730
wuliqunyy 14:062850afdf38 731 #define NV_FREE_27_ADDRESS 0x092A
wuliqunyy 14:062850afdf38 732 #define NV_FREE_27_OFFSET 0
wuliqunyy 14:062850afdf38 733 #define NV_FREE_27_LENGTH 16
wuliqunyy 14:062850afdf38 734 #define NV_FREE_27_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 735
wuliqunyy 14:062850afdf38 736 #define NV_FREE_26_ADDRESS 0x0928
wuliqunyy 14:062850afdf38 737 #define NV_FREE_26_OFFSET 0
wuliqunyy 14:062850afdf38 738 #define NV_FREE_26_LENGTH 16
wuliqunyy 14:062850afdf38 739 #define NV_FREE_26_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 740
wuliqunyy 14:062850afdf38 741 #define NV_FREE_25_ADDRESS 0x0926
wuliqunyy 14:062850afdf38 742 #define NV_FREE_25_OFFSET 0
wuliqunyy 14:062850afdf38 743 #define NV_FREE_25_LENGTH 16
wuliqunyy 14:062850afdf38 744 #define NV_FREE_25_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 745
wuliqunyy 14:062850afdf38 746 #define NV_FREE_24_ADDRESS 0x0924
wuliqunyy 14:062850afdf38 747 #define NV_FREE_24_OFFSET 0
wuliqunyy 14:062850afdf38 748 #define NV_FREE_24_LENGTH 16
wuliqunyy 14:062850afdf38 749 #define NV_FREE_24_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 750
wuliqunyy 14:062850afdf38 751 #define NV_FREE_23_ADDRESS 0x0922
wuliqunyy 14:062850afdf38 752 #define NV_FREE_23_OFFSET 0
wuliqunyy 14:062850afdf38 753 #define NV_FREE_23_LENGTH 16
wuliqunyy 14:062850afdf38 754 #define NV_FREE_23_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 755
wuliqunyy 14:062850afdf38 756 #define NV_FREE_22_ADDRESS 0x0920
wuliqunyy 14:062850afdf38 757 #define NV_FREE_22_OFFSET 0
wuliqunyy 14:062850afdf38 758 #define NV_FREE_22_LENGTH 16
wuliqunyy 14:062850afdf38 759 #define NV_FREE_22_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 760
wuliqunyy 14:062850afdf38 761 #define NV_FREE_21_ADDRESS 0x091E
wuliqunyy 14:062850afdf38 762 #define NV_FREE_21_OFFSET 0
wuliqunyy 14:062850afdf38 763 #define NV_FREE_21_LENGTH 16
wuliqunyy 14:062850afdf38 764 #define NV_FREE_21_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 765
wuliqunyy 14:062850afdf38 766 #define NV_FREE_20_ADDRESS 0x091C
wuliqunyy 14:062850afdf38 767 #define NV_FREE_20_OFFSET 0
wuliqunyy 14:062850afdf38 768 #define NV_FREE_20_LENGTH 16
wuliqunyy 14:062850afdf38 769 #define NV_FREE_20_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 770
wuliqunyy 14:062850afdf38 771 #define NV_FREE_19_ADDRESS 0x091A
wuliqunyy 14:062850afdf38 772 #define NV_FREE_19_OFFSET 0
wuliqunyy 14:062850afdf38 773 #define NV_FREE_19_LENGTH 16
wuliqunyy 14:062850afdf38 774 #define NV_FREE_19_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 775
wuliqunyy 14:062850afdf38 776 #define NV_FREE_18_ADDRESS 0x0918
wuliqunyy 14:062850afdf38 777 #define NV_FREE_18_OFFSET 0
wuliqunyy 14:062850afdf38 778 #define NV_FREE_18_LENGTH 16
wuliqunyy 14:062850afdf38 779 #define NV_FREE_18_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 780
wuliqunyy 14:062850afdf38 781 #define NV_FREE_17_ADDRESS 0x0916
wuliqunyy 14:062850afdf38 782 #define NV_FREE_17_OFFSET 0
wuliqunyy 14:062850afdf38 783 #define NV_FREE_17_LENGTH 16
wuliqunyy 14:062850afdf38 784 #define NV_FREE_17_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 785
wuliqunyy 14:062850afdf38 786 #define NV_FREE_16_ADDRESS 0x0914
wuliqunyy 14:062850afdf38 787 #define NV_FREE_16_OFFSET 0
wuliqunyy 14:062850afdf38 788 #define NV_FREE_16_LENGTH 16
wuliqunyy 14:062850afdf38 789 #define NV_FREE_16_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 790
wuliqunyy 14:062850afdf38 791 #define NV_FREE_15_ADDRESS 0x0912
wuliqunyy 14:062850afdf38 792 #define NV_FREE_15_OFFSET 0
wuliqunyy 14:062850afdf38 793 #define NV_FREE_15_LENGTH 16
wuliqunyy 14:062850afdf38 794 #define NV_FREE_15_MASK 0xFFFF
wuliqunyy 14:062850afdf38 795
wuliqunyy 14:062850afdf38 796 #define NV_FREE_14_ADDRESS 0x0910
wuliqunyy 14:062850afdf38 797 #define NV_FREE_14_OFFSET 0
wuliqunyy 14:062850afdf38 798 #define NV_FREE_14_LENGTH 16
wuliqunyy 14:062850afdf38 799 #define NV_FREE_14_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 800
wuliqunyy 14:062850afdf38 801 #define NV_FREE_13_ADDRESS 0x090E
wuliqunyy 14:062850afdf38 802 #define NV_FREE_13_OFFSET 0
wuliqunyy 14:062850afdf38 803 #define NV_FREE_13_LENGTH 16
wuliqunyy 14:062850afdf38 804 #define NV_FREE_13_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 805
wuliqunyy 14:062850afdf38 806 #define NV_FREE_12_ADDRESS 0x090C
wuliqunyy 14:062850afdf38 807 #define NV_FREE_12_OFFSET 0
wuliqunyy 14:062850afdf38 808 #define NV_FREE_12_LENGTH 16
wuliqunyy 14:062850afdf38 809 #define NV_FREE_12_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 810
wuliqunyy 14:062850afdf38 811 #define NV_FREE_11_ADDRESS 0x090A
wuliqunyy 14:062850afdf38 812 #define NV_FREE_11_OFFSET 0
wuliqunyy 14:062850afdf38 813 #define NV_FREE_11_LENGTH 16
wuliqunyy 14:062850afdf38 814 #define NV_FREE_11_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 815
wuliqunyy 14:062850afdf38 816 #define NV_FREE_10_ADDRESS 0x0908
wuliqunyy 14:062850afdf38 817 #define NV_FREE_10_OFFSET 0
wuliqunyy 14:062850afdf38 818 #define NV_FREE_10_LENGTH 16
wuliqunyy 14:062850afdf38 819 #define NV_FREE_10_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 820
wuliqunyy 14:062850afdf38 821 #define NV_FREE_9_ADDRESS 0x0906
wuliqunyy 14:062850afdf38 822 #define NV_FREE_9_OFFSET 0
wuliqunyy 14:062850afdf38 823 #define NV_FREE_9_LENGTH 16
wuliqunyy 14:062850afdf38 824 #define NV_FREE_9_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 825
wuliqunyy 14:062850afdf38 826 #define NV_FREE_8_ADDRESS 0x0904
wuliqunyy 14:062850afdf38 827 #define NV_FREE_8_OFFSET 0
wuliqunyy 14:062850afdf38 828 #define NV_FREE_8_LENGTH 16
wuliqunyy 14:062850afdf38 829 #define NV_FREE_8_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 830
wuliqunyy 14:062850afdf38 831 #define NV_FREE_7_ADDRESS 0x0902
wuliqunyy 14:062850afdf38 832 #define NV_FREE_7_OFFSET 0
wuliqunyy 14:062850afdf38 833 #define NV_FREE_7_LENGTH 16
wuliqunyy 14:062850afdf38 834 #define NV_FREE_7_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 835
wuliqunyy 14:062850afdf38 836 #define NV_FREE_6_ADDRESS 0x0900
wuliqunyy 14:062850afdf38 837 #define NV_FREE_6_OFFSET 0
wuliqunyy 14:062850afdf38 838 #define NV_FREE_6_LENGTH 16
wuliqunyy 14:062850afdf38 839 #define NV_FREE_6_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 840
wuliqunyy 14:062850afdf38 841 #define NV_FREE_5_ADDRESS 0x08FE
wuliqunyy 14:062850afdf38 842 #define NV_FREE_5_OFFSET 0
wuliqunyy 14:062850afdf38 843 #define NV_FREE_5_LENGTH 16
wuliqunyy 14:062850afdf38 844 #define NV_FREE_5_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 845
wuliqunyy 14:062850afdf38 846 #define NV_FREE_4_ADDRESS 0x08FC
wuliqunyy 14:062850afdf38 847 #define NV_FREE_4_OFFSET 0
wuliqunyy 14:062850afdf38 848 #define NV_FREE_4_LENGTH 16
wuliqunyy 14:062850afdf38 849 #define NV_FREE_4_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 850
wuliqunyy 14:062850afdf38 851 #define NV_FREE_3_ADDRESS 0x08FA
wuliqunyy 14:062850afdf38 852 #define NV_FREE_3_OFFSET 0
wuliqunyy 14:062850afdf38 853 #define NV_FREE_3_LENGTH 16
wuliqunyy 14:062850afdf38 854 #define NV_FREE_3_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 855
wuliqunyy 14:062850afdf38 856 #define NV_FREE_2_ADDRESS 0x08F8
wuliqunyy 14:062850afdf38 857 #define NV_FREE_2_OFFSET 0
wuliqunyy 14:062850afdf38 858 #define NV_FREE_2_LENGTH 16
wuliqunyy 14:062850afdf38 859 #define NV_FREE_2_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 860
wuliqunyy 14:062850afdf38 861 #define NV_CRC_PATCH_3_ADDRESS 0x08F6
wuliqunyy 14:062850afdf38 862 #define NV_CRC_PATCH_3_OFFSET 8
wuliqunyy 14:062850afdf38 863 #define NV_CRC_PATCH_3_LENGTH 8
wuliqunyy 14:062850afdf38 864 #define NV_CRC_PATCH_3_MASK 0xFF00
wuliqunyy 9:76a0b9f29a2d 865
wuliqunyy 14:062850afdf38 866 #define NV_CRC_PATCH_2_ADDRESS 0x08F6
wuliqunyy 14:062850afdf38 867 #define NV_CRC_PATCH_2_OFFSET 0
wuliqunyy 14:062850afdf38 868 #define NV_CRC_PATCH_2_LENGTH 8
wuliqunyy 14:062850afdf38 869 #define NV_CRC_PATCH_2_MASK 0x00FF
wuliqunyy 14:062850afdf38 870
wuliqunyy 14:062850afdf38 871 #define NV_CRC_PATCH_1_ADDRESS 0x08F4
wuliqunyy 14:062850afdf38 872 #define NV_CRC_PATCH_1_OFFSET 8
wuliqunyy 14:062850afdf38 873 #define NV_CRC_PATCH_1_LENGTH 8
wuliqunyy 14:062850afdf38 874 #define NV_CRC_PATCH_1_MASK 0xFF00
wuliqunyy 5:daab0e0e67e2 875
wuliqunyy 14:062850afdf38 876 #define NV_CRC_PATCH_0_ADDRESS 0x08F4
wuliqunyy 14:062850afdf38 877 #define NV_CRC_PATCH_0_OFFSET 0
wuliqunyy 14:062850afdf38 878 #define NV_CRC_PATCH_0_LENGTH 8
wuliqunyy 14:062850afdf38 879 #define NV_CRC_PATCH_0_MASK 0x00FF
wuliqunyy 14:062850afdf38 880
wuliqunyy 14:062850afdf38 881 #define NV_PATCH_3_INSTRUCTION_ADDRESS 0x08F2
wuliqunyy 14:062850afdf38 882 #define NV_PATCH_3_INSTRUCTION_OFFSET 0
wuliqunyy 14:062850afdf38 883 #define NV_PATCH_3_INSTRUCTION_LENGTH 16
wuliqunyy 14:062850afdf38 884 #define NV_PATCH_3_INSTRUCTION_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 885
wuliqunyy 14:062850afdf38 886 #define NV_PATCH_3_ADDRESS_ADDRESS 0x08F0
wuliqunyy 14:062850afdf38 887 #define NV_PATCH_3_ADDRESS_OFFSET 0
wuliqunyy 14:062850afdf38 888 #define NV_PATCH_3_ADDRESS_LENGTH 16
wuliqunyy 14:062850afdf38 889 #define NV_PATCH_3_ADDRESS_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 890
wuliqunyy 14:062850afdf38 891 #define NV_PATCH_2_INSTRUCTION_ADDRESS 0x08EE
wuliqunyy 14:062850afdf38 892 #define NV_PATCH_2_INSTRUCTION_OFFSET 0
wuliqunyy 14:062850afdf38 893 #define NV_PATCH_2_INSTRUCTION_LENGTH 16
wuliqunyy 14:062850afdf38 894 #define NV_PATCH_2_INSTRUCTION_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 895
wuliqunyy 14:062850afdf38 896 #define NV_PATCH_2_ADDRESS_ADDRESS 0x08EC
wuliqunyy 14:062850afdf38 897 #define NV_PATCH_2_ADDRESS_OFFSET 0
wuliqunyy 14:062850afdf38 898 #define NV_PATCH_2_ADDRESS_LENGTH 16
wuliqunyy 14:062850afdf38 899 #define NV_PATCH_2_ADDRESS_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 900
wuliqunyy 14:062850afdf38 901 #define NV_PATCH_1_INSTRUCTION_ADDRESS 0x08EA
wuliqunyy 14:062850afdf38 902 #define NV_PATCH_1_INSTRUCTION_OFFSET 0
wuliqunyy 14:062850afdf38 903 #define NV_PATCH_1_INSTRUCTION_LENGTH 16
wuliqunyy 14:062850afdf38 904 #define NV_PATCH_1_INSTRUCTION_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 905
wuliqunyy 14:062850afdf38 906 #define MV_PATCH_1_ADDRESS_ADDRESS 0x08E8
wuliqunyy 14:062850afdf38 907 #define MV_PATCH_1_ADDRESS_OFFSET 0
wuliqunyy 14:062850afdf38 908 #define MV_PATCH_1_ADDRESS_LENGTH 16
wuliqunyy 14:062850afdf38 909 #define MV_PATCH_1_ADDRESS_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 910
wuliqunyy 14:062850afdf38 911 #define NV_PATCH_0_INSTRUCTION_ADDRESS 0x08E6
wuliqunyy 14:062850afdf38 912 #define NV_PATCH_0_INSTRUCTION_OFFSET 0
wuliqunyy 14:062850afdf38 913 #define NV_PATCH_0_INSTRUCTION_LENGTH 16
wuliqunyy 14:062850afdf38 914 #define NV_PATCH_0_INSTRUCTION_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 915
wuliqunyy 14:062850afdf38 916 #define NV_PATCH_0_ADDRESS_ADDRESS 0x08E4
wuliqunyy 14:062850afdf38 917 #define NV_PATCH_0_ADDRESS_OFFSET 0
wuliqunyy 14:062850afdf38 918 #define NV_PATCH_0_ADDRESS_LENGTH 16
wuliqunyy 14:062850afdf38 919 #define NV_PATCH_0_ADDRESS_MASK 0xFFFF
wuliqunyy 14:062850afdf38 920
wuliqunyy 14:062850afdf38 921 #define NV_MTP_USE_ZONE_2_ADDRESS 0x08E2
wuliqunyy 14:062850afdf38 922 #define NV_MTP_USE_ZONE_2_OFFSET 8
wuliqunyy 14:062850afdf38 923 #define NV_MTP_USE_ZONE_2_LENGTH 8
wuliqunyy 14:062850afdf38 924 #define NV_MTP_USE_ZONE_2_MASK 0xFF00
wuliqunyy 5:daab0e0e67e2 925
wuliqunyy 14:062850afdf38 926 #define NV_CRC_MTP_ZONE_2_ADDRESS 0x08E2
wuliqunyy 14:062850afdf38 927 #define NV_CRC_MTP_ZONE_2_OFFSET 0
wuliqunyy 14:062850afdf38 928 #define NV_CRC_MTP_ZONE_2_LENGTH 8
wuliqunyy 14:062850afdf38 929 #define NV_CRC_MTP_ZONE_2_MASK 0x00FF
wuliqunyy 9:76a0b9f29a2d 930
wuliqunyy 14:062850afdf38 931 #define NV_copy_zone2_36_ADDRESS 0x08E0
wuliqunyy 14:062850afdf38 932 #define NV_copy_zone2_36_OFFSET 0
wuliqunyy 14:062850afdf38 933 #define NV_copy_zone2_36_LENGTH 16
wuliqunyy 14:062850afdf38 934 #define NV_copy_zone2_36_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 935
wuliqunyy 14:062850afdf38 936 #define NV_copy_zone2_35_ADDRESS 0x08DE
wuliqunyy 14:062850afdf38 937 #define NV_copy_zone2_35_OFFSET 0
wuliqunyy 14:062850afdf38 938 #define NV_copy_zone2_35_LENGTH 16
wuliqunyy 14:062850afdf38 939 #define NV_copy_zone2_35_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 940
wuliqunyy 14:062850afdf38 941 #define NV_copy_zone2_34_ADDRESS 0x08DC
wuliqunyy 14:062850afdf38 942 #define NV_copy_zone2_34_OFFSET 0
wuliqunyy 14:062850afdf38 943 #define NV_copy_zone2_34_LENGTH 16
wuliqunyy 14:062850afdf38 944 #define NV_copy_zone2_34_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 945
wuliqunyy 14:062850afdf38 946 #define NV_copy_zone2_33_ADDRESS 0x08DA
wuliqunyy 14:062850afdf38 947 #define NV_copy_zone2_33_OFFSET 0
wuliqunyy 14:062850afdf38 948 #define NV_copy_zone2_33_LENGTH 16
wuliqunyy 14:062850afdf38 949 #define NV_copy_zone2_33_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 950
wuliqunyy 14:062850afdf38 951 #define NV_copy_zone2_32_ADDRESS 0x08D8
wuliqunyy 14:062850afdf38 952 #define NV_copy_zone2_32_OFFSET 0
wuliqunyy 14:062850afdf38 953 #define NV_copy_zone2_32_LENGTH 16
wuliqunyy 14:062850afdf38 954 #define NV_copy_zone2_32_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 955
wuliqunyy 14:062850afdf38 956 #define NV_copy_zone2_31_ADDRESS 0x08D6
wuliqunyy 14:062850afdf38 957 #define NV_copy_zone2_31_OFFSET 0
wuliqunyy 14:062850afdf38 958 #define NV_copy_zone2_31_LENGTH 16
wuliqunyy 14:062850afdf38 959 #define NV_copy_zone2_31_MASK 0xFFFF
wuliqunyy 14:062850afdf38 960
wuliqunyy 14:062850afdf38 961 #define NV_copy_zone2_30_ADDRESS 0x08D4
wuliqunyy 14:062850afdf38 962 #define NV_copy_zone2_30_OFFSET 0
wuliqunyy 14:062850afdf38 963 #define NV_copy_zone2_30_LENGTH 16
wuliqunyy 14:062850afdf38 964 #define NV_copy_zone2_30_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 965
wuliqunyy 14:062850afdf38 966 #define NV_copy_zone2_29_ADDRESS 0x08D2
wuliqunyy 14:062850afdf38 967 #define NV_copy_zone2_29_OFFSET 0
wuliqunyy 14:062850afdf38 968 #define NV_copy_zone2_29_LENGTH 16
wuliqunyy 14:062850afdf38 969 #define NV_copy_zone2_29_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 970
wuliqunyy 14:062850afdf38 971 #define NV_copy_zone2_28_ADDRESS 0x08D0
wuliqunyy 14:062850afdf38 972 #define NV_copy_zone2_28_OFFSET 0
wuliqunyy 14:062850afdf38 973 #define NV_copy_zone2_28_LENGTH 16
wuliqunyy 14:062850afdf38 974 #define NV_copy_zone2_28_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 975
wuliqunyy 14:062850afdf38 976 #define NV_copy_zone2_27_ADDRESS 0x08CE
wuliqunyy 14:062850afdf38 977 #define NV_copy_zone2_27_OFFSET 0
wuliqunyy 14:062850afdf38 978 #define NV_copy_zone2_27_LENGTH 16
wuliqunyy 14:062850afdf38 979 #define NV_copy_zone2_27_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 980
wuliqunyy 14:062850afdf38 981 #define NV_copy_zone2_26_ADDRESS 0x08CC
wuliqunyy 14:062850afdf38 982 #define NV_copy_zone2_26_OFFSET 0
wuliqunyy 14:062850afdf38 983 #define NV_copy_zone2_26_LENGTH 16
wuliqunyy 14:062850afdf38 984 #define NV_copy_zone2_26_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 985
wuliqunyy 14:062850afdf38 986 #define NV_copy_zone2_25_ADDRESS 0x08CA
wuliqunyy 14:062850afdf38 987 #define NV_copy_zone2_25_OFFSET 0
wuliqunyy 14:062850afdf38 988 #define NV_copy_zone2_25_LENGTH 16
wuliqunyy 14:062850afdf38 989 #define NV_copy_zone2_25_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 990
wuliqunyy 14:062850afdf38 991 #define NV_copy_zone2_24_ADDRESS 0x08C8
wuliqunyy 14:062850afdf38 992 #define NV_copy_zone2_24_OFFSET 0
wuliqunyy 14:062850afdf38 993 #define NV_copy_zone2_24_LENGTH 16
wuliqunyy 14:062850afdf38 994 #define NV_copy_zone2_24_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 995
wuliqunyy 14:062850afdf38 996 #define NV_copy_zone2_23_ADDRESS 0x08C6
wuliqunyy 14:062850afdf38 997 #define NV_copy_zone2_23_OFFSET 0
wuliqunyy 14:062850afdf38 998 #define NV_copy_zone2_23_LENGTH 16
wuliqunyy 14:062850afdf38 999 #define NV_copy_zone2_23_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1000
wuliqunyy 14:062850afdf38 1001 #define NV_copy_zone2_22_ADDRESS 0x08C4
wuliqunyy 14:062850afdf38 1002 #define NV_copy_zone2_22_OFFSET 0
wuliqunyy 14:062850afdf38 1003 #define NV_copy_zone2_22_LENGTH 16
wuliqunyy 14:062850afdf38 1004 #define NV_copy_zone2_22_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1005
wuliqunyy 14:062850afdf38 1006 #define NV_copy_zone2_21_ADDRESS 0x08C2
wuliqunyy 14:062850afdf38 1007 #define NV_copy_zone2_21_OFFSET 0
wuliqunyy 14:062850afdf38 1008 #define NV_copy_zone2_21_LENGTH 16
wuliqunyy 14:062850afdf38 1009 #define NV_copy_zone2_21_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1010
wuliqunyy 14:062850afdf38 1011 #define NV_copy_zone2_20_ADDRESS 0x08C0
wuliqunyy 14:062850afdf38 1012 #define NV_copy_zone2_20_OFFSET 0
wuliqunyy 14:062850afdf38 1013 #define NV_copy_zone2_20_LENGTH 16
wuliqunyy 14:062850afdf38 1014 #define NV_copy_zone2_20_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1015
wuliqunyy 14:062850afdf38 1016 #define NV_copy_zone2_19_ADDRESS 0x08BE
wuliqunyy 14:062850afdf38 1017 #define NV_copy_zone2_19_OFFSET 0
wuliqunyy 14:062850afdf38 1018 #define NV_copy_zone2_19_LENGTH 16
wuliqunyy 14:062850afdf38 1019 #define NV_copy_zone2_19_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1020
wuliqunyy 14:062850afdf38 1021 #define NV_copy_zone2_18_ADDRESS 0x08BC
wuliqunyy 14:062850afdf38 1022 #define NV_copy_zone2_18_OFFSET 0
wuliqunyy 14:062850afdf38 1023 #define NV_copy_zone2_18_LENGTH 16
wuliqunyy 14:062850afdf38 1024 #define NV_copy_zone2_18_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1025
wuliqunyy 14:062850afdf38 1026 #define NV_copy_zone2_17_ADDRESS 0x08BA
wuliqunyy 14:062850afdf38 1027 #define NV_copy_zone2_17_OFFSET 0
wuliqunyy 14:062850afdf38 1028 #define NV_copy_zone2_17_LENGTH 16
wuliqunyy 14:062850afdf38 1029 #define NV_copy_zone2_17_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1030
wuliqunyy 14:062850afdf38 1031 #define NV_copy_zone2_16_ADDRESS 0x08B8
wuliqunyy 14:062850afdf38 1032 #define NV_copy_zone2_16_OFFSET 0
wuliqunyy 14:062850afdf38 1033 #define NV_copy_zone2_16_LENGTH 16
wuliqunyy 14:062850afdf38 1034 #define NV_copy_zone2_16_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1035
wuliqunyy 14:062850afdf38 1036 #define NV_copy_zone2_15_ADDRESS 0x08B6
wuliqunyy 14:062850afdf38 1037 #define NV_copy_zone2_15_OFFSET 0
wuliqunyy 14:062850afdf38 1038 #define NV_copy_zone2_15_LENGTH 16
wuliqunyy 14:062850afdf38 1039 #define NV_copy_zone2_15_MASK 0xFFFF
wuliqunyy 14:062850afdf38 1040
wuliqunyy 14:062850afdf38 1041 #define NV_copy_zone2_14_ADDRESS 0x08B4
wuliqunyy 14:062850afdf38 1042 #define NV_copy_zone2_14_OFFSET 0
wuliqunyy 14:062850afdf38 1043 #define NV_copy_zone2_14_LENGTH 16
wuliqunyy 14:062850afdf38 1044 #define NV_copy_zone2_14_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1045
wuliqunyy 14:062850afdf38 1046 #define NV_copy_zone2_13_ADDRESS 0x08B2
wuliqunyy 14:062850afdf38 1047 #define NV_copy_zone2_13_OFFSET 0
wuliqunyy 14:062850afdf38 1048 #define NV_copy_zone2_13_LENGTH 16
wuliqunyy 14:062850afdf38 1049 #define NV_copy_zone2_13_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1050
wuliqunyy 14:062850afdf38 1051 #define NV_copy_zone2_12_ADDRESS 0x08B0
wuliqunyy 14:062850afdf38 1052 #define NV_copy_zone2_12_OFFSET 0
wuliqunyy 14:062850afdf38 1053 #define NV_copy_zone2_12_LENGTH 16
wuliqunyy 14:062850afdf38 1054 #define NV_copy_zone2_12_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1055
wuliqunyy 14:062850afdf38 1056 #define NV_copy_zone2_11_ADDRESS 0x08AE
wuliqunyy 14:062850afdf38 1057 #define NV_copy_zone2_11_OFFSET 0
wuliqunyy 14:062850afdf38 1058 #define NV_copy_zone2_11_LENGTH 16
wuliqunyy 14:062850afdf38 1059 #define NV_copy_zone2_11_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1060
wuliqunyy 14:062850afdf38 1061 #define NV_copy_zone2_10_ADDRESS 0x08AC
wuliqunyy 14:062850afdf38 1062 #define NV_copy_zone2_10_OFFSET 0
wuliqunyy 14:062850afdf38 1063 #define NV_copy_zone2_10_LENGTH 16
wuliqunyy 14:062850afdf38 1064 #define NV_copy_zone2_10_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1065
wuliqunyy 14:062850afdf38 1066 #define NV_copy_zone2_9_ADDRESS 0x08AA
wuliqunyy 14:062850afdf38 1067 #define NV_copy_zone2_9_OFFSET 0
wuliqunyy 14:062850afdf38 1068 #define NV_copy_zone2_9_LENGTH 16
wuliqunyy 14:062850afdf38 1069 #define NV_copy_zone2_9_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1070
wuliqunyy 14:062850afdf38 1071 #define NV_copy_zone2_8_ADDRESS 0x08A8
wuliqunyy 14:062850afdf38 1072 #define NV_copy_zone2_8_OFFSET 0
wuliqunyy 14:062850afdf38 1073 #define NV_copy_zone2_8_LENGTH 16
wuliqunyy 14:062850afdf38 1074 #define NV_copy_zone2_8_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1075
wuliqunyy 14:062850afdf38 1076 #define NV_copy_zone2_7_ADDRESS 0x08A6
wuliqunyy 14:062850afdf38 1077 #define NV_copy_zone2_7_OFFSET 0
wuliqunyy 14:062850afdf38 1078 #define NV_copy_zone2_7_LENGTH 16
wuliqunyy 14:062850afdf38 1079 #define NV_copy_zone2_7_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1080
wuliqunyy 14:062850afdf38 1081 #define NV_copy_zone2_6_ADDRESS 0x08A4
wuliqunyy 14:062850afdf38 1082 #define NV_copy_zone2_6_OFFSET 0
wuliqunyy 14:062850afdf38 1083 #define NV_copy_zone2_6_LENGTH 16
wuliqunyy 14:062850afdf38 1084 #define NV_copy_zone2_6_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1085
wuliqunyy 14:062850afdf38 1086 #define NV_copy_zone2_5_ADDRESS 0x08A2
wuliqunyy 14:062850afdf38 1087 #define NV_copy_zone2_5_OFFSET 0
wuliqunyy 14:062850afdf38 1088 #define NV_copy_zone2_5_LENGTH 16
wuliqunyy 14:062850afdf38 1089 #define NV_copy_zone2_5_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1090
wuliqunyy 14:062850afdf38 1091 #define NV_copy_zone2_4_ADDRESS 0x08A0
wuliqunyy 14:062850afdf38 1092 #define NV_copy_zone2_4_OFFSET 0
wuliqunyy 14:062850afdf38 1093 #define NV_copy_zone2_4_LENGTH 16
wuliqunyy 14:062850afdf38 1094 #define NV_copy_zone2_4_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1095
wuliqunyy 14:062850afdf38 1096 #define NV_copy_zone2_3_ADDRESS 0x089E
wuliqunyy 14:062850afdf38 1097 #define NV_copy_zone2_3_OFFSET 0
wuliqunyy 14:062850afdf38 1098 #define NV_copy_zone2_3_LENGTH 16
wuliqunyy 14:062850afdf38 1099 #define NV_copy_zone2_3_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1100
wuliqunyy 14:062850afdf38 1101 #define NV_copy_zone2_2_ADDRESS 0x089C
wuliqunyy 14:062850afdf38 1102 #define NV_copy_zone2_2_OFFSET 0
wuliqunyy 14:062850afdf38 1103 #define NV_copy_zone2_2_LENGTH 16
wuliqunyy 14:062850afdf38 1104 #define NV_copy_zone2_2_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1105
wuliqunyy 14:062850afdf38 1106 #define NV_copy_zone2_1_ADDRESS 0x089A
wuliqunyy 14:062850afdf38 1107 #define NV_copy_zone2_1_OFFSET 0
wuliqunyy 14:062850afdf38 1108 #define NV_copy_zone2_1_LENGTH 16
wuliqunyy 14:062850afdf38 1109 #define NV_copy_zone2_1_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1110
wuliqunyy 14:062850afdf38 1111 #define NV_copy_zone2_0_ADDRESS 0x0898
wuliqunyy 14:062850afdf38 1112 #define NV_copy_zone2_0_OFFSET 0
wuliqunyy 14:062850afdf38 1113 #define NV_copy_zone2_0_LENGTH 16
wuliqunyy 14:062850afdf38 1114 #define NV_copy_zone2_0_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1115
wuliqunyy 14:062850afdf38 1116 #define NV_MTP_USE_ZONE_1_ADDRESS 0x0896
wuliqunyy 14:062850afdf38 1117 #define NV_MTP_USE_ZONE_1_OFFSET 8
wuliqunyy 14:062850afdf38 1118 #define NV_MTP_USE_ZONE_1_LENGTH 8
wuliqunyy 14:062850afdf38 1119 #define NV_MTP_USE_ZONE_1_MASK 0xFF00
wuliqunyy 14:062850afdf38 1120
wuliqunyy 14:062850afdf38 1121 #define NV_CRC_MTP_ZONE_1_ADDRESS 0x0896
wuliqunyy 14:062850afdf38 1122 #define NV_CRC_MTP_ZONE_1_OFFSET 0
wuliqunyy 14:062850afdf38 1123 #define NV_CRC_MTP_ZONE_1_LENGTH 8
wuliqunyy 14:062850afdf38 1124 #define NV_CRC_MTP_ZONE_1_MASK 0x00FF
wuliqunyy 9:76a0b9f29a2d 1125
wuliqunyy 14:062850afdf38 1126 #define NV_copy_zone1_36_ADDRESS 0x0894
wuliqunyy 14:062850afdf38 1127 #define NV_copy_zone1_36_OFFSET 0
wuliqunyy 14:062850afdf38 1128 #define NV_copy_zone1_36_LENGTH 16
wuliqunyy 14:062850afdf38 1129 #define NV_copy_zone1_36_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1130
wuliqunyy 14:062850afdf38 1131 #define NV_copy_zone1_35_ADDRESS 0x0892
wuliqunyy 14:062850afdf38 1132 #define NV_copy_zone1_35_OFFSET 0
wuliqunyy 14:062850afdf38 1133 #define NV_copy_zone1_35_LENGTH 16
wuliqunyy 14:062850afdf38 1134 #define NV_copy_zone1_35_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1135
wuliqunyy 14:062850afdf38 1136 #define NV_copy_zone1_34_ADDRESS 0x0890
wuliqunyy 14:062850afdf38 1137 #define NV_copy_zone1_34_OFFSET 0
wuliqunyy 14:062850afdf38 1138 #define NV_copy_zone1_34_LENGTH 16
wuliqunyy 14:062850afdf38 1139 #define NV_copy_zone1_34_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1140
wuliqunyy 14:062850afdf38 1141 #define NV_copy_zone1_33_ADDRESS 0x088E
wuliqunyy 14:062850afdf38 1142 #define NV_copy_zone1_33_OFFSET 0
wuliqunyy 14:062850afdf38 1143 #define NV_copy_zone1_33_LENGTH 16
wuliqunyy 14:062850afdf38 1144 #define NV_copy_zone1_33_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1145
wuliqunyy 14:062850afdf38 1146 #define NV_copy_zone1_32_ADDRESS 0x088C
wuliqunyy 14:062850afdf38 1147 #define NV_copy_zone1_32_OFFSET 0
wuliqunyy 14:062850afdf38 1148 #define NV_copy_zone1_32_LENGTH 16
wuliqunyy 14:062850afdf38 1149 #define NV_copy_zone1_32_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1150
wuliqunyy 14:062850afdf38 1151 #define NV_copy_zone1_31_ADDRESS 0x088A
wuliqunyy 14:062850afdf38 1152 #define NV_copy_zone1_31_OFFSET 0
wuliqunyy 14:062850afdf38 1153 #define NV_copy_zone1_31_LENGTH 16
wuliqunyy 14:062850afdf38 1154 #define NV_copy_zone1_31_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1155
wuliqunyy 14:062850afdf38 1156 #define NV_copy_zone1_30_ADDRESS 0x0888
wuliqunyy 14:062850afdf38 1157 #define NV_copy_zone1_30_OFFSET 0
wuliqunyy 14:062850afdf38 1158 #define NV_copy_zone1_30_LENGTH 16
wuliqunyy 14:062850afdf38 1159 #define NV_copy_zone1_30_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1160
wuliqunyy 14:062850afdf38 1161 #define NV_copy_zone1_29_ADDRESS 0x0886
wuliqunyy 14:062850afdf38 1162 #define NV_copy_zone1_29_OFFSET 0
wuliqunyy 14:062850afdf38 1163 #define NV_copy_zone1_29_LENGTH 16
wuliqunyy 14:062850afdf38 1164 #define NV_copy_zone1_29_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1165
wuliqunyy 14:062850afdf38 1166 #define NV_copy_zone1_28_ADDRESS 0x0884
wuliqunyy 14:062850afdf38 1167 #define NV_copy_zone1_28_OFFSET 0
wuliqunyy 14:062850afdf38 1168 #define NV_copy_zone1_28_LENGTH 16
wuliqunyy 14:062850afdf38 1169 #define NV_copy_zone1_28_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1170
wuliqunyy 14:062850afdf38 1171 #define NV_copy_zone1_27_ADDRESS 0x0882
wuliqunyy 14:062850afdf38 1172 #define NV_copy_zone1_27_OFFSET 0
wuliqunyy 14:062850afdf38 1173 #define NV_copy_zone1_27_LENGTH 16
wuliqunyy 14:062850afdf38 1174 #define NV_copy_zone1_27_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1175
wuliqunyy 14:062850afdf38 1176 #define NV_copy_zone1_26_ADDRESS 0x0880
wuliqunyy 14:062850afdf38 1177 #define NV_copy_zone1_26_OFFSET 0
wuliqunyy 14:062850afdf38 1178 #define NV_copy_zone1_26_LENGTH 16
wuliqunyy 14:062850afdf38 1179 #define NV_copy_zone1_26_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1180
wuliqunyy 14:062850afdf38 1181 #define NV_copy_zone1_25_ADDRESS 0x087E
wuliqunyy 14:062850afdf38 1182 #define NV_copy_zone1_25_OFFSET 0
wuliqunyy 14:062850afdf38 1183 #define NV_copy_zone1_25_LENGTH 16
wuliqunyy 14:062850afdf38 1184 #define NV_copy_zone1_25_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1185
wuliqunyy 14:062850afdf38 1186 #define NV_copy_zone1_24_ADDRESS 0x087C
wuliqunyy 14:062850afdf38 1187 #define NV_copy_zone1_24_OFFSET 0
wuliqunyy 14:062850afdf38 1188 #define NV_copy_zone1_24_LENGTH 16
wuliqunyy 14:062850afdf38 1189 #define NV_copy_zone1_24_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1190
wuliqunyy 14:062850afdf38 1191 #define NV_copy_zone1_23_ADDRESS 0x087A
wuliqunyy 14:062850afdf38 1192 #define NV_copy_zone1_23_OFFSET 0
wuliqunyy 14:062850afdf38 1193 #define NV_copy_zone1_23_LENGTH 16
wuliqunyy 14:062850afdf38 1194 #define NV_copy_zone1_23_MASK 0xFFFF
wuliqunyy 14:062850afdf38 1195
wuliqunyy 14:062850afdf38 1196 #define NV_copy_zone1_22_ADDRESS 0x0878
wuliqunyy 14:062850afdf38 1197 #define NV_copy_zone1_22_OFFSET 0
wuliqunyy 14:062850afdf38 1198 #define NV_copy_zone1_22_LENGTH 16
wuliqunyy 14:062850afdf38 1199 #define NV_copy_zone1_22_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1200
wuliqunyy 14:062850afdf38 1201 #define NV_copy_zone1_21_ADDRESS 0x0876
wuliqunyy 14:062850afdf38 1202 #define NV_copy_zone1_21_OFFSET 0
wuliqunyy 14:062850afdf38 1203 #define NV_copy_zone1_21_LENGTH 16
wuliqunyy 14:062850afdf38 1204 #define NV_copy_zone1_21_MASK 0xFFFF
wuliqunyy 14:062850afdf38 1205
wuliqunyy 14:062850afdf38 1206 #define NV_copy_zone1_20_ADDRESS 0x0874
wuliqunyy 14:062850afdf38 1207 #define NV_copy_zone1_20_OFFSET 0
wuliqunyy 14:062850afdf38 1208 #define NV_copy_zone1_20_LENGTH 16
wuliqunyy 14:062850afdf38 1209 #define NV_copy_zone1_20_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1210
wuliqunyy 14:062850afdf38 1211 #define NV_copy_zone1_19_ADDRESS 0x0872
wuliqunyy 14:062850afdf38 1212 #define NV_copy_zone1_19_OFFSET 0
wuliqunyy 14:062850afdf38 1213 #define NV_copy_zone1_19_LENGTH 16
wuliqunyy 14:062850afdf38 1214 #define NV_copy_zone1_19_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1215
wuliqunyy 14:062850afdf38 1216 #define NV_copy_zone1_18_ADDRESS 0x0870
wuliqunyy 14:062850afdf38 1217 #define NV_copy_zone1_18_OFFSET 0
wuliqunyy 14:062850afdf38 1218 #define NV_copy_zone1_18_LENGTH 16
wuliqunyy 14:062850afdf38 1219 #define NV_copy_zone1_18_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1220
wuliqunyy 14:062850afdf38 1221 #define NV_copy_zone1_17_ADDRESS 0x086E
wuliqunyy 14:062850afdf38 1222 #define NV_copy_zone1_17_OFFSET 0
wuliqunyy 14:062850afdf38 1223 #define NV_copy_zone1_17_LENGTH 16
wuliqunyy 14:062850afdf38 1224 #define NV_copy_zone1_17_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1225
wuliqunyy 14:062850afdf38 1226 #define NV_copy_zone1_16_ADDRESS 0x086C
wuliqunyy 14:062850afdf38 1227 #define NV_copy_zone1_16_OFFSET 0
wuliqunyy 14:062850afdf38 1228 #define NV_copy_zone1_16_LENGTH 16
wuliqunyy 14:062850afdf38 1229 #define NV_copy_zone1_16_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1230
wuliqunyy 14:062850afdf38 1231 #define NV_copy_zone1_15_ADDRESS 0x086A
wuliqunyy 14:062850afdf38 1232 #define NV_copy_zone1_15_OFFSET 0
wuliqunyy 14:062850afdf38 1233 #define NV_copy_zone1_15_LENGTH 16
wuliqunyy 14:062850afdf38 1234 #define NV_copy_zone1_15_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1235
wuliqunyy 14:062850afdf38 1236 #define NV_copy_zone1_14_ADDRESS 0x0868
wuliqunyy 14:062850afdf38 1237 #define NV_copy_zone1_14_OFFSET 0
wuliqunyy 14:062850afdf38 1238 #define NV_copy_zone1_14_LENGTH 16
wuliqunyy 14:062850afdf38 1239 #define NV_copy_zone1_14_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1240
wuliqunyy 14:062850afdf38 1241 #define NV_copy_zone1_13_ADDRESS 0x0866
wuliqunyy 14:062850afdf38 1242 #define NV_copy_zone1_13_OFFSET 0
wuliqunyy 14:062850afdf38 1243 #define NV_copy_zone1_13_LENGTH 16
wuliqunyy 14:062850afdf38 1244 #define NV_copy_zone1_13_MASK 0xFFFF
wuliqunyy 14:062850afdf38 1245
wuliqunyy 14:062850afdf38 1246 #define NV_copy_zone1_12_ADDRESS 0x0864
wuliqunyy 14:062850afdf38 1247 #define NV_copy_zone1_12_OFFSET 0
wuliqunyy 14:062850afdf38 1248 #define NV_copy_zone1_12_LENGTH 16
wuliqunyy 14:062850afdf38 1249 #define NV_copy_zone1_12_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1250
wuliqunyy 14:062850afdf38 1251 #define NV_copy_zone1_11_ADDRESS 0x0862
wuliqunyy 14:062850afdf38 1252 #define NV_copy_zone1_11_OFFSET 0
wuliqunyy 14:062850afdf38 1253 #define NV_copy_zone1_11_LENGTH 16
wuliqunyy 14:062850afdf38 1254 #define NV_copy_zone1_11_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1255
wuliqunyy 14:062850afdf38 1256 #define NV_copy_zone1_10_ADDRESS 0x0860
wuliqunyy 14:062850afdf38 1257 #define NV_copy_zone1_10_OFFSET 0
wuliqunyy 14:062850afdf38 1258 #define NV_copy_zone1_10_LENGTH 16
wuliqunyy 14:062850afdf38 1259 #define NV_copy_zone1_10_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1260
wuliqunyy 14:062850afdf38 1261 #define NV_copy_zone1_9_ADDRESS 0x085E
wuliqunyy 14:062850afdf38 1262 #define NV_copy_zone1_9_OFFSET 0
wuliqunyy 14:062850afdf38 1263 #define NV_copy_zone1_9_LENGTH 16
wuliqunyy 14:062850afdf38 1264 #define NV_copy_zone1_9_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1265
wuliqunyy 14:062850afdf38 1266 #define NV_copy_zone1_8_ADDRESS 0x085C
wuliqunyy 14:062850afdf38 1267 #define NV_copy_zone1_8_OFFSET 0
wuliqunyy 14:062850afdf38 1268 #define NV_copy_zone1_8_LENGTH 16
wuliqunyy 14:062850afdf38 1269 #define NV_copy_zone1_8_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1270
wuliqunyy 14:062850afdf38 1271 #define NV_copy_zone1_7_ADDRESS 0x085A
wuliqunyy 14:062850afdf38 1272 #define NV_copy_zone1_7_OFFSET 0
wuliqunyy 14:062850afdf38 1273 #define NV_copy_zone1_7_LENGTH 16
wuliqunyy 14:062850afdf38 1274 #define NV_copy_zone1_7_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1275
wuliqunyy 14:062850afdf38 1276 #define NV_copy_zone1_6_ADDRESS 0x0858
wuliqunyy 14:062850afdf38 1277 #define NV_copy_zone1_6_OFFSET 0
wuliqunyy 14:062850afdf38 1278 #define NV_copy_zone1_6_LENGTH 16
wuliqunyy 14:062850afdf38 1279 #define NV_copy_zone1_6_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1280
wuliqunyy 14:062850afdf38 1281 #define NV_copy_zone1_5_ADDRESS 0x0856
wuliqunyy 14:062850afdf38 1282 #define NV_copy_zone1_5_OFFSET 0
wuliqunyy 14:062850afdf38 1283 #define NV_copy_zone1_5_LENGTH 16
wuliqunyy 14:062850afdf38 1284 #define NV_copy_zone1_5_MASK 0xFFFF
wuliqunyy 14:062850afdf38 1285
wuliqunyy 14:062850afdf38 1286 #define NV_copy_zone1_4_ADDRESS 0x0854
wuliqunyy 14:062850afdf38 1287 #define NV_copy_zone1_4_OFFSET 0
wuliqunyy 14:062850afdf38 1288 #define NV_copy_zone1_4_LENGTH 16
wuliqunyy 14:062850afdf38 1289 #define NV_copy_zone1_4_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1290
wuliqunyy 14:062850afdf38 1291 #define NV_copy_zone1_3_ADDRESS 0x0852
wuliqunyy 14:062850afdf38 1292 #define NV_copy_zone1_3_OFFSET 0
wuliqunyy 14:062850afdf38 1293 #define NV_copy_zone1_3_LENGTH 16
wuliqunyy 14:062850afdf38 1294 #define NV_copy_zone1_3_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1295
wuliqunyy 14:062850afdf38 1296 #define NV_copy_zone1_2_ADDRESS 0x0850
wuliqunyy 14:062850afdf38 1297 #define NV_copy_zone1_2_OFFSET 0
wuliqunyy 14:062850afdf38 1298 #define NV_copy_zone1_2_LENGTH 16
wuliqunyy 14:062850afdf38 1299 #define NV_copy_zone1_2_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1300
wuliqunyy 14:062850afdf38 1301 #define NV_copy_zone1_1_ADDRESS 0x084E
wuliqunyy 14:062850afdf38 1302 #define NV_copy_zone1_1_OFFSET 0
wuliqunyy 14:062850afdf38 1303 #define NV_copy_zone1_1_LENGTH 16
wuliqunyy 14:062850afdf38 1304 #define NV_copy_zone1_1_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1305
wuliqunyy 14:062850afdf38 1306 #define NV_copy_zone1_0_ADDRESS 0x084C
wuliqunyy 14:062850afdf38 1307 #define NV_copy_zone1_0_OFFSET 0
wuliqunyy 14:062850afdf38 1308 #define NV_copy_zone1_0_LENGTH 16
wuliqunyy 14:062850afdf38 1309 #define NV_copy_zone1_0_MASK 0xFFFF
wuliqunyy 5:daab0e0e67e2 1310
wuliqunyy 14:062850afdf38 1311 #define NV_MTP_USE_ZONE_0_ADDRESS 0x084A
wuliqunyy 14:062850afdf38 1312 #define NV_MTP_USE_ZONE_0_OFFSET 8
wuliqunyy 14:062850afdf38 1313 #define NV_MTP_USE_ZONE_0_LENGTH 8
wuliqunyy 14:062850afdf38 1314 #define NV_MTP_USE_ZONE_0_MASK 0xFF00
wuliqunyy 9:76a0b9f29a2d 1315
wuliqunyy 14:062850afdf38 1316 #define NV_CRC_MTP_ZONE_0_ADDRESS 0x084A
wuliqunyy 14:062850afdf38 1317 #define NV_CRC_MTP_ZONE_0_OFFSET 0
wuliqunyy 14:062850afdf38 1318 #define NV_CRC_MTP_ZONE_0_LENGTH 8
wuliqunyy 14:062850afdf38 1319 #define NV_CRC_MTP_ZONE_0_MASK 0x00FF
wuliqunyy 9:76a0b9f29a2d 1320
wuliqunyy 14:062850afdf38 1321 #define NV_CUST_ID0_ADDRESS 0x0848
wuliqunyy 14:062850afdf38 1322 #define NV_CUST_ID0_OFFSET 0
wuliqunyy 14:062850afdf38 1323 #define NV_CUST_ID0_LENGTH 16
wuliqunyy 14:062850afdf38 1324 #define NV_CUST_ID0_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1325
wuliqunyy 14:062850afdf38 1326 #define NV_CUST_ID1_ADDRESS 0x0846
wuliqunyy 14:062850afdf38 1327 #define NV_CUST_ID1_OFFSET 0
wuliqunyy 14:062850afdf38 1328 #define NV_CUST_ID1_LENGTH 16
wuliqunyy 14:062850afdf38 1329 #define NV_CUST_ID1_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1330
wuliqunyy 14:062850afdf38 1331 #define NV_CUST_ID2_ADDRESS 0x0844
wuliqunyy 14:062850afdf38 1332 #define NV_CUST_ID2_OFFSET 0
wuliqunyy 14:062850afdf38 1333 #define NV_CUST_ID2_LENGTH 16
wuliqunyy 14:062850afdf38 1334 #define NV_CUST_ID2_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1335
wuliqunyy 14:062850afdf38 1336 #define NV_CUST_ID3_ADDRESS 0x0842
wuliqunyy 14:062850afdf38 1337 #define NV_CUST_ID3_OFFSET 0
wuliqunyy 14:062850afdf38 1338 #define NV_CUST_ID3_LENGTH 16
wuliqunyy 14:062850afdf38 1339 #define NV_CUST_ID3_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1340
wuliqunyy 15:83bbc18cccbc 1341 #define NV_FLAT_BLANK_ADDRESS 0x0840
wuliqunyy 15:83bbc18cccbc 1342 #define NV_FLAT_BLANK_OFFSET 8
wuliqunyy 15:83bbc18cccbc 1343 #define NV_FLAT_BLANK_LENGTH 8
wuliqunyy 15:83bbc18cccbc 1344 #define NV_FLAT_BLANK_MASK 0xFF00
wuliqunyy 15:83bbc18cccbc 1345
wuliqunyy 14:062850afdf38 1346 #define NV_INTEGRATOR_PRE_DIV_ADDRESS 0x0840
wuliqunyy 14:062850afdf38 1347 #define NV_INTEGRATOR_PRE_DIV_OFFSET 5
wuliqunyy 14:062850afdf38 1348 #define NV_INTEGRATOR_PRE_DIV_LENGTH 2
wuliqunyy 14:062850afdf38 1349 #define NV_INTEGRATOR_PRE_DIV_MASK 0x0060
wuliqunyy 9:76a0b9f29a2d 1350
wuliqunyy 14:062850afdf38 1351 #define NV_INTEGRATOR_TIME_ADDRESS 0x0840
wuliqunyy 14:062850afdf38 1352 #define NV_INTEGRATOR_TIME_OFFSET 3
wuliqunyy 14:062850afdf38 1353 #define NV_INTEGRATOR_TIME_LENGTH 2
wuliqunyy 14:062850afdf38 1354 #define NV_INTEGRATOR_TIME_MASK 0x0018
wuliqunyy 5:daab0e0e67e2 1355
wuliqunyy 14:062850afdf38 1356 #define NV_INTEGRATOR_START_OPTION_ADDRESS 0x0840
wuliqunyy 14:062850afdf38 1357 #define NV_INTEGRATOR_START_OPTION_OFFSET 2
wuliqunyy 14:062850afdf38 1358 #define NV_INTEGRATOR_START_OPTION_LENGTH 1
wuliqunyy 14:062850afdf38 1359 #define NV_INTEGRATOR_START_OPTION_MASK 0x0004
wuliqunyy 9:76a0b9f29a2d 1360
wuliqunyy 14:062850afdf38 1361 #define NV_INTEGRATOR_RESYNC_OPTION_ADDRESS 0x0840
wuliqunyy 14:062850afdf38 1362 #define NV_INTEGRATOR_RESYNC_OPTION_OFFSET 1
wuliqunyy 14:062850afdf38 1363 #define NV_INTEGRATOR_RESYNC_OPTION_LENGTH 1
wuliqunyy 14:062850afdf38 1364 #define NV_INTEGRATOR_RESYNC_OPTION_MASK 0x0002
wuliqunyy 9:76a0b9f29a2d 1365
wuliqunyy 14:062850afdf38 1366 #define NV_INTEGRATOR_EDGE_INV_ADDRESS 0x0840
wuliqunyy 14:062850afdf38 1367 #define NV_INTEGRATOR_EDGE_INV_OFFSET 0
wuliqunyy 14:062850afdf38 1368 #define NV_INTEGRATOR_EDGE_INV_LENGTH 1
wuliqunyy 14:062850afdf38 1369 #define NV_INTEGRATOR_EDGE_INV_MASK 0x0001
wuliqunyy 14:062850afdf38 1370
wuliqunyy 14:062850afdf38 1371 #define NV_ZONE0_RES1_ADDRESS 0x083E
wuliqunyy 14:062850afdf38 1372 #define NV_ZONE0_RES1_OFFSET 0
wuliqunyy 14:062850afdf38 1373 #define NV_ZONE0_RES1_LENGTH 16
wuliqunyy 14:062850afdf38 1374 #define NV_ZONE0_RES1_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1375
wuliqunyy 14:062850afdf38 1376 #define NV_ZONE0_RES2_ADDRESS 0x083C
wuliqunyy 14:062850afdf38 1377 #define NV_ZONE0_RES2_OFFSET 0
wuliqunyy 14:062850afdf38 1378 #define NV_ZONE0_RES2_LENGTH 16
wuliqunyy 14:062850afdf38 1379 #define NV_ZONE0_RES2_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1380
wuliqunyy 14:062850afdf38 1381 #define NV_ZONE0_RES3_ADDRESS 0x083A
wuliqunyy 14:062850afdf38 1382 #define NV_ZONE0_RES3_OFFSET 0
wuliqunyy 14:062850afdf38 1383 #define NV_ZONE0_RES3_LENGTH 16
wuliqunyy 14:062850afdf38 1384 #define NV_ZONE0_RES3_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1385
wuliqunyy 14:062850afdf38 1386 #define NV_ZONE0_RES4_ADDRESS 0x0838
wuliqunyy 14:062850afdf38 1387 #define NV_ZONE0_RES4_OFFSET 0
wuliqunyy 14:062850afdf38 1388 #define NV_ZONE0_RES4_LENGTH 16
wuliqunyy 14:062850afdf38 1389 #define NV_ZONE0_RES4_MASK 0xFFFF
wuliqunyy 9:76a0b9f29a2d 1390
wuliqunyy 15:83bbc18cccbc 1391 #define NV_TARGET_CLIM_USER_PULSES_ADDRESS 0x0836
wuliqunyy 15:83bbc18cccbc 1392 #define NV_TARGET_CLIM_USER_PULSES_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1393 #define NV_TARGET_CLIM_USER_PULSES_LENGTH 8
wuliqunyy 15:83bbc18cccbc 1394 #define NV_TARGET_CLIM_USER_PULSES_MASK 0x00FF
wuliqunyy 9:76a0b9f29a2d 1395
wuliqunyy 15:83bbc18cccbc 1396 #define NV_TARGET_CLIM_USER_BRAKE_ADDRESS 0x0834
wuliqunyy 15:83bbc18cccbc 1397 #define NV_TARGET_CLIM_USER_BRAKE_OFFSET 8
wuliqunyy 15:83bbc18cccbc 1398 #define NV_TARGET_CLIM_USER_BRAKE_LENGTH 8
wuliqunyy 15:83bbc18cccbc 1399 #define NV_TARGET_CLIM_USER_BRAKE_MASK 0xFF00
wuliqunyy 9:76a0b9f29a2d 1400
wuliqunyy 15:83bbc18cccbc 1401 #define NV_TARGET_CLIM_USER_MOTOR_ADDRESS 0x0834
wuliqunyy 15:83bbc18cccbc 1402 #define NV_TARGET_CLIM_USER_MOTOR_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1403 #define NV_TARGET_CLIM_USER_MOTOR_LENGTH 8
wuliqunyy 15:83bbc18cccbc 1404 #define NV_TARGET_CLIM_USER_MOTOR_MASK 0x00FF
wuliqunyy 5:daab0e0e67e2 1405
wuliqunyy 15:83bbc18cccbc 1406 #define NV_CL_BLANK_SELECT_ADDRESS 0x0832
wuliqunyy 15:83bbc18cccbc 1407 #define NV_CL_BLANK_SELECT_OFFSET 8
wuliqunyy 15:83bbc18cccbc 1408 #define NV_CL_BLANK_SELECT_LENGTH 6
wuliqunyy 15:83bbc18cccbc 1409 #define NV_CL_BLANK_SELECT_MASK 0x3F00
wuliqunyy 9:76a0b9f29a2d 1410
wuliqunyy 15:83bbc18cccbc 1411 #define NV_OC_BLANK_SELECT_ADDRESS 0x0832
wuliqunyy 15:83bbc18cccbc 1412 #define NV_OC_BLANK_SELECT_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1413 #define NV_OC_BLANK_SELECT_LENGTH 6
wuliqunyy 15:83bbc18cccbc 1414 #define NV_OC_BLANK_SELECT_MASK 0x003F
wuliqunyy 9:76a0b9f29a2d 1415
wuliqunyy 20:26e934452728 1416 #define NV_DI_TH_1ST_ADDRESS 0x0830
wuliqunyy 20:26e934452728 1417 #define NV_DI_TH_1ST_OFFSET 0
wuliqunyy 20:26e934452728 1418 #define NV_DI_TH_1ST_LENGTH 12
wuliqunyy 20:26e934452728 1419 #define NV_DI_TH_1ST_MASK 0x0FFF
wuliqunyy 20:26e934452728 1420
wuliqunyy 20:26e934452728 1421 #define NV_DI_TH_2ND_ADDRESS 0x082E
wuliqunyy 20:26e934452728 1422 #define NV_DI_TH_2ND_OFFSET 0
wuliqunyy 20:26e934452728 1423 #define NV_DI_TH_2ND_LENGTH 12
wuliqunyy 20:26e934452728 1424 #define NV_DI_TH_2ND_MASK 0x0FFF
wuliqunyy 9:76a0b9f29a2d 1425
wuliqunyy 15:83bbc18cccbc 1426 #define NV_I_ZC_TH_HIGH_ADDRESS 0x082C
wuliqunyy 15:83bbc18cccbc 1427 #define NV_I_ZC_TH_HIGH_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1428 #define NV_I_ZC_TH_HIGH_LENGTH 12
wuliqunyy 15:83bbc18cccbc 1429 #define NV_I_ZC_TH_HIGH_MASK 0x0FFF
wuliqunyy 9:76a0b9f29a2d 1430
wuliqunyy 15:83bbc18cccbc 1431 #define NV_I_ZC_TH_LOW_ADDRESS 0x082A
wuliqunyy 15:83bbc18cccbc 1432 #define NV_I_ZC_TH_LOW_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1433 #define NV_I_ZC_TH_LOW_LENGTH 12
wuliqunyy 15:83bbc18cccbc 1434 #define NV_I_ZC_TH_LOW_MASK 0x0FFF
wuliqunyy 5:daab0e0e67e2 1435
wuliqunyy 15:83bbc18cccbc 1436 #define NV_RPM_F_ADDRESS 0x0828
wuliqunyy 9:76a0b9f29a2d 1437 #define NV_RPM_F_OFFSET 7
wuliqunyy 9:76a0b9f29a2d 1438 #define NV_RPM_F_LENGTH 9
wuliqunyy 9:76a0b9f29a2d 1439 #define NV_RPM_F_MASK 0xFF80
wuliqunyy 9:76a0b9f29a2d 1440
wuliqunyy 15:83bbc18cccbc 1441 #define NV_SPD_F_ADDRESS 0x0828
wuliqunyy 9:76a0b9f29a2d 1442 #define NV_SPD_F_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1443 #define NV_SPD_F_LENGTH 7
wuliqunyy 9:76a0b9f29a2d 1444 #define NV_SPD_F_MASK 0x007F
wuliqunyy 9:76a0b9f29a2d 1445
wuliqunyy 15:83bbc18cccbc 1446 #define NV_RPM_E_ADDRESS 0x0826
wuliqunyy 9:76a0b9f29a2d 1447 #define NV_RPM_E_OFFSET 7
wuliqunyy 9:76a0b9f29a2d 1448 #define NV_RPM_E_LENGTH 9
wuliqunyy 9:76a0b9f29a2d 1449 #define NV_RPM_E_MASK 0xFF80
wuliqunyy 9:76a0b9f29a2d 1450
wuliqunyy 15:83bbc18cccbc 1451 #define NV_SPD_E_ADDRESS 0x0826
wuliqunyy 9:76a0b9f29a2d 1452 #define NV_SPD_E_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1453 #define NV_SPD_E_LENGTH 7
wuliqunyy 9:76a0b9f29a2d 1454 #define NV_SPD_E_MASK 0x007F
wuliqunyy 9:76a0b9f29a2d 1455
wuliqunyy 15:83bbc18cccbc 1456 #define NV_RPM_D_ADDRESS 0x0824
wuliqunyy 9:76a0b9f29a2d 1457 #define NV_RPM_D_OFFSET 7
wuliqunyy 9:76a0b9f29a2d 1458 #define NV_RPM_D_LENGTH 9
wuliqunyy 9:76a0b9f29a2d 1459 #define NV_RPM_D_MASK 0xFF80
wuliqunyy 9:76a0b9f29a2d 1460
wuliqunyy 15:83bbc18cccbc 1461 #define NV_SPD_D_ADDRESS 0x0824
wuliqunyy 9:76a0b9f29a2d 1462 #define NV_SPD_D_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1463 #define NV_SPD_D_LENGTH 7
wuliqunyy 9:76a0b9f29a2d 1464 #define NV_SPD_D_MASK 0x007F
wuliqunyy 9:76a0b9f29a2d 1465
wuliqunyy 15:83bbc18cccbc 1466 #define NV_RPM_C_ADDRESS 0x0822
wuliqunyy 9:76a0b9f29a2d 1467 #define NV_RPM_C_OFFSET 7
wuliqunyy 9:76a0b9f29a2d 1468 #define NV_RPM_C_LENGTH 9
wuliqunyy 9:76a0b9f29a2d 1469 #define NV_RPM_C_MASK 0xFF80
wuliqunyy 5:daab0e0e67e2 1470
wuliqunyy 15:83bbc18cccbc 1471 #define NV_SPD_C_ADDRESS 0x0822
wuliqunyy 9:76a0b9f29a2d 1472 #define NV_SPD_C_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1473 #define NV_SPD_C_LENGTH 7
wuliqunyy 9:76a0b9f29a2d 1474 #define NV_SPD_C_MASK 0x007F
wuliqunyy 9:76a0b9f29a2d 1475
wuliqunyy 15:83bbc18cccbc 1476 #define NV_RPM_B_ADDRESS 0x0820
wuliqunyy 9:76a0b9f29a2d 1477 #define NV_RPM_B_OFFSET 7
wuliqunyy 9:76a0b9f29a2d 1478 #define NV_RPM_B_LENGTH 9
wuliqunyy 9:76a0b9f29a2d 1479 #define NV_RPM_B_MASK 0xFF80
wuliqunyy 9:76a0b9f29a2d 1480
wuliqunyy 15:83bbc18cccbc 1481 #define NV_SPD_B_ADDRESS 0x0820
wuliqunyy 9:76a0b9f29a2d 1482 #define NV_SPD_B_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1483 #define NV_SPD_B_LENGTH 7
wuliqunyy 9:76a0b9f29a2d 1484 #define NV_SPD_B_MASK 0x007F
wuliqunyy 9:76a0b9f29a2d 1485
wuliqunyy 15:83bbc18cccbc 1486 #define NV_RPM_A_ADDRESS 0x081E
wuliqunyy 9:76a0b9f29a2d 1487 #define NV_RPM_A_OFFSET 7
wuliqunyy 9:76a0b9f29a2d 1488 #define NV_RPM_A_LENGTH 9
wuliqunyy 9:76a0b9f29a2d 1489 #define NV_RPM_A_MASK 0xFF80
wuliqunyy 9:76a0b9f29a2d 1490
wuliqunyy 15:83bbc18cccbc 1491 #define NV_SPD_A_ADDRESS 0x081E
wuliqunyy 9:76a0b9f29a2d 1492 #define NV_SPD_A_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1493 #define NV_SPD_A_LENGTH 7
wuliqunyy 9:76a0b9f29a2d 1494 #define NV_SPD_A_MASK 0x007F
wuliqunyy 9:76a0b9f29a2d 1495
wuliqunyy 15:83bbc18cccbc 1496 #define NV_RPM_MAX_ADDRESS 0x081C
wuliqunyy 9:76a0b9f29a2d 1497 #define NV_RPM_MAX_OFFSET 7
wuliqunyy 9:76a0b9f29a2d 1498 #define NV_RPM_MAX_LENGTH 9
wuliqunyy 9:76a0b9f29a2d 1499 #define NV_RPM_MAX_MASK 0xFF80
wuliqunyy 9:76a0b9f29a2d 1500
wuliqunyy 15:83bbc18cccbc 1501 #define NV_SPD_MAX_ADDRESS 0x081C
wuliqunyy 9:76a0b9f29a2d 1502 #define NV_SPD_MAX_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1503 #define NV_SPD_MAX_LENGTH 7
wuliqunyy 9:76a0b9f29a2d 1504 #define NV_SPD_MAX_MASK 0x007F
wuliqunyy 9:76a0b9f29a2d 1505
wuliqunyy 15:83bbc18cccbc 1506 #define NV_RPM_MIN_ADDRESS 0x081A
wuliqunyy 9:76a0b9f29a2d 1507 #define NV_RPM_MIN_OFFSET 7
wuliqunyy 9:76a0b9f29a2d 1508 #define NV_RPM_MIN_LENGTH 9
wuliqunyy 9:76a0b9f29a2d 1509 #define NV_RPM_MIN_MASK 0xFF80
wuliqunyy 9:76a0b9f29a2d 1510
wuliqunyy 15:83bbc18cccbc 1511 #define NV_SPD_MIN_ADDRESS 0x081A
wuliqunyy 5:daab0e0e67e2 1512 #define NV_SPD_MIN_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1513 #define NV_SPD_MIN_LENGTH 7
wuliqunyy 9:76a0b9f29a2d 1514 #define NV_SPD_MIN_MASK 0x007F
wuliqunyy 5:daab0e0e67e2 1515
wuliqunyy 15:83bbc18cccbc 1516 #define NV_DUTY_RAMPING_ADDRESS 0x0818
wuliqunyy 5:daab0e0e67e2 1517 #define NV_DUTY_RAMPING_OFFSET 15
wuliqunyy 5:daab0e0e67e2 1518 #define NV_DUTY_RAMPING_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1519 #define NV_DUTY_RAMPING_MASK 0x8000
wuliqunyy 5:daab0e0e67e2 1520
wuliqunyy 15:83bbc18cccbc 1521 #define NV_ILIM_RAMPING_ADDRESS 0x0818
wuliqunyy 5:daab0e0e67e2 1522 #define NV_ILIM_RAMPING_OFFSET 14
wuliqunyy 5:daab0e0e67e2 1523 #define NV_ILIM_RAMPING_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1524 #define NV_ILIM_RAMPING_MASK 0x4000
wuliqunyy 5:daab0e0e67e2 1525
wuliqunyy 15:83bbc18cccbc 1526 #define NV_DC_OPENLOOP_SR_ADDRESS 0x0818
wuliqunyy 9:76a0b9f29a2d 1527 #define NV_DC_OPENLOOP_SR_OFFSET 12
wuliqunyy 9:76a0b9f29a2d 1528 #define NV_DC_OPENLOOP_SR_LENGTH 2
wuliqunyy 9:76a0b9f29a2d 1529 #define NV_DC_OPENLOOP_SR_MASK 0x3000
wuliqunyy 5:daab0e0e67e2 1530
wuliqunyy 15:83bbc18cccbc 1531 #define NV_DC_OPENLOOP_INI_ADDRESS 0x0818
wuliqunyy 9:76a0b9f29a2d 1532 #define NV_DC_OPENLOOP_INI_OFFSET 10
wuliqunyy 5:daab0e0e67e2 1533 #define NV_DC_OPENLOOP_INI_LENGTH 2
wuliqunyy 9:76a0b9f29a2d 1534 #define NV_DC_OPENLOOP_INI_MASK 0x0C00
wuliqunyy 5:daab0e0e67e2 1535
wuliqunyy 15:83bbc18cccbc 1536 #define NV_SPD_KI_ADDRESS 0x0818
wuliqunyy 5:daab0e0e67e2 1537 #define NV_SPD_KI_OFFSET 7
wuliqunyy 5:daab0e0e67e2 1538 #define NV_SPD_KI_LENGTH 3
wuliqunyy 5:daab0e0e67e2 1539 #define NV_SPD_KI_MASK 0x0380
wuliqunyy 5:daab0e0e67e2 1540
wuliqunyy 15:83bbc18cccbc 1541 #define NV_SPD_KP_ADDRESS 0x0818
wuliqunyy 5:daab0e0e67e2 1542 #define NV_SPD_KP_OFFSET 4
wuliqunyy 5:daab0e0e67e2 1543 #define NV_SPD_KP_LENGTH 3
wuliqunyy 5:daab0e0e67e2 1544 #define NV_SPD_KP_MASK 0x0070
wuliqunyy 5:daab0e0e67e2 1545
wuliqunyy 15:83bbc18cccbc 1546 #define NV_SPD_HC_HYST_ADDRESS 0x0818
wuliqunyy 5:daab0e0e67e2 1547 #define NV_SPD_HC_HYST_OFFSET 2
wuliqunyy 5:daab0e0e67e2 1548 #define NV_SPD_HC_HYST_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1549 #define NV_SPD_HC_HYST_MASK 0x000C
wuliqunyy 5:daab0e0e67e2 1550
wuliqunyy 15:83bbc18cccbc 1551 #define NV_SPD_LC_HYST_ADDRESS 0x0818
wuliqunyy 5:daab0e0e67e2 1552 #define NV_SPD_LC_HYST_OFFSET 0
wuliqunyy 5:daab0e0e67e2 1553 #define NV_SPD_LC_HYST_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1554 #define NV_SPD_LC_HYST_MASK 0x0003
wuliqunyy 5:daab0e0e67e2 1555
wuliqunyy 15:83bbc18cccbc 1556 #define NV_SPD_BOOST_ADDRESS 0x0816
wuliqunyy 9:76a0b9f29a2d 1557 #define NV_SPD_BOOST_OFFSET 13
wuliqunyy 9:76a0b9f29a2d 1558 #define NV_SPD_BOOST_LENGTH 1
wuliqunyy 9:76a0b9f29a2d 1559 #define NV_SPD_BOOST_MASK 0x2000
wuliqunyy 5:daab0e0e67e2 1560
wuliqunyy 15:83bbc18cccbc 1561 #define NV_SPD_BOOST_SS_ADDRESS 0x0816
wuliqunyy 9:76a0b9f29a2d 1562 #define NV_SPD_BOOST_SS_OFFSET 12
wuliqunyy 9:76a0b9f29a2d 1563 #define NV_SPD_BOOST_SS_LENGTH 1
wuliqunyy 9:76a0b9f29a2d 1564 #define NV_SPD_BOOST_SS_MASK 0x1000
wuliqunyy 5:daab0e0e67e2 1565
wuliqunyy 15:83bbc18cccbc 1566 #define NV_SPD_CTRL_1_RESERVED_ADDRESS 0x0816
wuliqunyy 9:76a0b9f29a2d 1567 #define NV_SPD_CTRL_1_RESERVED_OFFSET 11
wuliqunyy 9:76a0b9f29a2d 1568 #define NV_SPD_CTRL_1_RESERVED_LENGTH 1
wuliqunyy 9:76a0b9f29a2d 1569 #define NV_SPD_CTRL_1_RESERVED_MASK 0x0800
wuliqunyy 5:daab0e0e67e2 1570
wuliqunyy 15:83bbc18cccbc 1571 #define NV_SPD_LOOP_MODE_ADDRESS 0x0816
wuliqunyy 5:daab0e0e67e2 1572 #define NV_SPD_LOOP_MODE_OFFSET 10
wuliqunyy 5:daab0e0e67e2 1573 #define NV_SPD_LOOP_MODE_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1574 #define NV_SPD_LOOP_MODE_MASK 0x0400
wuliqunyy 5:daab0e0e67e2 1575
wuliqunyy 15:83bbc18cccbc 1576 #define NV_RPM_LC_ADDRESS 0x0816
wuliqunyy 5:daab0e0e67e2 1577 #define NV_RPM_LC_OFFSET 9
wuliqunyy 5:daab0e0e67e2 1578 #define NV_RPM_LC_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1579 #define NV_RPM_LC_MASK 0x0200
wuliqunyy 5:daab0e0e67e2 1580
wuliqunyy 15:83bbc18cccbc 1581 #define NV_RPM_HC_ADDRESS 0x0816
wuliqunyy 5:daab0e0e67e2 1582 #define NV_RPM_HC_OFFSET 8
wuliqunyy 5:daab0e0e67e2 1583 #define NV_RPM_HC_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1584 #define NV_RPM_HC_MASK 0x0100
wuliqunyy 5:daab0e0e67e2 1585
wuliqunyy 15:83bbc18cccbc 1586 #define NV_SPD_LC_VAL_ADDRESS 0x0816
wuliqunyy 5:daab0e0e67e2 1587 #define NV_SPD_LC_VAL_OFFSET 6
wuliqunyy 5:daab0e0e67e2 1588 #define NV_SPD_LC_VAL_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1589 #define NV_SPD_LC_VAL_MASK 0x00C0
wuliqunyy 5:daab0e0e67e2 1590
wuliqunyy 15:83bbc18cccbc 1591 #define NV_SPD_HC_VAL_ADDRESS 0x0816
wuliqunyy 5:daab0e0e67e2 1592 #define NV_SPD_HC_VAL_OFFSET 4
wuliqunyy 5:daab0e0e67e2 1593 #define NV_SPD_HC_VAL_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1594 #define NV_SPD_HC_VAL_MASK 0x0030
wuliqunyy 5:daab0e0e67e2 1595
wuliqunyy 15:83bbc18cccbc 1596 #define NV_CURVE_MODE_ADDRESS 0x0816
wuliqunyy 5:daab0e0e67e2 1597 #define NV_CURVE_MODE_OFFSET 2
wuliqunyy 5:daab0e0e67e2 1598 #define NV_CURVE_MODE_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1599 #define NV_CURVE_MODE_MASK 0x000C
wuliqunyy 5:daab0e0e67e2 1600
wuliqunyy 15:83bbc18cccbc 1601 #define NV_SPD_TICK_ADDRESS 0x0816
wuliqunyy 9:76a0b9f29a2d 1602 #define NV_SPD_TICK_OFFSET 0
wuliqunyy 9:76a0b9f29a2d 1603 #define NV_SPD_TICK_LENGTH 2
wuliqunyy 9:76a0b9f29a2d 1604 #define NV_SPD_TICK_MASK 0x0003
wuliqunyy 5:daab0e0e67e2 1605
wuliqunyy 15:83bbc18cccbc 1606 #define NV_MIN_EHP_RESERVED_ADDRESS 0x0814
wuliqunyy 5:daab0e0e67e2 1607 #define NV_MIN_EHP_RESERVED_OFFSET 15
wuliqunyy 5:daab0e0e67e2 1608 #define NV_MIN_EHP_RESERVED_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1609 #define NV_MIN_EHP_RESERVED_MASK 0x8000
wuliqunyy 5:daab0e0e67e2 1610
wuliqunyy 15:83bbc18cccbc 1611 #define NV_EHP_TIMER_PRESCALER_ADDRESS 0x0814
wuliqunyy 5:daab0e0e67e2 1612 #define NV_EHP_TIMER_PRESCALER_OFFSET 13
wuliqunyy 5:daab0e0e67e2 1613 #define NV_EHP_TIMER_PRESCALER_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1614 #define NV_EHP_TIMER_PRESCALER_MASK 0x6000
wuliqunyy 5:daab0e0e67e2 1615
wuliqunyy 15:83bbc18cccbc 1616 #define NV_EHP_FULL_RANGE_ADDRESS 0x0814
wuliqunyy 5:daab0e0e67e2 1617 #define NV_EHP_FULL_RANGE_OFFSET 0
wuliqunyy 5:daab0e0e67e2 1618 #define NV_EHP_FULL_RANGE_LENGTH 13
wuliqunyy 5:daab0e0e67e2 1619 #define NV_EHP_FULL_RANGE_MASK 0x1FFF
wuliqunyy 5:daab0e0e67e2 1620
wuliqunyy 20:26e934452728 1621 #define NV_POSITION_FLAT_TIME_ADDRESS 0x0812
wuliqunyy 20:26e934452728 1622 #define NV_POSITION_FLAT_TIME_OFFSET 6
wuliqunyy 20:26e934452728 1623 #define NV_POSITION_FLAT_TIME_LENGTH 5
wuliqunyy 20:26e934452728 1624 #define NV_POSITION_FLAT_TIME_MASK 0x07C0
wuliqunyy 20:26e934452728 1625
wuliqunyy 20:26e934452728 1626 #define NV_START_UP_FLAT_TIME_ADDRESS 0x0812
wuliqunyy 20:26e934452728 1627 #define NV_START_UP_FLAT_TIME_OFFSET 0
wuliqunyy 20:26e934452728 1628 #define NV_START_UP_FLAT_TIME_LENGTH 6
wuliqunyy 20:26e934452728 1629 #define NV_START_UP_FLAT_TIME_MASK 0x003F
wuliqunyy 20:26e934452728 1630
wuliqunyy 20:26e934452728 1631 #define NV_BEMF_SMALL_THRES_ADDRESS 0x0810
wuliqunyy 20:26e934452728 1632 #define NV_BEMF_SMALL_THRES_OFFSET 0
wuliqunyy 20:26e934452728 1633 #define NV_BEMF_SMALL_THRES_LENGTH 4
wuliqunyy 20:26e934452728 1634 #define NV_BEMF_SMALL_THRES_MASK 0x000F
wuliqunyy 5:daab0e0e67e2 1635
wuliqunyy 15:83bbc18cccbc 1636 #define NV_QUICK_START_ADDRESS 0x080E
wuliqunyy 5:daab0e0e67e2 1637 #define NV_QUICK_START_OFFSET 15
wuliqunyy 5:daab0e0e67e2 1638 #define NV_QUICK_START_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1639 #define NV_QUICK_START_MASK 0x8000
wuliqunyy 5:daab0e0e67e2 1640
wuliqunyy 15:83bbc18cccbc 1641 #define NV_WIND_START_ADDRESS 0x080E
wuliqunyy 5:daab0e0e67e2 1642 #define NV_WIND_START_OFFSET 14
wuliqunyy 5:daab0e0e67e2 1643 #define NV_WIND_START_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1644 #define NV_WIND_START_MASK 0x4000
wuliqunyy 5:daab0e0e67e2 1645
wuliqunyy 15:83bbc18cccbc 1646 #define NV_SOFT_NUM_STEP_ADDRESS 0x080E
wuliqunyy 20:26e934452728 1647 #define NV_SOFT_NUM_STEP_OFFSET 8
wuliqunyy 5:daab0e0e67e2 1648 #define NV_SOFT_NUM_STEP_LENGTH 3
wuliqunyy 20:26e934452728 1649 #define NV_SOFT_NUM_STEP_MASK 0x0700
wuliqunyy 5:daab0e0e67e2 1650
wuliqunyy 15:83bbc18cccbc 1651 #define NV_WIND_WINDOW_ADDRESS 0x080E
wuliqunyy 20:26e934452728 1652 #define NV_WIND_WINDOW_OFFSET 4
wuliqunyy 20:26e934452728 1653 #define NV_WIND_WINDOW_LENGTH 4
wuliqunyy 20:26e934452728 1654 #define NV_WIND_WINDOW_MASK 0x00F0
wuliqunyy 5:daab0e0e67e2 1655
wuliqunyy 15:83bbc18cccbc 1656 #define NV_BRAKE_WINDOW_ADDRESS 0x080E
wuliqunyy 5:daab0e0e67e2 1657 #define NV_BRAKE_WINDOW_OFFSET 0
wuliqunyy 20:26e934452728 1658 #define NV_BRAKE_WINDOW_LENGTH 4
wuliqunyy 20:26e934452728 1659 #define NV_BRAKE_WINDOW_MASK 0x000F
wuliqunyy 5:daab0e0e67e2 1660
wuliqunyy 15:83bbc18cccbc 1661 #define NV_SINGLE_PULSE_START_ADDRESS 0x080C
wuliqunyy 5:daab0e0e67e2 1662 #define NV_SINGLE_PULSE_START_OFFSET 15
wuliqunyy 5:daab0e0e67e2 1663 #define NV_SINGLE_PULSE_START_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1664 #define NV_SINGLE_PULSE_START_MASK 0x8000
wuliqunyy 5:daab0e0e67e2 1665
wuliqunyy 15:83bbc18cccbc 1666 #define NV_LONG_START_ADDRESS 0x080C
wuliqunyy 5:daab0e0e67e2 1667 #define NV_LONG_START_OFFSET 14
wuliqunyy 5:daab0e0e67e2 1668 #define NV_LONG_START_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1669 #define NV_LONG_START_MASK 0x4000
wuliqunyy 5:daab0e0e67e2 1670
wuliqunyy 15:83bbc18cccbc 1671 #define NV_SOFT_START_ADDRESS 0x080C
wuliqunyy 5:daab0e0e67e2 1672 #define NV_SOFT_START_OFFSET 13
wuliqunyy 5:daab0e0e67e2 1673 #define NV_SOFT_START_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1674 #define NV_SOFT_START_MASK 0x2000
wuliqunyy 5:daab0e0e67e2 1675
wuliqunyy 15:83bbc18cccbc 1676 #define NV_COMM_START_NUM_ADDRESS 0x080C
wuliqunyy 5:daab0e0e67e2 1677 #define NV_COMM_START_NUM_OFFSET 11
wuliqunyy 5:daab0e0e67e2 1678 #define NV_COMM_START_NUM_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1679 #define NV_COMM_START_NUM_MASK 0x1800
wuliqunyy 5:daab0e0e67e2 1680
wuliqunyy 15:83bbc18cccbc 1681 #define NV_START_DUTY_ADDRESS 0x080C
wuliqunyy 5:daab0e0e67e2 1682 #define NV_START_DUTY_OFFSET 9
wuliqunyy 5:daab0e0e67e2 1683 #define NV_START_DUTY_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1684 #define NV_START_DUTY_MASK 0x0600
wuliqunyy 5:daab0e0e67e2 1685
wuliqunyy 15:83bbc18cccbc 1686 #define NV_SOFT_STEP_SIZE_ADDRESS 0x080C
wuliqunyy 5:daab0e0e67e2 1687 #define NV_SOFT_STEP_SIZE_OFFSET 6
wuliqunyy 5:daab0e0e67e2 1688 #define NV_SOFT_STEP_SIZE_LENGTH 3
wuliqunyy 5:daab0e0e67e2 1689 #define NV_SOFT_STEP_SIZE_MASK 0x01C0
wuliqunyy 5:daab0e0e67e2 1690
wuliqunyy 15:83bbc18cccbc 1691 #define NV_START_UP_TIME_ADDRESS 0x080C
wuliqunyy 5:daab0e0e67e2 1692 #define NV_START_UP_TIME_OFFSET 0
wuliqunyy 5:daab0e0e67e2 1693 #define NV_START_UP_TIME_LENGTH 6
wuliqunyy 5:daab0e0e67e2 1694 #define NV_START_UP_TIME_MASK 0x003F
wuliqunyy 5:daab0e0e67e2 1695
wuliqunyy 15:83bbc18cccbc 1696 #define NV_POSITION_DUTY_ADDRESS 0x080A
wuliqunyy 5:daab0e0e67e2 1697 #define NV_POSITION_DUTY_OFFSET 14
wuliqunyy 5:daab0e0e67e2 1698 #define NV_POSITION_DUTY_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1699 #define NV_POSITION_DUTY_MASK 0xC000
wuliqunyy 5:daab0e0e67e2 1700
wuliqunyy 15:83bbc18cccbc 1701 #define NV_POSITION_PULSE_TIME_ADDRESS 0x080A
wuliqunyy 5:daab0e0e67e2 1702 #define NV_POSITION_PULSE_TIME_OFFSET 9
wuliqunyy 5:daab0e0e67e2 1703 #define NV_POSITION_PULSE_TIME_LENGTH 5
wuliqunyy 5:daab0e0e67e2 1704 #define NV_POSITION_PULSE_TIME_MASK 0x3E00
wuliqunyy 5:daab0e0e67e2 1705
wuliqunyy 15:83bbc18cccbc 1706 #define NV_POSI_MAJO_VOTE_ADDRESS 0x080A
wuliqunyy 5:daab0e0e67e2 1707 #define NV_POSI_MAJO_VOTE_OFFSET 8
wuliqunyy 5:daab0e0e67e2 1708 #define NV_POSI_MAJO_VOTE_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1709 #define NV_POSI_MAJO_VOTE_MASK 0x0100
wuliqunyy 5:daab0e0e67e2 1710
wuliqunyy 15:83bbc18cccbc 1711 #define NV_ANTI_COG_ADDRESS 0x080A
wuliqunyy 5:daab0e0e67e2 1712 #define NV_ANTI_COG_OFFSET 7
wuliqunyy 5:daab0e0e67e2 1713 #define NV_ANTI_COG_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1714 #define NV_ANTI_COG_MASK 0x0080
wuliqunyy 5:daab0e0e67e2 1715
wuliqunyy 15:83bbc18cccbc 1716 #define NV_POSITION_RESERVED_ADDRESS 0x080A
wuliqunyy 5:daab0e0e67e2 1717 #define NV_POSITION_RESERVED_OFFSET 6
wuliqunyy 5:daab0e0e67e2 1718 #define NV_POSITION_RESERVED_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1719 #define NV_POSITION_RESERVED_MASK 0x0040
wuliqunyy 5:daab0e0e67e2 1720
wuliqunyy 15:83bbc18cccbc 1721 #define NV_FIRST_NON_FLAT_TIME_ADDRESS 0x080A
wuliqunyy 5:daab0e0e67e2 1722 #define NV_FIRST_NON_FLAT_TIME_OFFSET 0
wuliqunyy 5:daab0e0e67e2 1723 #define NV_FIRST_NON_FLAT_TIME_LENGTH 6
wuliqunyy 5:daab0e0e67e2 1724 #define NV_FIRST_NON_FLAT_TIME_MASK 0x003F
wuliqunyy 5:daab0e0e67e2 1725
wuliqunyy 15:83bbc18cccbc 1726 #define NV_ROUGH_REG_ADDRESS 0x0808
wuliqunyy 15:83bbc18cccbc 1727 #define NV_ROUGH_REG_OFFSET 14
wuliqunyy 15:83bbc18cccbc 1728 #define NV_ROUGH_REG_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1729 #define NV_ROUGH_REG_MASK 0x4000
wuliqunyy 5:daab0e0e67e2 1730
wuliqunyy 15:83bbc18cccbc 1731 #define NV_ADC_FLAT_FILT_DEP_ADDRESS 0x0808
wuliqunyy 5:daab0e0e67e2 1732 #define NV_ADC_FLAT_FILT_DEP_OFFSET 12
wuliqunyy 5:daab0e0e67e2 1733 #define NV_ADC_FLAT_FILT_DEP_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1734 #define NV_ADC_FLAT_FILT_DEP_MASK 0x3000
wuliqunyy 5:daab0e0e67e2 1735
wuliqunyy 15:83bbc18cccbc 1736 #define NV_EHP_REG_GAIN_ADDRESS 0x0808
wuliqunyy 5:daab0e0e67e2 1737 #define NV_EHP_REG_GAIN_OFFSET 10
wuliqunyy 5:daab0e0e67e2 1738 #define NV_EHP_REG_GAIN_LENGTH 2
wuliqunyy 5:daab0e0e67e2 1739 #define NV_EHP_REG_GAIN_MASK 0x0C00
wuliqunyy 5:daab0e0e67e2 1740
wuliqunyy 15:83bbc18cccbc 1741 #define NV_ROUGH_GAIN_ADDRESS 0x0808
wuliqunyy 5:daab0e0e67e2 1742 #define NV_ROUGH_GAIN_OFFSET 9
wuliqunyy 5:daab0e0e67e2 1743 #define NV_ROUGH_GAIN_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1744 #define NV_ROUGH_GAIN_MASK 0x0200
wuliqunyy 5:daab0e0e67e2 1745
wuliqunyy 15:83bbc18cccbc 1746 #define NV_PWM_MOD_ADDRESS 0x0808
wuliqunyy 5:daab0e0e67e2 1747 #define NV_PWM_MOD_OFFSET 8
wuliqunyy 5:daab0e0e67e2 1748 #define NV_PWM_MOD_LENGTH 1
wuliqunyy 5:daab0e0e67e2 1749 #define NV_PWM_MOD_MASK 0x0100
wuliqunyy 5:daab0e0e67e2 1750
wuliqunyy 15:83bbc18cccbc 1751 #define NV_PWM_50K_ADDRESS 0x0808
wuliqunyy 15:83bbc18cccbc 1752 #define NV_PWM_50K_OFFSET 7
wuliqunyy 15:83bbc18cccbc 1753 #define NV_PWM_50K_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1754 #define NV_PWM_50K_MASK 0x0080
wuliqunyy 15:83bbc18cccbc 1755
wuliqunyy 15:83bbc18cccbc 1756 #define NV_SS_RISE_MODE_ADDRESS 0x0808
wuliqunyy 15:83bbc18cccbc 1757 #define NV_SS_RISE_MODE_OFFSET 3
wuliqunyy 15:83bbc18cccbc 1758 #define NV_SS_RISE_MODE_LENGTH 3
wuliqunyy 15:83bbc18cccbc 1759 #define NV_SS_RISE_MODE_MASK 0x0038
wuliqunyy 15:83bbc18cccbc 1760
wuliqunyy 15:83bbc18cccbc 1761 #define NV_SS_FALL_MODE_ADDRESS 0x0808
wuliqunyy 15:83bbc18cccbc 1762 #define NV_SS_FALL_MODE_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1763 #define NV_SS_FALL_MODE_LENGTH 3
wuliqunyy 15:83bbc18cccbc 1764 #define NV_SS_FALL_MODE_MASK 0x0007
wuliqunyy 15:83bbc18cccbc 1765
wuliqunyy 15:83bbc18cccbc 1766 #define NV_FG_SLOPECTRL_ADDRESS 0x0804
wuliqunyy 15:83bbc18cccbc 1767 #define NV_FG_SLOPECTRL_OFFSET 14
wuliqunyy 15:83bbc18cccbc 1768 #define NV_FG_SLOPECTRL_LENGTH 2
wuliqunyy 15:83bbc18cccbc 1769 #define NV_FG_SLOPECTRL_MASK 0xC000
wuliqunyy 15:83bbc18cccbc 1770
wuliqunyy 15:83bbc18cccbc 1771 #define NV_LVIO_SLOPECTRL_ADDRESS 0x0804
wuliqunyy 15:83bbc18cccbc 1772 #define NV_LVIO_SLOPECTRL_OFFSET 12
wuliqunyy 15:83bbc18cccbc 1773 #define NV_LVIO_SLOPECTRL_LENGTH 2
wuliqunyy 15:83bbc18cccbc 1774 #define NV_LVIO_SLOPECTRL_MASK 0x3000
wuliqunyy 15:83bbc18cccbc 1775
wuliqunyy 15:83bbc18cccbc 1776 #define NV_HVIO_SLOPECTRL_ADDRESS 0x0804
wuliqunyy 15:83bbc18cccbc 1777 #define NV_HVIO_SLOPECTRL_OFFSET 10
wuliqunyy 15:83bbc18cccbc 1778 #define NV_HVIO_SLOPECTRL_LENGTH 2
wuliqunyy 15:83bbc18cccbc 1779 #define NV_HVIO_SLOPECTRL_MASK 0x0C00
wuliqunyy 5:daab0e0e67e2 1780
wuliqunyy 15:83bbc18cccbc 1781 #define NV_I2C_SLAVE_ADDRESS_ADDRESS 0x0804
wuliqunyy 15:83bbc18cccbc 1782 #define NV_I2C_SLAVE_ADDRESS_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1783 #define NV_I2C_SLAVE_ADDRESS_LENGTH 7
wuliqunyy 15:83bbc18cccbc 1784 #define NV_I2C_SLAVE_ADDRESS_MASK 0x007F
wuliqunyy 15:83bbc18cccbc 1785
wuliqunyy 15:83bbc18cccbc 1786 #define NV_I2C_DEBUGGING_DISABLED_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1787 #define NV_I2C_DEBUGGING_DISABLED_OFFSET 15
wuliqunyy 15:83bbc18cccbc 1788 #define NV_I2C_DEBUGGING_DISABLED_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1789 #define NV_I2C_DEBUGGING_DISABLED_MASK 0x8000
wuliqunyy 15:83bbc18cccbc 1790
wuliqunyy 15:83bbc18cccbc 1791 #define NV_I2C_TOGGLE_ENTRY_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1792 #define NV_I2C_TOGGLE_ENTRY_OFFSET 14
wuliqunyy 15:83bbc18cccbc 1793 #define NV_I2C_TOGGLE_ENTRY_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1794 #define NV_I2C_TOGGLE_ENTRY_MASK 0x4000
wuliqunyy 15:83bbc18cccbc 1795
wuliqunyy 15:83bbc18cccbc 1796 #define NV_HVIO_PU_PD_CFG_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1797 #define NV_HVIO_PU_PD_CFG_OFFSET 12
wuliqunyy 15:83bbc18cccbc 1798 #define NV_HVIO_PU_PD_CFG_LENGTH 2
wuliqunyy 15:83bbc18cccbc 1799 #define NV_HVIO_PU_PD_CFG_MASK 0x3000
wuliqunyy 15:83bbc18cccbc 1800
wuliqunyy 15:83bbc18cccbc 1801 #define NV_LVIO_PU_PD_CFG_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1802 #define NV_LVIO_PU_PD_CFG_OFFSET 10
wuliqunyy 15:83bbc18cccbc 1803 #define NV_LVIO_PU_PD_CFG_LENGTH 2
wuliqunyy 15:83bbc18cccbc 1804 #define NV_LVIO_PU_PD_CFG_MASK 0x0C00
wuliqunyy 15:83bbc18cccbc 1805
wuliqunyy 15:83bbc18cccbc 1806 #define NV_PWM_PU_PD_CFG_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1807 #define NV_PWM_PU_PD_CFG_OFFSET 8
wuliqunyy 15:83bbc18cccbc 1808 #define NV_PWM_PU_PD_CFG_LENGTH 2
wuliqunyy 15:83bbc18cccbc 1809 #define NV_PWM_PU_PD_CFG_MASK 0x0300
wuliqunyy 5:daab0e0e67e2 1810
wuliqunyy 15:83bbc18cccbc 1811 #define NV_SLEEP_MODE_ENABLED_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1812 #define NV_SLEEP_MODE_ENABLED_OFFSET 7
wuliqunyy 15:83bbc18cccbc 1813 #define NV_SLEEP_MODE_ENABLED_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1814 #define NV_SLEEP_MODE_ENABLED_MASK 0x0080
wuliqunyy 15:83bbc18cccbc 1815
wuliqunyy 15:83bbc18cccbc 1816 #define NV_SLEEP_MODE_POLARITY_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1817 #define NV_SLEEP_MODE_POLARITY_OFFSET 6
wuliqunyy 15:83bbc18cccbc 1818 #define NV_SLEEP_MODE_POLARITY_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1819 #define NV_SLEEP_MODE_POLARITY_MASK 0x0040
wuliqunyy 15:83bbc18cccbc 1820
wuliqunyy 15:83bbc18cccbc 1821 #define NV_DIAG_MODE_CFG_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1822 #define NV_DIAG_MODE_CFG_OFFSET 4
wuliqunyy 15:83bbc18cccbc 1823 #define NV_DIAG_MODE_CFG_LENGTH 2
wuliqunyy 15:83bbc18cccbc 1824 #define NV_DIAG_MODE_CFG_MASK 0x0030
wuliqunyy 15:83bbc18cccbc 1825
wuliqunyy 15:83bbc18cccbc 1826 #define NV_FG_FILTERED_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1827 #define NV_FG_FILTERED_OFFSET 3
wuliqunyy 15:83bbc18cccbc 1828 #define NV_FG_FILTERED_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1829 #define NV_FG_FILTERED_MASK 0x0008
wuliqunyy 15:83bbc18cccbc 1830
wuliqunyy 15:83bbc18cccbc 1831 #define NV_FG_SPEED_ADDRESS 0x0802
wuliqunyy 15:83bbc18cccbc 1832 #define NV_FG_SPEED_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1833 #define NV_FG_SPEED_LENGTH 3
wuliqunyy 15:83bbc18cccbc 1834 #define NV_FG_SPEED_MASK 0x0007
wuliqunyy 15:83bbc18cccbc 1835
wuliqunyy 15:83bbc18cccbc 1836 #define NV_FG_RD_ACTIVE_STATE_ADDRESS 0x0800
wuliqunyy 15:83bbc18cccbc 1837 #define NV_FG_RD_ACTIVE_STATE_OFFSET 13
wuliqunyy 15:83bbc18cccbc 1838 #define NV_FG_RD_ACTIVE_STATE_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1839 #define NV_FG_RD_ACTIVE_STATE_MASK 0x2000
wuliqunyy 5:daab0e0e67e2 1840
wuliqunyy 15:83bbc18cccbc 1841 #define NV_FG_RD_INIT_LOW_ADDRESS 0x0800
wuliqunyy 15:83bbc18cccbc 1842 #define NV_FG_RD_INIT_LOW_OFFSET 12
wuliqunyy 15:83bbc18cccbc 1843 #define NV_FG_RD_INIT_LOW_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1844 #define NV_FG_RD_INIT_LOW_MASK 0x1000
wuliqunyy 15:83bbc18cccbc 1845
wuliqunyy 15:83bbc18cccbc 1846 #define NV_SELECT_RD_FGB_ADDRESS 0x0800
wuliqunyy 15:83bbc18cccbc 1847 #define NV_SELECT_RD_FGB_OFFSET 11
wuliqunyy 15:83bbc18cccbc 1848 #define NV_SELECT_RD_FGB_LENGTH 1
wuliqunyy 15:83bbc18cccbc 1849 #define NV_SELECT_RD_FGB_MASK 0x0800
wuliqunyy 15:83bbc18cccbc 1850
wuliqunyy 15:83bbc18cccbc 1851 #define NV_HVIO_MODE_CFG_ADDRESS 0x0800
wuliqunyy 15:83bbc18cccbc 1852 #define NV_HVIO_MODE_CFG_OFFSET 8
wuliqunyy 15:83bbc18cccbc 1853 #define NV_HVIO_MODE_CFG_LENGTH 3
wuliqunyy 15:83bbc18cccbc 1854 #define NV_HVIO_MODE_CFG_MASK 0x0700
wuliqunyy 15:83bbc18cccbc 1855
wuliqunyy 15:83bbc18cccbc 1856 #define NV_LVIO_MODE_CFG_ADDRESS 0x0800
wuliqunyy 15:83bbc18cccbc 1857 #define NV_LVIO_MODE_CFG_OFFSET 5
wuliqunyy 15:83bbc18cccbc 1858 #define NV_LVIO_MODE_CFG_LENGTH 3
wuliqunyy 15:83bbc18cccbc 1859 #define NV_LVIO_MODE_CFG_MASK 0x00E0
wuliqunyy 15:83bbc18cccbc 1860
wuliqunyy 15:83bbc18cccbc 1861 #define NV_FG_MODE_CFG_ADDRESS 0x0800
wuliqunyy 15:83bbc18cccbc 1862 #define NV_FG_MODE_CFG_OFFSET 3
wuliqunyy 15:83bbc18cccbc 1863 #define NV_FG_MODE_CFG_LENGTH 2
wuliqunyy 15:83bbc18cccbc 1864 #define NV_FG_MODE_CFG_MASK 0x0018
wuliqunyy 15:83bbc18cccbc 1865
wuliqunyy 15:83bbc18cccbc 1866 #define NV_INPUT_MODE_CFG_ADDRESS 0x0800
wuliqunyy 15:83bbc18cccbc 1867 #define NV_INPUT_MODE_CFG_OFFSET 0
wuliqunyy 15:83bbc18cccbc 1868 #define NV_INPUT_MODE_CFG_LENGTH 3
wuliqunyy 15:83bbc18cccbc 1869 #define NV_INPUT_MODE_CFG_MASK 0x0007
wuliqunyy 5:daab0e0e67e2 1870
wuliqunyy 20:26e934452728 1871 #define RAM_PATCH_TRIM_0_ADDRESS 0x11E0
wuliqunyy 20:26e934452728 1872 #define RAM_PATCH_TRIM_0_OFFSET 0
wuliqunyy 20:26e934452728 1873 #define RAM_PATCH_TRIM_0_LENGTH 16
wuliqunyy 20:26e934452728 1874 #define RAM_PATCH_TRIM_0_MASK 0xFFFF
wuliqunyy 20:26e934452728 1875
wuliqunyy 20:26e934452728 1876 #define CRC_PATCH_3_ADDRESS 0x1096
wuliqunyy 20:26e934452728 1877 #define CRC_PATCH_3_OFFSET 8
wuliqunyy 20:26e934452728 1878 #define CRC_PATCH_3_LENGTH 8
wuliqunyy 20:26e934452728 1879 #define CRC_PATCH_3_MASK 0xFF00
wuliqunyy 20:26e934452728 1880
wuliqunyy 20:26e934452728 1881 #define CRC_PATCH_2_ADDRESS 0x1096
wuliqunyy 20:26e934452728 1882 #define CRC_PATCH_2_OFFSET 0
wuliqunyy 20:26e934452728 1883 #define CRC_PATCH_2_LENGTH 8
wuliqunyy 20:26e934452728 1884 #define CRC_PATCH_2_MASK 0x00FF
wuliqunyy 20:26e934452728 1885
wuliqunyy 20:26e934452728 1886 #define CRC_PATCH_1_ADDRESS 0x1094
wuliqunyy 20:26e934452728 1887 #define CRC_PATCH_1_OFFSET 8
wuliqunyy 20:26e934452728 1888 #define CRC_PATCH_1_LENGTH 8
wuliqunyy 20:26e934452728 1889 #define CRC_PATCH_1_MASK 0xFF00
wuliqunyy 20:26e934452728 1890
wuliqunyy 20:26e934452728 1891 #define CRC_PATCH_0_ADDRESS 0x1094
wuliqunyy 20:26e934452728 1892 #define CRC_PATCH_0_OFFSET 0
wuliqunyy 20:26e934452728 1893 #define CRC_PATCH_0_LENGTH 8
wuliqunyy 20:26e934452728 1894 #define CRC_PATCH_0_MASK 0x00FF
wuliqunyy 20:26e934452728 1895
wuliqunyy 20:26e934452728 1896 #define CRC_MLX_CALIBRATION_ADDRESS 0x1092
wuliqunyy 20:26e934452728 1897 #define CRC_MLX_CALIBRATION_OFFSET 8
wuliqunyy 20:26e934452728 1898 #define CRC_MLX_CALIBRATION_LENGTH 8
wuliqunyy 20:26e934452728 1899 #define CRC_MLX_CALIBRATION_MASK 0xFF00
wuliqunyy 20:26e934452728 1900
wuliqunyy 20:26e934452728 1901 #define MLX_CALIB_22_ADDRESS 0x1090
wuliqunyy 20:26e934452728 1902 #define MLX_CALIB_22_OFFSET 0
wuliqunyy 20:26e934452728 1903 #define MLX_CALIB_22_LENGTH 16
wuliqunyy 20:26e934452728 1904 #define MLX_CALIB_22_MASK 0xFFFF
wuliqunyy 20:26e934452728 1905
wuliqunyy 20:26e934452728 1906 #define MLX_CALIB_21_ADDRESS 0x108E
wuliqunyy 20:26e934452728 1907 #define MLX_CALIB_21_OFFSET 0
wuliqunyy 20:26e934452728 1908 #define MLX_CALIB_21_LENGTH 16
wuliqunyy 20:26e934452728 1909 #define MLX_CALIB_21_MASK 0xFFFF
wuliqunyy 20:26e934452728 1910
wuliqunyy 20:26e934452728 1911 #define MLX_CALIB_20_ADDRESS 0x108C
wuliqunyy 20:26e934452728 1912 #define MLX_CALIB_20_OFFSET 0
wuliqunyy 20:26e934452728 1913 #define MLX_CALIB_20_LENGTH 16
wuliqunyy 20:26e934452728 1914 #define MLX_CALIB_20_MASK 0xFFFF
wuliqunyy 20:26e934452728 1915
wuliqunyy 20:26e934452728 1916 #define MLX_CALIB_19_ADDRESS 0x108A
wuliqunyy 20:26e934452728 1917 #define MLX_CALIB_19_OFFSET 0
wuliqunyy 20:26e934452728 1918 #define MLX_CALIB_19_LENGTH 16
wuliqunyy 20:26e934452728 1919 #define MLX_CALIB_19_MASK 0xFFFF
wuliqunyy 20:26e934452728 1920
wuliqunyy 20:26e934452728 1921 #define MLX_CALIB_18_ADDRESS 0x1088
wuliqunyy 20:26e934452728 1922 #define MLX_CALIB_18_OFFSET 0
wuliqunyy 20:26e934452728 1923 #define MLX_CALIB_18_LENGTH 16
wuliqunyy 20:26e934452728 1924 #define MLX_CALIB_18_MASK 0xFFFF
wuliqunyy 20:26e934452728 1925
wuliqunyy 20:26e934452728 1926 #define MLX_CALIB_17_ADDRESS 0x1086
wuliqunyy 20:26e934452728 1927 #define MLX_CALIB_17_OFFSET 0
wuliqunyy 20:26e934452728 1928 #define MLX_CALIB_17_LENGTH 16
wuliqunyy 20:26e934452728 1929 #define MLX_CALIB_17_MASK 0xFFFF
wuliqunyy 20:26e934452728 1930
wuliqunyy 20:26e934452728 1931 #define MLX_CALIB_16_ADDRESS 0x1084
wuliqunyy 20:26e934452728 1932 #define MLX_CALIB_16_OFFSET 0
wuliqunyy 20:26e934452728 1933 #define MLX_CALIB_16_LENGTH 16
wuliqunyy 20:26e934452728 1934 #define MLX_CALIB_16_MASK 0xFFFF
wuliqunyy 20:26e934452728 1935
wuliqunyy 20:26e934452728 1936 #define MLX_CALIB_15_ADDRESS 0x1082
wuliqunyy 20:26e934452728 1937 #define MLX_CALIB_15_OFFSET 0
wuliqunyy 20:26e934452728 1938 #define MLX_CALIB_15_LENGTH 16
wuliqunyy 20:26e934452728 1939 #define MLX_CALIB_15_MASK 0xFFFF
wuliqunyy 20:26e934452728 1940
wuliqunyy 20:26e934452728 1941 #define MLX_CALIB_14_ADDRESS 0x1080
wuliqunyy 20:26e934452728 1942 #define MLX_CALIB_14_OFFSET 0
wuliqunyy 20:26e934452728 1943 #define MLX_CALIB_14_LENGTH 16
wuliqunyy 20:26e934452728 1944 #define MLX_CALIB_14_MASK 0xFFFF
wuliqunyy 20:26e934452728 1945
wuliqunyy 20:26e934452728 1946 #define MLX_CALIB_13_ADDRESS 0x107E
wuliqunyy 20:26e934452728 1947 #define MLX_CALIB_13_OFFSET 0
wuliqunyy 20:26e934452728 1948 #define MLX_CALIB_13_LENGTH 16
wuliqunyy 20:26e934452728 1949 #define MLX_CALIB_13_MASK 0xFFFF
wuliqunyy 20:26e934452728 1950
wuliqunyy 20:26e934452728 1951 #define MLX_CALIB_12_ADDRESS 0x107C
wuliqunyy 20:26e934452728 1952 #define MLX_CALIB_12_OFFSET 0
wuliqunyy 20:26e934452728 1953 #define MLX_CALIB_12_LENGTH 16
wuliqunyy 20:26e934452728 1954 #define MLX_CALIB_12_MASK 0xFFFF
wuliqunyy 20:26e934452728 1955
wuliqunyy 20:26e934452728 1956 #define MLX_CALIB_11_ADDRESS 0x107A
wuliqunyy 20:26e934452728 1957 #define MLX_CALIB_11_OFFSET 0
wuliqunyy 20:26e934452728 1958 #define MLX_CALIB_11_LENGTH 16
wuliqunyy 20:26e934452728 1959 #define MLX_CALIB_11_MASK 0xFFFF
wuliqunyy 20:26e934452728 1960
wuliqunyy 20:26e934452728 1961 #define MLX_CALIB_10_ADDRESS 0x1078
wuliqunyy 20:26e934452728 1962 #define MLX_CALIB_10_OFFSET 0
wuliqunyy 20:26e934452728 1963 #define MLX_CALIB_10_LENGTH 16
wuliqunyy 20:26e934452728 1964 #define MLX_CALIB_10_MASK 0xFFFF
wuliqunyy 20:26e934452728 1965
wuliqunyy 20:26e934452728 1966 #define MLX_CALIB_9_ADDRESS 0x1076
wuliqunyy 20:26e934452728 1967 #define MLX_CALIB_9_OFFSET 0
wuliqunyy 20:26e934452728 1968 #define MLX_CALIB_9_LENGTH 16
wuliqunyy 20:26e934452728 1969 #define MLX_CALIB_9_MASK 0xFFFF
wuliqunyy 20:26e934452728 1970
wuliqunyy 20:26e934452728 1971 #define MLX_CALIB_8_ADDRESS 0x1074
wuliqunyy 20:26e934452728 1972 #define MLX_CALIB_8_OFFSET 0
wuliqunyy 20:26e934452728 1973 #define MLX_CALIB_8_LENGTH 16
wuliqunyy 20:26e934452728 1974 #define MLX_CALIB_8_MASK 0xFFFF
wuliqunyy 20:26e934452728 1975
wuliqunyy 20:26e934452728 1976 #define MLX_CALIB_7_ADDRESS 0x1072
wuliqunyy 20:26e934452728 1977 #define MLX_CALIB_7_OFFSET 0
wuliqunyy 20:26e934452728 1978 #define MLX_CALIB_7_LENGTH 16
wuliqunyy 20:26e934452728 1979 #define MLX_CALIB_7_MASK 0xFFFF
wuliqunyy 20:26e934452728 1980
wuliqunyy 20:26e934452728 1981 #define MLX_CALIB_6_ADDRESS 0x1070
wuliqunyy 20:26e934452728 1982 #define MLX_CALIB_6_OFFSET 0
wuliqunyy 20:26e934452728 1983 #define MLX_CALIB_6_LENGTH 16
wuliqunyy 20:26e934452728 1984 #define MLX_CALIB_6_MASK 0xFFFF
wuliqunyy 20:26e934452728 1985
wuliqunyy 20:26e934452728 1986 #define MLX_CALIB_5_ADDRESS 0x106E
wuliqunyy 20:26e934452728 1987 #define MLX_CALIB_5_OFFSET 0
wuliqunyy 20:26e934452728 1988 #define MLX_CALIB_5_LENGTH 16
wuliqunyy 20:26e934452728 1989 #define MLX_CALIB_5_MASK 0xFFFF
wuliqunyy 20:26e934452728 1990
wuliqunyy 20:26e934452728 1991 #define MLX_CALIB_4_ADDRESS 0x106C
wuliqunyy 20:26e934452728 1992 #define MLX_CALIB_4_OFFSET 0
wuliqunyy 20:26e934452728 1993 #define MLX_CALIB_4_LENGTH 16
wuliqunyy 20:26e934452728 1994 #define MLX_CALIB_4_MASK 0xFFFF
wuliqunyy 20:26e934452728 1995
wuliqunyy 20:26e934452728 1996 #define MLX_CALIB_3_ADDRESS 0x106A
wuliqunyy 20:26e934452728 1997 #define MLX_CALIB_3_OFFSET 0
wuliqunyy 20:26e934452728 1998 #define MLX_CALIB_3_LENGTH 16
wuliqunyy 20:26e934452728 1999 #define MLX_CALIB_3_MASK 0xFFFF
wuliqunyy 20:26e934452728 2000
wuliqunyy 20:26e934452728 2001 #define MLX_CALIB_2_ADDRESS 0x1068
wuliqunyy 20:26e934452728 2002 #define MLX_CALIB_2_OFFSET 0
wuliqunyy 20:26e934452728 2003 #define MLX_CALIB_2_LENGTH 16
wuliqunyy 20:26e934452728 2004 #define MLX_CALIB_2_MASK 0xFFFF
wuliqunyy 20:26e934452728 2005
wuliqunyy 20:26e934452728 2006 #define MAX_CLIM_USER_ADDRESS 0x1066
wuliqunyy 20:26e934452728 2007 #define MAX_CLIM_USER_OFFSET 0
wuliqunyy 20:26e934452728 2008 #define MAX_CLIM_USER_LENGTH 8
wuliqunyy 20:26e934452728 2009 #define MAX_CLIM_USER_MASK 0x00FF
wuliqunyy 20:26e934452728 2010
wuliqunyy 20:26e934452728 2011 #define CLIM_GAIN_ADDRESS 0x1064
wuliqunyy 20:26e934452728 2012 #define CLIM_GAIN_OFFSET 8
wuliqunyy 20:26e934452728 2013 #define CLIM_GAIN_LENGTH 8
wuliqunyy 20:26e934452728 2014 #define CLIM_GAIN_MASK 0xFF00
wuliqunyy 20:26e934452728 2015
wuliqunyy 20:26e934452728 2016 #define CLIM_OFFSET_ADDRESS 0x1064
wuliqunyy 20:26e934452728 2017 #define CLIM_OFFSET_OFFSET 0
wuliqunyy 20:26e934452728 2018 #define CLIM_OFFSET_LENGTH 8
wuliqunyy 20:26e934452728 2019 #define CLIM_OFFSET_MASK 0x00FF
wuliqunyy 20:26e934452728 2020
wuliqunyy 20:26e934452728 2021 #define CMD_INTERPRETER_DATA_ADDRESS 0x1062
wuliqunyy 20:26e934452728 2022 #define CMD_INTERPRETER_DATA_OFFSET 0
wuliqunyy 20:26e934452728 2023 #define CMD_INTERPRETER_DATA_LENGTH 16
wuliqunyy 20:26e934452728 2024 #define CMD_INTERPRETER_DATA_MASK 0xFFFF
wuliqunyy 20:26e934452728 2025
wuliqunyy 20:26e934452728 2026 #define CMD_INTERPRETER_ADDRESS_ADDRESS 0x1060
wuliqunyy 20:26e934452728 2027 #define CMD_INTERPRETER_ADDRESS_OFFSET 0
wuliqunyy 20:26e934452728 2028 #define CMD_INTERPRETER_ADDRESS_LENGTH 16
wuliqunyy 20:26e934452728 2029 #define CMD_INTERPRETER_ADDRESS_MASK 0xFFFF
wuliqunyy 20:26e934452728 2030
wuliqunyy 20:26e934452728 2031 #define MLX_CALIB_RECALL_ADDRESS 0x105E
wuliqunyy 20:26e934452728 2032 #define MLX_CALIB_RECALL_OFFSET 0
wuliqunyy 20:26e934452728 2033 #define MLX_CALIB_RECALL_LENGTH 4
wuliqunyy 20:26e934452728 2034 #define MLX_CALIB_RECALL_MASK 0x000F
wuliqunyy 20:26e934452728 2035
wuliqunyy 20:26e934452728 2036 #define PATCH_EXT_RECALL_ADDRESS 0x105C
wuliqunyy 20:26e934452728 2037 #define PATCH_EXT_RECALL_OFFSET 12
wuliqunyy 20:26e934452728 2038 #define PATCH_EXT_RECALL_LENGTH 4
wuliqunyy 20:26e934452728 2039 #define PATCH_EXT_RECALL_MASK 0xF000
wuliqunyy 20:26e934452728 2040
wuliqunyy 20:26e934452728 2041 #define APP_TRIM_RECALL_ADDRESS 0x105C
wuliqunyy 20:26e934452728 2042 #define APP_TRIM_RECALL_OFFSET 8
wuliqunyy 20:26e934452728 2043 #define APP_TRIM_RECALL_LENGTH 4
wuliqunyy 20:26e934452728 2044 #define APP_TRIM_RECALL_MASK 0x0F00
wuliqunyy 20:26e934452728 2045
wuliqunyy 20:26e934452728 2046 #define TRIM_SOURCE_ADDRESS 0x105C
wuliqunyy 20:26e934452728 2047 #define TRIM_SOURCE_OFFSET 4
wuliqunyy 20:26e934452728 2048 #define TRIM_SOURCE_LENGTH 4
wuliqunyy 20:26e934452728 2049 #define TRIM_SOURCE_MASK 0x00F0
wuliqunyy 20:26e934452728 2050
wuliqunyy 20:26e934452728 2051 #define PATCH_SOURCE_ADDRESS 0x105C
wuliqunyy 20:26e934452728 2052 #define PATCH_SOURCE_OFFSET 0
wuliqunyy 20:26e934452728 2053 #define PATCH_SOURCE_LENGTH 4
wuliqunyy 20:26e934452728 2054 #define PATCH_SOURCE_MASK 0x000F
wuliqunyy 20:26e934452728 2055
wuliqunyy 20:26e934452728 2056 #define MTP_USE_ZONE_0_ADDRESS 0x105A
wuliqunyy 20:26e934452728 2057 #define MTP_USE_ZONE_0_OFFSET 8
wuliqunyy 20:26e934452728 2058 #define MTP_USE_ZONE_0_LENGTH 8
wuliqunyy 20:26e934452728 2059 #define MTP_USE_ZONE_0_MASK 0xFF00
wuliqunyy 20:26e934452728 2060
wuliqunyy 20:26e934452728 2061 #define CRC_MTP_ZONE_0_ADDRESS 0x105A
wuliqunyy 20:26e934452728 2062 #define CRC_MTP_ZONE_0_OFFSET 0
wuliqunyy 20:26e934452728 2063 #define CRC_MTP_ZONE_0_LENGTH 8
wuliqunyy 20:26e934452728 2064 #define CRC_MTP_ZONE_0_MASK 0x00FF
wuliqunyy 20:26e934452728 2065
wuliqunyy 20:26e934452728 2066 #define CUST_ID0_ADDRESS 0x1058
wuliqunyy 20:26e934452728 2067 #define CUST_ID0_OFFSET 0
wuliqunyy 20:26e934452728 2068 #define CUST_ID0_LENGTH 16
wuliqunyy 20:26e934452728 2069 #define CUST_ID0_MASK 0xFFFF
wuliqunyy 20:26e934452728 2070
wuliqunyy 20:26e934452728 2071 #define CUST_ID1_ADDRESS 0x1056
wuliqunyy 20:26e934452728 2072 #define CUST_ID1_OFFSET 0
wuliqunyy 20:26e934452728 2073 #define CUST_ID1_LENGTH 16
wuliqunyy 20:26e934452728 2074 #define CUST_ID1_MASK 0xFFFF
wuliqunyy 20:26e934452728 2075
wuliqunyy 20:26e934452728 2076 #define CUST_ID2_ADDRESS 0x1054
wuliqunyy 20:26e934452728 2077 #define CUST_ID2_OFFSET 0
wuliqunyy 20:26e934452728 2078 #define CUST_ID2_LENGTH 16
wuliqunyy 20:26e934452728 2079 #define CUST_ID2_MASK 0xFFFF
wuliqunyy 20:26e934452728 2080
wuliqunyy 20:26e934452728 2081 #define CUST_ID3_ADDRESS 0x1052
wuliqunyy 20:26e934452728 2082 #define CUST_ID3_OFFSET 0
wuliqunyy 20:26e934452728 2083 #define CUST_ID3_LENGTH 16
wuliqunyy 20:26e934452728 2084 #define CUST_ID3_MASK 0xFFFF
wuliqunyy 20:26e934452728 2085
wuliqunyy 20:26e934452728 2086 #define FLAT_BLANK_ADDRESS 0x1050
wuliqunyy 20:26e934452728 2087 #define FLAT_BLANK_OFFSET 8
wuliqunyy 20:26e934452728 2088 #define FLAT_BLANK_LENGTH 8
wuliqunyy 20:26e934452728 2089 #define FLAT_BLANK_MASK 0xFF00
wuliqunyy 20:26e934452728 2090
wuliqunyy 20:26e934452728 2091 #define INTEGRATOR_PRE_DIV_ADDRESS 0x1050
wuliqunyy 20:26e934452728 2092 #define INTEGRATOR_PRE_DIV_OFFSET 5
wuliqunyy 20:26e934452728 2093 #define INTEGRATOR_PRE_DIV_LENGTH 2
wuliqunyy 20:26e934452728 2094 #define INTEGRATOR_PRE_DIV_MASK 0x0060
wuliqunyy 20:26e934452728 2095
wuliqunyy 20:26e934452728 2096 #define INTEGRATOR_TIME_ADDRESS 0x1050
wuliqunyy 20:26e934452728 2097 #define INTEGRATOR_TIME_OFFSET 3
wuliqunyy 20:26e934452728 2098 #define INTEGRATOR_TIME_LENGTH 2
wuliqunyy 20:26e934452728 2099 #define INTEGRATOR_TIME_MASK 0x0018
wuliqunyy 20:26e934452728 2100
wuliqunyy 20:26e934452728 2101 #define INTEGRATOR_START_OPTION_ADDRESS 0x1050
wuliqunyy 20:26e934452728 2102 #define INTEGRATOR_START_OPTION_OFFSET 2
wuliqunyy 20:26e934452728 2103 #define INTEGRATOR_START_OPTION_LENGTH 1
wuliqunyy 20:26e934452728 2104 #define INTEGRATOR_START_OPTION_MASK 0x0004
wuliqunyy 20:26e934452728 2105
wuliqunyy 20:26e934452728 2106 #define INTEGRATOR_RESYNC_OPTION_ADDRESS 0x1050
wuliqunyy 20:26e934452728 2107 #define INTEGRATOR_RESYNC_OPTION_OFFSET 1
wuliqunyy 20:26e934452728 2108 #define INTEGRATOR_RESYNC_OPTION_LENGTH 1
wuliqunyy 20:26e934452728 2109 #define INTEGRATOR_RESYNC_OPTION_MASK 0x0002
wuliqunyy 20:26e934452728 2110
wuliqunyy 20:26e934452728 2111 #define INTEGRATOR_EDGE_INV_ADDRESS 0x1050
wuliqunyy 20:26e934452728 2112 #define INTEGRATOR_EDGE_INV_OFFSET 0
wuliqunyy 20:26e934452728 2113 #define INTEGRATOR_EDGE_INV_LENGTH 1
wuliqunyy 20:26e934452728 2114 #define INTEGRATOR_EDGE_INV_MASK 0x0001
wuliqunyy 20:26e934452728 2115
wuliqunyy 20:26e934452728 2116 #define ZONE0_RES1_ADDRESS 0x104E
wuliqunyy 20:26e934452728 2117 #define ZONE0_RES1_OFFSET 0
wuliqunyy 20:26e934452728 2118 #define ZONE0_RES1_LENGTH 16
wuliqunyy 20:26e934452728 2119 #define ZONE0_RES1_MASK 0xFFFF
wuliqunyy 20:26e934452728 2120
wuliqunyy 20:26e934452728 2121 #define ZONE0_RES2_ADDRESS 0x104C
wuliqunyy 20:26e934452728 2122 #define ZONE0_RES2_OFFSET 0
wuliqunyy 20:26e934452728 2123 #define ZONE0_RES2_LENGTH 16
wuliqunyy 20:26e934452728 2124 #define ZONE0_RES2_MASK 0xFFFF
wuliqunyy 20:26e934452728 2125
wuliqunyy 20:26e934452728 2126 #define ZONE0_RES3_ADDRESS 0x104A
wuliqunyy 20:26e934452728 2127 #define ZONE0_RES3_OFFSET 0
wuliqunyy 20:26e934452728 2128 #define ZONE0_RES3_LENGTH 16
wuliqunyy 20:26e934452728 2129 #define ZONE0_RES3_MASK 0xFFFF
wuliqunyy 20:26e934452728 2130
wuliqunyy 20:26e934452728 2131 #define ZONE0_RES4_ADDRESS 0x1048
wuliqunyy 20:26e934452728 2132 #define ZONE0_RES4_OFFSET 0
wuliqunyy 20:26e934452728 2133 #define ZONE0_RES4_LENGTH 16
wuliqunyy 20:26e934452728 2134 #define ZONE0_RES4_MASK 0xFFFF
wuliqunyy 20:26e934452728 2135
wuliqunyy 20:26e934452728 2136 #define TARGET_CLIM_USER_PULSES_ADDRESS 0x1046
wuliqunyy 20:26e934452728 2137 #define TARGET_CLIM_USER_PULSES_OFFSET 0
wuliqunyy 20:26e934452728 2138 #define TARGET_CLIM_USER_PULSES_LENGTH 8
wuliqunyy 20:26e934452728 2139 #define TARGET_CLIM_USER_PULSES_MASK 0x00FF
wuliqunyy 20:26e934452728 2140
wuliqunyy 20:26e934452728 2141 #define TARGET_CLIM_USER_BRAKE_ADDRESS 0x1044
wuliqunyy 20:26e934452728 2142 #define TARGET_CLIM_USER_BRAKE_OFFSET 8
wuliqunyy 20:26e934452728 2143 #define TARGET_CLIM_USER_BRAKE_LENGTH 8
wuliqunyy 20:26e934452728 2144 #define TARGET_CLIM_USER_BRAKE_MASK 0xFF00
wuliqunyy 20:26e934452728 2145
wuliqunyy 20:26e934452728 2146 #define TARGET_CLIM_USER_MOTOR_ADDRESS 0x1044
wuliqunyy 20:26e934452728 2147 #define TARGET_CLIM_USER_MOTOR_OFFSET 0
wuliqunyy 20:26e934452728 2148 #define TARGET_CLIM_USER_MOTOR_LENGTH 8
wuliqunyy 20:26e934452728 2149 #define TARGET_CLIM_USER_MOTOR_MASK 0x00FF
wuliqunyy 20:26e934452728 2150
wuliqunyy 20:26e934452728 2151 #define CL_BLANK_SELECT_ADDRESS 0x1042
wuliqunyy 20:26e934452728 2152 #define CL_BLANK_SELECT_OFFSET 8
wuliqunyy 20:26e934452728 2153 #define CL_BLANK_SELECT_LENGTH 6
wuliqunyy 20:26e934452728 2154 #define CL_BLANK_SELECT_MASK 0x3F00
wuliqunyy 20:26e934452728 2155
wuliqunyy 20:26e934452728 2156 #define OC_BLANK_SELECT_ADDRESS 0x1042
wuliqunyy 20:26e934452728 2157 #define OC_BLANK_SELECT_OFFSET 0
wuliqunyy 20:26e934452728 2158 #define OC_BLANK_SELECT_LENGTH 6
wuliqunyy 20:26e934452728 2159 #define OC_BLANK_SELECT_MASK 0x003F
wuliqunyy 20:26e934452728 2160
wuliqunyy 20:26e934452728 2161 #define DI_TH_1ST_ADDRESS 0x1040
wuliqunyy 20:26e934452728 2162 #define DI_TH_1ST_OFFSET 0
wuliqunyy 20:26e934452728 2163 #define DI_TH_1ST_LENGTH 12
wuliqunyy 20:26e934452728 2164 #define DI_TH_1ST_MASK 0x0FFF
wuliqunyy 20:26e934452728 2165
wuliqunyy 20:26e934452728 2166 #define DI_TH_2ND_ADDRESS 0x103E
wuliqunyy 20:26e934452728 2167 #define DI_TH_2ND_OFFSET 0
wuliqunyy 20:26e934452728 2168 #define DI_TH_2ND_LENGTH 12
wuliqunyy 20:26e934452728 2169 #define DI_TH_2ND_MASK 0x0FFF
wuliqunyy 20:26e934452728 2170
wuliqunyy 20:26e934452728 2171 #define I_ZC_TH_HIGH_ADDRESS 0x103C
wuliqunyy 20:26e934452728 2172 #define I_ZC_TH_HIGH_OFFSET 0
wuliqunyy 20:26e934452728 2173 #define I_ZC_TH_HIGH_LENGTH 12
wuliqunyy 20:26e934452728 2174 #define I_ZC_TH_HIGH_MASK 0x0FFF
wuliqunyy 20:26e934452728 2175
wuliqunyy 20:26e934452728 2176 #define I_ZC_TH_LOW_ADDRESS 0x103A
wuliqunyy 20:26e934452728 2177 #define I_ZC_TH_LOW_OFFSET 0
wuliqunyy 20:26e934452728 2178 #define I_ZC_TH_LOW_LENGTH 12
wuliqunyy 20:26e934452728 2179 #define I_ZC_TH_LOW_MASK 0x0FFF
wuliqunyy 20:26e934452728 2180
wuliqunyy 20:26e934452728 2181 #define RPM_F_ADDRESS 0x1038
wuliqunyy 20:26e934452728 2182 #define RPM_F_OFFSET 7
wuliqunyy 20:26e934452728 2183 #define RPM_F_LENGTH 9
wuliqunyy 20:26e934452728 2184 #define RPM_F_MASK 0xFF80
wuliqunyy 20:26e934452728 2185
wuliqunyy 20:26e934452728 2186 #define SPD_F_ADDRESS 0x1038
wuliqunyy 20:26e934452728 2187 #define SPD_F_OFFSET 0
wuliqunyy 20:26e934452728 2188 #define SPD_F_LENGTH 7
wuliqunyy 20:26e934452728 2189 #define SPD_F_MASK 0x007F
wuliqunyy 20:26e934452728 2190
wuliqunyy 20:26e934452728 2191 #define RPM_E_ADDRESS 0x1036
wuliqunyy 20:26e934452728 2192 #define RPM_E_OFFSET 7
wuliqunyy 20:26e934452728 2193 #define RPM_E_LENGTH 9
wuliqunyy 20:26e934452728 2194 #define RPM_E_MASK 0xFF80
wuliqunyy 20:26e934452728 2195
wuliqunyy 20:26e934452728 2196 #define SPD_E_ADDRESS 0x1036
wuliqunyy 20:26e934452728 2197 #define SPD_E_OFFSET 0
wuliqunyy 20:26e934452728 2198 #define SPD_E_LENGTH 7
wuliqunyy 20:26e934452728 2199 #define SPD_E_MASK 0x007F
wuliqunyy 20:26e934452728 2200
wuliqunyy 20:26e934452728 2201 #define RPM_D_ADDRESS 0x1034
wuliqunyy 20:26e934452728 2202 #define RPM_D_OFFSET 7
wuliqunyy 20:26e934452728 2203 #define RPM_D_LENGTH 9
wuliqunyy 20:26e934452728 2204 #define RPM_D_MASK 0xFF80
wuliqunyy 20:26e934452728 2205
wuliqunyy 20:26e934452728 2206 #define SPD_D_ADDRESS 0x1034
wuliqunyy 20:26e934452728 2207 #define SPD_D_OFFSET 0
wuliqunyy 20:26e934452728 2208 #define SPD_D_LENGTH 7
wuliqunyy 20:26e934452728 2209 #define SPD_D_MASK 0x007F
wuliqunyy 20:26e934452728 2210
wuliqunyy 20:26e934452728 2211 #define RPM_C_ADDRESS 0x1032
wuliqunyy 20:26e934452728 2212 #define RPM_C_OFFSET 7
wuliqunyy 20:26e934452728 2213 #define RPM_C_LENGTH 9
wuliqunyy 20:26e934452728 2214 #define RPM_C_MASK 0xFF80
wuliqunyy 20:26e934452728 2215
wuliqunyy 20:26e934452728 2216 #define SPD_C_ADDRESS 0x1032
wuliqunyy 20:26e934452728 2217 #define SPD_C_OFFSET 0
wuliqunyy 20:26e934452728 2218 #define SPD_C_LENGTH 7
wuliqunyy 20:26e934452728 2219 #define SPD_C_MASK 0x007F
wuliqunyy 20:26e934452728 2220
wuliqunyy 20:26e934452728 2221 #define RPM_B_ADDRESS 0x1030
wuliqunyy 20:26e934452728 2222 #define RPM_B_OFFSET 7
wuliqunyy 20:26e934452728 2223 #define RPM_B_LENGTH 9
wuliqunyy 20:26e934452728 2224 #define RPM_B_MASK 0xFF80
wuliqunyy 20:26e934452728 2225
wuliqunyy 20:26e934452728 2226 #define SPD_B_ADDRESS 0x1030
wuliqunyy 20:26e934452728 2227 #define SPD_B_OFFSET 0
wuliqunyy 20:26e934452728 2228 #define SPD_B_LENGTH 7
wuliqunyy 20:26e934452728 2229 #define SPD_B_MASK 0x007F
wuliqunyy 20:26e934452728 2230
wuliqunyy 20:26e934452728 2231 #define RPM_A_ADDRESS 0x102E
wuliqunyy 20:26e934452728 2232 #define RPM_A_OFFSET 7
wuliqunyy 20:26e934452728 2233 #define RPM_A_LENGTH 9
wuliqunyy 20:26e934452728 2234 #define RPM_A_MASK 0xFF80
wuliqunyy 20:26e934452728 2235
wuliqunyy 20:26e934452728 2236 #define SPD_A_ADDRESS 0x102E
wuliqunyy 20:26e934452728 2237 #define SPD_A_OFFSET 0
wuliqunyy 20:26e934452728 2238 #define SPD_A_LENGTH 7
wuliqunyy 20:26e934452728 2239 #define SPD_A_MASK 0x007F
wuliqunyy 20:26e934452728 2240
wuliqunyy 20:26e934452728 2241 #define RPM_MAX_ADDRESS 0x102C
wuliqunyy 20:26e934452728 2242 #define RPM_MAX_OFFSET 7
wuliqunyy 20:26e934452728 2243 #define RPM_MAX_LENGTH 9
wuliqunyy 20:26e934452728 2244 #define RPM_MAX_MASK 0xFF80
wuliqunyy 20:26e934452728 2245
wuliqunyy 20:26e934452728 2246 #define SPD_MAX_ADDRESS 0x102C
wuliqunyy 20:26e934452728 2247 #define SPD_MAX_OFFSET 0
wuliqunyy 20:26e934452728 2248 #define SPD_MAX_LENGTH 7
wuliqunyy 20:26e934452728 2249 #define SPD_MAX_MASK 0x007F
wuliqunyy 20:26e934452728 2250
wuliqunyy 20:26e934452728 2251 #define RPM_MIN_ADDRESS 0x102A
wuliqunyy 20:26e934452728 2252 #define RPM_MIN_OFFSET 7
wuliqunyy 20:26e934452728 2253 #define RPM_MIN_LENGTH 9
wuliqunyy 20:26e934452728 2254 #define RPM_MIN_MASK 0xFF80
wuliqunyy 20:26e934452728 2255
wuliqunyy 20:26e934452728 2256 #define SPD_MIN_ADDRESS 0x102A
wuliqunyy 20:26e934452728 2257 #define SPD_MIN_OFFSET 0
wuliqunyy 20:26e934452728 2258 #define SPD_MIN_LENGTH 7
wuliqunyy 20:26e934452728 2259 #define SPD_MIN_MASK 0x007F
wuliqunyy 20:26e934452728 2260
wuliqunyy 20:26e934452728 2261 #define DUTY_RAMPING_ADDRESS 0x1028
wuliqunyy 20:26e934452728 2262 #define DUTY_RAMPING_OFFSET 15
wuliqunyy 20:26e934452728 2263 #define DUTY_RAMPING_LENGTH 1
wuliqunyy 20:26e934452728 2264 #define DUTY_RAMPING_MASK 0x8000
wuliqunyy 20:26e934452728 2265
wuliqunyy 20:26e934452728 2266 #define ILIM_RAMPING_ADDRESS 0x1028
wuliqunyy 20:26e934452728 2267 #define ILIM_RAMPING_OFFSET 14
wuliqunyy 20:26e934452728 2268 #define ILIM_RAMPING_LENGTH 1
wuliqunyy 20:26e934452728 2269 #define ILIM_RAMPING_MASK 0x4000
wuliqunyy 20:26e934452728 2270
wuliqunyy 20:26e934452728 2271 #define DC_OPENLOOP_SR_ADDRESS 0x1028
wuliqunyy 20:26e934452728 2272 #define DC_OPENLOOP_SR_OFFSET 12
wuliqunyy 20:26e934452728 2273 #define DC_OPENLOOP_SR_LENGTH 2
wuliqunyy 20:26e934452728 2274 #define DC_OPENLOOP_SR_MASK 0x3000
wuliqunyy 20:26e934452728 2275
wuliqunyy 20:26e934452728 2276 #define DC_OPENLOOP_INI_ADDRESS 0x1028
wuliqunyy 20:26e934452728 2277 #define DC_OPENLOOP_INI_OFFSET 10
wuliqunyy 20:26e934452728 2278 #define DC_OPENLOOP_INI_LENGTH 2
wuliqunyy 20:26e934452728 2279 #define DC_OPENLOOP_INI_MASK 0x0C00
wuliqunyy 20:26e934452728 2280
wuliqunyy 20:26e934452728 2281 #define SPD_KI_ADDRESS 0x1028
wuliqunyy 20:26e934452728 2282 #define SPD_KI_OFFSET 7
wuliqunyy 20:26e934452728 2283 #define SPD_KI_LENGTH 3
wuliqunyy 20:26e934452728 2284 #define SPD_KI_MASK 0x0380
wuliqunyy 20:26e934452728 2285
wuliqunyy 20:26e934452728 2286 #define SPD_KP_ADDRESS 0x1028
wuliqunyy 20:26e934452728 2287 #define SPD_KP_OFFSET 4
wuliqunyy 20:26e934452728 2288 #define SPD_KP_LENGTH 3
wuliqunyy 20:26e934452728 2289 #define SPD_KP_MASK 0x0070
wuliqunyy 20:26e934452728 2290
wuliqunyy 20:26e934452728 2291 #define SPD_HC_HYST_ADDRESS 0x1028
wuliqunyy 20:26e934452728 2292 #define SPD_HC_HYST_OFFSET 2
wuliqunyy 20:26e934452728 2293 #define SPD_HC_HYST_LENGTH 2
wuliqunyy 20:26e934452728 2294 #define SPD_HC_HYST_MASK 0x000C
wuliqunyy 20:26e934452728 2295
wuliqunyy 20:26e934452728 2296 #define SPD_LC_HYST_ADDRESS 0x1028
wuliqunyy 20:26e934452728 2297 #define SPD_LC_HYST_OFFSET 0
wuliqunyy 20:26e934452728 2298 #define SPD_LC_HYST_LENGTH 2
wuliqunyy 20:26e934452728 2299 #define SPD_LC_HYST_MASK 0x0003
wuliqunyy 20:26e934452728 2300
wuliqunyy 20:26e934452728 2301 #define SPD_BOOST_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2302 #define SPD_BOOST_OFFSET 13
wuliqunyy 20:26e934452728 2303 #define SPD_BOOST_LENGTH 1
wuliqunyy 20:26e934452728 2304 #define SPD_BOOST_MASK 0x2000
wuliqunyy 20:26e934452728 2305
wuliqunyy 20:26e934452728 2306 #define SPD_BOOST_SS_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2307 #define SPD_BOOST_SS_OFFSET 12
wuliqunyy 20:26e934452728 2308 #define SPD_BOOST_SS_LENGTH 1
wuliqunyy 20:26e934452728 2309 #define SPD_BOOST_SS_MASK 0x1000
wuliqunyy 20:26e934452728 2310
wuliqunyy 20:26e934452728 2311 #define SPD_CTRL_1_RESERVED_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2312 #define SPD_CTRL_1_RESERVED_OFFSET 11
wuliqunyy 20:26e934452728 2313 #define SPD_CTRL_1_RESERVED_LENGTH 1
wuliqunyy 20:26e934452728 2314 #define SPD_CTRL_1_RESERVED_MASK 0x0800
wuliqunyy 20:26e934452728 2315
wuliqunyy 20:26e934452728 2316 #define SPD_LOOP_MODE_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2317 #define SPD_LOOP_MODE_OFFSET 10
wuliqunyy 20:26e934452728 2318 #define SPD_LOOP_MODE_LENGTH 1
wuliqunyy 20:26e934452728 2319 #define SPD_LOOP_MODE_MASK 0x0400
wuliqunyy 20:26e934452728 2320
wuliqunyy 20:26e934452728 2321 #define RPM_LC_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2322 #define RPM_LC_OFFSET 9
wuliqunyy 20:26e934452728 2323 #define RPM_LC_LENGTH 1
wuliqunyy 20:26e934452728 2324 #define RPM_LC_MASK 0x0200
wuliqunyy 20:26e934452728 2325
wuliqunyy 20:26e934452728 2326 #define RPM_HC_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2327 #define RPM_HC_OFFSET 8
wuliqunyy 20:26e934452728 2328 #define RPM_HC_LENGTH 1
wuliqunyy 20:26e934452728 2329 #define RPM_HC_MASK 0x0100
wuliqunyy 20:26e934452728 2330
wuliqunyy 20:26e934452728 2331 #define SPD_LC_VAL_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2332 #define SPD_LC_VAL_OFFSET 6
wuliqunyy 20:26e934452728 2333 #define SPD_LC_VAL_LENGTH 2
wuliqunyy 20:26e934452728 2334 #define SPD_LC_VAL_MASK 0x00C0
wuliqunyy 20:26e934452728 2335
wuliqunyy 20:26e934452728 2336 #define SPD_HC_VAL_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2337 #define SPD_HC_VAL_OFFSET 4
wuliqunyy 20:26e934452728 2338 #define SPD_HC_VAL_LENGTH 2
wuliqunyy 20:26e934452728 2339 #define SPD_HC_VAL_MASK 0x0030
wuliqunyy 20:26e934452728 2340
wuliqunyy 20:26e934452728 2341 #define CURVE_MODE_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2342 #define CURVE_MODE_OFFSET 2
wuliqunyy 20:26e934452728 2343 #define CURVE_MODE_LENGTH 2
wuliqunyy 20:26e934452728 2344 #define CURVE_MODE_MASK 0x000C
wuliqunyy 20:26e934452728 2345
wuliqunyy 20:26e934452728 2346 #define SPD_TICK_ADDRESS 0x1026
wuliqunyy 20:26e934452728 2347 #define SPD_TICK_OFFSET 0
wuliqunyy 20:26e934452728 2348 #define SPD_TICK_LENGTH 2
wuliqunyy 20:26e934452728 2349 #define SPD_TICK_MASK 0x0003
wuliqunyy 20:26e934452728 2350
wuliqunyy 20:26e934452728 2351 #define MIN_EHP_RESERVED_ADDRESS 0x1024
wuliqunyy 20:26e934452728 2352 #define MIN_EHP_RESERVED_OFFSET 15
wuliqunyy 20:26e934452728 2353 #define MIN_EHP_RESERVED_LENGTH 1
wuliqunyy 20:26e934452728 2354 #define MIN_EHP_RESERVED_MASK 0x8000
wuliqunyy 20:26e934452728 2355
wuliqunyy 20:26e934452728 2356 #define EHP_TIMER_PRESCALER_ADDRESS 0x1024
wuliqunyy 20:26e934452728 2357 #define EHP_TIMER_PRESCALER_OFFSET 13
wuliqunyy 20:26e934452728 2358 #define EHP_TIMER_PRESCALER_LENGTH 2
wuliqunyy 20:26e934452728 2359 #define EHP_TIMER_PRESCALER_MASK 0x6000
wuliqunyy 20:26e934452728 2360
wuliqunyy 20:26e934452728 2361 #define EHP_FULL_RANGE_ADDRESS 0x1024
wuliqunyy 20:26e934452728 2362 #define EHP_FULL_RANGE_OFFSET 0
wuliqunyy 20:26e934452728 2363 #define EHP_FULL_RANGE_LENGTH 13
wuliqunyy 20:26e934452728 2364 #define EHP_FULL_RANGE_MASK 0x1FFF
wuliqunyy 20:26e934452728 2365
wuliqunyy 20:26e934452728 2366 #define POSITION_FLAT_TIME_ADDRESS 0x1022
wuliqunyy 20:26e934452728 2367 #define POSITION_FLAT_TIME_OFFSET 6
wuliqunyy 20:26e934452728 2368 #define POSITION_FLAT_TIME_LENGTH 5
wuliqunyy 20:26e934452728 2369 #define POSITION_FLAT_TIME_MASK 0x07C0
wuliqunyy 20:26e934452728 2370
wuliqunyy 20:26e934452728 2371 #define START_UP_FLAT_TIME_ADDRESS 0x1022
wuliqunyy 20:26e934452728 2372 #define START_UP_FLAT_TIME_OFFSET 0
wuliqunyy 20:26e934452728 2373 #define START_UP_FLAT_TIME_LENGTH 6
wuliqunyy 20:26e934452728 2374 #define START_UP_FLAT_TIME_MASK 0x003F
wuliqunyy 20:26e934452728 2375
wuliqunyy 20:26e934452728 2376 #define BEMF_SMALL_THRES_ADDRESS 0x1020
wuliqunyy 20:26e934452728 2377 #define BEMF_SMALL_THRES_OFFSET 0
wuliqunyy 20:26e934452728 2378 #define BEMF_SMALL_THRES_LENGTH 4
wuliqunyy 20:26e934452728 2379 #define BEMF_SMALL_THRES_MASK 0x000F
wuliqunyy 20:26e934452728 2380
wuliqunyy 20:26e934452728 2381 #define QUICK_START_ADDRESS 0x101E
wuliqunyy 20:26e934452728 2382 #define QUICK_START_OFFSET 15
wuliqunyy 20:26e934452728 2383 #define QUICK_START_LENGTH 1
wuliqunyy 20:26e934452728 2384 #define QUICK_START_MASK 0x8000
wuliqunyy 20:26e934452728 2385
wuliqunyy 20:26e934452728 2386 #define WIND_START_ADDRESS 0x101E
wuliqunyy 20:26e934452728 2387 #define WIND_START_OFFSET 14
wuliqunyy 20:26e934452728 2388 #define WIND_START_LENGTH 1
wuliqunyy 20:26e934452728 2389 #define WIND_START_MASK 0x4000
wuliqunyy 20:26e934452728 2390
wuliqunyy 20:26e934452728 2391 #define SOFT_NUM_STEP_ADDRESS 0x101E
wuliqunyy 20:26e934452728 2392 #define SOFT_NUM_STEP_OFFSET 8
wuliqunyy 20:26e934452728 2393 #define SOFT_NUM_STEP_LENGTH 3
wuliqunyy 20:26e934452728 2394 #define SOFT_NUM_STEP_MASK 0x0700
wuliqunyy 20:26e934452728 2395
wuliqunyy 20:26e934452728 2396 #define WIND_WINDOW_ADDRESS 0x101E
wuliqunyy 20:26e934452728 2397 #define WIND_WINDOW_OFFSET 4
wuliqunyy 20:26e934452728 2398 #define WIND_WINDOW_LENGTH 4
wuliqunyy 20:26e934452728 2399 #define WIND_WINDOW_MASK 0x00F0
wuliqunyy 20:26e934452728 2400
wuliqunyy 20:26e934452728 2401 #define BRAKE_WINDOW_ADDRESS 0x101E
wuliqunyy 20:26e934452728 2402 #define BRAKE_WINDOW_OFFSET 0
wuliqunyy 20:26e934452728 2403 #define BRAKE_WINDOW_LENGTH 4
wuliqunyy 20:26e934452728 2404 #define BRAKE_WINDOW_MASK 0x000F
wuliqunyy 20:26e934452728 2405
wuliqunyy 20:26e934452728 2406 #define SINGLE_PULSE_START_ADDRESS 0x101C
wuliqunyy 20:26e934452728 2407 #define SINGLE_PULSE_START_OFFSET 15
wuliqunyy 20:26e934452728 2408 #define SINGLE_PULSE_START_LENGTH 1
wuliqunyy 20:26e934452728 2409 #define SINGLE_PULSE_START_MASK 0x8000
wuliqunyy 20:26e934452728 2410
wuliqunyy 20:26e934452728 2411 #define LONG_START_ADDRESS 0x101C
wuliqunyy 20:26e934452728 2412 #define LONG_START_OFFSET 14
wuliqunyy 20:26e934452728 2413 #define LONG_START_LENGTH 1
wuliqunyy 20:26e934452728 2414 #define LONG_START_MASK 0x4000
wuliqunyy 20:26e934452728 2415
wuliqunyy 20:26e934452728 2416 #define SOFT_START_ADDRESS 0x101C
wuliqunyy 20:26e934452728 2417 #define SOFT_START_OFFSET 13
wuliqunyy 20:26e934452728 2418 #define SOFT_START_LENGTH 1
wuliqunyy 20:26e934452728 2419 #define SOFT_START_MASK 0x2000
wuliqunyy 20:26e934452728 2420
wuliqunyy 20:26e934452728 2421 #define COMM_START_NUM_ADDRESS 0x101C
wuliqunyy 20:26e934452728 2422 #define COMM_START_NUM_OFFSET 11
wuliqunyy 20:26e934452728 2423 #define COMM_START_NUM_LENGTH 2
wuliqunyy 20:26e934452728 2424 #define COMM_START_NUM_MASK 0x1800
wuliqunyy 20:26e934452728 2425
wuliqunyy 20:26e934452728 2426 #define START_DUTY_ADDRESS 0x101C
wuliqunyy 20:26e934452728 2427 #define START_DUTY_OFFSET 9
wuliqunyy 20:26e934452728 2428 #define START_DUTY_LENGTH 2
wuliqunyy 20:26e934452728 2429 #define START_DUTY_MASK 0x0600
wuliqunyy 20:26e934452728 2430
wuliqunyy 20:26e934452728 2431 #define SOFT_STEP_SIZE_ADDRESS 0x101C
wuliqunyy 20:26e934452728 2432 #define SOFT_STEP_SIZE_OFFSET 6
wuliqunyy 20:26e934452728 2433 #define SOFT_STEP_SIZE_LENGTH 3
wuliqunyy 20:26e934452728 2434 #define SOFT_STEP_SIZE_MASK 0x01C0
wuliqunyy 20:26e934452728 2435
wuliqunyy 20:26e934452728 2436 #define START_UP_TIME_ADDRESS 0x101C
wuliqunyy 20:26e934452728 2437 #define START_UP_TIME_OFFSET 0
wuliqunyy 20:26e934452728 2438 #define START_UP_TIME_LENGTH 6
wuliqunyy 20:26e934452728 2439 #define START_UP_TIME_MASK 0x003F
wuliqunyy 20:26e934452728 2440
wuliqunyy 20:26e934452728 2441 #define POSITION_DUTY_ADDRESS 0x101A
wuliqunyy 20:26e934452728 2442 #define POSITION_DUTY_OFFSET 14
wuliqunyy 20:26e934452728 2443 #define POSITION_DUTY_LENGTH 2
wuliqunyy 20:26e934452728 2444 #define POSITION_DUTY_MASK 0xC000
wuliqunyy 20:26e934452728 2445
wuliqunyy 20:26e934452728 2446 #define POSITION_PULSE_TIME_ADDRESS 0x101A
wuliqunyy 20:26e934452728 2447 #define POSITION_PULSE_TIME_OFFSET 9
wuliqunyy 20:26e934452728 2448 #define POSITION_PULSE_TIME_LENGTH 5
wuliqunyy 20:26e934452728 2449 #define POSITION_PULSE_TIME_MASK 0x3E00
wuliqunyy 20:26e934452728 2450
wuliqunyy 20:26e934452728 2451 #define POSI_MAJO_VOTE_ADDRESS 0x101A
wuliqunyy 20:26e934452728 2452 #define POSI_MAJO_VOTE_OFFSET 8
wuliqunyy 20:26e934452728 2453 #define POSI_MAJO_VOTE_LENGTH 1
wuliqunyy 20:26e934452728 2454 #define POSI_MAJO_VOTE_MASK 0x0100
wuliqunyy 20:26e934452728 2455
wuliqunyy 20:26e934452728 2456 #define ANTI_COG_ADDRESS 0x101A
wuliqunyy 20:26e934452728 2457 #define ANTI_COG_OFFSET 7
wuliqunyy 20:26e934452728 2458 #define ANTI_COG_LENGTH 1
wuliqunyy 20:26e934452728 2459 #define ANTI_COG_MASK 0x0080
wuliqunyy 20:26e934452728 2460
wuliqunyy 20:26e934452728 2461 #define POSITION_RESERVED_ADDRESS 0x101A
wuliqunyy 20:26e934452728 2462 #define POSITION_RESERVED_OFFSET 6
wuliqunyy 20:26e934452728 2463 #define POSITION_RESERVED_LENGTH 1
wuliqunyy 20:26e934452728 2464 #define POSITION_RESERVED_MASK 0x0040
wuliqunyy 20:26e934452728 2465
wuliqunyy 20:26e934452728 2466 #define FIRST_NON_FLAT_TIME_ADDRESS 0x101A
wuliqunyy 20:26e934452728 2467 #define FIRST_NON_FLAT_TIME_OFFSET 0
wuliqunyy 20:26e934452728 2468 #define FIRST_NON_FLAT_TIME_LENGTH 6
wuliqunyy 20:26e934452728 2469 #define FIRST_NON_FLAT_TIME_MASK 0x003F
wuliqunyy 20:26e934452728 2470
wuliqunyy 20:26e934452728 2471 #define ROUGH_REG_ADDRESS 0x1018
wuliqunyy 20:26e934452728 2472 #define ROUGH_REG_OFFSET 14
wuliqunyy 20:26e934452728 2473 #define ROUGH_REG_LENGTH 1
wuliqunyy 20:26e934452728 2474 #define ROUGH_REG_MASK 0x4000
wuliqunyy 20:26e934452728 2475
wuliqunyy 20:26e934452728 2476 #define ADC_FLAT_FILT_DEP_ADDRESS 0x1018
wuliqunyy 20:26e934452728 2477 #define ADC_FLAT_FILT_DEP_OFFSET 12
wuliqunyy 20:26e934452728 2478 #define ADC_FLAT_FILT_DEP_LENGTH 2
wuliqunyy 20:26e934452728 2479 #define ADC_FLAT_FILT_DEP_MASK 0x3000
wuliqunyy 20:26e934452728 2480
wuliqunyy 20:26e934452728 2481 #define EHP_REG_GAIN_ADDRESS 0x1018
wuliqunyy 20:26e934452728 2482 #define EHP_REG_GAIN_OFFSET 10
wuliqunyy 20:26e934452728 2483 #define EHP_REG_GAIN_LENGTH 2
wuliqunyy 20:26e934452728 2484 #define EHP_REG_GAIN_MASK 0x0C00
wuliqunyy 20:26e934452728 2485
wuliqunyy 20:26e934452728 2486 #define ROUGH_GAIN_ADDRESS 0x1018
wuliqunyy 20:26e934452728 2487 #define ROUGH_GAIN_OFFSET 9
wuliqunyy 20:26e934452728 2488 #define ROUGH_GAIN_LENGTH 1
wuliqunyy 20:26e934452728 2489 #define ROUGH_GAIN_MASK 0x0200
wuliqunyy 20:26e934452728 2490
wuliqunyy 20:26e934452728 2491 #define PWM_MOD_ADDRESS 0x1018
wuliqunyy 20:26e934452728 2492 #define PWM_MOD_OFFSET 8
wuliqunyy 20:26e934452728 2493 #define PWM_MOD_LENGTH 1
wuliqunyy 20:26e934452728 2494 #define PWM_MOD_MASK 0x0100
wuliqunyy 20:26e934452728 2495
wuliqunyy 20:26e934452728 2496 #define PWM_50K_ADDRESS 0x1018
wuliqunyy 20:26e934452728 2497 #define PWM_50K_OFFSET 7
wuliqunyy 20:26e934452728 2498 #define PWM_50K_LENGTH 1
wuliqunyy 20:26e934452728 2499 #define PWM_50K_MASK 0x0080
wuliqunyy 20:26e934452728 2500
wuliqunyy 20:26e934452728 2501 #define SS_RISE_MODE_ADDRESS 0x1018
wuliqunyy 20:26e934452728 2502 #define SS_RISE_MODE_OFFSET 3
wuliqunyy 20:26e934452728 2503 #define SS_RISE_MODE_LENGTH 3
wuliqunyy 20:26e934452728 2504 #define SS_RISE_MODE_MASK 0x0038
wuliqunyy 20:26e934452728 2505
wuliqunyy 20:26e934452728 2506 #define SS_FALL_MODE_ADDRESS 0x1018
wuliqunyy 20:26e934452728 2507 #define SS_FALL_MODE_OFFSET 0
wuliqunyy 20:26e934452728 2508 #define SS_FALL_MODE_LENGTH 3
wuliqunyy 20:26e934452728 2509 #define SS_FALL_MODE_MASK 0x0007
wuliqunyy 20:26e934452728 2510
wuliqunyy 20:26e934452728 2511 #define FG_SLOPECTRL_ADDRESS 0x1014
wuliqunyy 20:26e934452728 2512 #define FG_SLOPECTRL_OFFSET 14
wuliqunyy 20:26e934452728 2513 #define FG_SLOPECTRL_LENGTH 2
wuliqunyy 20:26e934452728 2514 #define FG_SLOPECTRL_MASK 0xC000
wuliqunyy 20:26e934452728 2515
wuliqunyy 20:26e934452728 2516 #define LVIO_SLOPECTRL_ADDRESS 0x1014
wuliqunyy 20:26e934452728 2517 #define LVIO_SLOPECTRL_OFFSET 12
wuliqunyy 20:26e934452728 2518 #define LVIO_SLOPECTRL_LENGTH 2
wuliqunyy 20:26e934452728 2519 #define LVIO_SLOPECTRL_MASK 0x3000
wuliqunyy 20:26e934452728 2520
wuliqunyy 20:26e934452728 2521 #define HVIO_SLOPECTRL_ADDRESS 0x1014
wuliqunyy 20:26e934452728 2522 #define HVIO_SLOPECTRL_OFFSET 10
wuliqunyy 20:26e934452728 2523 #define HVIO_SLOPECTRL_LENGTH 2
wuliqunyy 20:26e934452728 2524 #define HVIO_SLOPECTRL_MASK 0x0C00
wuliqunyy 20:26e934452728 2525
wuliqunyy 20:26e934452728 2526 #define I2C_SLAVE_ADDRESS_ADDRESS 0x1014
wuliqunyy 20:26e934452728 2527 #define I2C_SLAVE_ADDRESS_OFFSET 0
wuliqunyy 20:26e934452728 2528 #define I2C_SLAVE_ADDRESS_LENGTH 7
wuliqunyy 20:26e934452728 2529 #define I2C_SLAVE_ADDRESS_MASK 0x007F
wuliqunyy 20:26e934452728 2530
wuliqunyy 20:26e934452728 2531 #define I2C_DEBUGGING_DISABLED_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2532 #define I2C_DEBUGGING_DISABLED_OFFSET 15
wuliqunyy 20:26e934452728 2533 #define I2C_DEBUGGING_DISABLED_LENGTH 1
wuliqunyy 20:26e934452728 2534 #define I2C_DEBUGGING_DISABLED_MASK 0x8000
wuliqunyy 20:26e934452728 2535
wuliqunyy 20:26e934452728 2536 #define I2C_TOGGLE_ENTRY_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2537 #define I2C_TOGGLE_ENTRY_OFFSET 14
wuliqunyy 20:26e934452728 2538 #define I2C_TOGGLE_ENTRY_LENGTH 1
wuliqunyy 20:26e934452728 2539 #define I2C_TOGGLE_ENTRY_MASK 0x4000
wuliqunyy 20:26e934452728 2540
wuliqunyy 20:26e934452728 2541 #define HVIO_PU_PD_CFG_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2542 #define HVIO_PU_PD_CFG_OFFSET 12
wuliqunyy 20:26e934452728 2543 #define HVIO_PU_PD_CFG_LENGTH 2
wuliqunyy 20:26e934452728 2544 #define HVIO_PU_PD_CFG_MASK 0x3000
wuliqunyy 20:26e934452728 2545
wuliqunyy 20:26e934452728 2546 #define LVIO_PU_PD_CFG_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2547 #define LVIO_PU_PD_CFG_OFFSET 10
wuliqunyy 20:26e934452728 2548 #define LVIO_PU_PD_CFG_LENGTH 2
wuliqunyy 20:26e934452728 2549 #define LVIO_PU_PD_CFG_MASK 0x0C00
wuliqunyy 20:26e934452728 2550
wuliqunyy 20:26e934452728 2551 #define PWM_PU_PD_CFG_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2552 #define PWM_PU_PD_CFG_OFFSET 8
wuliqunyy 20:26e934452728 2553 #define PWM_PU_PD_CFG_LENGTH 2
wuliqunyy 20:26e934452728 2554 #define PWM_PU_PD_CFG_MASK 0x0300
wuliqunyy 20:26e934452728 2555
wuliqunyy 20:26e934452728 2556 #define SLEEP_MODE_ENABLED_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2557 #define SLEEP_MODE_ENABLED_OFFSET 7
wuliqunyy 20:26e934452728 2558 #define SLEEP_MODE_ENABLED_LENGTH 1
wuliqunyy 20:26e934452728 2559 #define SLEEP_MODE_ENABLED_MASK 0x0080
wuliqunyy 20:26e934452728 2560
wuliqunyy 20:26e934452728 2561 #define SLEEP_MODE_POLARITY_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2562 #define SLEEP_MODE_POLARITY_OFFSET 6
wuliqunyy 20:26e934452728 2563 #define SLEEP_MODE_POLARITY_LENGTH 1
wuliqunyy 20:26e934452728 2564 #define SLEEP_MODE_POLARITY_MASK 0x0040
wuliqunyy 20:26e934452728 2565
wuliqunyy 20:26e934452728 2566 #define DIAG_MODE_CFG_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2567 #define DIAG_MODE_CFG_OFFSET 4
wuliqunyy 20:26e934452728 2568 #define DIAG_MODE_CFG_LENGTH 2
wuliqunyy 20:26e934452728 2569 #define DIAG_MODE_CFG_MASK 0x0030
wuliqunyy 20:26e934452728 2570
wuliqunyy 20:26e934452728 2571 #define FG_FILTERED_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2572 #define FG_FILTERED_OFFSET 3
wuliqunyy 20:26e934452728 2573 #define FG_FILTERED_LENGTH 1
wuliqunyy 20:26e934452728 2574 #define FG_FILTERED_MASK 0x0008
wuliqunyy 20:26e934452728 2575
wuliqunyy 20:26e934452728 2576 #define FG_SPEED_ADDRESS 0x1012
wuliqunyy 20:26e934452728 2577 #define FG_SPEED_OFFSET 0
wuliqunyy 20:26e934452728 2578 #define FG_SPEED_LENGTH 3
wuliqunyy 20:26e934452728 2579 #define FG_SPEED_MASK 0x0007
wuliqunyy 20:26e934452728 2580
wuliqunyy 20:26e934452728 2581 #define FG_RD_ACTIVE_STATE_ADDRESS 0x1010
wuliqunyy 20:26e934452728 2582 #define FG_RD_ACTIVE_STATE_OFFSET 13
wuliqunyy 20:26e934452728 2583 #define FG_RD_ACTIVE_STATE_LENGTH 1
wuliqunyy 20:26e934452728 2584 #define FG_RD_ACTIVE_STATE_MASK 0x2000
wuliqunyy 20:26e934452728 2585
wuliqunyy 20:26e934452728 2586 #define FG_RD_INIT_LOW_ADDRESS 0x1010
wuliqunyy 20:26e934452728 2587 #define FG_RD_INIT_LOW_OFFSET 12
wuliqunyy 20:26e934452728 2588 #define FG_RD_INIT_LOW_LENGTH 1
wuliqunyy 20:26e934452728 2589 #define FG_RD_INIT_LOW_MASK 0x1000
wuliqunyy 20:26e934452728 2590
wuliqunyy 20:26e934452728 2591 #define SELECT_RD_FGB_ADDRESS 0x1010
wuliqunyy 20:26e934452728 2592 #define SELECT_RD_FGB_OFFSET 11
wuliqunyy 20:26e934452728 2593 #define SELECT_RD_FGB_LENGTH 1
wuliqunyy 20:26e934452728 2594 #define SELECT_RD_FGB_MASK 0x0800
wuliqunyy 20:26e934452728 2595
wuliqunyy 20:26e934452728 2596 #define HVIO_MODE_CFG_ADDRESS 0x1010
wuliqunyy 20:26e934452728 2597 #define HVIO_MODE_CFG_OFFSET 8
wuliqunyy 20:26e934452728 2598 #define HVIO_MODE_CFG_LENGTH 3
wuliqunyy 20:26e934452728 2599 #define HVIO_MODE_CFG_MASK 0x0700
wuliqunyy 20:26e934452728 2600
wuliqunyy 20:26e934452728 2601 #define LVIO_MODE_CFG_ADDRESS 0x1010
wuliqunyy 20:26e934452728 2602 #define LVIO_MODE_CFG_OFFSET 5
wuliqunyy 20:26e934452728 2603 #define LVIO_MODE_CFG_LENGTH 3
wuliqunyy 20:26e934452728 2604 #define LVIO_MODE_CFG_MASK 0x00E0
wuliqunyy 20:26e934452728 2605
wuliqunyy 20:26e934452728 2606 #define FG_MODE_CFG_ADDRESS 0x1010
wuliqunyy 20:26e934452728 2607 #define FG_MODE_CFG_OFFSET 3
wuliqunyy 20:26e934452728 2608 #define FG_MODE_CFG_LENGTH 2
wuliqunyy 20:26e934452728 2609 #define FG_MODE_CFG_MASK 0x0018
wuliqunyy 20:26e934452728 2610
wuliqunyy 20:26e934452728 2611 #define INPUT_MODE_CFG_ADDRESS 0x1010
wuliqunyy 20:26e934452728 2612 #define INPUT_MODE_CFG_OFFSET 0
wuliqunyy 20:26e934452728 2613 #define INPUT_MODE_CFG_LENGTH 3
wuliqunyy 20:26e934452728 2614 #define INPUT_MODE_CFG_MASK 0x0007
wuliqunyy 20:26e934452728 2615
wuliqunyy 20:26e934452728 2616 #define MOTOR_STATE_ADDRESS 0x100E
wuliqunyy 20:26e934452728 2617 #define MOTOR_STATE_OFFSET 8
wuliqunyy 20:26e934452728 2618 #define MOTOR_STATE_LENGTH 8
wuliqunyy 20:26e934452728 2619 #define MOTOR_STATE_MASK 0xFF00
wuliqunyy 20:26e934452728 2620
wuliqunyy 20:26e934452728 2621 #define COMM_STATE_ADDRESS 0x100E
wuliqunyy 20:26e934452728 2622 #define COMM_STATE_OFFSET 0
wuliqunyy 20:26e934452728 2623 #define COMM_STATE_LENGTH 8
wuliqunyy 20:26e934452728 2624 #define COMM_STATE_MASK 0x00FF
wuliqunyy 20:26e934452728 2625
wuliqunyy 20:26e934452728 2626 #define I2C_RESERVED_2_ADDRESS 0x100C
wuliqunyy 20:26e934452728 2627 #define I2C_RESERVED_2_OFFSET 0
wuliqunyy 20:26e934452728 2628 #define I2C_RESERVED_2_LENGTH 16
wuliqunyy 20:26e934452728 2629 #define I2C_RESERVED_2_MASK 0xFFFF
wuliqunyy 20:26e934452728 2630
wuliqunyy 20:26e934452728 2631 #define TEMPERATURE_COUNTER_ADDRESS 0x100A
wuliqunyy 20:26e934452728 2632 #define TEMPERATURE_COUNTER_OFFSET 12
wuliqunyy 20:26e934452728 2633 #define TEMPERATURE_COUNTER_LENGTH 4
wuliqunyy 20:26e934452728 2634 #define TEMPERATURE_COUNTER_MASK 0xF000
wuliqunyy 20:26e934452728 2635
wuliqunyy 20:26e934452728 2636 #define TEMPERATURE_VALUE_ADDRESS 0x100A
wuliqunyy 20:26e934452728 2637 #define TEMPERATURE_VALUE_OFFSET 0
wuliqunyy 20:26e934452728 2638 #define TEMPERATURE_VALUE_LENGTH 12
wuliqunyy 20:26e934452728 2639 #define TEMPERATURE_VALUE_MASK 0x0FFF
wuliqunyy 20:26e934452728 2640
wuliqunyy 20:26e934452728 2641 #define MOTOR_RUNNING_ADDRESS 0x1008
wuliqunyy 20:26e934452728 2642 #define MOTOR_RUNNING_OFFSET 15
wuliqunyy 20:26e934452728 2643 #define MOTOR_RUNNING_LENGTH 1
wuliqunyy 20:26e934452728 2644 #define MOTOR_RUNNING_MASK 0x8000
wuliqunyy 20:26e934452728 2645
wuliqunyy 20:26e934452728 2646 #define COMMAND_BUSY_ADDRESS 0x1008
wuliqunyy 20:26e934452728 2647 #define COMMAND_BUSY_OFFSET 4
wuliqunyy 20:26e934452728 2648 #define COMMAND_BUSY_LENGTH 1
wuliqunyy 20:26e934452728 2649 #define COMMAND_BUSY_MASK 0x0010
wuliqunyy 20:26e934452728 2650
wuliqunyy 20:26e934452728 2651 #define OTP_FREEZONES_ADDRESS 0x1008
wuliqunyy 20:26e934452728 2652 #define OTP_FREEZONES_OFFSET 2
wuliqunyy 20:26e934452728 2653 #define OTP_FREEZONES_LENGTH 2
wuliqunyy 20:26e934452728 2654 #define OTP_FREEZONES_MASK 0x000C
wuliqunyy 20:26e934452728 2655
wuliqunyy 20:26e934452728 2656 #define MOTOR_STUCK_ADDRESS 0x1008
wuliqunyy 20:26e934452728 2657 #define MOTOR_STUCK_OFFSET 1
wuliqunyy 20:26e934452728 2658 #define MOTOR_STUCK_LENGTH 1
wuliqunyy 20:26e934452728 2659 #define MOTOR_STUCK_MASK 0x0002
wuliqunyy 20:26e934452728 2660
wuliqunyy 20:26e934452728 2661 #define OVERVOLTAGE_ADDRESS 0x1008
wuliqunyy 20:26e934452728 2662 #define OVERVOLTAGE_OFFSET 0
wuliqunyy 20:26e934452728 2663 #define OVERVOLTAGE_LENGTH 1
wuliqunyy 20:26e934452728 2664 #define OVERVOLTAGE_MASK 0x0001
wuliqunyy 20:26e934452728 2665
wuliqunyy 20:26e934452728 2666 #define FEEDBACK_ADDRESS 0x1006
wuliqunyy 20:26e934452728 2667 #define FEEDBACK_OFFSET 0
wuliqunyy 20:26e934452728 2668 #define FEEDBACK_LENGTH 16
wuliqunyy 20:26e934452728 2669 #define FEEDBACK_MASK 0xFFFF
wuliqunyy 20:26e934452728 2670
wuliqunyy 20:26e934452728 2671 #define COMMAND_KEY_ADDRESS 0x1004
wuliqunyy 20:26e934452728 2672 #define COMMAND_KEY_OFFSET 0
wuliqunyy 20:26e934452728 2673 #define COMMAND_KEY_LENGTH 16
wuliqunyy 20:26e934452728 2674 #define COMMAND_KEY_MASK 0xFFFF
wuliqunyy 20:26e934452728 2675
wuliqunyy 20:26e934452728 2676 #define COMMAND_CONTROL_ADDRESS 0x1002
wuliqunyy 20:26e934452728 2677 #define COMMAND_CONTROL_OFFSET 0
wuliqunyy 20:26e934452728 2678 #define COMMAND_CONTROL_LENGTH 16
wuliqunyy 20:26e934452728 2679 #define COMMAND_CONTROL_MASK 0xFFFF
wuliqunyy 20:26e934452728 2680
wuliqunyy 20:26e934452728 2681 #define SPEED_DUTY_ADDRESS 0x1000
wuliqunyy 20:26e934452728 2682 #define SPEED_DUTY_OFFSET 0
wuliqunyy 20:26e934452728 2683 #define SPEED_DUTY_LENGTH 16
wuliqunyy 20:26e934452728 2684 #define SPEED_DUTY_MASK 0xFFFF
wuliqunyy 20:26e934452728 2685
wuliqunyy 20:26e934452728 2686