Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/format/app_mouse.format	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/format/app_mouse.format	(working copy)
@@ -342,6 +342,13 @@
 1 mem_mouse_multi_led_blink_count
 1 mem_mouse_multi_led_blink_count_limited
 1 mem_mouse_multi_led_on_poweron2s_flag
+
+0 mem_sensor_s201_dpi
+1 mem_sensor_s201_dpi_0
+1 mem_sensor_s201_dpi_1
+1 mem_sensor_s201_dpi_2
+1 mem_sensor_s201_dpi_3
+1 mem_sensor_s201_dpi_4
 )
 
 
@@ -519,7 +526,7 @@
 0X09 KA8_UL
 0X0a KA8_HD
 0X0b KA8G2
-
+0X0c S201X
 
 //SENSOR REG
 0x00 PAN_REG_PID_L
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/output/eeprom.dat	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/output/eeprom.dat	(working copy)
@@ -2,72 +2,76 @@
 02
 aa
 55
-92
-06
+4a
+07
 c2
 84
 00
-11
+12
 c0
 00
 00
-14
+15
 c0
 01
 80
-18
+19
 c0
 45
 01
-9a
+c8
 c0
 45
 80
-c2
+c3
 c0
 4f
 80
-c0
+c1
 c0
 57
 00
-91
+92
 c0
 58
 00
-85
+86
 c0
 61
 80
-a1
+a2
 c0
 64
 80
-d5
+d6
 c0
 65
 00
-e5
+e6
 c0
 66
 00
-51
+52
 c0
 67
 01
-10
+11
 c0
 68
 01
-2a
+2b
+c0
+69
+81
+56
 c0
 6b
 00
-f6
+f7
 c0
 6c
 81
-3b
+69
 20
 20
 13
@@ -75,11 +79,11 @@
 c0
 19
 80
-31
+32
 c0
 1a
 00
-36
+37
 20
 20
 13
@@ -147,7 +151,7 @@
 20
 40
 00
-25
+26
 20
 20
 08
@@ -179,7 +183,7 @@
 20
 3a
 00
-2e
+2f
 6f
 e0
 c6
@@ -331,7 +335,7 @@
 20
 40
 00
-36
+37
 70
 48
 f6
@@ -379,7 +383,7 @@
 c3
 00
 00
-60
+61
 70
 48
 fa
@@ -415,7 +419,7 @@
 20
 20
 00
-82
+83
 6f
 e1
 4a
@@ -491,7 +495,7 @@
 24
 41
 00
-7d
+7e
 1f
 e6
 7c
@@ -499,11 +503,11 @@
 20
 21
 00
-7f
+80
 20
 20
 00
-82
+83
 70
 48
 f8
@@ -583,7 +587,7 @@
 20
 20
 00
-85
+86
 20
 40
 6d
@@ -591,23 +595,23 @@
 20
 40
 00
-98
+99
 20
 40
 3b
 f0
 20
 40
-41
-a7
+01
+56
 20
 75
 80
 00
 20
 40
-40
-8e
+01
+2d
 20
 20
 3b
@@ -623,7 +627,7 @@
 20
 40
 01
-70
+9e
 6f
 e0
 c9
@@ -655,7 +659,7 @@
 c0
 00
 00
-a6
+a7
 20
 40
 3d
@@ -671,7 +675,7 @@
 20
 40
 01
-70
+9e
 6f
 e4
 4b
@@ -695,7 +699,7 @@
 20
 40
 00
-bb
+bc
 1f
 e1
 7e
@@ -747,7 +751,7 @@
 c2
 00
 00
-b6
+b7
 20
 60
 00
@@ -827,7 +831,7 @@
 c0
 84
 00
-cf
+d0
 70
 8a
 08
@@ -851,7 +855,7 @@
 20
 40
 01
-a1
+cf
 20
 20
 12
@@ -875,7 +879,7 @@
 c0
 7f
 80
-de
+df
 68
 48
 c9
@@ -915,7 +919,7 @@
 20
 40
 01
-7e
+ac
 20
 20
 3e
@@ -995,11 +999,11 @@
 c0
 1d
 00
-fa
+fb
 c0
 1e
 01
-08
+09
 20
 20
 43
@@ -1019,7 +1023,7 @@
 c0
 01
 01
-01
+02
 c0
 02
 48
@@ -1039,7 +1043,7 @@
 c2
 97
 81
-05
+06
 c2
 98
 48
@@ -1051,7 +1055,7 @@
 20
 40
 00
-b2
+b3
 20
 34
 48
@@ -1075,7 +1079,7 @@
 20
 22
 81
-0e
+0f
 67
 e2
 48
@@ -1110,8 +1114,8 @@
 40
 20
 40
-40
-8e
+01
+2d
 20
 40
 3f
@@ -1139,7 +1143,7 @@
 24
 34
 01
-1f
+20
 20
 40
 47
@@ -1147,7 +1151,7 @@
 20
 40
 01
-22
+23
 20
 20
 45
@@ -1203,7 +1207,15 @@
 20
 40
 01
-2d
+48
+6f
+e0
+c9
+27
+c0
+06
+01
+30
 20
 20
 40
@@ -1211,6 +1223,102 @@
 6f
 e0
 c9
+92
+c0
+00
+01
+3e
+c0
+00
+81
+35
+c0
+01
+01
+3b
+c0
+01
+81
+38
+6f
+e0
+cb
+f3
+1f
+e2
+22
+00
+20
+20
+01
+40
+6f
+e0
+cb
+f4
+1f
+e2
+22
+00
+20
+20
+01
+40
+6f
+e0
+cb
+f5
+1f
+e2
+22
+00
+20
+20
+01
+40
+6f
+e0
+cb
+f6
+1f
+e2
+22
+00
+58
+00
+c3
+09
+20
+40
+5b
+0c
+1a
+22
+7e
+00
+1f
+ed
+7e
+00
+1f
+e0
+fe
+23
+20
+40
+5b
+0c
+58
+00
+00
+09
+20
+20
+5b
+0c
+6f
+e0
+c9
 23
 c1
 7f
@@ -1255,7 +1363,7 @@
 20
 3a
 01
-85
+b3
 67
 e0
 cb
@@ -1266,12 +1374,88 @@
 00
 20
 40
+3f
+65
+20
+75
+80
+00
+20
+40
+42
+36
+20
+40
+41
+b5
+c0
+18
+01
+60
+c0
+18
+c2
+17
+c0
+2c
+42
+20
+20
+40
+41
+b2
+20
+00
+1a
+f4
+20
+20
+01
+59
+6f
+e0
+c9
+c2
+c0
+68
+81
+63
+20
+20
+41
+bd
+58
+00
+00
+49
+20
+40
+5b
+0d
+c0
+50
+81
+67
+20
+20
+41
+da
+70
+49
+27
+0c
+20
+60
+00
+00
+20
+40
 3e
 9b
 20
 40
 00
-67
+68
 20
 40
 23
@@ -1291,15 +1475,15 @@
 20
 40
 01
-82
+b0
 20
 40
 01
-75
+a3
 20
 40
 01
-45
+73
 20
 20
 44
@@ -1319,11 +1503,11 @@
 c0
 00
 01
-4b
+79
 c0
 00
 81
-55
+83
 20
 60
 00
@@ -1331,7 +1515,7 @@
 20
 40
 00
-7f
+80
 6f
 e0
 cb
@@ -1355,7 +1539,7 @@
 20
 42
 81
-53
+81
 20
 60
 00
@@ -1367,7 +1551,7 @@
 20
 20
 01
-67
+95
 6f
 e0
 cb
@@ -1399,7 +1583,7 @@
 20
 3a
 01
-61
+8f
 6f
 e0
 cb
@@ -1407,7 +1591,7 @@
 20
 3a
 01
-67
+95
 1f
 e0
 ff
@@ -1423,11 +1607,11 @@
 c0
 00
 80
-82
+83
 c0
 00
 00
-7f
+80
 20
 60
 00
@@ -1439,7 +1623,7 @@
 20
 20
 00
-7f
+80
 58
 00
 00
@@ -1455,7 +1639,7 @@
 24
 3a
 01
-6d
+9b
 70
 4b
 e8
@@ -1475,7 +1659,7 @@
 20
 20
 00
-82
+83
 70
 4b
 f2
@@ -1527,7 +1711,7 @@
 da
 40
 01
-7e
+ac
 20
 20
 31
@@ -1555,7 +1739,7 @@
 da
 40
 01
-85
+b3
 20
 20
 31
@@ -1611,11 +1795,11 @@
 20
 41
 01
-94
+c2
 24
 41
 01
-98
+c6
 20
 20
 48
@@ -1651,11 +1835,11 @@
 c0
 4a
 01
-9e
+cc
 c0
 4f
 81
-a1
+cf
 20
 20
 12
@@ -1667,7 +1851,7 @@
 70
 8a
 3a
-b0
+00
 20
 20
 12
@@ -1684,8 +1868,8 @@
 20
 12
 2a
-e1
-94
+c0
+46
 aa
 55
 40
@@ -1718,7 +1902,7 @@
 00
 08
 56
-41
+49
 02
 00
 00
@@ -2074,7 +2258,7 @@
 00
 11
 00
-15
+68
 00
 aa
 55
@@ -2471,6 +2655,17 @@
 04
 aa
 55
+05
+00
+f3
+4b
+8a
+8b
+83
+84
+88
+aa
+55
 a2
 00
 df
@@ -2865,204 +3060,9 @@
 aa
 aa
 55
-e8
-5d
-02
-23
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+29
+63
+cc
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-68
-ea
+6b
+fd
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/output/memmap.format	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/output/memmap.format	(working copy)
@@ -2219,6 +2219,12 @@
 0x4bf0 mem_mouse_multi_led_blink_count
 0x4bf1 mem_mouse_multi_led_blink_count_limited
 0x4bf2 mem_mouse_multi_led_on_poweron2s_flag
+0x4bf3 mem_sensor_s201_dpi
+0x4bf3 mem_sensor_s201_dpi_0
+0x4bf4 mem_sensor_s201_dpi_1
+0x4bf5 mem_sensor_s201_dpi_2
+0x4bf6 mem_sensor_s201_dpi_3
+0x4bf7 mem_sensor_s201_dpi_4
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/output/program.lis	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/output/program.lis	(working copy)
@@ -1,553 +1,625 @@
               include "bt_format "
               org 0x0000
-0000 c2840011 bbit1 8 ,pf_patch_ext 
-0001 c0000014 beq patch00_0 ,p_soft_reset 
-0002 c0018018 beq patch00_3 ,p_main_loop 
-0003 c045019a beq patch11_2 ,p_txon 
-0004 c04580c2 beq patch11_3 ,p_initialize_radio_cont 
-0005 c04f80c0 beq patch13_7 ,p_init_param 
-0006 c0570091 beq patch15_6 ,p_app_init 
-0007 c0580085 beq patch16_0 ,p_app_evt_100ms_loop 
-0008 c06180a1 beq patch18_3 ,p_mouse_start_work 
-0009 c06480d5 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000a c06500e5 beq patch19_2 ,p_mouse_lpm_before_common 
-000b c0660051 beq patch19_4 ,p_mouse_adc_read_start 
-000c c0670110 beq patch19_6 ,p_mouse_motion 
-000d c068012a beq patch1a_0 ,p_mouse_seting_dpi 
-000e c06b00f6 beq patch1a_6 ,p_mouse_priority_bb_event 
-000f c06c813b beq patch1b_1 ,p_mouse_bb_event_timer 
-0010 2020137c branch loop 
+0000 c2840012 bbit1 8 ,pf_patch_ext 
+0001 c0000015 beq patch00_0 ,p_soft_reset 
+0002 c0018019 beq patch00_3 ,p_main_loop 
+0003 c04501c8 beq patch11_2 ,p_txon 
+0004 c04580c3 beq patch11_3 ,p_initialize_radio_cont 
+0005 c04f80c1 beq patch13_7 ,p_init_param 
+0006 c0570092 beq patch15_6 ,p_app_init 
+0007 c0580086 beq patch16_0 ,p_app_evt_100ms_loop 
+0008 c06180a2 beq patch18_3 ,p_mouse_start_work 
+0009 c06480d6 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000a c06500e6 beq patch19_2 ,p_mouse_lpm_before_common 
+000b c0660052 beq patch19_4 ,p_mouse_adc_read_start 
+000c c0670111 beq patch19_6 ,p_mouse_motion 
+000d c068012b beq patch1a_0 ,p_mouse_seting_dpi 
+000e c0698156 beq patch1a_3 ,p_mouse_init_sunt 
+000f c06b00f7 beq patch1a_6 ,p_mouse_priority_bb_event 
+0010 c06c8169 beq patch1b_1 ,p_mouse_bb_event_timer 
+0011 2020137c branch loop 
 
 pf_patch_ext:
-0011 c0198031 beq patch26_3 ,p_adc_init_data 
-0012 c01a0036 beq patch26_4 ,p_enable_adc 
-0013 2020137c branch loop 
+0012 c0198032 beq patch26_3 ,p_adc_init_data 
+0013 c01a0037 beq patch26_4 ,p_enable_adc 
+0014 2020137c branch loop 
 
 p_soft_reset:
-0014 20800000 clear_stack 
-0015 204030f3 call app_param_init 
-0016 20403bfd call mouse_xtal_init 
-0017 20200804 branch soft_reset + 3 
+0015 20800000 clear_stack 
+0016 204030f3 call app_param_init 
+0017 20403bfd call mouse_xtal_init 
+0018 20200804 branch soft_reset + 3 
 
 p_main_loop:
-0018 2040706c call sp_calc_sequence 
-0019 20407597 call sp_calc_sequence_256 
-001a 20406ea7 call sp_calc_sequence_256_check 
-001b 20401b93 call le_advertising_dispatch + 1 
-001c 2040083a call idle_dispatch 
-001d 20403108 call app_process_idle + 1 
-001e 20400892 call inquiry_dispatch + 1 
-001f 20400b08 call inquiry_scan_dispatch + 1 
-0020 20400b7b call page_scan_dispatch + 1 
-0021 20400823 call connection_dispatch + 1 
-0022 204021d3 call g24_dispatch + 2 
-0023 20400025 call p_lpm_dispatch 
-0024 20200813 branch main_loop 
+0019 2040706c call sp_calc_sequence 
+001a 20407597 call sp_calc_sequence_256 
+001b 20406ea7 call sp_calc_sequence_256_check 
+001c 20401b93 call le_advertising_dispatch + 1 
+001d 2040083a call idle_dispatch 
+001e 20403108 call app_process_idle + 1 
+001f 20400892 call inquiry_dispatch + 1 
+0020 20400b08 call inquiry_scan_dispatch + 1 
+0021 20400b7b call page_scan_dispatch + 1 
+0022 20400823 call connection_dispatch + 1 
+0023 204021d3 call g24_dispatch + 2 
+0024 20400026 call p_lpm_dispatch 
+0025 20200813 branch main_loop 
 
 p_lpm_dispatch:
-0025 20401465 call lpo_calibration 
-0026 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0027 207a0000 rtn blank 
-0028 6fe0c099 fetch 1 ,mem_lpm_mode 
-0029 207a0000 rtn blank 
-002a 6fe0c764 fetch 1 ,mem_ssp_enable 
-002b 203a002e branch p_lpm_dispatch_next ,blank 
-002c 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
-002d 207a0000 rtn blank 
+0026 20401465 call lpo_calibration 
+0027 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+0028 207a0000 rtn blank 
+0029 6fe0c099 fetch 1 ,mem_lpm_mode 
+002a 207a0000 rtn blank 
+002b 6fe0c764 fetch 1 ,mem_ssp_enable 
+002c 203a002f branch p_lpm_dispatch_next ,blank 
+002d 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
+002e 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-002e 6fe0c6ba fetch 1 ,mem_sc_calc 
-002f 247a0000 nrtn blank 
-0030 202014ea branch lpm_dispatch_next + 3 
+002f 6fe0c6ba fetch 1 ,mem_sc_calc 
+0030 247a0000 nrtn blank 
+0031 202014ea branch lpm_dispatch_next + 3 
 
 p_adc_init_data:
-0031 da20099e arg mem_temp_block2 ,rega 
-0032 d840000c arg 12 ,temp 
-0033 58000030 setarg efuse_offset_adc_param 
-0034 20405e63 call efuse_read_data 
-0035 202060bf branch adc_init_data + 6 
+0032 da20099e arg mem_temp_block2 ,rega 
+0033 d840000c arg 12 ,temp 
+0034 58000030 setarg efuse_offset_adc_param 
+0035 20405e63 call efuse_read_data 
+0036 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-0036 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-0037 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-0038 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-0039 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-003a 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-003b 79207e07 set1 7 ,pdata 
-003c 67f08a09 store 1 ,core_clkpll_cfg6 
-003d 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-003e 2000003c nop 60 
-003f 708a1600 jam 0 ,core_syn_en 
-0040 708a1706 jam 6 ,core_rx_en0 
-0041 2040611a call read_adc_mode 
-0042 67f08a97 store 1 ,core_gpadc_ctrl 
-0043 7080dc03 jam 0x03 ,core_sum_ctrl 
-0044 2000003c nop 60 
-0045 6ff08053 fetch 1 ,core_sum_en 
-0046 79207e07 set1 7 ,pdata 
-0047 67f08053 store 1 ,core_sum_en 
-0048 200003e8 nop 1000 
-0049 6ff10150 fetch 2 ,core_adc_sum 
-004a 67e144a2 store 2 ,mem_adc_current_value 
-004b 6ff08053 fetch 1 ,core_sum_en 
-004c 793ffe07 set0 7 ,pdata 
-004d 67f08053 store 1 ,core_sum_en 
-004e 708a9700 jam 0 ,core_gpadc_ctrl 
-004f 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-0050 20600000 rtn 
+0037 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0038 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+0039 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+003a 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+003b 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+003c 79207e07 set1 7 ,pdata 
+003d 67f08a09 store 1 ,core_clkpll_cfg6 
+003e 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+003f 2000003c nop 60 
+0040 708a1600 jam 0 ,core_syn_en 
+0041 708a1706 jam 6 ,core_rx_en0 
+0042 2040611a call read_adc_mode 
+0043 67f08a97 store 1 ,core_gpadc_ctrl 
+0044 7080dc03 jam 0x03 ,core_sum_ctrl 
+0045 2000003c nop 60 
+0046 6ff08053 fetch 1 ,core_sum_en 
+0047 79207e07 set1 7 ,pdata 
+0048 67f08053 store 1 ,core_sum_en 
+0049 200003e8 nop 1000 
+004a 6ff10150 fetch 2 ,core_adc_sum 
+004b 67e144a2 store 2 ,mem_adc_current_value 
+004c 6ff08053 fetch 1 ,core_sum_en 
+004d 793ffe07 set0 7 ,pdata 
+004e 67f08053 store 1 ,core_sum_en 
+004f 708a9700 jam 0 ,core_gpadc_ctrl 
+0050 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+0051 20600000 rtn 
 
 p_mouse_adc_read_start:
-0051 20400036 call p_enable_adc 
-0052 7048f600 jam 0 ,mem_adc_read_timer 
-0053 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
-0054 d8400000 arg gpcfg_high_impedance ,temp 
-0055 20406093 call gpio_config_function_int 
-0056 20406125 call vdd_calculate_by_mode 
-0057 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0052 20400037 call p_enable_adc 
+0053 7048f600 jam 0 ,mem_adc_read_timer 
+0054 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
+0055 d8400000 arg gpcfg_high_impedance ,temp 
+0056 20406093 call gpio_config_function_int 
+0057 20406125 call vdd_calculate_by_mode 
+0058 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-0058 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-0059 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-005a 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-005b c2813f1a bbit1 2 ,mouse_adc_button_press 
-005c c280bf1c bbit1 1 ,mouse_power_down 
-005d c3000060 bbit0 0 ,p_mouse_adc_no_low_voltage 
-005e 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-005f 20203ece branch mouse_adc_low_voltage 
+0059 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+005a 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+005b 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+005c c2813f1a bbit1 2 ,mouse_adc_button_press 
+005d c280bf1c bbit1 1 ,mouse_power_down 
+005e c3000061 bbit0 0 ,p_mouse_adc_no_low_voltage 
+005f 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0060 20203ece branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-0060 d8e00004 arg mouse_low_voltage_flag ,queue 
-0061 204046f4 call mouse_disable_function_flag 
-0062 7048f80c jam 12 ,mem_adc_low_volatage_led_timer_count 
-0063 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0064 207a0000 rtn blank 
-0065 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0066 20200082 branch p_mouse_low_voltage_led_off 
+0061 d8e00004 arg mouse_low_voltage_flag ,queue 
+0062 204046f4 call mouse_disable_function_flag 
+0063 7048f80c jam 12 ,mem_adc_low_volatage_led_timer_count 
+0064 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0065 207a0000 rtn blank 
+0066 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0067 20200083 branch p_mouse_low_voltage_led_off 
 
 p_mouse_low_voltage_led_timer:
-0067 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0068 247a0000 nrtn blank 
-0069 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-006a 247a0000 nrtn blank 
-006b 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-006c 247a0000 nrtn blank 
-006d 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-006e 247a0000 nrtn blank 
-006f 20404904 call mouse_check_dpi_blink 
-0070 20740000 rtn user 
-0071 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0072 c4108000 rtnbit0 mouse_enable_low_voltage_led 
-0073 c4020000 rtnbit0 mouse_low_voltage_flag 
-0074 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
-0075 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0076 1fe0fe01 increase 1 ,pdata 
-0077 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-0078 1fe67c0a sub pdata ,10 ,null 
-0079 2441007d ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-007a 1fe67c05 sub pdata ,5 ,null 
-007b 2021007f branch p_mouse_low_voltage_led_on ,positive 
-007c 20200082 branch p_mouse_low_voltage_led_off 
+0068 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0069 247a0000 nrtn blank 
+006a 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+006b 247a0000 nrtn blank 
+006c 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+006d 247a0000 nrtn blank 
+006e 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+006f 247a0000 nrtn blank 
+0070 20404904 call mouse_check_dpi_blink 
+0071 20740000 rtn user 
+0072 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0073 c4108000 rtnbit0 mouse_enable_low_voltage_led 
+0074 c4020000 rtnbit0 mouse_low_voltage_flag 
+0075 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+0076 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0077 1fe0fe01 increase 1 ,pdata 
+0078 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+0079 1fe67c0a sub pdata ,10 ,null 
+007a 2441007e ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+007b 1fe67c05 sub pdata ,5 ,null 
+007c 20210080 branch p_mouse_low_voltage_led_on ,positive 
+007d 20200083 branch p_mouse_low_voltage_led_off 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-007d 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
-007e 20600000 rtn 
+007e 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
+007f 20600000 rtn 
 
 p_mouse_low_voltage_led_on:
-007f 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
-0080 d840003f arg gpcfg_output_high ,temp 
-0081 20206093 branch gpio_config_function_int 
+0080 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
+0081 d840003f arg gpcfg_output_high ,temp 
+0082 20206093 branch gpio_config_function_int 
 
 p_mouse_low_voltage_led_off:
-0082 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
-0083 d840003e arg gpcfg_output_low ,temp 
-0084 20206093 branch gpio_config_function_int 
+0083 6fe0cbe7 fetch 1 ,mem_low_voltage_alarm_gpio 
+0084 d840003e arg gpcfg_output_low ,temp 
+0085 20206093 branch gpio_config_function_int 
 
 p_app_evt_100ms_loop:
-0085 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0086 207a0000 rtn blank 
-0087 1fe0ffff increase -1 ,pdata 
-0088 67e0830d store 1 ,mem_app_evt_timer_count 
-0089 204077c5 call ui_button_polling 
-008a 204031e3 call app_lpm_wake_auto_lock_timer 
-008b 204031a4 call app_unsniff_delay_timer 
-008c 204031aa call app_discovery_timer 
-008d 20405cdc call flash_write_spi_sm_timer 
-008e 6fe1446f fetch 2 ,mem_cb_event_timer 
-008f 20407e05 call callback_func 
-0090 20200085 branch p_app_evt_100ms_loop 
+0086 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+0087 207a0000 rtn blank 
+0088 1fe0ffff increase -1 ,pdata 
+0089 67e0830d store 1 ,mem_app_evt_timer_count 
+008a 204077c5 call ui_button_polling 
+008b 204031e3 call app_lpm_wake_auto_lock_timer 
+008c 204031a4 call app_unsniff_delay_timer 
+008d 204031aa call app_discovery_timer 
+008e 20405cdc call flash_write_spi_sm_timer 
+008f 6fe1446f fetch 2 ,mem_cb_event_timer 
+0090 20407e05 call callback_func 
+0091 20200086 branch p_app_evt_100ms_loop 
 
 p_app_init:
 
 p_mouse_init:
-0091 20406df3 call enable_authrom 
-0092 20400098 call p_mouse_wheel_set_wakeup 
-0093 20403bf0 call mouse_setting_config 
-0094 204041a7 call mouse_init_sunt 
-0095 20758000 rtn wake 
-0096 2040408e call mouse_dpi_config 
-0097 20203bc5 branch mouse_init + 4 
+0092 20406df3 call enable_authrom 
+0093 20400099 call p_mouse_wheel_set_wakeup 
+0094 20403bf0 call mouse_setting_config 
+0095 20400156 call p_mouse_init_sunt 
+0096 20758000 rtn wake 
+0097 2040012d call p_mouse_seting_sensor_type 
+0098 20203bc5 branch mouse_init + 4 
 
 p_mouse_wheel_set_wakeup:
-0098 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0099 207a0000 rtn blank 
-009a 20400170 call p_mouse_mode_24g_device_multi_led_on 
-009b 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-009c d8400040 arg gpcfg_pullup ,temp 
-009d 20406093 call gpio_config_function_int 
-009e 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-009f d8400040 arg gpcfg_pullup ,temp 
-00a0 20206093 branch gpio_config_function_int 
+0099 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+009a 207a0000 rtn blank 
+009b 2040019e call p_mouse_mode_24g_device_multi_led_on 
+009c 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+009d d8400040 arg gpcfg_pullup ,temp 
+009e 20406093 call gpio_config_function_int 
+009f 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+00a0 d8400040 arg gpcfg_pullup ,temp 
+00a1 20206093 branch gpio_config_function_int 
 
 p_mouse_start_work:
-00a1 6fe0c938 fetch 1 ,mem_device_flag 
-00a2 c00000a6 beq mode_24g_device ,p_mouse_24g_start_mode 
-00a3 20403d65 call mouse_wakeup_from_power_check 
-00a4 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
-00a5 20203d59 branch mouse_start_reconnect_device 
+00a2 6fe0c938 fetch 1 ,mem_device_flag 
+00a3 c00000a7 beq mode_24g_device ,p_mouse_24g_start_mode 
+00a4 20403d65 call mouse_wakeup_from_power_check 
+00a5 243442eb nbranch mouse_buletooth_fast_conn_init ,user 
+00a6 20203d59 branch mouse_start_reconnect_device 
 
 p_mouse_24g_start_mode:
-00a6 20400170 call p_mouse_mode_24g_device_multi_led_on 
-00a7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00a8 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00a9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00aa c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00ab c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00ac 204000bb call p_mouse_key_check_once 
-00ad 1fe17e07 and pdata ,0x07 ,pdata 
-00ae 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-00af 98467c00 isub temp ,null 
-00b0 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00b1 2020480c branch mouse_24g_reconn_general_dongle 
+00a7 2040019e call p_mouse_mode_24g_device_multi_led_on 
+00a8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00a9 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00ab c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00ac c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00ad 204000bc call p_mouse_key_check_once 
+00ae 1fe17e07 and pdata ,0x07 ,pdata 
+00af 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+00b0 98467c00 isub temp ,null 
+00b1 2022c827 branch mouse_24g_start_pair_mode ,zero 
+00b2 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_g24_factory_check:
-00b2 df200002 arg 2 ,loopcnt 
-00b3 d8c04993 arg mem_mouse_24g_addr ,contr 
+00b3 df200002 arg 2 ,loopcnt 
+00b4 d8c04993 arg mem_mouse_24g_addr ,contr 
 
 p_pdata_0xff_check:
-00b4 20407e54 call enable_user 
-00b5 5800ffff setarg 0xffff 
+00b5 20407e54 call enable_user 
+00b6 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-00b6 e8410006 ifetcht 2 ,contr 
-00b7 98467c00 isub temp ,null 
-00b8 2442fe56 ncall disable_user ,zero 
-00b9 c20000b6 loop p_pdata_0xff_check_loop 
-00ba 20600000 rtn 
+00b7 e8410006 ifetcht 2 ,contr 
+00b8 98467c00 isub temp ,null 
+00b9 2442fe56 ncall disable_user ,zero 
+00ba c20000b7 loop p_pdata_0xff_check_loop 
+00bb 20600000 rtn 
 
 p_mouse_key_check_once:
-00bb 20404121 call mouse_check_key_gpio_once 
-00bc 20404115 call mouse_check_key_gpio 
-00bd d8400000 arg 0 ,temp 
-00be 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
-00bf 20600000 rtn 
+00bc 20404121 call mouse_check_key_gpio_once 
+00bd 20404115 call mouse_check_key_gpio 
+00be d8400000 arg 0 ,temp 
+00bf 6049cb8e storet 3 ,mem_mouse_lkey_press_status 
+00c0 20600000 rtn 
 
 p_init_param:
-00c0 70008000 jam 0 ,mem_lmo_tid2 
-00c1 202013b7 branch init_param_next + 1 
+00c1 70008000 jam 0 ,mem_lmo_tid2 
+00c2 202013b7 branch init_param_next + 1 
 
 p_initialize_radio_cont:
-00c2 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-00c3 2040126a call initialize_syn_afc_cfg1 
-00c4 20401271 call initialize_rf_ldo_cfg1 
-00c5 20401277 call initialize_rc_cal 
-00c6 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-00c7 708a0305 jam 5 ,core_clkpll_cfg0 
-00c8 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-00c9 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-00ca 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-00cb 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-00cc 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-00cd c08400cf bne xtal_16m ,p_initialize_radio_cont_next 
-00ce 708a0834 jam 0x34 ,core_clkpll_cfg5 
+00c3 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+00c4 2040126a call initialize_syn_afc_cfg1 
+00c5 20401271 call initialize_rf_ldo_cfg1 
+00c6 20401277 call initialize_rc_cal 
+00c7 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+00c8 708a0305 jam 5 ,core_clkpll_cfg0 
+00c9 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+00ca 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+00cb 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+00cc 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+00cd 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+00ce c08400d0 bne xtal_16m ,p_initialize_radio_cont_next 
+00cf 708a0834 jam 0x34 ,core_clkpll_cfg5 
 
 p_initialize_radio_cont_next:
-00cf 708a01ff jam 0xff ,core_clkpll_ctrl1 
-00d0 20000064 nop 100 
-00d1 708a020e jam 0x0e ,core_clkpll_ctrl2 
-00d2 708a0003 jam 0x03 ,core_clkpll_ctrl0 
-00d3 204001a1 call p_set_tx_power_pair 
-00d4 20201265 branch initialize_radio_cont_next2 
+00d0 708a01ff jam 0xff ,core_clkpll_ctrl1 
+00d1 20000064 nop 100 
+00d2 708a020e jam 0x0e ,core_clkpll_ctrl2 
+00d3 708a0003 jam 0x03 ,core_clkpll_ctrl0 
+00d4 204001cf call p_set_tx_power_pair 
+00d5 20201265 branch initialize_radio_cont_next2 
 
 p_mouse_setgpio_hibernate:
-00d5 204042e9 call mouse_set_sdio_high 
-00d6 20407fdc call clear_wake 
-00d7 20404015 call mouse_before_hibernate_wheel_gpio_set 
-00d8 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-00d9 c07f80de beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-00da 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00db 20406069 call gpio_out_active 
-00dc 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00dd 20406042 call gpio_clr_wake 
+00d6 204042e9 call mouse_set_sdio_high 
+00d7 20407fdc call clear_wake 
+00d8 20404015 call mouse_before_hibernate_wheel_gpio_set 
+00d9 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+00da c07f80df beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+00db 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00dc 20406069 call gpio_out_active 
+00dd 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00de 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-00de 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-00df 20403f56 call mouse_gpio_config_input_pu 
-00e0 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00e1 d840003f arg gpcfg_output_high ,temp 
-00e2 20406093 call gpio_config_function_int 
-00e3 2040017e call p_mouse_logo_led_on_timeout 
-00e4 20203e36 branch mouse_setgpio_hibernate + 3 
+00df 6848cbe2 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+00e0 20403f56 call mouse_gpio_config_input_pu 
+00e1 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+00e2 d840003f arg gpcfg_output_high ,temp 
+00e3 20406093 call gpio_config_function_int 
+00e4 204001ac call p_mouse_logo_led_on_timeout 
+00e5 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-00e5 20403f88 call mouse_wheel_check 
-00e6 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-00e7 d840003f arg gpcfg_output_high ,temp 
-00e8 20406093 call gpio_config_function_int 
-00e9 20405b04 call twspi_disable 
-00ea 6848c918 fetcht 1 ,mem_lbutton_gpio 
-00eb 20406036 call gpio_set_wake 
-00ec 6848c919 fetcht 1 ,mem_rbutton_gpio 
-00ed 20406036 call gpio_set_wake 
-00ee 6848c91a fetcht 1 ,mem_mbutton_gpio 
-00ef 20406036 call gpio_set_wake 
-00f0 6848c90d fetcht 1 ,mem_bk_button_gpio 
-00f1 20406036 call gpio_set_wake 
-00f2 6848c90e fetcht 1 ,mem_fw_button_gpio 
-00f3 20406036 call gpio_set_wake 
-00f4 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-00f5 20206036 branch gpio_set_wake 
+00e6 20403f88 call mouse_wheel_check 
+00e7 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+00e8 d840003f arg gpcfg_output_high ,temp 
+00e9 20406093 call gpio_config_function_int 
+00ea 20405b04 call twspi_disable 
+00eb 6848c918 fetcht 1 ,mem_lbutton_gpio 
+00ec 20406036 call gpio_set_wake 
+00ed 6848c919 fetcht 1 ,mem_rbutton_gpio 
+00ee 20406036 call gpio_set_wake 
+00ef 6848c91a fetcht 1 ,mem_mbutton_gpio 
+00f0 20406036 call gpio_set_wake 
+00f1 6848c90d fetcht 1 ,mem_bk_button_gpio 
+00f2 20406036 call gpio_set_wake 
+00f3 6848c90e fetcht 1 ,mem_fw_button_gpio 
+00f4 20406036 call gpio_set_wake 
+00f5 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+00f6 20206036 branch gpio_set_wake 
 
 p_mouse_priority_bb_event:
-00f6 1a627e00 copy regc ,pdata 
-00f7 c01d00fa beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00f8 c01e0108 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00f9 20204336 branch mouse_priority_bb_event + 2 
+00f7 1a627e00 copy regc ,pdata 
+00f8 c01d00fb beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+00f9 c01e0109 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00fa 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_fail:
-00fa 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-00fb 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
+00fb 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+00fc 243a47e1 nbranch mouse_24g_hibernate_set ,blank 
 
 p_mouse_24g_attempt_fail_next:
-00fc 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-00fd c0010101 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-00fe c0024844 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
-00ff c001c849 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
-0100 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
+00fd 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+00fe c0010102 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+00ff c0024844 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
+0100 c001c849 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
+0101 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0101 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0102 c2978105 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0103 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-0104 20204806 branch mouse_24g_reconn_dongle_start 
+0102 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0103 c2978106 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+0104 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0105 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-0105 204000b2 call p_g24_factory_check 
-0106 20344812 branch mouse_24g_start_auto_pair_next ,user 
-0107 20204806 branch mouse_24g_reconn_dongle_start 
+0106 204000b3 call p_g24_factory_check 
+0107 20344812 branch mouse_24g_start_auto_pair_next ,user 
+0108 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_attempt_success:
-0108 6fe2483c fetch 4 ,mem_24g_addr 
-0109 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
-010a 98467c00 isub temp ,null 
-010b 2022810e branch p_mouse_24g_attempt_success_skip_store_addr ,zero 
-010c 67e24891 store 4 ,mem_24g_receiver_addr 
-010d 67e24993 store 4 ,mem_mouse_24g_addr 
+0109 6fe2483c fetch 4 ,mem_24g_addr 
+010a 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
+010b 98467c00 isub temp ,null 
+010c 2022810f branch p_mouse_24g_attempt_success_skip_store_addr ,zero 
+010d 67e24891 store 4 ,mem_24g_receiver_addr 
+010e 67e24993 store 4 ,mem_mouse_24g_addr 
 
 p_mouse_24g_attempt_success_skip_store_addr:
-010e 204048c6 call mouse_device_poweron_timer_init 
-010f 2020484e branch mouse_24g_attempt_success 
+010f 204048c6 call mouse_device_poweron_timer_init 
+0110 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_motion:
-0110 78547c00 disable user 
-0111 58000000 setarg 0 
-0112 67e348d1 store 6 ,mem_mouse_x 
-0113 20404240 call mouse_check_sensor_data 
-0114 2040408e call mouse_dpi_config 
-0115 20403f7e call mouse_zwheel 
-0116 20403f83 call mouse_t_zwheel 
-0117 204040dc call mouse_key 
-0118 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0119 1fe17e1f and_into 0x1f ,pdata 
-011a 67e0c8d0 store 1 ,mem_mouse_key 
-011b 2434011f nbranch p_mouse_motion_nodata ,user 
-011c 2040471a call mouse_drawing_optima 
-011d 20400122 call p_mouse_logo_led_on_check 
-011e 20204544 branch mouse_no_data_timer_init 
+0111 78547c00 disable user 
+0112 58000000 setarg 0 
+0113 67e348d1 store 6 ,mem_mouse_x 
+0114 20404240 call mouse_check_sensor_data 
+0115 2040012d call p_mouse_seting_sensor_type 
+0116 20403f7e call mouse_zwheel 
+0117 20403f83 call mouse_t_zwheel 
+0118 204040dc call mouse_key 
+0119 6fe0c8d0 fetch 1 ,mem_mouse_key 
+011a 1fe17e1f and_into 0x1f ,pdata 
+011b 67e0c8d0 store 1 ,mem_mouse_key 
+011c 24340120 nbranch p_mouse_motion_nodata ,user 
+011d 2040471a call mouse_drawing_optima 
+011e 20400123 call p_mouse_logo_led_on_check 
+011f 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-011f 20404728 call mouse_drawing_optima_init 
-0120 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
-0121 20600000 rtn 
+0120 20404728 call mouse_drawing_optima_init 
+0121 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
+0122 20600000 rtn 
 
 p_mouse_logo_led_on_check:
-0122 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
-0123 1fe0fe01 increase 1 ,pdata 
-0124 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
-0125 1fe67c08 sub pdata ,low_voltage_led_count ,null 
-0126 20610000 rtn positive 
+0123 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
+0124 1fe0fe01 increase 1 ,pdata 
+0125 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
+0126 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+0127 20610000 rtn positive 
 
 p_mouse_logo_led_on:
-0127 58000258 setarg 0x0258 
-0128 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-0129 20600000 rtn 
+0128 58000258 setarg 0x0258 
+0129 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+012a 20600000 rtn 
 
 p_mouse_seting_dpi:
-012a 2040408f call mouse_setting_dpi_4_level 
-012b 2040012d call p_mouse_dpi_led_blink_delay 
-012c 20204098 branch mouse_seting_sensor_type 
+012b 2040408f call mouse_setting_dpi_4_level 
+012c 20400148 call p_mouse_dpi_led_blink_delay 
+
+p_mouse_seting_sensor_type:
+012d 6fe0c927 fetch 1 ,mem_config_sensor_type 
+012e c0060130 beq s201x ,p_mouse_seting_s201_dpi 
+012f 20204098 branch mouse_seting_sensor_type 
+
+p_mouse_seting_s201_dpi:
+0130 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0131 c000013e beq mouse_dpi_level1 ,p_mouse_set_s201_dpi_3 
+0132 c0008135 beq mouse_dpi_level2 ,p_mouse_set_s201_dpi_0 
+0133 c001013b beq mouse_dpi_level3 ,p_mouse_set_s201_dpi_2 
+0134 c0018138 beq mouse_dpi_level4 ,p_mouse_set_s201_dpi_1 
+
+p_mouse_set_s201_dpi_0:
+0135 6fe0cbf3 fetch 1 ,mem_sensor_s201_dpi_0 
+0136 1fe22200 copy pdata ,rega 
+0137 20200140 branch p_mouse_dpi_s201_store 
+
+p_mouse_set_s201_dpi_1:
+0138 6fe0cbf4 fetch 1 ,mem_sensor_s201_dpi_1 
+0139 1fe22200 copy pdata ,rega 
+013a 20200140 branch p_mouse_dpi_s201_store 
+
+p_mouse_set_s201_dpi_2:
+013b 6fe0cbf5 fetch 1 ,mem_sensor_s201_dpi_2 
+013c 1fe22200 copy pdata ,rega 
+013d 20200140 branch p_mouse_dpi_s201_store 
+
+p_mouse_set_s201_dpi_3:
+013e 6fe0cbf6 fetch 1 ,mem_sensor_s201_dpi_3 
+013f 1fe22200 copy pdata ,rega 
+
+p_mouse_dpi_s201_store:
+0140 5800c309 setarg 0xc309 
+0141 20405b0c call twspi_write 
+0142 1a227e00 copy rega ,pdata 
+0143 1fed7e00 lshift8 pdata ,pdata 
+0144 1fe0fe23 add pdata ,0x23 ,pdata 
+0145 20405b0c call twspi_write 
+0146 58000009 setarg 0x0009 
+0147 20205b0c branch twspi_write 
 
 p_mouse_dpi_led_blink_delay:
-012d 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-012e c17f8000 rtneq gpio_disable 
-012f 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0130 247a0000 nrtn blank 
-0131 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0132 247a0000 nrtn blank 
-0133 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0134 247a0000 nrtn blank 
-0135 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0136 247a0000 nrtn blank 
-0137 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0138 203a0185 branch p_mouse_dpi_led_blink_init ,blank 
-0139 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-013a 20600000 rtn 
+0148 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0149 c17f8000 rtneq gpio_disable 
+014a 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+014b 247a0000 nrtn blank 
+014c 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+014d 247a0000 nrtn blank 
+014e 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+014f 247a0000 nrtn blank 
+0150 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0151 247a0000 nrtn blank 
+0152 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0153 203a01b3 branch p_mouse_dpi_led_blink_init ,blank 
+0154 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0155 20600000 rtn 
+
+p_mouse_init_sunt:
+0156 20403f65 call mouse_sensor_spi_init 
+0157 20758000 rtn wake 
+
+p_mouse_init_sensor_wakeup:
+0158 20404236 call mouse_sensor_poweron 
+
+p_mouse_init_sensor:
+0159 204041b5 call mouse_read_sensor_id 
+015a c0180160 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+015b c018c217 beq p3065_id1 ,mouse_init_p3065 
+015c c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+015d 204041b2 call mouse_twspi_reset 
+015e 20001af4 nop 6900 
+015f 20200159 branch p_mouse_init_sensor 
+
+p_mouse_init_p32xx_id2_judge:
+0160 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+0161 c0688163 beq p3205_tj3t_id2 ,p_mouse_3205_3t_init_param 
+0162 202041bd branch mouse_init_p32xx_id2_judge + 1 
+
+p_mouse_3205_3t_init_param:
+0163 58000049 setarg 0x49 
+0164 20405b0d call twspi_read 
+0165 c0508167 beq 0xa1 ,p_mouse_s201x_init_param 
+0166 202041da branch mouse_3205_3t_init_param 
+
+p_mouse_s201x_init_param:
+0167 7049270c jam s201x ,mem_config_sensor_type 
+0168 20600000 rtn 
 
 p_mouse_bb_event_timer:
-013b 20403e9b call mouse_adc_read 
-013c 20400067 call p_mouse_low_voltage_led_timer 
-013d 2040232b call g24_pair_timeout_timer 
-013e 20402556 call g24_reconn_timeout_timer 
-013f 204047cd call mouse_24g_long_sleep_param_update_timer 
-0140 204048be call mouse_device_poweron_timer 
-0141 20400182 call p_mouse_dpi_led_blink_delay_timer 
-0142 20400175 call p_mouse_logo_led_on_timer 
-0143 20400145 call p_mouse_multi_led_blink_timer 
-0144 202044bd branch mouse_bb_event_timer + 8 
+0169 20403e9b call mouse_adc_read 
+016a 20400068 call p_mouse_low_voltage_led_timer 
+016b 2040232b call g24_pair_timeout_timer 
+016c 20402556 call g24_reconn_timeout_timer 
+016d 204047cd call mouse_24g_long_sleep_param_update_timer 
+016e 204048be call mouse_device_poweron_timer 
+016f 204001b0 call p_mouse_dpi_led_blink_delay_timer 
+0170 204001a3 call p_mouse_logo_led_on_timer 
+0171 20400173 call p_mouse_multi_led_blink_timer 
+0172 202044bd branch mouse_bb_event_timer + 8 
 
 p_mouse_multi_led_blink_timer:
-0145 6fe0cbe8 fetch 1 ,mem_mouse_multi_led_blink_enable 
-0146 207a0000 rtn blank 
-0147 6fe0cbeb fetch 1 ,mem_mouse_multi_led_type 
-0148 c000014b beq multi_led_on ,p_mouse_multi_led_type_on 
-0149 c0008155 beq multi_led_blink ,p_mouse_multi_led_type_blink 
-014a 20600000 rtn 
+0173 6fe0cbe8 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0174 207a0000 rtn blank 
+0175 6fe0cbeb fetch 1 ,mem_mouse_multi_led_type 
+0176 c0000179 beq multi_led_on ,p_mouse_multi_led_type_on 
+0177 c0008183 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+0178 20600000 rtn 
 
 p_mouse_multi_led_type_on:
-014b 2040007f call p_mouse_low_voltage_led_on 
-014c 6fe0cbec fetch 1 ,mem_mouse_multi_led_on_timer 
-014d 1fe0fe01 increase 1 ,pdata 
-014e 67e0cbec store 1 ,mem_mouse_multi_led_on_timer 
-014f 6848cbed fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-0150 98467c00 isub temp ,null 
-0151 20428153 call p_mouse_multi_led_off_poweron2s ,zero 
-0152 20600000 rtn 
+0179 20400080 call p_mouse_low_voltage_led_on 
+017a 6fe0cbec fetch 1 ,mem_mouse_multi_led_on_timer 
+017b 1fe0fe01 increase 1 ,pdata 
+017c 67e0cbec store 1 ,mem_mouse_multi_led_on_timer 
+017d 6848cbed fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+017e 98467c00 isub temp ,null 
+017f 20428181 call p_mouse_multi_led_off_poweron2s ,zero 
+0180 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-0153 704bf200 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-0154 20200167 branch p_mouse_multi_led_blink_off 
+0181 704bf200 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+0182 20200195 branch p_mouse_multi_led_blink_off 
 
 p_mouse_multi_led_type_blink:
-0155 6fe0cbef fetch 1 ,mem_mouse_multi_led_blink_timer 
-0156 1fe0ffff increase -1 ,pdata 
-0157 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
-0158 247a0000 nrtn blank 
-0159 6fe0cbee fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-015a 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
-015b 6fe0cbf1 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-015c 203a0161 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-015d 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
-015e 203a0167 branch p_mouse_multi_led_blink_off ,blank 
-015f 1fe0ffff increase -1 ,pdata 
-0160 67e0cbf0 store 1 ,mem_mouse_multi_led_blink_count 
+0183 6fe0cbef fetch 1 ,mem_mouse_multi_led_blink_timer 
+0184 1fe0ffff increase -1 ,pdata 
+0185 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
+0186 247a0000 nrtn blank 
+0187 6fe0cbee fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0188 67e0cbef store 1 ,mem_mouse_multi_led_blink_timer 
+0189 6fe0cbf1 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+018a 203a018f branch p_mouse_multi_led_blink_count_no_limited ,blank 
+018b 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
+018c 203a0195 branch p_mouse_multi_led_blink_off ,blank 
+018d 1fe0ffff increase -1 ,pdata 
+018e 67e0cbf0 store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-0161 6fe0cbea fetch 1 ,mem_mouse_multi_led_state 
-0162 c0008082 beq on ,p_mouse_low_voltage_led_off 
-0163 c000007f beq off ,p_mouse_low_voltage_led_on 
-0164 20600000 rtn 
+018f 6fe0cbea fetch 1 ,mem_mouse_multi_led_state 
+0190 c0008083 beq on ,p_mouse_low_voltage_led_off 
+0191 c0000080 beq off ,p_mouse_low_voltage_led_on 
+0192 20600000 rtn 
 
 p_mouse_multi_led_on:
-0165 704bea01 jam on ,mem_mouse_multi_led_state 
-0166 2020007f branch p_mouse_low_voltage_led_on 
+0193 704bea01 jam on ,mem_mouse_multi_led_state 
+0194 20200080 branch p_mouse_low_voltage_led_on 
 
 p_mouse_multi_led_blink_off:
-0167 58000000 setarg 0 
-0168 67e1cbef store 3 ,mem_mouse_multi_led_blink_timer 
+0195 58000000 setarg 0 
+0196 67e1cbef store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-0169 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
-016a 243a016d nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-016b 704be800 jam 0 ,mem_mouse_multi_led_blink_enable 
-016c 704beb00 jam 0 ,mem_mouse_multi_led_type 
+0197 6fe0cbf0 fetch 1 ,mem_mouse_multi_led_blink_count 
+0198 243a019b nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+0199 704be800 jam 0 ,mem_mouse_multi_led_blink_enable 
+019a 704beb00 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-016d 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
-016e 704bea00 jam off ,mem_mouse_multi_led_state 
-016f 20200082 branch p_mouse_low_voltage_led_off 
+019b 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
+019c 704bea00 jam off ,mem_mouse_multi_led_state 
+019d 20200083 branch p_mouse_low_voltage_led_off 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-0170 704bf201 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0171 704be801 jam on ,mem_mouse_multi_led_blink_enable 
-0172 704beb00 jam multi_led_on ,mem_mouse_multi_led_type 
-0173 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
-0174 20600000 rtn 
+019e 704bf201 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+019f 704be801 jam on ,mem_mouse_multi_led_blink_enable 
+01a0 704beb00 jam multi_led_on ,mem_mouse_multi_led_type 
+01a1 704bec00 jam 0 ,mem_mouse_multi_led_on_timer 
+01a2 20600000 rtn 
 
 p_mouse_logo_led_on_timer:
-0175 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
-0176 c17f8000 rtneq gpio_disable 
-0177 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
-0178 207a0000 rtn blank 
-0179 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-017a 20406069 call gpio_out_active 
-017b da604be5 arg mem_mouse_logo_led_on_timer ,regc 
-017c da40017e arg p_mouse_logo_led_on_timeout ,regb 
-017d 20203191 branch timer_single_step_2b 
+01a3 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
+01a4 c17f8000 rtneq gpio_disable 
+01a5 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
+01a6 207a0000 rtn blank 
+01a7 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+01a8 20406069 call gpio_out_active 
+01a9 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
+01aa da4001ac arg p_mouse_logo_led_on_timeout ,regb 
+01ab 20203191 branch timer_single_step_2b 
 
 p_mouse_logo_led_on_timeout:
-017e 58000000 setarg 0 
-017f 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-0180 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-0181 20206065 branch gpio_out_inactive 
+01ac 58000000 setarg 0 
+01ad 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+01ae 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+01af 20206065 branch gpio_out_inactive 
 
 p_mouse_dpi_led_blink_delay_timer:
-0182 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-0183 da400185 arg p_mouse_dpi_led_blink_init ,regb 
-0184 2020318a branch timer_single_step 
+01b0 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+01b1 da4001b3 arg p_mouse_dpi_led_blink_init ,regb 
+01b2 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-0185 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0186 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-0187 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-0188 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0189 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-018a 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-018b 67e14930 store 2 ,mem_mouse_on_time 
-018c 67e14932 store 2 ,mem_mouse_off_time 
-018d da200000 arg 0 ,rega 
-018e 6848c992 fetcht 1 ,mem_mouse_dpi 
-018f 18408402 increase 2 ,temp 
-0190 18467c03 sub temp ,3 ,null 
-0191 20410194 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0192 24410198 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0193 202048ff branch mouse_dpi_led_blink_init_end 
+01b3 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01b4 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+01b5 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+01b6 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+01b7 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+01b8 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+01b9 67e14930 store 2 ,mem_mouse_on_time 
+01ba 67e14932 store 2 ,mem_mouse_off_time 
+01bb da200000 arg 0 ,rega 
+01bc 6848c992 fetcht 1 ,mem_mouse_dpi 
+01bd 18408402 increase 2 ,temp 
+01be 18467c03 sub temp ,3 ,null 
+01bf 204101c2 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+01c0 244101c6 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+01c1 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0194 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0195 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0196 18408401 increase 1 ,temp 
-0197 20600000 rtn 
+01c2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01c3 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+01c4 18408401 increase 1 ,temp 
+01c5 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0198 184085fd increase -3 ,temp 
-0199 20600000 rtn 
+01c6 184085fd increase -3 ,temp 
+01c7 20600000 rtn 
 
 p_txon:
-019a 6fe0c1e8 fetch 1 ,mem_tx_power 
-019b c04a019e beq tx_power_f20db ,p_set_tx_power_pair_new 
-019c c04f81a1 beq tx_power_pair ,p_set_tx_power_pair 
-019d 2020121f branch txon_next 
+01c8 6fe0c1e8 fetch 1 ,mem_tx_power 
+01c9 c04a01cc beq tx_power_f20db ,p_set_tx_power_pair_new 
+01ca c04f81cf beq tx_power_pair ,p_set_tx_power_pair 
+01cb 2020121f branch txon_next 
 
 p_set_tx_power_pair_new:
-019e 708a3903 jam 0x03 ,core_tx_pwr_ctrl0 
-019f 708a3ab0 jam 0xb0 ,core_tx_pwr_ctrl1 
-01a0 2020122a branch set_rf_ldo_cfg89 
+01cc 708a3903 jam 0x03 ,core_tx_pwr_ctrl0 
+01cd 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+01ce 2020122a branch set_rf_ldo_cfg89 
 
 p_set_tx_power_pair:
-01a1 708a3905 jam 0x05 ,core_tx_pwr_ctrl0 
-01a2 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
-01a3 2020122a branch set_rf_ldo_cfg89 
+01cf 708a3905 jam 0x05 ,core_tx_pwr_ctrl0 
+01d0 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+01d1 2020122a branch set_rf_ldo_cfg89 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/program/patch.prog	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/program/patch.prog	(working copy)
@@ -13,6 +13,7 @@
 	beq patch19_4,p_mouse_adc_read_start
 	beq patch19_6,p_mouse_motion
 	beq patch1a_0,p_mouse_seting_dpi
+	beq patch1a_3,p_mouse_init_sunt
 	beq patch1a_6,p_mouse_priority_bb_event
 	beq patch1b_1,p_mouse_bb_event_timer
 	branch loop
@@ -205,9 +206,9 @@
 	call enable_authrom
 	call p_mouse_wheel_set_wakeup
 	call mouse_setting_config
-	call mouse_init_sunt
+	call p_mouse_init_sunt
 	rtn wake
-	call mouse_dpi_config
+	call p_mouse_seting_sensor_type
 	branch mouse_init+4
 
 p_mouse_wheel_set_wakeup:
@@ -388,7 +389,7 @@
 	setarg 0
 	store 6,mem_mouse_x
 	call mouse_check_sensor_data
-	call mouse_dpi_config
+	call p_mouse_seting_sensor_type
 	call mouse_zwheel
 	call mouse_t_zwheel
 	call mouse_key
@@ -420,8 +421,46 @@
 p_mouse_seting_dpi:
 	call mouse_setting_dpi_4_level
 	call p_mouse_dpi_led_blink_delay
+p_mouse_seting_sensor_type:
+	fetch 1,mem_config_sensor_type
+	beq S201X,p_mouse_seting_S201_dpi
 	branch mouse_seting_sensor_type
 
+p_mouse_seting_S201_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_S201_dpi_3	//1200
+	beq MOUSE_DPI_LEVEL2,p_mouse_set_S201_dpi_0	//1600
+	beq MOUSE_DPI_LEVEL3,p_mouse_set_S201_dpi_2	//2400
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_S201_dpi_1	//3200
+p_mouse_set_S201_dpi_0:	//1200
+	fetch 1,mem_sensor_s201_dpi_0
+	copy pdata,rega
+	branch p_mouse_dpi_S201_store
+	
+p_mouse_set_S201_dpi_1:	//1600
+	fetch 1,mem_sensor_s201_dpi_1
+	copy pdata,rega
+	branch p_mouse_dpi_S201_store
+	
+p_mouse_set_S201_dpi_2:	//2400
+	fetch 1,mem_sensor_s201_dpi_2
+	copy pdata,rega
+	branch p_mouse_dpi_s201_store
+
+p_mouse_set_S201_dpi_3:	//3200
+	fetch 1,mem_sensor_s201_dpi_3
+	copy pdata,rega
+	//branch p_mouse_dpi_s201_store
+p_mouse_dpi_s201_store:
+	setarg 0xc309
+	call twspi_write
+	copy rega,pdata
+	lshift8 pdata,pdata
+	add pdata,0x23,pdata
+	call twspi_write
+	setarg 0x0009
+	branch twspi_write
+
 p_mouse_dpi_led_blink_delay:
 	fetch 1,mem_dpi_led_gpio
 	rtneq GPIO_DISABLE
@@ -437,7 +476,34 @@
 	branch p_mouse_dpi_led_blink_init,blank
 	store 1,mem_mouse_dpi_led_delay_count  //delay 1s led blink
 	rtn
-
+p_mouse_init_sunt:
+	call mouse_sensor_spi_init		
+	rtn wake
+p_mouse_init_sensor_wakeup:	
+	call mouse_sensor_poweron
+p_mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
+	beq P3065_ID1,mouse_init_p3065
+	beq PKA8G2_ID1,mouse_ka8g2_id2_judge
+	call mouse_twspi_reset
+	nop 6900
+	branch p_mouse_init_sensor
+
+
+p_mouse_init_p32xx_id2_judge:
+	fetch 1,mem_sensor_id2
+	beq P3205_TJ3T_ID2,p_mouse_3205_3t_init_param
+	branch mouse_init_p32xx_id2_judge+1
+
+p_mouse_3205_3t_init_param:
+	setarg 0x49		// id3
+	call twspi_read
+	beq 0xa1,p_mouse_S201X_init_param
+	branch mouse_3205_3t_init_param
+p_mouse_S201X_init_param:
+	jam S201X,mem_config_sensor_type
+	rtn
 p_mouse_bb_event_timer:
 	call mouse_adc_read
 	call p_mouse_low_voltage_led_timer
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/sched/mouse.dat	(revision 4649)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/BR-V10_Only2.4G_LRpair/sched/mouse.dat	(working copy)
@@ -214,7 +214,7 @@
 mem_adc_channel:05 		#00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
 mem_mouse_vdd_full_vol:1c 00		#1.5V
 11 00#mem_mouse_vdd_empty_vol  :0.9V
-15 00#mem_mouse_vdd_low_vol   :1.1V
+68 00#mem_mouse_vdd_low_vol   :1.1V
 mem_mouse_vdd_button_press_vol:10 00
 mem_mouse_vdd_switch_gnd_24g_vol:52 00
 mem_mouse_vdd_switch_gnd_full_vol:35 00
@@ -331,7 +331,12 @@
 0c##mem_ka8g2_dpi_1	2400
 10##mem_ka8g2_dpi_2	3000
 04##mem_ka8g2_dpi_3	800
-
+mem_sensor_s201_dpi:
+8a  ##1200
+8b  ##1600
+83  ##2400
+84  ##3200
+88  ##800
 mem_sensor_3212_init:
 09 5a
 26 34
