Bavo Van Achte / Mbed 2 deprecated MLX90418_I2C_master

Dependencies:   mbed libscpi

nv_bitfield_map.h

Committer:
wuliqunyy
Date:
2021-05-12
Revision:
15:83bbc18cccbc
Parent:
14:062850afdf38
Child:
20:26e934452728

File content as of revision 15:83bbc18cccbc:

#define NV_D_CORDAT_ID_ADDRESS 0x09FE
#define NV_D_CORDAT_ID_OFFSET 10
#define NV_D_CORDAT_ID_LENGTH 6
#define NV_D_CORDAT_ID_MASK 0xFC00

#define NV_D_FAB_ID_ADDRESS 0x09FE
#define NV_D_FAB_ID_OFFSET 6
#define NV_D_FAB_ID_LENGTH 4
#define NV_D_FAB_ID_MASK 0x03C0

#define NV_D_LOT_ID_16_11_ADDRESS 0x09FE
#define NV_D_LOT_ID_16_11_OFFSET 0
#define NV_D_LOT_ID_16_11_LENGTH 6
#define NV_D_LOT_ID_16_11_MASK 0x003F

#define NV_D_LOT_ID_10_0_ADDRESS 0x09FC
#define NV_D_LOT_ID_10_0_OFFSET 5
#define NV_D_LOT_ID_10_0_LENGTH 11
#define NV_D_LOT_ID_10_0_MASK 0xFFE0

#define NV_D_WFR_ID_ADDRESS 0x09FC
#define NV_D_WFR_ID_OFFSET 0
#define NV_D_WFR_ID_LENGTH 5
#define NV_D_WFR_ID_MASK 0x001F

#define NV_D_YPOS_ID_ADDRESS 0x09FA
#define NV_D_YPOS_ID_OFFSET 8
#define NV_D_YPOS_ID_LENGTH 8
#define NV_D_YPOS_ID_MASK 0xFF00

#define NV_D_XPOS_ID_ADDRESS 0x09FA
#define NV_D_XPOS_ID_OFFSET 0
#define NV_D_XPOS_ID_LENGTH 8
#define NV_D_XPOS_ID_MASK 0x00FF

#define NV_TRACEABILITY_0_ADDRESS 0x09F8
#define NV_TRACEABILITY_0_OFFSET 0
#define NV_TRACEABILITY_0_LENGTH 16
#define NV_TRACEABILITY_0_MASK 0xFFFF

#define NV_CRC_MLX_TRIMMING_ADDRESS 0x09F6
#define NV_CRC_MLX_TRIMMING_OFFSET 8
#define NV_CRC_MLX_TRIMMING_LENGTH 8
#define NV_CRC_MLX_TRIMMING_MASK 0xFF00

#define NV_DRVMOD_OSC_DIV4_EN_DRV_ADDRESS 0x09F4
#define NV_DRVMOD_OSC_DIV4_EN_DRV_OFFSET 13
#define NV_DRVMOD_OSC_DIV4_EN_DRV_LENGTH 1
#define NV_DRVMOD_OSC_DIV4_EN_DRV_MASK 0x2000

#define NV_DRVMOD_OSC_DIV4_SETTING_DRV_ADDRESS 0x09F4
#define NV_DRVMOD_OSC_DIV4_SETTING_DRV_OFFSET 12
#define NV_DRVMOD_OSC_DIV4_SETTING_DRV_LENGTH 1
#define NV_DRVMOD_OSC_DIV4_SETTING_DRV_MASK 0x1000

#define NV_HS_BOOST_PD_MODE_DRV_ADDRESS 0x09F4
#define NV_HS_BOOST_PD_MODE_DRV_OFFSET 10
#define NV_HS_BOOST_PD_MODE_DRV_LENGTH 2
#define NV_HS_BOOST_PD_MODE_DRV_MASK 0x0C00

#define NV_HS_BOOST_PU_MODE_DRV_ADDRESS 0x09F4
#define NV_HS_BOOST_PU_MODE_DRV_OFFSET 8
#define NV_HS_BOOST_PU_MODE_DRV_LENGTH 2
#define NV_HS_BOOST_PU_MODE_DRV_MASK 0x0300

#define NV_HS_HIGH_I_MODE_DRV_ADDRESS 0x09F4
#define NV_HS_HIGH_I_MODE_DRV_OFFSET 6
#define NV_HS_HIGH_I_MODE_DRV_LENGTH 2
#define NV_HS_HIGH_I_MODE_DRV_MASK 0x00C0

#define NV_HS_ONSW_DELAY_ENABLE_DRV_ADDRESS 0x09F4
#define NV_HS_ONSW_DELAY_ENABLE_DRV_OFFSET 5
#define NV_HS_ONSW_DELAY_ENABLE_DRV_LENGTH 1
#define NV_HS_ONSW_DELAY_ENABLE_DRV_MASK 0x0020

#define NV_LS_BOOST_MODE_DRV_ADDRESS 0x09F4
#define NV_LS_BOOST_MODE_DRV_OFFSET 3
#define NV_LS_BOOST_MODE_DRV_LENGTH 2
#define NV_LS_BOOST_MODE_DRV_MASK 0x0018

#define NV_LS_HIGH_I_MODE_DRV_ADDRESS 0x09F4
#define NV_LS_HIGH_I_MODE_DRV_OFFSET 1
#define NV_LS_HIGH_I_MODE_DRV_LENGTH 2
#define NV_LS_HIGH_I_MODE_DRV_MASK 0x0006

#define NV_DISABLE_DRVSUP_STARTLOAD_DRV_ADDRESS 0x09F4
#define NV_DISABLE_DRVSUP_STARTLOAD_DRV_OFFSET 0
#define NV_DISABLE_DRVSUP_STARTLOAD_DRV_LENGTH 1
#define NV_DISABLE_DRVSUP_STARTLOAD_DRV_MASK 0x0001

#define NV_DRV_MODE_SEL_DRV_ADDRESS 0x09F2
#define NV_DRV_MODE_SEL_DRV_OFFSET 15
#define NV_DRV_MODE_SEL_DRV_LENGTH 1
#define NV_DRV_MODE_SEL_DRV_MASK 0x8000

#define NV_OC_ADJ_DRV_ADDRESS 0x09F2
#define NV_OC_ADJ_DRV_OFFSET 13
#define NV_OC_ADJ_DRV_LENGTH 2
#define NV_OC_ADJ_DRV_MASK 0x6000

#define NV_OV_BLANK_OPTION_ADDRESS 0x09F2
#define NV_OV_BLANK_OPTION_OFFSET 7
#define NV_OV_BLANK_OPTION_LENGTH 2
#define NV_OV_BLANK_OPTION_MASK 0x0180

#define NV_OV_BLANK_TIMER_DIS_ADDRESS 0x09F2
#define NV_OV_BLANK_TIMER_DIS_OFFSET 6
#define NV_OV_BLANK_TIMER_DIS_LENGTH 1
#define NV_OV_BLANK_TIMER_DIS_MASK 0x0040

#define NV_OV_BLANK_DIS_ADDRESS 0x09F2
#define NV_OV_BLANK_DIS_OFFSET 5
#define NV_OV_BLANK_DIS_LENGTH 1
#define NV_OV_BLANK_DIS_MASK 0x0020

#define NV_OV_TIMEBASE_SELECT_ADDRESS 0x09F2
#define NV_OV_TIMEBASE_SELECT_OFFSET 3
#define NV_OV_TIMEBASE_SELECT_LENGTH 2
#define NV_OV_TIMEBASE_SELECT_MASK 0x0018

#define NV_VS_OVDET_SEL_SUP_ADDRESS 0x09F2
#define NV_VS_OVDET_SEL_SUP_OFFSET 0
#define NV_VS_OVDET_SEL_SUP_LENGTH 3
#define NV_VS_OVDET_SEL_SUP_MASK 0x0007

#define NV_OTP_VPP_SETUP_TIME_ADDRESS 0x09F0
#define NV_OTP_VPP_SETUP_TIME_OFFSET 5
#define NV_OTP_VPP_SETUP_TIME_LENGTH 5
#define NV_OTP_VPP_SETUP_TIME_MASK 0x03E0

#define NV_OTP_PROGRAM_WIDTH_ADDRESS 0x09F0
#define NV_OTP_PROGRAM_WIDTH_OFFSET 0
#define NV_OTP_PROGRAM_WIDTH_LENGTH 5
#define NV_OTP_PROGRAM_WIDTH_MASK 0x001F

#define NV_OTP_USETIMINGS_ADDRESS 0x09EE
#define NV_OTP_USETIMINGS_OFFSET 15
#define NV_OTP_USETIMINGS_LENGTH 1
#define NV_OTP_USETIMINGS_MASK 0x8000

#define NV_OTP_CEB_SETUP_WIDTH_ADDRESS 0x09EE
#define NV_OTP_CEB_SETUP_WIDTH_OFFSET 10
#define NV_OTP_CEB_SETUP_WIDTH_LENGTH 5
#define NV_OTP_CEB_SETUP_WIDTH_MASK 0x7C00

#define NV_OTP_WAIT_STATES_ADDRESS 0x09EE
#define NV_OTP_WAIT_STATES_OFFSET 5
#define NV_OTP_WAIT_STATES_LENGTH 5
#define NV_OTP_WAIT_STATES_MASK 0x03E0

#define NV_OTP_RESET_PULSE_WIDTH_ADDRESS 0x09EE
#define NV_OTP_RESET_PULSE_WIDTH_OFFSET 0
#define NV_OTP_RESET_PULSE_WIDTH_LENGTH 5
#define NV_OTP_RESET_PULSE_WIDTH_MASK 0x001F

#define NV_OC_FB_DIS_DRV_ADDRESS 0x09EC
#define NV_OC_FB_DIS_DRV_OFFSET 1
#define NV_OC_FB_DIS_DRV_LENGTH 1
#define NV_OC_FB_DIS_DRV_MASK 0x0002

#define NV_CL_FB_DIS_DRV_ADDRESS 0x09EC
#define NV_CL_FB_DIS_DRV_OFFSET 0
#define NV_CL_FB_DIS_DRV_LENGTH 1
#define NV_CL_FB_DIS_DRV_MASK 0x0001

#define NV_MLX_TRIM_9_ADDRESS 0x09EA
#define NV_MLX_TRIM_9_OFFSET 0
#define NV_MLX_TRIM_9_LENGTH 16
#define NV_MLX_TRIM_9_MASK 0xFFFF

#define NV_MLX_TRIM_8_ADDRESS 0x09E8
#define NV_MLX_TRIM_8_OFFSET 0
#define NV_MLX_TRIM_8_LENGTH 16
#define NV_MLX_TRIM_8_MASK 0xFFFF

#define NV_MLX_TRIM_7_ADDRESS 0x09E6
#define NV_MLX_TRIM_7_OFFSET 0
#define NV_MLX_TRIM_7_LENGTH 16
#define NV_MLX_TRIM_7_MASK 0xFFFF

#define NV_MLX_TRIM_6_ADDRESS 0x09E4
#define NV_MLX_TRIM_6_OFFSET 0
#define NV_MLX_TRIM_6_LENGTH 16
#define NV_MLX_TRIM_6_MASK 0xFFFF

#define NV_MLX_TRIM_5_ADDRESS 0x09E2
#define NV_MLX_TRIM_5_OFFSET 0
#define NV_MLX_TRIM_5_LENGTH 16
#define NV_MLX_TRIM_5_MASK 0xFFFF

#define TR_DRVSUP_DRV_ADDRESS 0x09E0
#define TR_DRVSUP_DRV_OFFSET 12
#define TR_DRVSUP_DRV_LENGTH 4
#define TR_DRVSUP_DRV_MASK 0xF000

#define TR_CPCLK_DRV_ADDRESS 0x09E0
#define TR_CPCLK_DRV_OFFSET 0
#define TR_CPCLK_DRV_LENGTH 10
#define TR_CPCLK_DRV_MASK 0x03FF

#define TR_OC_DRV_ADDRESS 0x09DE
#define TR_OC_DRV_OFFSET 8
#define TR_OC_DRV_LENGTH 5
#define TR_OC_DRV_MASK 0x1F00

#define TR_SLWRT_DRV_ADDRESS 0x09DE
#define TR_SLWRT_DRV_OFFSET 4
#define TR_SLWRT_DRV_LENGTH 4
#define TR_SLWRT_DRV_MASK 0x00F0

#define TR_VSMCLAMP_DRV_ADDRESS 0x09DE
#define TR_VSMCLAMP_DRV_OFFSET 0
#define TR_VSMCLAMP_DRV_LENGTH 4
#define TR_VSMCLAMP_DRV_MASK 0x000F

#define I2C_SDA_IN_FILT_ADDRESS 0x09DC
#define I2C_SDA_IN_FILT_OFFSET 10
#define I2C_SDA_IN_FILT_LENGTH 2
#define I2C_SDA_IN_FILT_MASK 0x0C00

#define I2C_SDA_OUT_FILT_ADDRESS 0x09DC
#define I2C_SDA_OUT_FILT_OFFSET 8
#define I2C_SDA_OUT_FILT_LENGTH 2
#define I2C_SDA_OUT_FILT_MASK 0x0300

#define TR_OTPVPP_SUP_ADDRESS 0x09DC
#define TR_OTPVPP_SUP_OFFSET 6
#define TR_OTPVPP_SUP_LENGTH 2
#define TR_OTPVPP_SUP_MASK 0x00C0

#define TR_FDA_GAIN_ISENSE_ADDRESS 0x09DC
#define TR_FDA_GAIN_ISENSE_OFFSET 0
#define TR_FDA_GAIN_ISENSE_LENGTH 6
#define TR_FDA_GAIN_ISENSE_MASK 0x003F

#define TR_OSC_ADDRESS 0x09DA
#define TR_OSC_OFFSET 6
#define TR_OSC_LENGTH 9
#define TR_OSC_MASK 0x7FC0

#define TR_HIGHSPEED_OSC_ADDRESS 0x09DA
#define TR_HIGHSPEED_OSC_OFFSET 5
#define TR_HIGHSPEED_OSC_LENGTH 1
#define TR_HIGHSPEED_OSC_MASK 0x0020

#define TR_IREF_SUP_ADDRESS 0x09DA
#define TR_IREF_SUP_OFFSET 0
#define TR_IREF_SUP_LENGTH 5
#define TR_IREF_SUP_MASK 0x001F

#define TR_BGTC_SUP_ADDRESS 0x09D8
#define TR_BGTC_SUP_OFFSET 11
#define TR_BGTC_SUP_LENGTH 5
#define TR_BGTC_SUP_MASK 0xF800

#define TR_BGDC_SUP_ADDRESS 0x09D8
#define TR_BGDC_SUP_OFFSET 8
#define TR_BGDC_SUP_LENGTH 3
#define TR_BGDC_SUP_MASK 0x0700

#define TR_VDDA_SUP_ADDRESS 0x09D8
#define TR_VDDA_SUP_OFFSET 4
#define TR_VDDA_SUP_LENGTH 4
#define TR_VDDA_SUP_MASK 0x00F0

#define TR_VDDD_SUP_ADDRESS 0x09D8
#define TR_VDDD_SUP_OFFSET 0
#define TR_VDDD_SUP_LENGTH 4
#define TR_VDDD_SUP_MASK 0x000F

#define NV_CRC_MLX_CALIBRATION_ADDRESS 0x09D6
#define NV_CRC_MLX_CALIBRATION_OFFSET 8
#define NV_CRC_MLX_CALIBRATION_LENGTH 8
#define NV_CRC_MLX_CALIBRATION_MASK 0xFF00

#define NV_MLX_CALIB_22_ADDRESS 0x09D4
#define NV_MLX_CALIB_22_OFFSET 0
#define NV_MLX_CALIB_22_LENGTH 16
#define NV_MLX_CALIB_22_MASK 0xFFFF

#define NV_MLX_CALIB_21_ADDRESS 0x09D2
#define NV_MLX_CALIB_21_OFFSET 0
#define NV_MLX_CALIB_21_LENGTH 16
#define NV_MLX_CALIB_21_MASK 0xFFFF

#define NV_MLX_CALIB_20_ADDRESS 0x09D0
#define NV_MLX_CALIB_20_OFFSET 0
#define NV_MLX_CALIB_20_LENGTH 16
#define NV_MLX_CALIB_20_MASK 0xFFFF

#define NV_MLX_CALIB_19_ADDRESS 0x09CE
#define NV_MLX_CALIB_19_OFFSET 0
#define NV_MLX_CALIB_19_LENGTH 16
#define NV_MLX_CALIB_19_MASK 0xFFFF

#define NV_MLX_CALIB_18_ADDRESS 0x09CC
#define NV_MLX_CALIB_18_OFFSET 0
#define NV_MLX_CALIB_18_LENGTH 16
#define NV_MLX_CALIB_18_MASK 0xFFFF

#define NV_MLX_CALIB_17_ADDRESS 0x09CA
#define NV_MLX_CALIB_17_OFFSET 0
#define NV_MLX_CALIB_17_LENGTH 16
#define NV_MLX_CALIB_17_MASK 0xFFFF

#define NV_MLX_CALIB_16_ADDRESS 0x09C8
#define NV_MLX_CALIB_16_OFFSET 0
#define NV_MLX_CALIB_16_LENGTH 16
#define NV_MLX_CALIB_16_MASK 0xFFFF

#define NV_MLX_CALIB_15_ADDRESS 0x09C6
#define NV_MLX_CALIB_15_OFFSET 0
#define NV_MLX_CALIB_15_LENGTH 16
#define NV_MLX_CALIB_15_MASK 0xFFFF

#define NV_MLX_CALIB_14_ADDRESS 0x09C4
#define NV_MLX_CALIB_14_OFFSET 0
#define NV_MLX_CALIB_14_LENGTH 16
#define NV_MLX_CALIB_14_MASK 0xFFFF

#define NV_MLX_CALIB_13_ADDRESS 0x09C2
#define NV_MLX_CALIB_13_OFFSET 0
#define NV_MLX_CALIB_13_LENGTH 16
#define NV_MLX_CALIB_13_MASK 0xFFFF

#define NV_MLX_CALIB_12_ADDRESS 0x09C0
#define NV_MLX_CALIB_12_OFFSET 0
#define NV_MLX_CALIB_12_LENGTH 16
#define NV_MLX_CALIB_12_MASK 0xFFFF

#define NV_MLX_CALIB_11_ADDRESS 0x09BE
#define NV_MLX_CALIB_11_OFFSET 0
#define NV_MLX_CALIB_11_LENGTH 16
#define NV_MLX_CALIB_11_MASK 0xFFFF

#define NV_MLX_CALIB_10_ADDRESS 0x09BC
#define NV_MLX_CALIB_10_OFFSET 0
#define NV_MLX_CALIB_10_LENGTH 16
#define NV_MLX_CALIB_10_MASK 0xFFFF

#define NV_MLX_CALIB_9_ADDRESS 0x09BA
#define NV_MLX_CALIB_9_OFFSET 0
#define NV_MLX_CALIB_9_LENGTH 16
#define NV_MLX_CALIB_9_MASK 0xFFFF

#define NV_MLX_CALIB_8_ADDRESS 0x09B8
#define NV_MLX_CALIB_8_OFFSET 0
#define NV_MLX_CALIB_8_LENGTH 16
#define NV_MLX_CALIB_8_MASK 0xFFFF

#define NV_MLX_CALIB_7_ADDRESS 0x09B6
#define NV_MLX_CALIB_7_OFFSET 0
#define NV_MLX_CALIB_7_LENGTH 16
#define NV_MLX_CALIB_7_MASK 0xFFFF

#define NV_MLX_CALIB_6_ADDRESS 0x09B4
#define NV_MLX_CALIB_6_OFFSET 0
#define NV_MLX_CALIB_6_LENGTH 16
#define NV_MLX_CALIB_6_MASK 0xFFFF

#define NV_MLX_CALIB_5_ADDRESS 0x09B2
#define NV_MLX_CALIB_5_OFFSET 0
#define NV_MLX_CALIB_5_LENGTH 16
#define NV_MLX_CALIB_5_MASK 0xFFFF

#define NV_MLX_CALIB_4_ADDRESS 0x09B0
#define NV_MLX_CALIB_4_OFFSET 0
#define NV_MLX_CALIB_4_LENGTH 16
#define NV_MLX_CALIB_4_MASK 0xFFFF

#define NV_MLX_CALIB_3_ADDRESS 0x09AE
#define NV_MLX_CALIB_3_OFFSET 0
#define NV_MLX_CALIB_3_LENGTH 16
#define NV_MLX_CALIB_3_MASK 0xFFFF

#define NV_MLX_CALIB_2_ADDRESS 0x09AC
#define NV_MLX_CALIB_2_OFFSET 0
#define NV_MLX_CALIB_2_LENGTH 16
#define NV_MLX_CALIB_2_MASK 0xFFFF

#define NV_MAX_CLIM_USER_ADDRESS 0x09AA
#define NV_MAX_CLIM_USER_OFFSET 0
#define NV_MAX_CLIM_USER_LENGTH 8
#define NV_MAX_CLIM_USER_MASK 0x00FF

#define NV_CLIM_GAIN_ADDRESS 0x09A8
#define NV_CLIM_GAIN_OFFSET 8
#define NV_CLIM_GAIN_LENGTH 8
#define NV_CLIM_GAIN_MASK 0xFF00

#define NV_CLIM_OFFSET_ADDRESS 0x09A8
#define NV_CLIM_OFFSET_OFFSET 0
#define NV_CLIM_OFFSET_LENGTH 8
#define NV_CLIM_OFFSET_MASK 0x00FF

#define NV_FREE_89_ADDRESS 0x09A6
#define NV_FREE_89_OFFSET 0
#define NV_FREE_89_LENGTH 16
#define NV_FREE_89_MASK 0xFFFF

#define NV_FREE_88_ADDRESS 0x09A4
#define NV_FREE_88_OFFSET 0
#define NV_FREE_88_LENGTH 16
#define NV_FREE_88_MASK 0xFFFF

#define NV_FREE_87_ADDRESS 0x09A2
#define NV_FREE_87_OFFSET 0
#define NV_FREE_87_LENGTH 16
#define NV_FREE_87_MASK 0xFFFF

#define NV_FREE_86_ADDRESS 0x09A0
#define NV_FREE_86_OFFSET 0
#define NV_FREE_86_LENGTH 16
#define NV_FREE_86_MASK 0xFFFF

#define NV_FREE_85_ADDRESS 0x099E
#define NV_FREE_85_OFFSET 0
#define NV_FREE_85_LENGTH 16
#define NV_FREE_85_MASK 0xFFFF

#define NV_FREE_84_ADDRESS 0x099C
#define NV_FREE_84_OFFSET 0
#define NV_FREE_84_LENGTH 16
#define NV_FREE_84_MASK 0xFFFF

#define NV_FREE_83_ADDRESS 0x099A
#define NV_FREE_83_OFFSET 0
#define NV_FREE_83_LENGTH 16
#define NV_FREE_83_MASK 0xFFFF

#define NV_FREE_82_ADDRESS 0x0998
#define NV_FREE_82_OFFSET 0
#define NV_FREE_82_LENGTH 16
#define NV_FREE_82_MASK 0xFFFF

#define NV_FREE_81_ADDRESS 0x0996
#define NV_FREE_81_OFFSET 0
#define NV_FREE_81_LENGTH 16
#define NV_FREE_81_MASK 0xFFFF

#define NV_FREE_80_ADDRESS 0x0994
#define NV_FREE_80_OFFSET 0
#define NV_FREE_80_LENGTH 16
#define NV_FREE_80_MASK 0xFFFF

#define NV_FREE_79_ADDRESS 0x0992
#define NV_FREE_79_OFFSET 0
#define NV_FREE_79_LENGTH 16
#define NV_FREE_79_MASK 0xFFFF

#define NV_FREE_78_ADDRESS 0x0990
#define NV_FREE_78_OFFSET 0
#define NV_FREE_78_LENGTH 16
#define NV_FREE_78_MASK 0xFFFF

#define NV_FREE_77_ADDRESS 0x098E
#define NV_FREE_77_OFFSET 0
#define NV_FREE_77_LENGTH 16
#define NV_FREE_77_MASK 0xFFFF

#define NV_FREE_76_ADDRESS 0x098C
#define NV_FREE_76_OFFSET 0
#define NV_FREE_76_LENGTH 16
#define NV_FREE_76_MASK 0xFFFF

#define NV_FREE_75_ADDRESS 0x098A
#define NV_FREE_75_OFFSET 0
#define NV_FREE_75_LENGTH 16
#define NV_FREE_75_MASK 0xFFFF

#define NV_FREE_74_ADDRESS 0x0988
#define NV_FREE_74_OFFSET 0
#define NV_FREE_74_LENGTH 16
#define NV_FREE_74_MASK 0xFFFF

#define NV_FREE_73_ADDRESS 0x0986
#define NV_FREE_73_OFFSET 0
#define NV_FREE_73_LENGTH 16
#define NV_FREE_73_MASK 0xFFFF

#define NV_FREE_72_ADDRESS 0x0984
#define NV_FREE_72_OFFSET 0
#define NV_FREE_72_LENGTH 16
#define NV_FREE_72_MASK 0xFFFF

#define NV_FREE_71_ADDRESS 0x0982
#define NV_FREE_71_OFFSET 0
#define NV_FREE_71_LENGTH 16
#define NV_FREE_71_MASK 0xFFFF

#define NV_FREE_70_ADDRESS 0x0980
#define NV_FREE_70_OFFSET 0
#define NV_FREE_70_LENGTH 16
#define NV_FREE_70_MASK 0xFFFF

#define NV_FREE_69_ADDRESS 0x097E
#define NV_FREE_69_OFFSET 0
#define NV_FREE_69_LENGTH 16
#define NV_FREE_69_MASK 0xFFFF

#define NV_FREE_68_ADDRESS 0x097C
#define NV_FREE_68_OFFSET 0
#define NV_FREE_68_LENGTH 16
#define NV_FREE_68_MASK 0xFFFF

#define NV_FREE_67_ADDRESS 0x097A
#define NV_FREE_67_OFFSET 0
#define NV_FREE_67_LENGTH 16
#define NV_FREE_67_MASK 0xFFFF

#define NV_FREE_66_ADDRESS 0x0978
#define NV_FREE_66_OFFSET 0
#define NV_FREE_66_LENGTH 16
#define NV_FREE_66_MASK 0xFFFF

#define NV_FREE_65_ADDRESS 0x0976
#define NV_FREE_65_OFFSET 0
#define NV_FREE_65_LENGTH 16
#define NV_FREE_65_MASK 0xFFFF

#define NV_FREE_64_ADDRESS 0x0974
#define NV_FREE_64_OFFSET 0
#define NV_FREE_64_LENGTH 16
#define NV_FREE_64_MASK 0xFFFF

#define NV_FREE_63_ADDRESS 0x0972
#define NV_FREE_63_OFFSET 0
#define NV_FREE_63_LENGTH 16
#define NV_FREE_63_MASK 0xFFFF

#define NV_FREE_62_ADDRESS 0x0970
#define NV_FREE_62_OFFSET 0
#define NV_FREE_62_LENGTH 16
#define NV_FREE_62_MASK 0xFFFF

#define NV_FREE_61_ADDRESS 0x096E
#define NV_FREE_61_OFFSET 0
#define NV_FREE_61_LENGTH 16
#define NV_FREE_61_MASK 0xFFFF

#define NV_FREE_60_ADDRESS 0x096C
#define NV_FREE_60_OFFSET 0
#define NV_FREE_60_LENGTH 16
#define NV_FREE_60_MASK 0xFFFF

#define NV_FREE_59_ADDRESS 0x096A
#define NV_FREE_59_OFFSET 0
#define NV_FREE_59_LENGTH 16
#define NV_FREE_59_MASK 0xFFFF

#define NV_FREE_58_ADDRESS 0x0968
#define NV_FREE_58_OFFSET 0
#define NV_FREE_58_LENGTH 16
#define NV_FREE_58_MASK 0xFFFF

#define NV_FREE_57_ADDRESS 0x0966
#define NV_FREE_57_OFFSET 0
#define NV_FREE_57_LENGTH 16
#define NV_FREE_57_MASK 0xFFFF

#define NV_FREE_56_ADDRESS 0x0964
#define NV_FREE_56_OFFSET 0
#define NV_FREE_56_LENGTH 16
#define NV_FREE_56_MASK 0xFFFF

#define NV_FREE_55_ADDRESS 0x0962
#define NV_FREE_55_OFFSET 0
#define NV_FREE_55_LENGTH 16
#define NV_FREE_55_MASK 0xFFFF

#define NV_FREE_54_ADDRESS 0x0960
#define NV_FREE_54_OFFSET 0
#define NV_FREE_54_LENGTH 16
#define NV_FREE_54_MASK 0xFFFF

#define NV_FREE_53_ADDRESS 0x095E
#define NV_FREE_53_OFFSET 0
#define NV_FREE_53_LENGTH 16
#define NV_FREE_53_MASK 0xFFFF

#define NV_FREE_52_ADDRESS 0x095C
#define NV_FREE_52_OFFSET 0
#define NV_FREE_52_LENGTH 16
#define NV_FREE_52_MASK 0xFFFF

#define NV_FREE_51_ADDRESS 0x095A
#define NV_FREE_51_OFFSET 0
#define NV_FREE_51_LENGTH 16
#define NV_FREE_51_MASK 0xFFFF

#define NV_FREE_50_ADDRESS 0x0958
#define NV_FREE_50_OFFSET 0
#define NV_FREE_50_LENGTH 16
#define NV_FREE_50_MASK 0xFFFF

#define NV_FREE_49_ADDRESS 0x0956
#define NV_FREE_49_OFFSET 0
#define NV_FREE_49_LENGTH 16
#define NV_FREE_49_MASK 0xFFFF

#define NV_FREE_48_ADDRESS 0x0954
#define NV_FREE_48_OFFSET 0
#define NV_FREE_48_LENGTH 16
#define NV_FREE_48_MASK 0xFFFF

#define NV_FREE_47_ADDRESS 0x0952
#define NV_FREE_47_OFFSET 0
#define NV_FREE_47_LENGTH 16
#define NV_FREE_47_MASK 0xFFFF

#define NV_FREE_46_ADDRESS 0x0950
#define NV_FREE_46_OFFSET 0
#define NV_FREE_46_LENGTH 16
#define NV_FREE_46_MASK 0xFFFF

#define NV_FREE_45_ADDRESS 0x094E
#define NV_FREE_45_OFFSET 0
#define NV_FREE_45_LENGTH 16
#define NV_FREE_45_MASK 0xFFFF

#define NV_FREE_44_ADDRESS 0x094C
#define NV_FREE_44_OFFSET 0
#define NV_FREE_44_LENGTH 16
#define NV_FREE_44_MASK 0xFFFF

#define NV_FREE_43_ADDRESS 0x094A
#define NV_FREE_43_OFFSET 0
#define NV_FREE_43_LENGTH 16
#define NV_FREE_43_MASK 0xFFFF

#define NV_FREE_42_ADDRESS 0x0948
#define NV_FREE_42_OFFSET 0
#define NV_FREE_42_LENGTH 16
#define NV_FREE_42_MASK 0xFFFF

#define NV_FREE_41_ADDRESS 0x0946
#define NV_FREE_41_OFFSET 0
#define NV_FREE_41_LENGTH 16
#define NV_FREE_41_MASK 0xFFFF

#define NV_FREE_40_ADDRESS 0x0944
#define NV_FREE_40_OFFSET 0
#define NV_FREE_40_LENGTH 16
#define NV_FREE_40_MASK 0xFFFF

#define NV_FREE_39_ADDRESS 0x0942
#define NV_FREE_39_OFFSET 0
#define NV_FREE_39_LENGTH 16
#define NV_FREE_39_MASK 0xFFFF

#define NV_FREE_38_ADDRESS 0x0940
#define NV_FREE_38_OFFSET 0
#define NV_FREE_38_LENGTH 16
#define NV_FREE_38_MASK 0xFFFF

#define NV_FREE_37_ADDRESS 0x093E
#define NV_FREE_37_OFFSET 0
#define NV_FREE_37_LENGTH 16
#define NV_FREE_37_MASK 0xFFFF

#define NV_FREE_36_ADDRESS 0x093C
#define NV_FREE_36_OFFSET 0
#define NV_FREE_36_LENGTH 16
#define NV_FREE_36_MASK 0xFFFF

#define NV_FREE_35_ADDRESS 0x093A
#define NV_FREE_35_OFFSET 0
#define NV_FREE_35_LENGTH 16
#define NV_FREE_35_MASK 0xFFFF

#define NV_FREE_34_ADDRESS 0x0938
#define NV_FREE_34_OFFSET 0
#define NV_FREE_34_LENGTH 16
#define NV_FREE_34_MASK 0xFFFF

#define NV_FREE_33_ADDRESS 0x0936
#define NV_FREE_33_OFFSET 0
#define NV_FREE_33_LENGTH 16
#define NV_FREE_33_MASK 0xFFFF

#define NV_FREE_32_ADDRESS 0x0934
#define NV_FREE_32_OFFSET 0
#define NV_FREE_32_LENGTH 16
#define NV_FREE_32_MASK 0xFFFF

#define NV_FREE_31_ADDRESS 0x0932
#define NV_FREE_31_OFFSET 0
#define NV_FREE_31_LENGTH 16
#define NV_FREE_31_MASK 0xFFFF

#define NV_FREE_30_ADDRESS 0x0930
#define NV_FREE_30_OFFSET 0
#define NV_FREE_30_LENGTH 16
#define NV_FREE_30_MASK 0xFFFF

#define NV_FREE_29_ADDRESS 0x092E
#define NV_FREE_29_OFFSET 0
#define NV_FREE_29_LENGTH 16
#define NV_FREE_29_MASK 0xFFFF

#define NV_FREE_28_ADDRESS 0x092C
#define NV_FREE_28_OFFSET 0
#define NV_FREE_28_LENGTH 16
#define NV_FREE_28_MASK 0xFFFF

#define NV_FREE_27_ADDRESS 0x092A
#define NV_FREE_27_OFFSET 0
#define NV_FREE_27_LENGTH 16
#define NV_FREE_27_MASK 0xFFFF

#define NV_FREE_26_ADDRESS 0x0928
#define NV_FREE_26_OFFSET 0
#define NV_FREE_26_LENGTH 16
#define NV_FREE_26_MASK 0xFFFF

#define NV_FREE_25_ADDRESS 0x0926
#define NV_FREE_25_OFFSET 0
#define NV_FREE_25_LENGTH 16
#define NV_FREE_25_MASK 0xFFFF

#define NV_FREE_24_ADDRESS 0x0924
#define NV_FREE_24_OFFSET 0
#define NV_FREE_24_LENGTH 16
#define NV_FREE_24_MASK 0xFFFF

#define NV_FREE_23_ADDRESS 0x0922
#define NV_FREE_23_OFFSET 0
#define NV_FREE_23_LENGTH 16
#define NV_FREE_23_MASK 0xFFFF

#define NV_FREE_22_ADDRESS 0x0920
#define NV_FREE_22_OFFSET 0
#define NV_FREE_22_LENGTH 16
#define NV_FREE_22_MASK 0xFFFF

#define NV_FREE_21_ADDRESS 0x091E
#define NV_FREE_21_OFFSET 0
#define NV_FREE_21_LENGTH 16
#define NV_FREE_21_MASK 0xFFFF

#define NV_FREE_20_ADDRESS 0x091C
#define NV_FREE_20_OFFSET 0
#define NV_FREE_20_LENGTH 16
#define NV_FREE_20_MASK 0xFFFF

#define NV_FREE_19_ADDRESS 0x091A
#define NV_FREE_19_OFFSET 0
#define NV_FREE_19_LENGTH 16
#define NV_FREE_19_MASK 0xFFFF

#define NV_FREE_18_ADDRESS 0x0918
#define NV_FREE_18_OFFSET 0
#define NV_FREE_18_LENGTH 16
#define NV_FREE_18_MASK 0xFFFF

#define NV_FREE_17_ADDRESS 0x0916
#define NV_FREE_17_OFFSET 0
#define NV_FREE_17_LENGTH 16
#define NV_FREE_17_MASK 0xFFFF

#define NV_FREE_16_ADDRESS 0x0914
#define NV_FREE_16_OFFSET 0
#define NV_FREE_16_LENGTH 16
#define NV_FREE_16_MASK 0xFFFF

#define NV_FREE_15_ADDRESS 0x0912
#define NV_FREE_15_OFFSET 0
#define NV_FREE_15_LENGTH 16
#define NV_FREE_15_MASK 0xFFFF

#define NV_FREE_14_ADDRESS 0x0910
#define NV_FREE_14_OFFSET 0
#define NV_FREE_14_LENGTH 16
#define NV_FREE_14_MASK 0xFFFF

#define NV_FREE_13_ADDRESS 0x090E
#define NV_FREE_13_OFFSET 0
#define NV_FREE_13_LENGTH 16
#define NV_FREE_13_MASK 0xFFFF

#define NV_FREE_12_ADDRESS 0x090C
#define NV_FREE_12_OFFSET 0
#define NV_FREE_12_LENGTH 16
#define NV_FREE_12_MASK 0xFFFF

#define NV_FREE_11_ADDRESS 0x090A
#define NV_FREE_11_OFFSET 0
#define NV_FREE_11_LENGTH 16
#define NV_FREE_11_MASK 0xFFFF

#define NV_FREE_10_ADDRESS 0x0908
#define NV_FREE_10_OFFSET 0
#define NV_FREE_10_LENGTH 16
#define NV_FREE_10_MASK 0xFFFF

#define NV_FREE_9_ADDRESS 0x0906
#define NV_FREE_9_OFFSET 0
#define NV_FREE_9_LENGTH 16
#define NV_FREE_9_MASK 0xFFFF

#define NV_FREE_8_ADDRESS 0x0904
#define NV_FREE_8_OFFSET 0
#define NV_FREE_8_LENGTH 16
#define NV_FREE_8_MASK 0xFFFF

#define NV_FREE_7_ADDRESS 0x0902
#define NV_FREE_7_OFFSET 0
#define NV_FREE_7_LENGTH 16
#define NV_FREE_7_MASK 0xFFFF

#define NV_FREE_6_ADDRESS 0x0900
#define NV_FREE_6_OFFSET 0
#define NV_FREE_6_LENGTH 16
#define NV_FREE_6_MASK 0xFFFF

#define NV_FREE_5_ADDRESS 0x08FE
#define NV_FREE_5_OFFSET 0
#define NV_FREE_5_LENGTH 16
#define NV_FREE_5_MASK 0xFFFF

#define NV_FREE_4_ADDRESS 0x08FC
#define NV_FREE_4_OFFSET 0
#define NV_FREE_4_LENGTH 16
#define NV_FREE_4_MASK 0xFFFF

#define NV_FREE_3_ADDRESS 0x08FA
#define NV_FREE_3_OFFSET 0
#define NV_FREE_3_LENGTH 16
#define NV_FREE_3_MASK 0xFFFF

#define NV_FREE_2_ADDRESS 0x08F8
#define NV_FREE_2_OFFSET 0
#define NV_FREE_2_LENGTH 16
#define NV_FREE_2_MASK 0xFFFF

#define NV_CRC_PATCH_3_ADDRESS 0x08F6
#define NV_CRC_PATCH_3_OFFSET 8
#define NV_CRC_PATCH_3_LENGTH 8
#define NV_CRC_PATCH_3_MASK 0xFF00

#define NV_CRC_PATCH_2_ADDRESS 0x08F6
#define NV_CRC_PATCH_2_OFFSET 0
#define NV_CRC_PATCH_2_LENGTH 8
#define NV_CRC_PATCH_2_MASK 0x00FF

#define NV_CRC_PATCH_1_ADDRESS 0x08F4
#define NV_CRC_PATCH_1_OFFSET 8
#define NV_CRC_PATCH_1_LENGTH 8
#define NV_CRC_PATCH_1_MASK 0xFF00

#define NV_CRC_PATCH_0_ADDRESS 0x08F4
#define NV_CRC_PATCH_0_OFFSET 0
#define NV_CRC_PATCH_0_LENGTH 8
#define NV_CRC_PATCH_0_MASK 0x00FF

#define NV_PATCH_3_INSTRUCTION_ADDRESS 0x08F2
#define NV_PATCH_3_INSTRUCTION_OFFSET 0
#define NV_PATCH_3_INSTRUCTION_LENGTH 16
#define NV_PATCH_3_INSTRUCTION_MASK 0xFFFF

#define NV_PATCH_3_ADDRESS_ADDRESS 0x08F0
#define NV_PATCH_3_ADDRESS_OFFSET 0
#define NV_PATCH_3_ADDRESS_LENGTH 16
#define NV_PATCH_3_ADDRESS_MASK 0xFFFF

#define NV_PATCH_2_INSTRUCTION_ADDRESS 0x08EE
#define NV_PATCH_2_INSTRUCTION_OFFSET 0
#define NV_PATCH_2_INSTRUCTION_LENGTH 16
#define NV_PATCH_2_INSTRUCTION_MASK 0xFFFF

#define NV_PATCH_2_ADDRESS_ADDRESS 0x08EC
#define NV_PATCH_2_ADDRESS_OFFSET 0
#define NV_PATCH_2_ADDRESS_LENGTH 16
#define NV_PATCH_2_ADDRESS_MASK 0xFFFF

#define NV_PATCH_1_INSTRUCTION_ADDRESS 0x08EA
#define NV_PATCH_1_INSTRUCTION_OFFSET 0
#define NV_PATCH_1_INSTRUCTION_LENGTH 16
#define NV_PATCH_1_INSTRUCTION_MASK 0xFFFF

#define MV_PATCH_1_ADDRESS_ADDRESS 0x08E8
#define MV_PATCH_1_ADDRESS_OFFSET 0
#define MV_PATCH_1_ADDRESS_LENGTH 16
#define MV_PATCH_1_ADDRESS_MASK 0xFFFF

#define NV_PATCH_0_INSTRUCTION_ADDRESS 0x08E6
#define NV_PATCH_0_INSTRUCTION_OFFSET 0
#define NV_PATCH_0_INSTRUCTION_LENGTH 16
#define NV_PATCH_0_INSTRUCTION_MASK 0xFFFF

#define NV_PATCH_0_ADDRESS_ADDRESS 0x08E4
#define NV_PATCH_0_ADDRESS_OFFSET 0
#define NV_PATCH_0_ADDRESS_LENGTH 16
#define NV_PATCH_0_ADDRESS_MASK 0xFFFF

#define NV_MTP_USE_ZONE_2_ADDRESS 0x08E2
#define NV_MTP_USE_ZONE_2_OFFSET 8
#define NV_MTP_USE_ZONE_2_LENGTH 8
#define NV_MTP_USE_ZONE_2_MASK 0xFF00

#define NV_CRC_MTP_ZONE_2_ADDRESS 0x08E2
#define NV_CRC_MTP_ZONE_2_OFFSET 0
#define NV_CRC_MTP_ZONE_2_LENGTH 8
#define NV_CRC_MTP_ZONE_2_MASK 0x00FF

#define NV_copy_zone2_36_ADDRESS 0x08E0
#define NV_copy_zone2_36_OFFSET 0
#define NV_copy_zone2_36_LENGTH 16
#define NV_copy_zone2_36_MASK 0xFFFF

#define NV_copy_zone2_35_ADDRESS 0x08DE
#define NV_copy_zone2_35_OFFSET 0
#define NV_copy_zone2_35_LENGTH 16
#define NV_copy_zone2_35_MASK 0xFFFF

#define NV_copy_zone2_34_ADDRESS 0x08DC
#define NV_copy_zone2_34_OFFSET 0
#define NV_copy_zone2_34_LENGTH 16
#define NV_copy_zone2_34_MASK 0xFFFF

#define NV_copy_zone2_33_ADDRESS 0x08DA
#define NV_copy_zone2_33_OFFSET 0
#define NV_copy_zone2_33_LENGTH 16
#define NV_copy_zone2_33_MASK 0xFFFF

#define NV_copy_zone2_32_ADDRESS 0x08D8
#define NV_copy_zone2_32_OFFSET 0
#define NV_copy_zone2_32_LENGTH 16
#define NV_copy_zone2_32_MASK 0xFFFF

#define NV_copy_zone2_31_ADDRESS 0x08D6
#define NV_copy_zone2_31_OFFSET 0
#define NV_copy_zone2_31_LENGTH 16
#define NV_copy_zone2_31_MASK 0xFFFF

#define NV_copy_zone2_30_ADDRESS 0x08D4
#define NV_copy_zone2_30_OFFSET 0
#define NV_copy_zone2_30_LENGTH 16
#define NV_copy_zone2_30_MASK 0xFFFF

#define NV_copy_zone2_29_ADDRESS 0x08D2
#define NV_copy_zone2_29_OFFSET 0
#define NV_copy_zone2_29_LENGTH 16
#define NV_copy_zone2_29_MASK 0xFFFF

#define NV_copy_zone2_28_ADDRESS 0x08D0
#define NV_copy_zone2_28_OFFSET 0
#define NV_copy_zone2_28_LENGTH 16
#define NV_copy_zone2_28_MASK 0xFFFF

#define NV_copy_zone2_27_ADDRESS 0x08CE
#define NV_copy_zone2_27_OFFSET 0
#define NV_copy_zone2_27_LENGTH 16
#define NV_copy_zone2_27_MASK 0xFFFF

#define NV_copy_zone2_26_ADDRESS 0x08CC
#define NV_copy_zone2_26_OFFSET 0
#define NV_copy_zone2_26_LENGTH 16
#define NV_copy_zone2_26_MASK 0xFFFF

#define NV_copy_zone2_25_ADDRESS 0x08CA
#define NV_copy_zone2_25_OFFSET 0
#define NV_copy_zone2_25_LENGTH 16
#define NV_copy_zone2_25_MASK 0xFFFF

#define NV_copy_zone2_24_ADDRESS 0x08C8
#define NV_copy_zone2_24_OFFSET 0
#define NV_copy_zone2_24_LENGTH 16
#define NV_copy_zone2_24_MASK 0xFFFF

#define NV_copy_zone2_23_ADDRESS 0x08C6
#define NV_copy_zone2_23_OFFSET 0
#define NV_copy_zone2_23_LENGTH 16
#define NV_copy_zone2_23_MASK 0xFFFF

#define NV_copy_zone2_22_ADDRESS 0x08C4
#define NV_copy_zone2_22_OFFSET 0
#define NV_copy_zone2_22_LENGTH 16
#define NV_copy_zone2_22_MASK 0xFFFF

#define NV_copy_zone2_21_ADDRESS 0x08C2
#define NV_copy_zone2_21_OFFSET 0
#define NV_copy_zone2_21_LENGTH 16
#define NV_copy_zone2_21_MASK 0xFFFF

#define NV_copy_zone2_20_ADDRESS 0x08C0
#define NV_copy_zone2_20_OFFSET 0
#define NV_copy_zone2_20_LENGTH 16
#define NV_copy_zone2_20_MASK 0xFFFF

#define NV_copy_zone2_19_ADDRESS 0x08BE
#define NV_copy_zone2_19_OFFSET 0
#define NV_copy_zone2_19_LENGTH 16
#define NV_copy_zone2_19_MASK 0xFFFF

#define NV_copy_zone2_18_ADDRESS 0x08BC
#define NV_copy_zone2_18_OFFSET 0
#define NV_copy_zone2_18_LENGTH 16
#define NV_copy_zone2_18_MASK 0xFFFF

#define NV_copy_zone2_17_ADDRESS 0x08BA
#define NV_copy_zone2_17_OFFSET 0
#define NV_copy_zone2_17_LENGTH 16
#define NV_copy_zone2_17_MASK 0xFFFF

#define NV_copy_zone2_16_ADDRESS 0x08B8
#define NV_copy_zone2_16_OFFSET 0
#define NV_copy_zone2_16_LENGTH 16
#define NV_copy_zone2_16_MASK 0xFFFF

#define NV_copy_zone2_15_ADDRESS 0x08B6
#define NV_copy_zone2_15_OFFSET 0
#define NV_copy_zone2_15_LENGTH 16
#define NV_copy_zone2_15_MASK 0xFFFF

#define NV_copy_zone2_14_ADDRESS 0x08B4
#define NV_copy_zone2_14_OFFSET 0
#define NV_copy_zone2_14_LENGTH 16
#define NV_copy_zone2_14_MASK 0xFFFF

#define NV_copy_zone2_13_ADDRESS 0x08B2
#define NV_copy_zone2_13_OFFSET 0
#define NV_copy_zone2_13_LENGTH 16
#define NV_copy_zone2_13_MASK 0xFFFF

#define NV_copy_zone2_12_ADDRESS 0x08B0
#define NV_copy_zone2_12_OFFSET 0
#define NV_copy_zone2_12_LENGTH 16
#define NV_copy_zone2_12_MASK 0xFFFF

#define NV_copy_zone2_11_ADDRESS 0x08AE
#define NV_copy_zone2_11_OFFSET 0
#define NV_copy_zone2_11_LENGTH 16
#define NV_copy_zone2_11_MASK 0xFFFF

#define NV_copy_zone2_10_ADDRESS 0x08AC
#define NV_copy_zone2_10_OFFSET 0
#define NV_copy_zone2_10_LENGTH 16
#define NV_copy_zone2_10_MASK 0xFFFF

#define NV_copy_zone2_9_ADDRESS 0x08AA
#define NV_copy_zone2_9_OFFSET 0
#define NV_copy_zone2_9_LENGTH 16
#define NV_copy_zone2_9_MASK 0xFFFF

#define NV_copy_zone2_8_ADDRESS 0x08A8
#define NV_copy_zone2_8_OFFSET 0
#define NV_copy_zone2_8_LENGTH 16
#define NV_copy_zone2_8_MASK 0xFFFF

#define NV_copy_zone2_7_ADDRESS 0x08A6
#define NV_copy_zone2_7_OFFSET 0
#define NV_copy_zone2_7_LENGTH 16
#define NV_copy_zone2_7_MASK 0xFFFF

#define NV_copy_zone2_6_ADDRESS 0x08A4
#define NV_copy_zone2_6_OFFSET 0
#define NV_copy_zone2_6_LENGTH 16
#define NV_copy_zone2_6_MASK 0xFFFF

#define NV_copy_zone2_5_ADDRESS 0x08A2
#define NV_copy_zone2_5_OFFSET 0
#define NV_copy_zone2_5_LENGTH 16
#define NV_copy_zone2_5_MASK 0xFFFF

#define NV_copy_zone2_4_ADDRESS 0x08A0
#define NV_copy_zone2_4_OFFSET 0
#define NV_copy_zone2_4_LENGTH 16
#define NV_copy_zone2_4_MASK 0xFFFF

#define NV_copy_zone2_3_ADDRESS 0x089E
#define NV_copy_zone2_3_OFFSET 0
#define NV_copy_zone2_3_LENGTH 16
#define NV_copy_zone2_3_MASK 0xFFFF

#define NV_copy_zone2_2_ADDRESS 0x089C
#define NV_copy_zone2_2_OFFSET 0
#define NV_copy_zone2_2_LENGTH 16
#define NV_copy_zone2_2_MASK 0xFFFF

#define NV_copy_zone2_1_ADDRESS 0x089A
#define NV_copy_zone2_1_OFFSET 0
#define NV_copy_zone2_1_LENGTH 16
#define NV_copy_zone2_1_MASK 0xFFFF

#define NV_copy_zone2_0_ADDRESS 0x0898
#define NV_copy_zone2_0_OFFSET 0
#define NV_copy_zone2_0_LENGTH 16
#define NV_copy_zone2_0_MASK 0xFFFF

#define NV_MTP_USE_ZONE_1_ADDRESS 0x0896
#define NV_MTP_USE_ZONE_1_OFFSET 8
#define NV_MTP_USE_ZONE_1_LENGTH 8
#define NV_MTP_USE_ZONE_1_MASK 0xFF00

#define NV_CRC_MTP_ZONE_1_ADDRESS 0x0896
#define NV_CRC_MTP_ZONE_1_OFFSET 0
#define NV_CRC_MTP_ZONE_1_LENGTH 8
#define NV_CRC_MTP_ZONE_1_MASK 0x00FF

#define NV_copy_zone1_36_ADDRESS 0x0894
#define NV_copy_zone1_36_OFFSET 0
#define NV_copy_zone1_36_LENGTH 16
#define NV_copy_zone1_36_MASK 0xFFFF

#define NV_copy_zone1_35_ADDRESS 0x0892
#define NV_copy_zone1_35_OFFSET 0
#define NV_copy_zone1_35_LENGTH 16
#define NV_copy_zone1_35_MASK 0xFFFF

#define NV_copy_zone1_34_ADDRESS 0x0890
#define NV_copy_zone1_34_OFFSET 0
#define NV_copy_zone1_34_LENGTH 16
#define NV_copy_zone1_34_MASK 0xFFFF

#define NV_copy_zone1_33_ADDRESS 0x088E
#define NV_copy_zone1_33_OFFSET 0
#define NV_copy_zone1_33_LENGTH 16
#define NV_copy_zone1_33_MASK 0xFFFF

#define NV_copy_zone1_32_ADDRESS 0x088C
#define NV_copy_zone1_32_OFFSET 0
#define NV_copy_zone1_32_LENGTH 16
#define NV_copy_zone1_32_MASK 0xFFFF

#define NV_copy_zone1_31_ADDRESS 0x088A
#define NV_copy_zone1_31_OFFSET 0
#define NV_copy_zone1_31_LENGTH 16
#define NV_copy_zone1_31_MASK 0xFFFF

#define NV_copy_zone1_30_ADDRESS 0x0888
#define NV_copy_zone1_30_OFFSET 0
#define NV_copy_zone1_30_LENGTH 16
#define NV_copy_zone1_30_MASK 0xFFFF

#define NV_copy_zone1_29_ADDRESS 0x0886
#define NV_copy_zone1_29_OFFSET 0
#define NV_copy_zone1_29_LENGTH 16
#define NV_copy_zone1_29_MASK 0xFFFF

#define NV_copy_zone1_28_ADDRESS 0x0884
#define NV_copy_zone1_28_OFFSET 0
#define NV_copy_zone1_28_LENGTH 16
#define NV_copy_zone1_28_MASK 0xFFFF

#define NV_copy_zone1_27_ADDRESS 0x0882
#define NV_copy_zone1_27_OFFSET 0
#define NV_copy_zone1_27_LENGTH 16
#define NV_copy_zone1_27_MASK 0xFFFF

#define NV_copy_zone1_26_ADDRESS 0x0880
#define NV_copy_zone1_26_OFFSET 0
#define NV_copy_zone1_26_LENGTH 16
#define NV_copy_zone1_26_MASK 0xFFFF

#define NV_copy_zone1_25_ADDRESS 0x087E
#define NV_copy_zone1_25_OFFSET 0
#define NV_copy_zone1_25_LENGTH 16
#define NV_copy_zone1_25_MASK 0xFFFF

#define NV_copy_zone1_24_ADDRESS 0x087C
#define NV_copy_zone1_24_OFFSET 0
#define NV_copy_zone1_24_LENGTH 16
#define NV_copy_zone1_24_MASK 0xFFFF

#define NV_copy_zone1_23_ADDRESS 0x087A
#define NV_copy_zone1_23_OFFSET 0
#define NV_copy_zone1_23_LENGTH 16
#define NV_copy_zone1_23_MASK 0xFFFF

#define NV_copy_zone1_22_ADDRESS 0x0878
#define NV_copy_zone1_22_OFFSET 0
#define NV_copy_zone1_22_LENGTH 16
#define NV_copy_zone1_22_MASK 0xFFFF

#define NV_copy_zone1_21_ADDRESS 0x0876
#define NV_copy_zone1_21_OFFSET 0
#define NV_copy_zone1_21_LENGTH 16
#define NV_copy_zone1_21_MASK 0xFFFF

#define NV_copy_zone1_20_ADDRESS 0x0874
#define NV_copy_zone1_20_OFFSET 0
#define NV_copy_zone1_20_LENGTH 16
#define NV_copy_zone1_20_MASK 0xFFFF

#define NV_copy_zone1_19_ADDRESS 0x0872
#define NV_copy_zone1_19_OFFSET 0
#define NV_copy_zone1_19_LENGTH 16
#define NV_copy_zone1_19_MASK 0xFFFF

#define NV_copy_zone1_18_ADDRESS 0x0870
#define NV_copy_zone1_18_OFFSET 0
#define NV_copy_zone1_18_LENGTH 16
#define NV_copy_zone1_18_MASK 0xFFFF

#define NV_copy_zone1_17_ADDRESS 0x086E
#define NV_copy_zone1_17_OFFSET 0
#define NV_copy_zone1_17_LENGTH 16
#define NV_copy_zone1_17_MASK 0xFFFF

#define NV_copy_zone1_16_ADDRESS 0x086C
#define NV_copy_zone1_16_OFFSET 0
#define NV_copy_zone1_16_LENGTH 16
#define NV_copy_zone1_16_MASK 0xFFFF

#define NV_copy_zone1_15_ADDRESS 0x086A
#define NV_copy_zone1_15_OFFSET 0
#define NV_copy_zone1_15_LENGTH 16
#define NV_copy_zone1_15_MASK 0xFFFF

#define NV_copy_zone1_14_ADDRESS 0x0868
#define NV_copy_zone1_14_OFFSET 0
#define NV_copy_zone1_14_LENGTH 16
#define NV_copy_zone1_14_MASK 0xFFFF

#define NV_copy_zone1_13_ADDRESS 0x0866
#define NV_copy_zone1_13_OFFSET 0
#define NV_copy_zone1_13_LENGTH 16
#define NV_copy_zone1_13_MASK 0xFFFF

#define NV_copy_zone1_12_ADDRESS 0x0864
#define NV_copy_zone1_12_OFFSET 0
#define NV_copy_zone1_12_LENGTH 16
#define NV_copy_zone1_12_MASK 0xFFFF

#define NV_copy_zone1_11_ADDRESS 0x0862
#define NV_copy_zone1_11_OFFSET 0
#define NV_copy_zone1_11_LENGTH 16
#define NV_copy_zone1_11_MASK 0xFFFF

#define NV_copy_zone1_10_ADDRESS 0x0860
#define NV_copy_zone1_10_OFFSET 0
#define NV_copy_zone1_10_LENGTH 16
#define NV_copy_zone1_10_MASK 0xFFFF

#define NV_copy_zone1_9_ADDRESS 0x085E
#define NV_copy_zone1_9_OFFSET 0
#define NV_copy_zone1_9_LENGTH 16
#define NV_copy_zone1_9_MASK 0xFFFF

#define NV_copy_zone1_8_ADDRESS 0x085C
#define NV_copy_zone1_8_OFFSET 0
#define NV_copy_zone1_8_LENGTH 16
#define NV_copy_zone1_8_MASK 0xFFFF

#define NV_copy_zone1_7_ADDRESS 0x085A
#define NV_copy_zone1_7_OFFSET 0
#define NV_copy_zone1_7_LENGTH 16
#define NV_copy_zone1_7_MASK 0xFFFF

#define NV_copy_zone1_6_ADDRESS 0x0858
#define NV_copy_zone1_6_OFFSET 0
#define NV_copy_zone1_6_LENGTH 16
#define NV_copy_zone1_6_MASK 0xFFFF

#define NV_copy_zone1_5_ADDRESS 0x0856
#define NV_copy_zone1_5_OFFSET 0
#define NV_copy_zone1_5_LENGTH 16
#define NV_copy_zone1_5_MASK 0xFFFF

#define NV_copy_zone1_4_ADDRESS 0x0854
#define NV_copy_zone1_4_OFFSET 0
#define NV_copy_zone1_4_LENGTH 16
#define NV_copy_zone1_4_MASK 0xFFFF

#define NV_copy_zone1_3_ADDRESS 0x0852
#define NV_copy_zone1_3_OFFSET 0
#define NV_copy_zone1_3_LENGTH 16
#define NV_copy_zone1_3_MASK 0xFFFF

#define NV_copy_zone1_2_ADDRESS 0x0850
#define NV_copy_zone1_2_OFFSET 0
#define NV_copy_zone1_2_LENGTH 16
#define NV_copy_zone1_2_MASK 0xFFFF

#define NV_copy_zone1_1_ADDRESS 0x084E
#define NV_copy_zone1_1_OFFSET 0
#define NV_copy_zone1_1_LENGTH 16
#define NV_copy_zone1_1_MASK 0xFFFF

#define NV_copy_zone1_0_ADDRESS 0x084C
#define NV_copy_zone1_0_OFFSET 0
#define NV_copy_zone1_0_LENGTH 16
#define NV_copy_zone1_0_MASK 0xFFFF

#define NV_MTP_USE_ZONE_0_ADDRESS 0x084A
#define NV_MTP_USE_ZONE_0_OFFSET 8
#define NV_MTP_USE_ZONE_0_LENGTH 8
#define NV_MTP_USE_ZONE_0_MASK 0xFF00

#define NV_CRC_MTP_ZONE_0_ADDRESS 0x084A
#define NV_CRC_MTP_ZONE_0_OFFSET 0
#define NV_CRC_MTP_ZONE_0_LENGTH 8
#define NV_CRC_MTP_ZONE_0_MASK 0x00FF

#define NV_CUST_ID0_ADDRESS 0x0848
#define NV_CUST_ID0_OFFSET 0
#define NV_CUST_ID0_LENGTH 16
#define NV_CUST_ID0_MASK 0xFFFF

#define NV_CUST_ID1_ADDRESS 0x0846
#define NV_CUST_ID1_OFFSET 0
#define NV_CUST_ID1_LENGTH 16
#define NV_CUST_ID1_MASK 0xFFFF

#define NV_CUST_ID2_ADDRESS 0x0844
#define NV_CUST_ID2_OFFSET 0
#define NV_CUST_ID2_LENGTH 16
#define NV_CUST_ID2_MASK 0xFFFF

#define NV_CUST_ID3_ADDRESS 0x0842
#define NV_CUST_ID3_OFFSET 0
#define NV_CUST_ID3_LENGTH 16
#define NV_CUST_ID3_MASK 0xFFFF

#define NV_FLAT_BLANK_ADDRESS 0x0840
#define NV_FLAT_BLANK_OFFSET 8
#define NV_FLAT_BLANK_LENGTH 8
#define NV_FLAT_BLANK_MASK 0xFF00

#define NV_INTEGRATOR_PRE_DIV_ADDRESS 0x0840
#define NV_INTEGRATOR_PRE_DIV_OFFSET 5
#define NV_INTEGRATOR_PRE_DIV_LENGTH 2
#define NV_INTEGRATOR_PRE_DIV_MASK 0x0060

#define NV_INTEGRATOR_TIME_ADDRESS 0x0840
#define NV_INTEGRATOR_TIME_OFFSET 3
#define NV_INTEGRATOR_TIME_LENGTH 2
#define NV_INTEGRATOR_TIME_MASK 0x0018

#define NV_INTEGRATOR_START_OPTION_ADDRESS 0x0840
#define NV_INTEGRATOR_START_OPTION_OFFSET 2
#define NV_INTEGRATOR_START_OPTION_LENGTH 1
#define NV_INTEGRATOR_START_OPTION_MASK 0x0004

#define NV_INTEGRATOR_RESYNC_OPTION_ADDRESS 0x0840
#define NV_INTEGRATOR_RESYNC_OPTION_OFFSET 1
#define NV_INTEGRATOR_RESYNC_OPTION_LENGTH 1
#define NV_INTEGRATOR_RESYNC_OPTION_MASK 0x0002

#define NV_INTEGRATOR_EDGE_INV_ADDRESS 0x0840
#define NV_INTEGRATOR_EDGE_INV_OFFSET 0
#define NV_INTEGRATOR_EDGE_INV_LENGTH 1
#define NV_INTEGRATOR_EDGE_INV_MASK 0x0001

#define NV_ZONE0_RES1_ADDRESS 0x083E
#define NV_ZONE0_RES1_OFFSET 0
#define NV_ZONE0_RES1_LENGTH 16
#define NV_ZONE0_RES1_MASK 0xFFFF

#define NV_ZONE0_RES2_ADDRESS 0x083C
#define NV_ZONE0_RES2_OFFSET 0
#define NV_ZONE0_RES2_LENGTH 16
#define NV_ZONE0_RES2_MASK 0xFFFF

#define NV_ZONE0_RES3_ADDRESS 0x083A
#define NV_ZONE0_RES3_OFFSET 0
#define NV_ZONE0_RES3_LENGTH 16
#define NV_ZONE0_RES3_MASK 0xFFFF

#define NV_ZONE0_RES4_ADDRESS 0x0838
#define NV_ZONE0_RES4_OFFSET 0
#define NV_ZONE0_RES4_LENGTH 16
#define NV_ZONE0_RES4_MASK 0xFFFF

#define NV_TARGET_CLIM_USER_PULSES_ADDRESS 0x0836
#define NV_TARGET_CLIM_USER_PULSES_OFFSET 0
#define NV_TARGET_CLIM_USER_PULSES_LENGTH 8
#define NV_TARGET_CLIM_USER_PULSES_MASK 0x00FF

#define NV_TARGET_CLIM_USER_BRAKE_ADDRESS 0x0834
#define NV_TARGET_CLIM_USER_BRAKE_OFFSET 8
#define NV_TARGET_CLIM_USER_BRAKE_LENGTH 8
#define NV_TARGET_CLIM_USER_BRAKE_MASK 0xFF00

#define NV_TARGET_CLIM_USER_MOTOR_ADDRESS 0x0834
#define NV_TARGET_CLIM_USER_MOTOR_OFFSET 0
#define NV_TARGET_CLIM_USER_MOTOR_LENGTH 8
#define NV_TARGET_CLIM_USER_MOTOR_MASK 0x00FF

#define NV_CL_BLANK_SELECT_ADDRESS 0x0832
#define NV_CL_BLANK_SELECT_OFFSET 8
#define NV_CL_BLANK_SELECT_LENGTH 6
#define NV_CL_BLANK_SELECT_MASK 0x3F00

#define NV_OC_BLANK_SELECT_ADDRESS 0x0832
#define NV_OC_BLANK_SELECT_OFFSET 0
#define NV_OC_BLANK_SELECT_LENGTH 6
#define NV_OC_BLANK_SELECT_MASK 0x003F

#define NV_BEMF_HIGH_ADDRESS 0x0830
#define NV_BEMF_HIGH_OFFSET 0
#define NV_BEMF_HIGH_LENGTH 12
#define NV_BEMF_HIGH_MASK 0x0FFF

#define NV_BEMF_LOW_ADDRESS 0x082E
#define NV_BEMF_LOW_OFFSET 0
#define NV_BEMF_LOW_LENGTH 12
#define NV_BEMF_LOW_MASK 0x0FFF

#define NV_I_ZC_TH_HIGH_ADDRESS 0x082C
#define NV_I_ZC_TH_HIGH_OFFSET 0
#define NV_I_ZC_TH_HIGH_LENGTH 12
#define NV_I_ZC_TH_HIGH_MASK 0x0FFF

#define NV_I_ZC_TH_LOW_ADDRESS 0x082A
#define NV_I_ZC_TH_LOW_OFFSET 0
#define NV_I_ZC_TH_LOW_LENGTH 12
#define NV_I_ZC_TH_LOW_MASK 0x0FFF

#define NV_RPM_F_ADDRESS 0x0828
#define NV_RPM_F_OFFSET 7
#define NV_RPM_F_LENGTH 9
#define NV_RPM_F_MASK 0xFF80

#define NV_SPD_F_ADDRESS 0x0828
#define NV_SPD_F_OFFSET 0
#define NV_SPD_F_LENGTH 7
#define NV_SPD_F_MASK 0x007F

#define NV_RPM_E_ADDRESS 0x0826
#define NV_RPM_E_OFFSET 7
#define NV_RPM_E_LENGTH 9
#define NV_RPM_E_MASK 0xFF80

#define NV_SPD_E_ADDRESS 0x0826
#define NV_SPD_E_OFFSET 0
#define NV_SPD_E_LENGTH 7
#define NV_SPD_E_MASK 0x007F

#define NV_RPM_D_ADDRESS 0x0824
#define NV_RPM_D_OFFSET 7
#define NV_RPM_D_LENGTH 9
#define NV_RPM_D_MASK 0xFF80

#define NV_SPD_D_ADDRESS 0x0824
#define NV_SPD_D_OFFSET 0
#define NV_SPD_D_LENGTH 7
#define NV_SPD_D_MASK 0x007F

#define NV_RPM_C_ADDRESS 0x0822
#define NV_RPM_C_OFFSET 7
#define NV_RPM_C_LENGTH 9
#define NV_RPM_C_MASK 0xFF80

#define NV_SPD_C_ADDRESS 0x0822
#define NV_SPD_C_OFFSET 0
#define NV_SPD_C_LENGTH 7
#define NV_SPD_C_MASK 0x007F

#define NV_RPM_B_ADDRESS 0x0820
#define NV_RPM_B_OFFSET 7
#define NV_RPM_B_LENGTH 9
#define NV_RPM_B_MASK 0xFF80

#define NV_SPD_B_ADDRESS 0x0820
#define NV_SPD_B_OFFSET 0
#define NV_SPD_B_LENGTH 7
#define NV_SPD_B_MASK 0x007F

#define NV_RPM_A_ADDRESS 0x081E
#define NV_RPM_A_OFFSET 7
#define NV_RPM_A_LENGTH 9
#define NV_RPM_A_MASK 0xFF80

#define NV_SPD_A_ADDRESS 0x081E
#define NV_SPD_A_OFFSET 0
#define NV_SPD_A_LENGTH 7
#define NV_SPD_A_MASK 0x007F

#define NV_RPM_MAX_ADDRESS 0x081C
#define NV_RPM_MAX_OFFSET 7
#define NV_RPM_MAX_LENGTH 9
#define NV_RPM_MAX_MASK 0xFF80

#define NV_SPD_MAX_ADDRESS 0x081C
#define NV_SPD_MAX_OFFSET 0
#define NV_SPD_MAX_LENGTH 7
#define NV_SPD_MAX_MASK 0x007F

#define NV_RPM_MIN_ADDRESS 0x081A
#define NV_RPM_MIN_OFFSET 7
#define NV_RPM_MIN_LENGTH 9
#define NV_RPM_MIN_MASK 0xFF80

#define NV_SPD_MIN_ADDRESS 0x081A
#define NV_SPD_MIN_OFFSET 0
#define NV_SPD_MIN_LENGTH 7
#define NV_SPD_MIN_MASK 0x007F

#define NV_DUTY_RAMPING_ADDRESS 0x0818
#define NV_DUTY_RAMPING_OFFSET 15
#define NV_DUTY_RAMPING_LENGTH 1
#define NV_DUTY_RAMPING_MASK 0x8000

#define NV_ILIM_RAMPING_ADDRESS 0x0818
#define NV_ILIM_RAMPING_OFFSET 14
#define NV_ILIM_RAMPING_LENGTH 1
#define NV_ILIM_RAMPING_MASK 0x4000

#define NV_DC_OPENLOOP_SR_ADDRESS 0x0818
#define NV_DC_OPENLOOP_SR_OFFSET 12
#define NV_DC_OPENLOOP_SR_LENGTH 2
#define NV_DC_OPENLOOP_SR_MASK 0x3000

#define NV_DC_OPENLOOP_INI_ADDRESS 0x0818
#define NV_DC_OPENLOOP_INI_OFFSET 10
#define NV_DC_OPENLOOP_INI_LENGTH 2
#define NV_DC_OPENLOOP_INI_MASK 0x0C00

#define NV_SPD_KI_ADDRESS 0x0818
#define NV_SPD_KI_OFFSET 7
#define NV_SPD_KI_LENGTH 3
#define NV_SPD_KI_MASK 0x0380

#define NV_SPD_KP_ADDRESS 0x0818
#define NV_SPD_KP_OFFSET 4
#define NV_SPD_KP_LENGTH 3
#define NV_SPD_KP_MASK 0x0070

#define NV_SPD_HC_HYST_ADDRESS 0x0818
#define NV_SPD_HC_HYST_OFFSET 2
#define NV_SPD_HC_HYST_LENGTH 2
#define NV_SPD_HC_HYST_MASK 0x000C

#define NV_SPD_LC_HYST_ADDRESS 0x0818
#define NV_SPD_LC_HYST_OFFSET 0
#define NV_SPD_LC_HYST_LENGTH 2
#define NV_SPD_LC_HYST_MASK 0x0003

#define NV_SPD_BOOST_ADDRESS 0x0816
#define NV_SPD_BOOST_OFFSET 13
#define NV_SPD_BOOST_LENGTH 1
#define NV_SPD_BOOST_MASK 0x2000

#define NV_SPD_BOOST_SS_ADDRESS 0x0816
#define NV_SPD_BOOST_SS_OFFSET 12
#define NV_SPD_BOOST_SS_LENGTH 1
#define NV_SPD_BOOST_SS_MASK 0x1000

#define NV_SPD_CTRL_1_RESERVED_ADDRESS 0x0816
#define NV_SPD_CTRL_1_RESERVED_OFFSET 11
#define NV_SPD_CTRL_1_RESERVED_LENGTH 1
#define NV_SPD_CTRL_1_RESERVED_MASK 0x0800

#define NV_SPD_LOOP_MODE_ADDRESS 0x0816
#define NV_SPD_LOOP_MODE_OFFSET 10
#define NV_SPD_LOOP_MODE_LENGTH 1
#define NV_SPD_LOOP_MODE_MASK 0x0400

#define NV_RPM_LC_ADDRESS 0x0816
#define NV_RPM_LC_OFFSET 9
#define NV_RPM_LC_LENGTH 1
#define NV_RPM_LC_MASK 0x0200

#define NV_RPM_HC_ADDRESS 0x0816
#define NV_RPM_HC_OFFSET 8
#define NV_RPM_HC_LENGTH 1
#define NV_RPM_HC_MASK 0x0100

#define NV_SPD_LC_VAL_ADDRESS 0x0816
#define NV_SPD_LC_VAL_OFFSET 6
#define NV_SPD_LC_VAL_LENGTH 2
#define NV_SPD_LC_VAL_MASK 0x00C0

#define NV_SPD_HC_VAL_ADDRESS 0x0816
#define NV_SPD_HC_VAL_OFFSET 4
#define NV_SPD_HC_VAL_LENGTH 2
#define NV_SPD_HC_VAL_MASK 0x0030

#define NV_CURVE_MODE_ADDRESS 0x0816
#define NV_CURVE_MODE_OFFSET 2
#define NV_CURVE_MODE_LENGTH 2
#define NV_CURVE_MODE_MASK 0x000C

#define NV_SPD_TICK_ADDRESS 0x0816
#define NV_SPD_TICK_OFFSET 0
#define NV_SPD_TICK_LENGTH 2
#define NV_SPD_TICK_MASK 0x0003

#define NV_MIN_EHP_RESERVED_ADDRESS 0x0814
#define NV_MIN_EHP_RESERVED_OFFSET 15
#define NV_MIN_EHP_RESERVED_LENGTH 1
#define NV_MIN_EHP_RESERVED_MASK 0x8000

#define NV_EHP_TIMER_PRESCALER_ADDRESS 0x0814
#define NV_EHP_TIMER_PRESCALER_OFFSET 13
#define NV_EHP_TIMER_PRESCALER_LENGTH 2
#define NV_EHP_TIMER_PRESCALER_MASK 0x6000

#define NV_EHP_FULL_RANGE_ADDRESS 0x0814
#define NV_EHP_FULL_RANGE_OFFSET 0
#define NV_EHP_FULL_RANGE_LENGTH 13
#define NV_EHP_FULL_RANGE_MASK 0x1FFF

#define NV_DI_TH_1ST_ADDRESS 0x0812
#define NV_DI_TH_1ST_OFFSET 0
#define NV_DI_TH_1ST_LENGTH 12
#define NV_DI_TH_1ST_MASK 0x0FFF

#define NV_DI_TH_2ND_ADDRESS 0x0810
#define NV_DI_TH_2ND_OFFSET 0
#define NV_DI_TH_2ND_LENGTH 12
#define NV_DI_TH_2ND_MASK 0x0FFF

#define NV_QUICK_START_ADDRESS 0x080E
#define NV_QUICK_START_OFFSET 15
#define NV_QUICK_START_LENGTH 1
#define NV_QUICK_START_MASK 0x8000

#define NV_WIND_START_ADDRESS 0x080E
#define NV_WIND_START_OFFSET 14
#define NV_WIND_START_LENGTH 1
#define NV_WIND_START_MASK 0x4000

#define NV_WIND_BRAKE_RESERVED_ADDRESS 0x080E
#define NV_WIND_BRAKE_RESERVED_OFFSET 9
#define NV_WIND_BRAKE_RESERVED_LENGTH 5
#define NV_WIND_BRAKE_RESERVED_MASK 0x3E00

#define NV_SOFT_NUM_STEP_ADDRESS 0x080E
#define NV_SOFT_NUM_STEP_OFFSET 6
#define NV_SOFT_NUM_STEP_LENGTH 3
#define NV_SOFT_NUM_STEP_MASK 0x01C0

#define NV_WIND_WINDOW_ADDRESS 0x080E
#define NV_WIND_WINDOW_OFFSET 3
#define NV_WIND_WINDOW_LENGTH 3
#define NV_WIND_WINDOW_MASK 0x0038

#define NV_BRAKE_WINDOW_ADDRESS 0x080E
#define NV_BRAKE_WINDOW_OFFSET 0
#define NV_BRAKE_WINDOW_LENGTH 3
#define NV_BRAKE_WINDOW_MASK 0x0007

#define NV_SINGLE_PULSE_START_ADDRESS 0x080C
#define NV_SINGLE_PULSE_START_OFFSET 15
#define NV_SINGLE_PULSE_START_LENGTH 1
#define NV_SINGLE_PULSE_START_MASK 0x8000

#define NV_LONG_START_ADDRESS 0x080C
#define NV_LONG_START_OFFSET 14
#define NV_LONG_START_LENGTH 1
#define NV_LONG_START_MASK 0x4000

#define NV_SOFT_START_ADDRESS 0x080C
#define NV_SOFT_START_OFFSET 13
#define NV_SOFT_START_LENGTH 1
#define NV_SOFT_START_MASK 0x2000

#define NV_COMM_START_NUM_ADDRESS 0x080C
#define NV_COMM_START_NUM_OFFSET 11
#define NV_COMM_START_NUM_LENGTH 2
#define NV_COMM_START_NUM_MASK 0x1800

#define NV_START_DUTY_ADDRESS 0x080C
#define NV_START_DUTY_OFFSET 9
#define NV_START_DUTY_LENGTH 2
#define NV_START_DUTY_MASK 0x0600

#define NV_SOFT_STEP_SIZE_ADDRESS 0x080C
#define NV_SOFT_STEP_SIZE_OFFSET 6
#define NV_SOFT_STEP_SIZE_LENGTH 3
#define NV_SOFT_STEP_SIZE_MASK 0x01C0

#define NV_START_UP_TIME_ADDRESS 0x080C
#define NV_START_UP_TIME_OFFSET 0
#define NV_START_UP_TIME_LENGTH 6
#define NV_START_UP_TIME_MASK 0x003F

#define NV_POSITION_DUTY_ADDRESS 0x080A
#define NV_POSITION_DUTY_OFFSET 14
#define NV_POSITION_DUTY_LENGTH 2
#define NV_POSITION_DUTY_MASK 0xC000

#define NV_POSITION_PULSE_TIME_ADDRESS 0x080A
#define NV_POSITION_PULSE_TIME_OFFSET 9
#define NV_POSITION_PULSE_TIME_LENGTH 5
#define NV_POSITION_PULSE_TIME_MASK 0x3E00

#define NV_POSI_MAJO_VOTE_ADDRESS 0x080A
#define NV_POSI_MAJO_VOTE_OFFSET 8
#define NV_POSI_MAJO_VOTE_LENGTH 1
#define NV_POSI_MAJO_VOTE_MASK 0x0100

#define NV_ANTI_COG_ADDRESS 0x080A
#define NV_ANTI_COG_OFFSET 7
#define NV_ANTI_COG_LENGTH 1
#define NV_ANTI_COG_MASK 0x0080

#define NV_POSITION_RESERVED_ADDRESS 0x080A
#define NV_POSITION_RESERVED_OFFSET 6
#define NV_POSITION_RESERVED_LENGTH 1
#define NV_POSITION_RESERVED_MASK 0x0040

#define NV_FIRST_NON_FLAT_TIME_ADDRESS 0x080A
#define NV_FIRST_NON_FLAT_TIME_OFFSET 0
#define NV_FIRST_NON_FLAT_TIME_LENGTH 6
#define NV_FIRST_NON_FLAT_TIME_MASK 0x003F

#define NV_ROUGH_REG_ADDRESS 0x0808
#define NV_ROUGH_REG_OFFSET 14
#define NV_ROUGH_REG_LENGTH 1
#define NV_ROUGH_REG_MASK 0x4000

#define NV_ADC_FLAT_FILT_DEP_ADDRESS 0x0808
#define NV_ADC_FLAT_FILT_DEP_OFFSET 12
#define NV_ADC_FLAT_FILT_DEP_LENGTH 2
#define NV_ADC_FLAT_FILT_DEP_MASK 0x3000

#define NV_EHP_REG_GAIN_ADDRESS 0x0808
#define NV_EHP_REG_GAIN_OFFSET 10
#define NV_EHP_REG_GAIN_LENGTH 2
#define NV_EHP_REG_GAIN_MASK 0x0C00

#define NV_ROUGH_GAIN_ADDRESS 0x0808
#define NV_ROUGH_GAIN_OFFSET 9
#define NV_ROUGH_GAIN_LENGTH 1
#define NV_ROUGH_GAIN_MASK 0x0200

#define NV_PWM_MOD_ADDRESS 0x0808
#define NV_PWM_MOD_OFFSET 8
#define NV_PWM_MOD_LENGTH 1
#define NV_PWM_MOD_MASK 0x0100

#define NV_PWM_50K_ADDRESS 0x0808
#define NV_PWM_50K_OFFSET 7
#define NV_PWM_50K_LENGTH 1
#define NV_PWM_50K_MASK 0x0080

#define NV_SS_RISE_MODE_ADDRESS 0x0808
#define NV_SS_RISE_MODE_OFFSET 3
#define NV_SS_RISE_MODE_LENGTH 3
#define NV_SS_RISE_MODE_MASK 0x0038

#define NV_SS_FALL_MODE_ADDRESS 0x0808
#define NV_SS_FALL_MODE_OFFSET 0
#define NV_SS_FALL_MODE_LENGTH 3
#define NV_SS_FALL_MODE_MASK 0x0007

#define NV_FG_SLOPECTRL_ADDRESS 0x0804
#define NV_FG_SLOPECTRL_OFFSET 14
#define NV_FG_SLOPECTRL_LENGTH 2
#define NV_FG_SLOPECTRL_MASK 0xC000

#define NV_LVIO_SLOPECTRL_ADDRESS 0x0804
#define NV_LVIO_SLOPECTRL_OFFSET 12
#define NV_LVIO_SLOPECTRL_LENGTH 2
#define NV_LVIO_SLOPECTRL_MASK 0x3000

#define NV_HVIO_SLOPECTRL_ADDRESS 0x0804
#define NV_HVIO_SLOPECTRL_OFFSET 10
#define NV_HVIO_SLOPECTRL_LENGTH 2
#define NV_HVIO_SLOPECTRL_MASK 0x0C00

#define NV_I2C_SLAVE_ADDRESS_ADDRESS 0x0804
#define NV_I2C_SLAVE_ADDRESS_OFFSET 0
#define NV_I2C_SLAVE_ADDRESS_LENGTH 7
#define NV_I2C_SLAVE_ADDRESS_MASK 0x007F

#define NV_I2C_DEBUGGING_DISABLED_ADDRESS 0x0802
#define NV_I2C_DEBUGGING_DISABLED_OFFSET 15
#define NV_I2C_DEBUGGING_DISABLED_LENGTH 1
#define NV_I2C_DEBUGGING_DISABLED_MASK 0x8000

#define NV_I2C_TOGGLE_ENTRY_ADDRESS 0x0802
#define NV_I2C_TOGGLE_ENTRY_OFFSET 14
#define NV_I2C_TOGGLE_ENTRY_LENGTH 1
#define NV_I2C_TOGGLE_ENTRY_MASK 0x4000

#define NV_HVIO_PU_PD_CFG_ADDRESS 0x0802
#define NV_HVIO_PU_PD_CFG_OFFSET 12
#define NV_HVIO_PU_PD_CFG_LENGTH 2
#define NV_HVIO_PU_PD_CFG_MASK 0x3000

#define NV_LVIO_PU_PD_CFG_ADDRESS 0x0802
#define NV_LVIO_PU_PD_CFG_OFFSET 10
#define NV_LVIO_PU_PD_CFG_LENGTH 2
#define NV_LVIO_PU_PD_CFG_MASK 0x0C00

#define NV_PWM_PU_PD_CFG_ADDRESS 0x0802
#define NV_PWM_PU_PD_CFG_OFFSET 8
#define NV_PWM_PU_PD_CFG_LENGTH 2
#define NV_PWM_PU_PD_CFG_MASK 0x0300

#define NV_SLEEP_MODE_ENABLED_ADDRESS 0x0802
#define NV_SLEEP_MODE_ENABLED_OFFSET 7
#define NV_SLEEP_MODE_ENABLED_LENGTH 1
#define NV_SLEEP_MODE_ENABLED_MASK 0x0080

#define NV_SLEEP_MODE_POLARITY_ADDRESS 0x0802
#define NV_SLEEP_MODE_POLARITY_OFFSET 6
#define NV_SLEEP_MODE_POLARITY_LENGTH 1
#define NV_SLEEP_MODE_POLARITY_MASK 0x0040

#define NV_DIAG_MODE_CFG_ADDRESS 0x0802
#define NV_DIAG_MODE_CFG_OFFSET 4
#define NV_DIAG_MODE_CFG_LENGTH 2
#define NV_DIAG_MODE_CFG_MASK 0x0030

#define NV_FG_FILTERED_ADDRESS 0x0802
#define NV_FG_FILTERED_OFFSET 3
#define NV_FG_FILTERED_LENGTH 1
#define NV_FG_FILTERED_MASK 0x0008

#define NV_FG_SPEED_ADDRESS 0x0802
#define NV_FG_SPEED_OFFSET 0
#define NV_FG_SPEED_LENGTH 3
#define NV_FG_SPEED_MASK 0x0007

#define NV_FG_RD_ACTIVE_STATE_ADDRESS 0x0800
#define NV_FG_RD_ACTIVE_STATE_OFFSET 13
#define NV_FG_RD_ACTIVE_STATE_LENGTH 1
#define NV_FG_RD_ACTIVE_STATE_MASK 0x2000

#define NV_FG_RD_INIT_LOW_ADDRESS 0x0800
#define NV_FG_RD_INIT_LOW_OFFSET 12
#define NV_FG_RD_INIT_LOW_LENGTH 1
#define NV_FG_RD_INIT_LOW_MASK 0x1000

#define NV_SELECT_RD_FGB_ADDRESS 0x0800
#define NV_SELECT_RD_FGB_OFFSET 11
#define NV_SELECT_RD_FGB_LENGTH 1
#define NV_SELECT_RD_FGB_MASK 0x0800

#define NV_HVIO_MODE_CFG_ADDRESS 0x0800
#define NV_HVIO_MODE_CFG_OFFSET 8
#define NV_HVIO_MODE_CFG_LENGTH 3
#define NV_HVIO_MODE_CFG_MASK 0x0700

#define NV_LVIO_MODE_CFG_ADDRESS 0x0800
#define NV_LVIO_MODE_CFG_OFFSET 5
#define NV_LVIO_MODE_CFG_LENGTH 3
#define NV_LVIO_MODE_CFG_MASK 0x00E0

#define NV_FG_MODE_CFG_ADDRESS 0x0800
#define NV_FG_MODE_CFG_OFFSET 3
#define NV_FG_MODE_CFG_LENGTH 2
#define NV_FG_MODE_CFG_MASK 0x0018

#define NV_INPUT_MODE_CFG_ADDRESS 0x0800
#define NV_INPUT_MODE_CFG_OFFSET 0
#define NV_INPUT_MODE_CFG_LENGTH 3
#define NV_INPUT_MODE_CFG_MASK 0x0007