Liqun Wu / Mbed 2 deprecated 90418_mbed_controller

Dependencies:   mbed

Committer:
wuliqunyy
Date:
Mon Jan 17 13:20:09 2022 +0000
Revision:
0:be95bfb06686
a working non_flat + adc_didt for ehp regulation version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wuliqunyy 0:be95bfb06686 1 #define NV_POSITION_DEFAULT (17<<NV_POSITION_PULSE_TIME_OFFSET)|(3<<NV_POSITION_DUTY_OFFSET)|(0<<NV_POSI_MAJO_VOTE_OFFSET)|(0<<NV_ANTI_COG_OFFSET)|(1<<NV_FIRST_NON_FLAT_TIME_OFFSET)
wuliqunyy 0:be95bfb06686 2 #define NV_START_UP_DEFAULT (0<<NV_SOFT_START_OFFSET)|(0<<NV_SINGLE_PULSE_START_OFFSET)|(0<<NV_LONG_START_OFFSET)|(3<<NV_COMM_START_NUM_OFFSET)|(3<<NV_START_DUTY_OFFSET)|(3<<NV_SOFT_STEP_SIZE_OFFSET)|(36<<NV_START_UP_TIME_OFFSET)
wuliqunyy 0:be95bfb06686 3 #define NV_WIND_BRAKE_DEFAULT (1<<NV_QUICK_START_OFFSET)|(0<<NV_WIND_START_OFFSET)|(1<<NV_SOFT_NUM_STEP_OFFSET)|(1<<NV_WIND_WINDOW_OFFSET)|(0<<NV_BRAKE_WINDOW_OFFSET)
wuliqunyy 0:be95bfb06686 4 #define NV_SPD_CONTROL_1_DEFAULT 0
wuliqunyy 0:be95bfb06686 5 #define NV_SPD_CONTROL_2_DEFAULT 0
wuliqunyy 0:be95bfb06686 6 #define NV_GEN_CTRL_DEFAULT 0
wuliqunyy 0:be95bfb06686 7 #define NV_APPLICATION_CFG_DEFAULT 0
wuliqunyy 0:be95bfb06686 8 #define NV_I_ZC_TH_HIGH_DEFAULT 0
wuliqunyy 0:be95bfb06686 9 #define NV_I_ZC_TH_LOW_DEFAULT 0
wuliqunyy 0:be95bfb06686 10 #define NV_DI_TH_1ST_DEFAULT 0
wuliqunyy 0:be95bfb06686 11 #define NV_DI_TH_2ND_DEFAULT 0
wuliqunyy 0:be95bfb06686 12 #define NV_DIG_CONFIG_DEFAULT 0
wuliqunyy 0:be95bfb06686 13 #define NV_CLIM_USER_1_DEFAULT 0
wuliqunyy 0:be95bfb06686 14 #define NV_CLIM_USER_0_DEFAULT 0
wuliqunyy 0:be95bfb06686 15 #define NV_CLIM_POSITIN2_DEFAULT 0
wuliqunyy 0:be95bfb06686 16
wuliqunyy 0:be95bfb06686 17 #define RAM_OPEN_DUTY_DEFAULT 65535
wuliqunyy 0:be95bfb06686 18 #define RAM_DEBUG_CTRL_DEFAULT 0
wuliqunyy 0:be95bfb06686 19
wuliqunyy 0:be95bfb06686 20