Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/format/app_mouse.format	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/format/app_mouse.format	(working copy)
@@ -432,6 +432,14 @@
 1 mem_mouse_device_mode_led_count
 1 mem_mouse_low_power_logo_off_status
 30 mem_sensor_8650_init_new
+
+46 mem_sensor_sg8670_init
+16 mem_sensor_sg8670_dpi_1
+16 mem_sensor_sg8670_dpi_2
+// 16 mem_sensor_sg8670_dpi_3
+16 mem_sensor_sg8670_dpi_4
+16 mem_sensor_sg8670_dpi_5
+2 mem_mouse_temp_data
 )
 
 
@@ -550,6 +558,7 @@
 0x01 MOUSE_DPI_LEVEL2
 0x02 MOUSE_DPI_LEVEL3
 0x03 MOUSE_DPI_LEVEL4
+0x04 MOUSE_DPI_LEVEL5
 
 
 //mouse sensor angle
@@ -598,6 +607,7 @@
 0x50 P6520A_ID2
 0x58 PKA8G2_ID1
 0x59 PKA8G2_ID2
+0xC2 P8670
 
 
 //Sensor type
@@ -613,6 +623,7 @@
 0X09 KA8_UL
 0X0a KA8_HD
 0X0b KA8G2
+0X0c SG8670
 
 
 //SENSOR REG
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/eeprom.dat	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-7a
+e2
 19
 c2
 84
@@ -11,27 +11,27 @@
 c0
 00
 03
-25
+3f
 c0
 01
 83
-51
+6b
 c0
 41
 03
-95
+af
 c0
 41
 83
-9c
+b6
 c0
 45
 03
-a3
+bd
 c0
 45
 83
-88
+a2
 c0
 52
 00
@@ -43,83 +43,83 @@
 c0
 61
 80
-af
+be
 c0
 62
 00
-bf
+ce
 c0
 63
 80
-c5
+d4
 c0
 64
 80
-cb
+da
 c0
 65
 01
-0e
+13
 c0
 66
 00
-c1
+d0
 c0
 67
 00
-80
+8e
 c0
 67
 82
-a9
+b1
 c0
 68
 02
-83
+7e
 c0
 68
 82
-1c
+14
 c0
 69
 83
-13
+25
 c0
 6a
 02
-07
+0d
 c0
 6b
 00
-a4
+b3
 c0
 6c
 81
-16
+1b
 c0
 6f
 00
-9b
+aa
 c0
 6f
 83
-68
+82
 c0
 6d
 05
-c0
+da
 c0
 6d
 85
-cb
+e5
 c0
 4f
 83
-d2
+ec
 c0
 74
 06
-4a
+64
 20
 20
 13
@@ -127,7 +127,7 @@
 c0
 10
 00
-a2
+b1
 c0
 15
 80
@@ -135,63 +135,63 @@
 c0
 19
 83
-a7
+c1
 c0
 1a
 03
-ac
+c6
 c0
 43
 83
-c7
+e1
 c0
 54
 03
-cb
+e5
 c0
 6e
 84
-49
+63
 c0
 6f
 04
-00
+1a
 c0
 70
 83
-e0
+fa
 c0
 71
 05
-19
+33
 c0
 74
 85
-40
+5a
 c0
 75
 04
-57
+71
 c0
 76
 04
-c3
+dd
 c0
 0d
 06
-3d
+57
 c0
 50
 83
-d4
+ee
 c0
 51
 83
-de
+f8
 c0
 60
 06
-17
+31
 20
 20
 13
@@ -282,8 +282,8 @@
 00
 20
 40
-40
-8e
+02
+80
 20
 40
 3d
@@ -295,11 +295,11 @@
 20
 40
 00
-7b
+65
 20
 40
-02
-13
+42
+3c
 20
 20
 3b
@@ -327,7 +327,7 @@
 20
 40
 05
-15
+2f
 20
 40
 3f
@@ -335,47 +335,39 @@
 20
 40
 05
-ce
+e8
 20
 40
 3d
 13
 20
 40
-00
-67
-20
-40
-00
-dc
-20
-40
 02
-c7
+d9
 20
 40
 01
-f2
+f7
 20
 40
 01
-a6
+ab
 20
 40
 01
-92
+97
 20
 40
 01
-53
+58
 20
 40
 00
-5e
+5c
 20
 40
 00
-61
+5f
 20
 20
 3b
@@ -416,106 +408,170 @@
 60
 00
 00
+58
+00
+02
+e0
+67
+e1
+48
+9b
+58
+00
+02
+ff
+67
+e1
+48
+9d
+20
+20
+3b
+d3
 6f
 e0
-c9
-17
+c4
+ac
 c1
-7f
 80
 00
-d8
-40
 00
-40
-20
-40
-60
-93
-68
-48
+6f
+e0
 c9
-17
-20
-40
-60
-59
+27
+c0
+06
+42
+70
 20
 20
-80
-75
+42
+43
 6f
 e0
 c9
-17
-d8
-40
+27
+c1
+86
+00
+00
+6f
+e0
+c9
+92
+c1
+00
+00
+00
+c1
 00
 80
+00
+c1
+02
+00
+00
+6f
+e1
+48
+d1
 20
 40
-60
-93
-68
+00
+7c
+67
+e1
 48
-c9
-17
+d1
+6f
+e1
+48
+d3
 20
 40
-60
-59
-20
-20
-80
-77
-20
+00
+7c
+67
+e1
+48
+d3
 20
+60
 00
-79
-70
-49
-28
-03
+00
+c2
+85
+80
+7f
+c3
+05
+80
+83
 20
 60
 00
 00
-70
-49
-28
+1f
+e6
+7e
 00
 20
-60
+40
 00
+83
+1f
+e6
+7e
 00
-70
-49
-28
-02
 20
 60
 00
 00
-58
+1f
+e2
+04
+00
+98
+40
+fe
 00
-02
-ce
 67
 e1
-48
-9b
+4d
+39
+6f
+e0
+cd
+3a
+1f
+e6
+7c
+07
+24
+41
+00
+8b
+6f
+e1
+4d
+39
+20
+60
+00
+00
 58
 00
-02
-ed
+07
+ff
 67
 e1
-48
-9d
-20
+4d
+39
 20
-3b
-d3
+60
+00
+00
 78
 54
 7c
@@ -530,8 +586,12 @@
 d1
 20
 40
-42
+00
+6a
+20
 40
+00
+6f
 58
 00
 00
@@ -542,8 +602,8 @@
 0c
 20
 40
-40
-8e
+02
+80
 20
 40
 3f
@@ -555,7 +615,7 @@
 20
 40
 02
-1a
+12
 6f
 e0
 c8
@@ -571,15 +631,15 @@
 24
 34
 00
-94
+a3
 20
 40
 00
-91
+a0
 20
 40
 02
-04
+09
 20
 20
 45
@@ -627,7 +687,7 @@
 20
 40
 00
-9f
+ae
 20
 40
 79
@@ -635,7 +695,7 @@
 20
 40
 02
-54
+4c
 20
 20
 46
@@ -667,39 +727,39 @@
 c0
 1e
 05
-7a
+94
 c0
 1c
 85
-72
+8c
 c0
 1d
 05
-8b
+a5
 c0
 19
 06
-01
+1b
 c0
 0a
-85
-fb
+86
+15
 c0
 0a
-05
-f9
+06
+13
 c0
 22
 06
-08
+22
 c0
 20
 06
-12
+2c
 c0
 00
 86
-47
+61
 20
 20
 43
@@ -719,7 +779,7 @@
 c0
 00
 00
-b4
+c3
 20
 20
 3d
@@ -735,7 +795,7 @@
 20
 40
 05
-71
+8b
 20
 40
 3d
@@ -787,7 +847,7 @@
 20
 40
 03
-ac
+c6
 20
 20
 3e
@@ -806,12 +866,12 @@
 23
 20
 40
-02
-0e
+42
+32
 20
 40
-02
-13
+42
+3c
 20
 20
 3e
@@ -827,7 +887,7 @@
 20
 40
 01
-a6
+ab
 20
 40
 40
@@ -839,7 +899,7 @@
 20
 40
 02
-4e
+46
 d8
 40
 00
@@ -867,63 +927,23 @@
 20
 40
 01
-92
+97
 20
 40
 00
-e6
+eb
 20
 40
 00
-ee
+f3
 20
 40
-00
-fb
-20
-20
-01
-02
-6f
-e0
-c9
-17
-c1
-7f
-80
-00
-6f
-e0
-c9
-28
-c0
-01
-80
-e2
-c0
 01
 00
-e4
-20
-60
-00
-00
-68
-48
-c9
-17
-20
-20
-60
-69
-68
-48
-c9
-17
 20
 20
-3f
-56
+01
+07
 6f
 e0
 c9
@@ -939,7 +959,7 @@
 c0
 00
 00
-ec
+f1
 68
 48
 c9
@@ -1003,7 +1023,7 @@
 c2
 00
 00
-f2
+f7
 20
 60
 00
@@ -1111,7 +1131,7 @@
 20
 40
 02
-4e
+46
 20
 20
 3e
@@ -1123,7 +1143,7 @@
 20
 40
 01
-d8
+dd
 20
 40
 23
@@ -1139,23 +1159,23 @@
 20
 40
 01
-31
+36
 20
 40
 01
-ae
+b3
 20
 40
 01
-61
+66
 20
 40
 01
-f4
+f9
 20
 40
 01
-95
+9a
 20
 40
 40
@@ -1167,7 +1187,7 @@
 20
 40
 01
-b1
+b6
 20
 40
 44
@@ -1175,15 +1195,15 @@
 20
 40
 01
-ce
+d3
 20
 40
 01
-d4
+d9
 20
 40
 01
-47
+4c
 20
 40
 45
@@ -1195,7 +1215,7 @@
 20
 40
 05
-bd
+d7
 20
 40
 45
@@ -1219,11 +1239,11 @@
 20
 40
 01
-4b
+50
 20
 20
 01
-c8
+cd
 6f
 e0
 cc
@@ -1243,11 +1263,11 @@
 20
 3a
 01
-37
+3c
 20
 20
 01
-3c
+41
 6f
 e0
 c9
@@ -1255,15 +1275,15 @@
 c0
 00
 01
-41
+46
 c0
 00
 81
-8e
+93
 c0
 01
 01
-90
+95
 20
 60
 00
@@ -1275,15 +1295,15 @@
 c0
 00
 01
-44
+49
 c0
 00
 81
-80
+85
 c0
 01
 01
-82
+87
 20
 60
 00
@@ -1295,11 +1315,11 @@
 c0
 7f
 81
-8e
+93
 20
 20
 01
-8a
+8f
 6f
 e0
 c9
@@ -1307,11 +1327,11 @@
 c0
 7f
 81
-80
+85
 20
 20
 01
-7e
+83
 da
 60
 4b
@@ -1335,7 +1355,7 @@
 da
 40
 01
-4e
+53
 20
 20
 31
@@ -1355,7 +1375,7 @@
 20
 40
 03
-43
+5d
 20
 20
 46
@@ -1431,7 +1451,7 @@
 c0
 00
 81
-71
+76
 6f
 e0
 cc
@@ -1439,7 +1459,7 @@
 24
 3a
 01
-69
+6e
 70
 4c
 41
@@ -1455,7 +1475,7 @@
 20
 3a
 01
-6e
+73
 1f
 e0
 ff
@@ -1467,7 +1487,7 @@
 20
 20
 01
-78
+7d
 70
 4c
 45
@@ -1479,7 +1499,7 @@
 20
 20
 01
-84
+89
 da
 60
 4c
@@ -1487,7 +1507,7 @@
 da
 40
 01
-74
+79
 20
 20
 31
@@ -1507,7 +1527,7 @@
 c0
 00
 81
-84
+89
 70
 4c
 4d
@@ -1519,15 +1539,15 @@
 c0
 00
 01
-7e
+83
 c0
 00
 81
-80
+85
 c0
 01
 01
-82
+87
 20
 60
 00
@@ -1539,7 +1559,7 @@
 20
 20
 01
-83
+88
 68
 48
 cc
@@ -1547,7 +1567,7 @@
 20
 20
 01
-83
+88
 68
 48
 cc
@@ -1567,15 +1587,15 @@
 c0
 00
 01
-8a
+8f
 c0
 00
 81
-8e
+93
 c0
 01
 01
-90
+95
 20
 60
 00
@@ -1603,7 +1623,7 @@
 20
 20
 01
-8b
+90
 68
 48
 cc
@@ -1611,19 +1631,19 @@
 20
 20
 01
-8b
+90
 20
 40
 01
-8a
+8f
 20
 40
 01
-8e
+93
 20
 20
 01
-90
+95
 6f
 e0
 cb
@@ -1655,7 +1675,7 @@
 c2
 82
 01
-aa
+af
 70
 4c
 ac
@@ -1691,7 +1711,7 @@
 20
 21
 01
-a8
+ad
 68
 48
 cb
@@ -1723,7 +1743,7 @@
 20
 20
 01
-a6
+ab
 da
 60
 4b
@@ -1731,7 +1751,7 @@
 da
 40
 02
-94
+9d
 20
 20
 31
@@ -1743,7 +1763,7 @@
 c0
 00
 01
-b7
+bc
 6f
 e4
 4b
@@ -1759,7 +1779,7 @@
 20
 20
 01
-ba
+bf
 6f
 e4
 4b
@@ -1795,7 +1815,7 @@
 20
 22
 81
-c1
+c6
 20
 20
 44
@@ -1803,7 +1823,7 @@
 20
 40
 01
-c6
+cb
 6f
 e0
 cb
@@ -1823,7 +1843,7 @@
 da
 40
 05
-a1
+bb
 20
 20
 44
@@ -1835,7 +1855,7 @@
 da
 40
 01
-cb
+d0
 20
 20
 31
@@ -1847,7 +1867,7 @@
 c0
 00
 05
-b4
+ce
 20
 20
 43
@@ -1855,7 +1875,7 @@
 da
 40
 01
-d1
+d6
 da
 60
 4c
@@ -1879,7 +1899,7 @@
 da
 40
 01
-d7
+dc
 da
 60
 4c
@@ -1891,7 +1911,7 @@
 20
 20
 01
-f2
+f7
 6f
 e0
 cc
@@ -1899,7 +1919,7 @@
 20
 3a
 01
-db
+e0
 20
 60
 00
@@ -1967,15 +1987,15 @@
 24
 41
 01
-ee
+f3
 c0
 01
 01
-f0
+f5
 c0
 03
 81
-f2
+f7
 20
 60
 00
@@ -1987,7 +2007,7 @@
 20
 20
 01
-f2
+f7
 68
 48
 c9
@@ -2047,15 +2067,15 @@
 24
 41
 02
-02
+07
 c0
 00
 81
-79
+7e
 c0
 01
 81
-85
+8a
 20
 60
 00
@@ -2076,6 +2096,10 @@
 01
 80
 00
+c1
+06
+00
+00
 20
 20
 47
@@ -2084,82 +2108,26 @@
 40
 3f
 65
-6f
-e0
-c9
-27
-c0
-05
-82
-0b
-20
-20
-42
-38
 20
 40
-02
-11
-da
-60
-4b
-e3
-20
-20
-42
-3a
-6f
-e0
-c9
-27
-c0
-05
-82
-11
-20
-20
 42
 32
-58
-00
-97
-06
-20
-20
-42
-33
-20
-40
-41
-a7
+da
+60
+4a
+a3
 20
 40
-3f
-65
-6f
-e0
-c9
-27
-c0
-05
-82
-18
-20
-20
 42
-3e
-58
-00
-1f
-06
+2b
 20
 20
-5b
-0c
+02
+80
 20
 40
 02
-1c
+14
 20
 20
 40
@@ -2179,23 +2147,23 @@
 20
 40
 02
-25
+1d
 20
 40
 02
-2a
+22
 20
 40
 02
-2f
+27
 20
 40
 02
-34
+2c
 20
 40
 02
-41
+39
 20
 20
 41
@@ -2207,7 +2175,7 @@
 20
 40
 02
-4e
+46
 20
 40
 41
@@ -2227,7 +2195,7 @@
 20
 40
 02
-4e
+46
 20
 40
 41
@@ -2247,7 +2215,7 @@
 20
 40
 02
-4e
+46
 20
 40
 41
@@ -2291,7 +2259,7 @@
 c0
 7f
 82
-3d
+35
 20
 20
 41
@@ -2303,7 +2271,7 @@
 20
 40
 02
-51
+49
 68
 48
 c9
@@ -2343,7 +2311,7 @@
 c0
 7f
 82
-4a
+42
 20
 20
 41
@@ -2355,7 +2323,7 @@
 20
 40
 02
-51
+49
 68
 48
 c9
@@ -2419,7 +2387,7 @@
 20
 40
 02
-5d
+55
 20
 20
 40
@@ -2447,7 +2415,7 @@
 c0
 7f
 82
-64
+5c
 20
 20
 40
@@ -2459,7 +2427,7 @@
 20
 40
 02
-51
+49
 68
 48
 c9
@@ -2483,7 +2451,7 @@
 20
 40
 02
-70
+68
 20
 40
 40
@@ -2511,7 +2479,7 @@
 20
 20
 02
-54
+4c
 6f
 e0
 c9
@@ -2547,7 +2515,7 @@
 c0
 7f
 82
-80
+78
 20
 40
 41
@@ -2575,19 +2543,87 @@
 20
 20
 02
-7d
+75
+6f
+e0
+c9
+27
+c1
+06
+00
+00
+20
+20
+40
+8f
 20
 40
+02
+7b
+20
 40
+02
 8f
+6f
+e0
+c9
+27
+c0
+06
+02
+83
+20
+20
+40
+99
+6f
+e0
+c9
+92
+c0
+00
+82
+89
+c0
+01
+82
+8b
+c0
+02
+02
+8d
+da
+60
+4c
+f9
+20
+20
+42
+2b
+da
+60
+4d
+09
+20
+20
+42
+2b
+da
+60
+4d
+19
 20
-40
-02
-86
+20
+42
+2b
+da
+60
+4d
+29
 20
 20
-40
-98
+42
+2b
 6f
 e0
 c9
@@ -2635,7 +2671,7 @@
 20
 3a
 02
-94
+9d
 67
 e0
 cb
@@ -2652,10 +2688,6 @@
 01
 c8
 f2
-c0
-05
-c8
-f2
 6f
 e0
 c9
@@ -2695,11 +2727,11 @@
 20
 41
 02
-a3
+ab
 24
 41
 02
-a7
+af
 20
 20
 48
@@ -2753,6 +2785,22 @@
 fe
 01
 1f
+e2
+04
+00
+6f
+e0
+c9
+27
+c0
+06
+02
+bf
+18
+42
+7e
+00
+1f
 e1
 7e
 03
@@ -2768,6 +2816,30 @@
 20
 46
 43
+18
+46
+7c
+04
+24
+21
+02
+c3
+18
+42
+7e
+00
+20
+20
+02
+bc
+58
+00
+00
+00
+20
+20
+02
+bc
 58
 00
 00
@@ -2775,7 +2847,7 @@
 20
 20
 02
-b0
+bc
 58
 00
 00
@@ -2783,7 +2855,7 @@
 20
 20
 02
-b0
+bc
 58
 00
 00
@@ -2791,7 +2863,7 @@
 20
 20
 02
-b0
+bc
 58
 00
 00
@@ -2799,7 +2871,7 @@
 20
 20
 02
-b0
+bc
 18
 42
 7e
@@ -2811,15 +2883,15 @@
 c0
 00
 02
-b7
+c9
 c0
 01
 02
-b9
+cb
 c0
 01
 82
-b5
+c7
 20
 60
 00
@@ -2835,15 +2907,15 @@
 c0
 00
 02
-b9
+cb
 c0
 00
 82
-b5
+c7
 c0
 01
 82
-b3
+c5
 20
 60
 00
@@ -2899,7 +2971,7 @@
 24
 5a
 01
-0c
+11
 6f
 e4
 4b
@@ -2907,7 +2979,7 @@
 c3
 0a
 82
-d8
+ea
 6f
 e0
 cb
@@ -2927,7 +2999,7 @@
 c2
 80
 82
-e7
+f9
 68
 48
 c7
@@ -3067,7 +3139,7 @@
 24
 21
 03
-03
+15
 20
 40
 25
@@ -3075,15 +3147,15 @@
 20
 40
 04
-29
+43
 24
 2c
 03
-09
+1b
 24
 37
 83
-09
+1b
 20
 40
 48
@@ -3107,7 +3179,7 @@
 c0
 08
 03
-0b
+1d
 20
 60
 00
@@ -3118,8 +3190,8 @@
 cb
 20
 20
-02
-f9
+03
+0b
 70
 4b
 a3
@@ -3150,8 +3222,8 @@
 b2
 20
 20
-02
-13
+42
+3c
 20
 40
 3f
@@ -3171,7 +3243,7 @@
 c0
 18
 03
-1d
+2f
 c0
 18
 c2
@@ -3191,7 +3263,7 @@
 20
 20
 03
-16
+28
 6f
 e0
 c9
@@ -3199,11 +3271,43 @@
 c0
 2d
 03
-20
+32
 20
 20
 41
 be
+58
+00
+00
+7a
+20
+40
+5b
+0d
+c0
+61
+03
+36
+20
+20
+03
+3a
+70
+49
+27
+0c
+da
+60
+4c
+cb
+20
+40
+42
+2b
+20
+20
+02
+80
 70
 49
 27
@@ -3231,7 +3335,7 @@
 24
 55
 83
-4e
+68
 20
 40
 30
@@ -3239,7 +3343,7 @@
 24
 55
 83
-64
+7e
 58
 00
 4c
@@ -3267,7 +3371,7 @@
 c0
 0c
 03
-31
+4b
 70
 80
 42
@@ -3423,7 +3527,7 @@
 20
 40
 03
-58
+72
 20
 20
 08
@@ -3431,7 +3535,7 @@
 20
 40
 03
-5a
+74
 20
 20
 31
@@ -3439,7 +3543,7 @@
 20
 40
 03
-5c
+76
 20
 20
 78
@@ -3519,7 +3623,7 @@
 20
 40
 03
-70
+8a
 20
 20
 46
@@ -3543,7 +3647,7 @@
 c0
 04
 03
-77
+91
 58
 00
 00
@@ -3899,7 +4003,7 @@
 c2
 80
 83
-cf
+e9
 20
 20
 16
@@ -4026,8 +4130,8 @@
 73
 c5
 16
-83
-f4
+84
+0e
 19
 31
 7e
@@ -4066,8 +4170,8 @@
 02
 c2
 00
-03
-f6
+04
+10
 19
 31
 7e
@@ -4098,8 +4202,8 @@
 28
 20
 20
-03
-f2
+04
+0c
 6f
 e0
 c8
@@ -4139,7 +4243,7 @@
 c5
 97
 84
-0d
+27
 78
 3c
 fc
@@ -4211,11 +4315,11 @@
 20
 40
 02
-73
+6b
 20
 40
 02
-68
+60
 6f
 e0
 c8
@@ -4247,7 +4351,7 @@
 20
 40
 04
-38
+52
 6f
 e1
 4c
@@ -4263,7 +4367,7 @@
 20
 20
 04
-92
+ac
 78
 57
 fc
@@ -4315,7 +4419,7 @@
 20
 40
 04
-08
+22
 20
 57
 a2
@@ -4339,7 +4443,7 @@
 24
 21
 04
-48
+62
 18
 40
 84
@@ -4355,7 +4459,7 @@
 c0
 07
 84
-44
+5e
 6f
 e0
 c8
@@ -4423,11 +4527,11 @@
 20
 22
 84
-52
+6c
 20
 20
 04
-55
+6f
 70
 41
 ea
@@ -4455,15 +4559,15 @@
 24
 34
 04
-a6
+c0
 20
 40
 04
-8f
+a9
 20
 40
 04
-4d
+67
 6f
 e0
 cb
@@ -4471,7 +4575,7 @@
 24
 3a
 04
-61
+7b
 6f
 e4
 48
@@ -4511,7 +4615,7 @@
 24
 22
 84
-6c
+86
 68
 49
 4c
@@ -4523,7 +4627,7 @@
 20
 22
 84
-83
+9d
 6f
 e2
 4c
@@ -4531,7 +4635,7 @@
 20
 3a
 04
-83
+9d
 68
 4a
 4c
@@ -4543,7 +4647,7 @@
 20
 20
 84
-7e
+98
 6f
 e2
 4c
@@ -4567,7 +4671,7 @@
 24
 21
 04
-86
+a0
 6f
 e1
 c8
@@ -4579,7 +4683,7 @@
 24
 21
 04
-8d
+a7
 d8
 40
 06
@@ -4591,7 +4695,7 @@
 24
 21
 04
-8d
+a7
 20
 40
 7d
@@ -4603,7 +4707,7 @@
 20
 20
 03
-73
+8d
 df
 ff
 ff
@@ -4623,11 +4727,11 @@
 20
 20
 04
-71
+8b
 20
 40
 04
-8a
+a4
 6f
 e1
 c8
@@ -4635,7 +4739,7 @@
 20
 20
 04
-7b
+95
 18
 46
 04
@@ -4651,7 +4755,7 @@
 20
 20
 04
-7b
+95
 58
 00
 00
@@ -4687,7 +4791,7 @@
 20
 40
 04
-29
+43
 6f
 e0
 c8
@@ -4699,15 +4803,15 @@
 24
 2c
 04
-19
+33
 24
 37
 84
-19
+33
 20
 40
 04
-ce
+e8
 20
 40
 26
@@ -4715,7 +4819,7 @@
 20
 40
 04
-9b
+b5
 20
 20
 26
@@ -4727,7 +4831,7 @@
 24
 5a
 04
-9f
+b9
 70
 4b
 e1
@@ -4771,7 +4875,7 @@
 20
 5a
 04
-b5
+cf
 6f
 e0
 c8
@@ -4807,7 +4911,7 @@
 20
 40
 05
-15
+2f
 6f
 e0
 cb
@@ -4879,7 +4983,7 @@
 20
 20
 04
-59
+73
 6f
 e0
 cb
@@ -4931,7 +5035,7 @@
 c0
 00
 85
-11
+2b
 6f
 e0
 cc
@@ -4939,7 +5043,7 @@
 20
 3a
 05
-11
+2b
 1b
 22
 7e
@@ -5003,7 +5107,7 @@
 20
 21
 05
-15
+2f
 68
 4a
 cc
@@ -5030,8 +5134,8 @@
 00
 20
 22
-84
-ec
+85
+06
 18
 40
 84
@@ -5099,7 +5203,7 @@
 20
 21
 05
-05
+1f
 1f
 e6
 7e
@@ -5135,7 +5239,7 @@
 24
 21
 05
-0f
+29
 60
 49
 c8
@@ -5175,7 +5279,7 @@
 20
 21
 05
-0f
+29
 60
 49
 c8
@@ -5263,19 +5367,19 @@
 c0
 00
 85
-27
+41
 c0
 01
 05
-29
+43
 c0
 01
 85
-2f
+49
 c0
 02
 05
-35
+4f
 20
 60
 00
@@ -5287,7 +5391,7 @@
 20
 20
 05
-36
+50
 6f
 e0
 c8
@@ -5295,7 +5399,7 @@
 20
 3a
 05
-2d
+47
 6f
 e2
 48
@@ -5311,7 +5415,7 @@
 20
 20
 05
-36
+50
 70
 47
 c6
@@ -5323,7 +5427,7 @@
 20
 3a
 05
-36
+50
 6f
 e2
 48
@@ -5335,7 +5439,7 @@
 20
 20
 05
-38
+52
 70
 47
 c6
@@ -5375,7 +5479,7 @@
 20
 40
 04
-29
+43
 20
 20
 23
@@ -5395,7 +5499,7 @@
 20
 3a
 05
-48
+62
 6f
 e1
 48
@@ -5419,15 +5523,15 @@
 20
 40
 04
-29
+43
 24
 2c
 05
-61
+7b
 24
 37
 85
-61
+7b
 20
 40
 26
@@ -5463,7 +5567,7 @@
 20
 42
 85
-5d
+77
 6f
 e0
 c8
@@ -5543,7 +5647,7 @@
 c0
 02
 05
-6a
+84
 20
 20
 25
@@ -5559,7 +5663,7 @@
 20
 40
 02
-07
+0d
 70
 4c
 42
@@ -5567,27 +5671,27 @@
 20
 20
 05
-6f
+89
 20
 40
 01
-5d
+62
 20
 20
 00
-5e
+5c
 20
 20
 01
-58
+5d
 20
 40
 04
-55
+6f
 20
 40
 00
-64
+62
 20
 40
 45
@@ -5603,7 +5707,7 @@
 20
 40
 05
-6f
+89
 20
 40
 48
@@ -5631,7 +5735,7 @@
 20
 40
 05
-6f
+89
 20
 40
 45
@@ -5671,11 +5775,11 @@
 20
 40
 04
-55
+6f
 20
 40
 00
-64
+62
 20
 20
 48
@@ -5683,11 +5787,11 @@
 20
 40
 04
-55
+6f
 20
 40
 00
-64
+62
 6f
 e0
 c9
@@ -5703,7 +5807,7 @@
 24
 3a
 05
-b4
+ce
 6f
 e0
 c8
@@ -5711,15 +5815,15 @@
 c0
 01
 05
-96
+b0
 c0
 02
 05
-aa
+c4
 c0
 01
 85
-af
+c9
 20
 20
 48
@@ -5731,11 +5835,11 @@
 c2
 97
 85
-9f
+b9
 c2
 98
 05
-9f
+b9
 c3
 1d
 48
@@ -5755,7 +5859,7 @@
 20
 22
 85
-a1
+bb
 20
 20
 48
@@ -5763,7 +5867,7 @@
 20
 40
 05
-71
+8b
 20
 20
 48
@@ -5799,7 +5903,7 @@
 20
 40
 05
-71
+8b
 20
 20
 48
@@ -5874,12 +5978,12 @@
 01
 20
 40
-02
-13
+42
+3c
 20
 20
 04
-ab
+c5
 da
 60
 4c
@@ -5894,8 +5998,8 @@
 8a
 20
 40
-02
-13
+42
+3c
 70
 4c
 42
@@ -5903,11 +6007,11 @@
 20
 40
 05
-71
+8b
 20
 40
 01
-a6
+ab
 6f
 e1
 47
@@ -5971,7 +6075,7 @@
 24
 21
 05
-e0
+fa
 d8
 c0
 4c
@@ -6022,8 +6126,8 @@
 5f
 20
 40
-05
-f6
+06
+10
 6f
 e0
 cc
@@ -6123,7 +6227,7 @@
 20
 40
 05
-6c
+86
 20
 20
 43
@@ -6159,7 +6263,7 @@
 c0
 00
 86
-05
+1f
 70
 4b
 76
@@ -6247,7 +6351,7 @@
 c0
 02
 06
-1a
+34
 20
 20
 19
@@ -6263,11 +6367,11 @@
 c0
 05
 06
-1f
+39
 c0
 09
 06
-2e
+48
 20
 20
 1c
@@ -6295,7 +6399,7 @@
 c2
 81
 86
-29
+43
 6f
 e1
 44
@@ -6323,11 +6427,11 @@
 24
 22
 86
-25
+3f
 24
 34
 06
-25
+3f
 20
 20
 1e
@@ -6415,7 +6519,7 @@
 c0
 03
 86
-44
+5e
 20
 20
 57
@@ -6439,7 +6543,7 @@
 20
 40
 05
-6c
+86
 20
 20
 43
@@ -6471,7 +6575,7 @@
 c0
 04
 86
-52
+6c
 20
 20
 4d
@@ -6524,8 +6628,8 @@
 20
 78
 71
-b5
-4b
+1a
+47
 aa
 55
 40
@@ -7092,24 +7196,140 @@
 ff
 aa
 55
-0c
-00
-d0
-49
-03
-04
-01
-02
-20
-2a
-3f
-15
-14
-1b
-11
-0e
-aa
-55
+0c
+00
+d0
+49
+03
+04
+01
+02
+20
+2a
+3f
+15
+14
+1b
+11
+0e
+aa
+55
+6e
+00
+cb
+4c
+7f
+26
+09
+5a
+0f
+04
+28
+0e
+29
+10
+5b
+00
+4e
+1a
+4f
+00
+70
+00
+7e
+01
+40
+ff
+41
+ff
+42
+ff
+43
+ff
+47
+af
+4a
+00
+4c
+04
+4d
+00
+4e
+03
+7e
+00
+7f
+00
+09
+00
+ff
+ff
+09
+5a
+7f
+26
+7e
+00
+6e
+c6
+6f
+46
+09
+00
+7f
+00
+ff
+ff
+09
+5a
+7f
+26
+7e
+00
+6e
+e8
+6f
+68
+09
+00
+7f
+00
+ff
+ff
+09
+5a
+7f
+26
+7e
+00
+6e
+d7
+6f
+57
+09
+00
+7f
+00
+ff
+ff
+09
+5a
+7f
+26
+7e
+00
+6e
+ab
+6f
+2b
+09
+00
+7f
+00
+ff
+ff
+aa
+55
 b2
 00
 df
@@ -7308,20 +7528,6 @@
 ff
 aa
 55
-08
-00
-e3
-4b
-09
-a5
-0b
-f3
-09
-00
-ff
-ff
-aa
-55
 06
 00
 a8
@@ -7806,216 +8012,10 @@
 aa
 aa
 55
-b2
-84
-1d
-c3
-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
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+11
+a7
+8f
+aa
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-e6
-10
+de
+9a
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/memmap.format	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/memmap.format	(working copy)
@@ -2311,6 +2311,12 @@
 0x4cab mem_mouse_device_mode_led_count
 0x4cac mem_mouse_low_power_logo_off_status
 0x4cad mem_sensor_8650_init_new
+0x4ccb mem_sensor_sg8670_init
+0x4cf9 mem_sensor_sg8670_dpi_1
+0x4d09 mem_sensor_sg8670_dpi_2
+0x4d19 mem_sensor_sg8670_dpi_4
+0x4d29 mem_sensor_sg8670_dpi_5
+0x4d39 mem_mouse_temp_data
 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/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/program.lis	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/output/program.lis	(working copy)
@@ -1,54 +1,54 @@
               include "bt_format "
               org 0x0000
 0000 c284001e bbit1 8 ,pf_patch_ext 
-0001 c0000325 beq patch00_0 ,p_soft_reset 
-0002 c0018351 beq patch00_3 ,p_main_loop 
-0003 c0410395 beq patch10_2 ,p_shutdown_radio 
-0004 c041839c beq patch10_3 ,p_set_sync_on 
-0005 c04503a3 beq patch11_2 ,p_txon_next 
-0006 c0458388 beq patch11_3 ,p_initialize_radio_cont 
+0001 c000033f beq patch00_0 ,p_soft_reset 
+0002 c001836b beq patch00_3 ,p_main_loop 
+0003 c04103af beq patch10_2 ,p_shutdown_radio 
+0004 c04183b6 beq patch10_3 ,p_set_sync_on 
+0005 c04503bd beq patch11_2 ,p_txon_next 
+0006 c04583a2 beq patch11_3 ,p_initialize_radio_cont 
 0007 c052003d beq patch14_4 ,p_lpm_dispatch 
 0008 c0570040 beq patch15_6 ,p_app_init 
-0009 c06180af beq patch18_3 ,p_mouse_start_work 
-000a c06200bf beq patch18_4 ,p_mouse_start_reconnect_device 
-000b c06380c5 beq patch18_7 ,p_mouse_app_enter_hibernate 
-000c c06480cb beq patch19_1 ,p_mouse_setgpio_hibernate 
-000d c065010e beq patch19_2 ,p_mouse_lpm_before_common 
-000e c06600c1 beq patch19_4 ,p_mouse_adc_read_start 
-000f c0670080 beq patch19_6 ,p_mouse_motion 
-0010 c06782a9 beq patch19_7 ,p_mouse_dpi_process 
-0011 c0680283 beq patch1a_0 ,p_mouse_seting_dpi 
-0012 c068821c beq patch1a_1 ,p_mouse_check_key_gpio 
-0013 c0698313 beq patch1a_3 ,p_mouse_init_sunt 
-0014 c06a0207 beq patch1a_4 ,p_mouse_sensor_poweron 
-0015 c06b00a4 beq patch1a_6 ,p_mouse_priority_bb_event 
-0016 c06c8116 beq patch1b_1 ,p_mouse_bb_event_timer 
-0017 c06f009b beq patch1b_6 ,p_mouse_idle 
-0018 c06f8368 beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
-0019 c06d05c0 beq patch1b_2 ,p_mouse_start_discovery 
-001a c06d85cb beq patch1b_3 ,p_mouse_stop_discovery 
-001b c04f83d2 beq patch13_7 ,p_init_param 
-001c c074064a beq patch1d_0 ,p_hid_rx_process 
+0009 c06180be beq patch18_3 ,p_mouse_start_work 
+000a c06200ce beq patch18_4 ,p_mouse_start_reconnect_device 
+000b c06380d4 beq patch18_7 ,p_mouse_app_enter_hibernate 
+000c c06480da beq patch19_1 ,p_mouse_setgpio_hibernate 
+000d c0650113 beq patch19_2 ,p_mouse_lpm_before_common 
+000e c06600d0 beq patch19_4 ,p_mouse_adc_read_start 
+000f c067008e beq patch19_6 ,p_mouse_motion 
+0010 c06782b1 beq patch19_7 ,p_mouse_dpi_process 
+0011 c068027e beq patch1a_0 ,p_mouse_seting_dpi 
+0012 c0688214 beq patch1a_1 ,p_mouse_check_key_gpio 
+0013 c0698325 beq patch1a_3 ,p_mouse_init_sunt 
+0014 c06a020d beq patch1a_4 ,p_mouse_sensor_poweron 
+0015 c06b00b3 beq patch1a_6 ,p_mouse_priority_bb_event 
+0016 c06c811b beq patch1b_1 ,p_mouse_bb_event_timer 
+0017 c06f00aa beq patch1b_6 ,p_mouse_idle 
+0018 c06f8382 beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
+0019 c06d05da beq patch1b_2 ,p_mouse_start_discovery 
+001a c06d85e5 beq patch1b_3 ,p_mouse_stop_discovery 
+001b c04f83ec beq patch13_7 ,p_init_param 
+001c c0740664 beq patch1d_0 ,p_hid_rx_process 
 001d 2020137c branch loop 
 
 pf_patch_ext:
-001e c01000a2 beq patch24_0 ,p_twspi_reset 
+001e c01000b1 beq patch24_0 ,p_twspi_reset 
 001f c0158030 beq patch25_3 ,p_efuse_vdd_off 
-0020 c01983a7 beq patch26_3 ,p_adc_init_data 
-0021 c01a03ac beq patch26_4 ,p_enable_adc 
-0022 c04383c7 beq patch30_7 ,p_ui_timer_check 
-0023 c05403cb beq patch35_0 ,p_le_enable_phy_by_pdata 
-0024 c06e8449 beq patch3b_5 ,p_g24_dispatch 
-0025 c06f0400 beq patch3b_6 ,p_g24_receive_packet 
-0026 c07083e0 beq patch3c_1 ,p_g24_transmit 
-0027 c0710519 beq patch3c_2 ,p_g24_pair_dispatch 
-0028 c0748540 beq patch3d_1 ,p_g24_reconn_dispatch 
-0029 c0750457 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-002a c07604c3 beq patch3d_4 ,p_g24_lpm_wait 
-002b c00d063d beq patch23_2 ,p_send_lmp 
-002c c05083d4 beq patch34_1 ,p_le_slave_match 
-002d c05183de beq patch34_3 ,p_le_slave_unsync 
-002e c0600617 beq patch38_0 ,p_le_parse_l2cap 
+0020 c01983c1 beq patch26_3 ,p_adc_init_data 
+0021 c01a03c6 beq patch26_4 ,p_enable_adc 
+0022 c04383e1 beq patch30_7 ,p_ui_timer_check 
+0023 c05403e5 beq patch35_0 ,p_le_enable_phy_by_pdata 
+0024 c06e8463 beq patch3b_5 ,p_g24_dispatch 
+0025 c06f041a beq patch3b_6 ,p_g24_receive_packet 
+0026 c07083fa beq patch3c_1 ,p_g24_transmit 
+0027 c0710533 beq patch3c_2 ,p_g24_pair_dispatch 
+0028 c074855a beq patch3d_1 ,p_g24_reconn_dispatch 
+0029 c0750471 beq patch3d_2 ,p_g24_transmit_no_interrupt 
+002a c07604dd beq patch3d_4 ,p_g24_lpm_wait 
+002b c00d0657 beq patch23_2 ,p_send_lmp 
+002c c05083ee beq patch34_1 ,p_le_slave_match 
+002d c05183f8 beq patch34_3 ,p_le_slave_unsync 
+002e c0600631 beq patch38_0 ,p_le_parse_l2cap 
 002f 2020137c branch loop 
 
 p_efuse_vdd_off:
@@ -77,11 +77,11 @@
 0042 2040004b call p_mouse_setting_config 
 0043 204041a7 call mouse_init_sunt 
 0044 20758000 rtn wake 
-0045 2040408e call mouse_dpi_config 
+0045 20400280 call p_mouse_seting_sensor_type 
 0046 20403d8a call mouse_usb_check_enable 
 0047 20404728 call mouse_drawing_optima_init 
-0048 2040007b call p_mouse_cb_fuction 
-0049 20400213 call p_mouse_sensor_powerdown 
+0048 20400065 call p_mouse_cb_fuction 
+0049 2040423c call mouse_sensor_powerdown 
 004a 20203bc9 branch mouse_init + 8 
 
 p_mouse_setting_config:
@@ -90,2078 +90,2116 @@
 004d d8400358 arg 0x358 ,temp 
 004e 60494838 storet 2 ,mem_24g_rx_window 
 004f 204022ff call g24_chmap_param_init 
-0050 20400515 call p_send_time_long_wake 
+0050 2040052f call p_send_time_long_wake 
 0051 20403f1e call mouse_gpio_init 
-0052 204005ce call p_mouse_le_name_load 
+0052 204005e8 call p_mouse_le_name_load 
 0053 20403d13 call mouse_param_init 
-0054 20400067 call p_mouse_select_angle 
-0055 204000dc call p_mouse_set_sensor_gpio_sleep 
-0056 204002c7 call p_mouse_g24_report_setting 
-0057 204001f2 call p_mouse_low_voltage_led_off 
-0058 204001a6 call p_mouse_logo_led_off 
-0059 20400192 call p_mouse_1io2led_all_off 
-005a 20400153 call p_mouse_device_multi_led_poweron2s_init 
-005b 2040005e call p_mouse_device_mode_led_count_init 
-005c 20400061 call p_mouse_store_normal_tx_power 
-005d 20203bf5 branch mouse_setting_config + 5 
+0054 204002d9 call p_mouse_g24_report_setting 
+0055 204001f7 call p_mouse_low_voltage_led_off 
+0056 204001ab call p_mouse_logo_led_off 
+0057 20400197 call p_mouse_1io2led_all_off 
+0058 20400158 call p_mouse_device_multi_led_poweron2s_init 
+0059 2040005c call p_mouse_device_mode_led_count_init 
+005a 2040005f call p_mouse_store_normal_tx_power 
+005b 20203bf5 branch mouse_setting_config + 5 
 
 p_mouse_device_mode_led_count_init:
-005e 6fe0cbc0 fetch 1 ,mem_mouse_device_poweron_timer_count_init 
-005f 67e0ccab store 1 ,mem_mouse_device_mode_led_count 
-0060 20600000 rtn 
+005c 6fe0cbc0 fetch 1 ,mem_mouse_device_poweron_timer_count_init 
+005d 67e0ccab store 1 ,mem_mouse_device_mode_led_count 
+005e 20600000 rtn 
 
 p_mouse_store_normal_tx_power:
-0061 6fe0c1e8 fetch 1 ,mem_tx_power 
-0062 67e0ccaa store 1 ,mem_normal_tx_power 
-0063 20600000 rtn 
+005f 6fe0c1e8 fetch 1 ,mem_tx_power 
+0060 67e0ccaa store 1 ,mem_normal_tx_power 
+0061 20600000 rtn 
 
 p_mouse_fetch_normal_tx_power:
-0064 6fe0ccaa fetch 1 ,mem_normal_tx_power 
-0065 67e0c1e8 store 1 ,mem_tx_power 
-0066 20600000 rtn 
-
-p_mouse_select_angle:
-0067 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-0068 c17f8000 rtneq gpio_disable 
-0069 d8400040 arg gpcfg_pullup ,temp 
-006a 20406093 call gpio_config_function_int 
-006b 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-006c 20406059 call gpio_get_bit 
-006d 20208075 branch p_mouse_set_sensor_angle_gnd ,true 
-006e 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-006f d8400080 arg gpcfg_pulldown ,temp 
-0070 20406093 call gpio_config_function_int 
-0071 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0072 20406059 call gpio_get_bit 
-0073 20208077 branch p_mouse_set_sensor_angle_float ,true 
-0074 20200079 branch p_mouse_set_sensor_angle_vin 
-
-p_mouse_set_sensor_angle_gnd:
-0075 70492803 jam mouse_3clk_angle ,mem_config_sensor_angle 
-0076 20600000 rtn 
-
-p_mouse_set_sensor_angle_float:
-0077 70492800 jam mouse_6clk_angle ,mem_config_sensor_angle 
-0078 20600000 rtn 
-
-p_mouse_set_sensor_angle_vin:
-0079 70492802 jam mouse_12clk_angle ,mem_config_sensor_angle 
-007a 20600000 rtn 
+0062 6fe0ccaa fetch 1 ,mem_normal_tx_power 
+0063 67e0c1e8 store 1 ,mem_tx_power 
+0064 20600000 rtn 
 
 p_mouse_cb_fuction:
-007b 580002ce setarg p_mouse_24g_package_data 
-007c 67e1489b store 2 ,mem_cb_24g_transmit_data 
-007d 580002ed setarg p_mouse_24g_search_dongle 
-007e 67e1489d store 2 ,mem_cb_24g_search_receiver 
-007f 20203bd3 branch mouse_cb_fuction + 4 
+0065 580002e0 setarg p_mouse_24g_package_data 
+0066 67e1489b store 2 ,mem_cb_24g_transmit_data 
+0067 580002ff setarg p_mouse_24g_search_dongle 
+0068 67e1489d store 2 ,mem_cb_24g_search_receiver 
+0069 20203bd3 branch mouse_cb_fuction + 4 
+
+p_mouse_check_sensor_data:
+006a 6fe0c4ac fetch 1 ,mem_spi_write_flash_sm 
+006b c1800000 rtnne flash_sm_no_buys 
+006c 6fe0c927 fetch 1 ,mem_config_sensor_type 
+006d c0064270 beq sg8670 ,mouse_p3212_sensor_motion 
+006e 20204243 branch mouse_check_sensor_data + 3 
+
+p_mouse_data_zoom:
+006f 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0070 c1860000 rtnne sg8670 
+0071 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0072 c1000000 rtneq mouse_dpi_level1 
+0073 c1008000 rtneq mouse_dpi_level2 
+0074 c1020000 rtneq mouse_dpi_level5 
+0075 6fe148d1 fetch 2 ,mem_mouse_x 
+0076 2040007c call p_mouse_2400_3200_zoom 
+0077 67e148d1 store 2 ,mem_mouse_x 
+0078 6fe148d3 fetch 2 ,mem_mouse_y 
+0079 2040007c call p_mouse_2400_3200_zoom 
+007a 67e148d3 store 2 ,mem_mouse_y 
+007b 20600000 rtn 
+
+p_mouse_2400_3200_zoom:
+007c c285807f bbit1 11 ,p_mouse_xy_inverse 
+007d c3058083 bbit0 11 ,p_mouse_xy_zoom 
+007e 20600000 rtn 
+
+p_mouse_xy_inverse:
+007f 1fe67e00 sub pdata ,0 ,pdata 
+0080 20400083 call p_mouse_xy_zoom 
+0081 1fe67e00 sub pdata ,0 ,pdata 
+0082 20600000 rtn 
+
+p_mouse_xy_zoom:
+0083 1fe20400 copy pdata ,temp 
+0084 9840fe00 iadd temp ,pdata 
+0085 67e14d39 store 2 ,mem_mouse_temp_data 
+0086 6fe0cd3a fetch 1 ,mem_mouse_temp_data + 1 
+0087 1fe67c07 sub pdata ,0x7 ,null 
+0088 2441008b ncall p_mouse_xy_forward_overflow ,positive 
+0089 6fe14d39 fetch 2 ,mem_mouse_temp_data 
+008a 20600000 rtn 
+
+p_mouse_xy_forward_overflow:
+008b 580007ff setarg 0x7ff 
+008c 67e14d39 store 2 ,mem_mouse_temp_data 
+008d 20600000 rtn 
 
 p_mouse_motion:
-0080 78547c00 disable user 
-0081 58000000 setarg 0 
-0082 67e348d1 store 6 ,mem_mouse_x 
-0083 20404240 call mouse_check_sensor_data 
-0084 58000089 setarg 0x0089 
-0085 20405b0c call twspi_write 
-0086 2040408e call mouse_dpi_config 
-0087 20403f7e call mouse_zwheel 
-0088 20403f83 call mouse_t_zwheel 
-0089 2040021a call p_mouse_key 
-008a 6fe0c8d0 fetch 1 ,mem_mouse_key 
-008b 1fe17e1f and_into 0x1f ,pdata 
-008c 67e0c8d0 store 1 ,mem_mouse_key 
-008d 24340094 nbranch p_mouse_low_power_led_delay_off ,user 
-008e 20400091 call p_mouse_work_state_flag 
-008f 20400204 call p_mouse_drawing_optima 
-0090 20204544 branch mouse_no_data_timer_init 
+008e 78547c00 disable user 
+008f 58000000 setarg 0 
+0090 67e348d1 store 6 ,mem_mouse_x 
+0091 2040006a call p_mouse_check_sensor_data 
+0092 2040006f call p_mouse_data_zoom 
+0093 58000089 setarg 0x0089 
+0094 20405b0c call twspi_write 
+0095 20400280 call p_mouse_seting_sensor_type 
+0096 20403f7e call mouse_zwheel 
+0097 20403f83 call mouse_t_zwheel 
+0098 20400212 call p_mouse_key 
+0099 6fe0c8d0 fetch 1 ,mem_mouse_key 
+009a 1fe17e1f and_into 0x1f ,pdata 
+009b 67e0c8d0 store 1 ,mem_mouse_key 
+009c 243400a3 nbranch p_mouse_low_power_led_delay_off ,user 
+009d 204000a0 call p_mouse_work_state_flag 
+009e 20400209 call p_mouse_drawing_optima 
+009f 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_work_state_flag:
-0091 704ca400 jam 0 ,mem_low_power_led_flag 
-0092 704ca500 jam 0 ,mem_24g_low_power_stop_blink 
-0093 20600000 rtn 
+00a0 704ca400 jam 0 ,mem_low_power_led_flag 
+00a1 704ca500 jam 0 ,mem_24g_low_power_stop_blink 
+00a2 20600000 rtn 
 
 p_mouse_low_power_led_delay_off:
-0094 20404728 call mouse_drawing_optima_init 
-0095 6fe0cca5 fetch 1 ,mem_24g_low_power_stop_blink 
-0096 247a0000 nrtn blank 
-0097 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0098 c1000000 rtneq 0 
-0099 704ca564 jam 0x64 ,mem_24g_low_power_stop_blink 
-009a 20600000 rtn 
+00a3 20404728 call mouse_drawing_optima_init 
+00a4 6fe0cca5 fetch 1 ,mem_24g_low_power_stop_blink 
+00a5 247a0000 nrtn blank 
+00a6 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+00a7 c1000000 rtneq 0 
+00a8 704ca564 jam 0x64 ,mem_24g_low_power_stop_blink 
+00a9 20600000 rtn 
 
 p_mouse_idle:
-009b 2040009f call p_mouse_low_voltage_led_no_enter_lpm 
-009c 20407936 call ui_check_paring_button 
-009d 20400254 call p_mouse_dpi_check 
-009e 2020464f branch mouse_idle + 4 
+00aa 204000ae call p_mouse_low_voltage_led_no_enter_lpm 
+00ab 20407936 call ui_check_paring_button 
+00ac 2040024c call p_mouse_dpi_check 
+00ad 2020464f branch mouse_idle + 4 
 
 p_mouse_low_voltage_led_no_enter_lpm:
-009f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00a0 c4020000 rtnbit0 mouse_low_voltage_flag 
-00a1 20204997 branch mouse_low_voltage_led_no_enter_lpm_next 
+00ae 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00af c4020000 rtnbit0 mouse_low_voltage_flag 
+00b0 20204997 branch mouse_low_voltage_led_no_enter_lpm_next 
 
 p_twspi_reset:
-00a2 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-00a3 20205af8 branch twspi_reset + 1 
+00b1 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+00b2 20205af8 branch twspi_reset + 1 
 
 p_mouse_priority_bb_event:
-00a4 1a627e00 copy regc ,pdata 
-00a5 c01e057a beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00a6 c01c8572 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-00a7 c01d058b beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00a8 c0190601 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-00a9 c00a85fb beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-00aa c00a05f9 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-00ab c0220608 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-00ac c0200612 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-00ad c0008647 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-00ae 20204336 branch mouse_priority_bb_event + 2 
+00b3 1a627e00 copy regc ,pdata 
+00b4 c01e0594 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00b5 c01c858c beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+00b6 c01d05a5 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+00b7 c019061b beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+00b8 c00a8615 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+00b9 c00a0613 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+00ba c0220622 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+00bb c020062c beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+00bc c0008661 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+00bd 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_start_work:
-00af 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00b0 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-00b1 6fe0c938 fetch 1 ,mem_device_flag 
-00b2 c00000b4 beq mode_24g_device ,p_mouse_24g_start_mode 
-00b3 20203d57 branch mouse_start_work + 5 
+00be 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00bf c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+00c0 6fe0c938 fetch 1 ,mem_device_flag 
+00c1 c00000c3 beq mode_24g_device ,p_mouse_24g_start_mode 
+00c2 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-00b4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00b5 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00b6 20400571 call p_mouse_device_discover_led_config 
-00b7 20403d65 call mouse_wakeup_from_power_check 
-00b8 20344806 branch mouse_24g_reconn_dongle_start ,user 
-00b9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ba c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00bb c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00bc 20404110 call mouse_key_check_once 
-00bd 1a217e07 and rega ,0x07 ,pdata 
-00be 202047ff branch mouse_24g_start_mode + 9 
+00c3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00c4 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+00c5 2040058b call p_mouse_device_discover_led_config 
+00c6 20403d65 call mouse_wakeup_from_power_check 
+00c7 20344806 branch mouse_24g_reconn_dongle_start ,user 
+00c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00c9 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+00ca c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+00cb 20404110 call mouse_key_check_once 
+00cc 1a217e07 and rega ,0x07 ,pdata 
+00cd 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_start_reconnect_device:
-00bf 704c4201 jam 1 ,mem_mouse_bt_led_recon_effect_flag 
-00c0 20203d5a branch mouse_start_reconnect_device + 1 
+00ce 704c4201 jam 1 ,mem_mouse_bt_led_recon_effect_flag 
+00cf 20203d5a branch mouse_start_reconnect_device + 1 
 
 p_mouse_adc_read_start:
-00c1 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-00c2 247a0000 nrtn blank 
-00c3 204003ac call p_enable_adc 
-00c4 20203ebb branch mouse_adc_read_start + 3 
+00d0 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+00d1 247a0000 nrtn blank 
+00d2 204003c6 call p_enable_adc 
+00d3 20203ebb branch mouse_adc_read_start + 3 
 
 p_mouse_app_enter_hibernate:
-00c5 58000006 setarg pan_reg_config 
-00c6 20405b0d call twspi_read 
-00c7 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-00c8 2040020e call p_mouse_sensor_reset 
-00c9 20400213 call p_mouse_sensor_powerdown 
-00ca 20203e23 branch mouse_app_enter_hibernate + 3 
+00d4 58000006 setarg pan_reg_config 
+00d5 20405b0d call twspi_read 
+00d6 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+00d7 20404232 call mouse_sensor_reset 
+00d8 2040423c call mouse_sensor_powerdown 
+00d9 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_setgpio_hibernate:
-00cb 204042e9 call mouse_set_sdio_high 
-00cc 20407fdc call clear_wake 
-00cd 204001a6 call p_mouse_logo_led_off 
-00ce 20404015 call mouse_before_hibernate_wheel_gpio_set 
-00cf 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-00d0 2040024e call p_mouse_gpio_config_output_high 
-00d1 d8400003 arg 3 ,temp 
-00d2 20403f56 call mouse_gpio_config_input_pu 
-00d3 20403e40 call mouse_lpm_before_common 
-00d4 20406082 call gpio_pd_idle 
-00d5 d8400013 arg 19 ,temp 
-00d6 20403f56 call mouse_gpio_config_input_pu 
-00d7 20400192 call p_mouse_1io2led_all_off 
-00d8 204000e6 call p_mouse_device_switch_gpio_high_impedance 
-00d9 204000ee call p_mouse_gpio_set_high_impedance 
-00da 204000fb call p_mouse_adc_gpio_set_before_hibernate 
-00db 20200102 branch p_mouse_wheel_gpio_set_before_hibernate 
-
-p_mouse_set_sensor_gpio_sleep:
-00dc 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-00dd c17f8000 rtneq gpio_disable 
-00de 6fe0c928 fetch 1 ,mem_config_sensor_angle 
-00df c00180e2 beq mouse_3clk_angle ,p_mouse_set_sensor_gnd_low_level 
-00e0 c00100e4 beq mouse_12clk_angle ,p_mouse_set_sensor_input_pu 
-00e1 20600000 rtn 
-
-p_mouse_set_sensor_gnd_low_level:
-00e2 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-00e3 20206069 branch gpio_out_active 
-
-p_mouse_set_sensor_input_pu:
-00e4 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-00e5 20203f56 branch mouse_gpio_config_input_pu 
+00da 204042e9 call mouse_set_sdio_high 
+00db 20407fdc call clear_wake 
+00dc 204001ab call p_mouse_logo_led_off 
+00dd 20404015 call mouse_before_hibernate_wheel_gpio_set 
+00de 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+00df 20400246 call p_mouse_gpio_config_output_high 
+00e0 d8400003 arg 3 ,temp 
+00e1 20403f56 call mouse_gpio_config_input_pu 
+00e2 20403e40 call mouse_lpm_before_common 
+00e3 20406082 call gpio_pd_idle 
+00e4 d8400013 arg 19 ,temp 
+00e5 20403f56 call mouse_gpio_config_input_pu 
+00e6 20400197 call p_mouse_1io2led_all_off 
+00e7 204000eb call p_mouse_device_switch_gpio_high_impedance 
+00e8 204000f3 call p_mouse_gpio_set_high_impedance 
+00e9 20400100 call p_mouse_adc_gpio_set_before_hibernate 
+00ea 20200107 branch p_mouse_wheel_gpio_set_before_hibernate 
 
 p_mouse_device_switch_gpio_high_impedance:
-00e6 6fe0c91e fetch 1 ,mem_device_switch_gpio 
-00e7 c17f8000 rtneq 0xff 
-00e8 6fe0c938 fetch 1 ,mem_device_flag 
-00e9 c00000ec beq mode_24g_device ,p_mouse_device_switch_gpio_set_impedance 
-00ea 6848c91e fetcht 1 ,mem_device_switch_gpio 
-00eb 20203f56 branch mouse_gpio_config_input_pu 
+00eb 6fe0c91e fetch 1 ,mem_device_switch_gpio 
+00ec c17f8000 rtneq 0xff 
+00ed 6fe0c938 fetch 1 ,mem_device_flag 
+00ee c00000f1 beq mode_24g_device ,p_mouse_device_switch_gpio_set_impedance 
+00ef 6848c91e fetcht 1 ,mem_device_switch_gpio 
+00f0 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_device_switch_gpio_set_impedance:
-00ec 6848c91e fetcht 1 ,mem_device_switch_gpio 
-00ed 2020607f branch gpio_set_high_impedance 
+00f1 6848c91e fetcht 1 ,mem_device_switch_gpio 
+00f2 2020607f branch gpio_set_high_impedance 
 
 p_mouse_gpio_set_high_impedance:
-00ee 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-00ef 67e1895c store 3 ,mem_pdatatemp 
-00f0 df200014 arg 20 ,loopcnt 
-00f1 d8400000 arg 0 ,temp 
+00f3 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+00f4 67e1895c store 3 ,mem_pdatatemp 
+00f5 df200014 arg 20 ,loopcnt 
+00f6 d8400000 arg 0 ,temp 
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-00f2 6fe1895c fetch 3 ,mem_pdatatemp 
-00f3 2feffe00 isolate1 0 ,pdata 
-00f4 2040e07f call gpio_set_high_impedance ,true 
-00f5 6fe1895c fetch 3 ,mem_pdatatemp 
-00f6 1fe37e00 rshift pdata ,pdata 
-00f7 67e1895c store 3 ,mem_pdatatemp 
-00f8 18408401 increase 1 ,temp 
-00f9 c20000f2 loop p_mouse_gpio_set_high_impedance_bit_loop 
-00fa 20600000 rtn 
+00f7 6fe1895c fetch 3 ,mem_pdatatemp 
+00f8 2feffe00 isolate1 0 ,pdata 
+00f9 2040e07f call gpio_set_high_impedance ,true 
+00fa 6fe1895c fetch 3 ,mem_pdatatemp 
+00fb 1fe37e00 rshift pdata ,pdata 
+00fc 67e1895c store 3 ,mem_pdatatemp 
+00fd 18408401 increase 1 ,temp 
+00fe c20000f7 loop p_mouse_gpio_set_high_impedance_bit_loop 
+00ff 20600000 rtn 
 
 p_mouse_adc_gpio_set_before_hibernate:
-00fb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00fc c40a0000 rtnbit0 mouse_enable_adc 
-00fd 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
-00fe c1810000 rtnne adc_config_gpio 
-00ff 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
-0100 d84000c0 arg gpcfg_no_ie ,temp 
-0101 20206093 branch gpio_config_function_int 
+0100 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0101 c40a0000 rtnbit0 mouse_enable_adc 
+0102 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
+0103 c1810000 rtnne adc_config_gpio 
+0104 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
+0105 d84000c0 arg gpcfg_no_ie ,temp 
+0106 20206093 branch gpio_config_function_int 
 
 p_mouse_wheel_gpio_set_before_hibernate:
-0102 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0103 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+0107 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0108 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_clr_wakeup:
-0104 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-0105 20406042 call gpio_clr_wake 
-0106 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-0107 20406042 call gpio_clr_wake 
-0108 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-0109 20403f54 call mouse_gpio_config_input_pd 
-010a 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-010b 20203f54 branch mouse_gpio_config_input_pd 
+0109 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+010a 20406042 call gpio_clr_wake 
+010b 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+010c 20406042 call gpio_clr_wake 
+010d 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+010e 20403f54 call mouse_gpio_config_input_pd 
+010f 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+0110 20203f54 branch mouse_gpio_config_input_pd 
 
 p_mouse_short_sleep_clear_wake:
-010c 20407fdc call clear_wake 
-010d 202015b1 branch lpm_write_gpio_wakeup 
+0111 20407fdc call clear_wake 
+0112 202015b1 branch lpm_write_gpio_wakeup 
 
 p_mouse_lpm_before_common:
-010e 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-010f 20406050 call gpio_config_input 
-0110 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-0111 20406050 call gpio_config_input 
-0112 20403f88 call mouse_wheel_check 
-0113 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0114 2040024e call p_mouse_gpio_config_output_high 
-0115 20203e44 branch mouse_lpm_before_common + 4 
+0113 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0114 20406050 call gpio_config_input 
+0115 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+0116 20406050 call gpio_config_input 
+0117 20403f88 call mouse_wheel_check 
+0118 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0119 20400246 call p_mouse_gpio_config_output_high 
+011a 20203e44 branch mouse_lpm_before_common + 4 
 
 p_mouse_bb_event_timer:
-0116 20403e9b call mouse_adc_read 
-0117 204001d8 call p_mouse_low_power_timer 
-0118 2040232b call g24_pair_timeout_timer 
-0119 20402556 call g24_reconn_timeout_timer 
-011a 204047cd call mouse_24g_long_sleep_param_update_timer 
-011b 20400131 call p_mouse_device_poweron_timer 
-011c 204001ae call p_mouse_dpi_led_blink_delay_timer 
-011d 20400161 call p_mouse_led_multi_timer 
-011e 204001f4 call p_mouse_bt_reco_led_timer 
-011f 20400195 call p_mouse_logo_led_on_timer 
-0120 2040407c call mouse_dpi_key_check_long_press 
-0121 204044cc call mouse_bt_discovery_check 
-0122 204001b1 call p_mouse_commbination_key_process 
-0123 204044ff call mouse_check_discovery_timeout_timer 
-0124 204001ce call p_mouse_24g_low_power_stop_blink_timer 
-0125 204001d4 call p_mouse_24g_low_power_led_off_timer 
-0126 20400147 call p_mouse_check_direct_timeout_timer 
-0127 20404512 call mouse_le_enable_att_list_timer 
-0128 20404515 call mouse_le_send_smp_security_request_timer 
-0129 204005bd call p_mouse_le_send_conn_param_update_timer 
-012a 2040452a call mouse_check_hid_handshake_timer 
-012b 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-012c 20404532 call mouse_check_reconnect_delay_long_sleep 
-012d 20404535 call mouse_current_mult_update_timer 
-012e 20404022 call mouse_wheel_trigger_timer 
-012f 2040014b call p_mouse_store_information_delay_timer 
-0130 202001c8 branch p_mouse_check_no_data_timeout_timer 
+011b 20403e9b call mouse_adc_read 
+011c 204001dd call p_mouse_low_power_timer 
+011d 2040232b call g24_pair_timeout_timer 
+011e 20402556 call g24_reconn_timeout_timer 
+011f 204047cd call mouse_24g_long_sleep_param_update_timer 
+0120 20400136 call p_mouse_device_poweron_timer 
+0121 204001b3 call p_mouse_dpi_led_blink_delay_timer 
+0122 20400166 call p_mouse_led_multi_timer 
+0123 204001f9 call p_mouse_bt_reco_led_timer 
+0124 2040019a call p_mouse_logo_led_on_timer 
+0125 2040407c call mouse_dpi_key_check_long_press 
+0126 204044cc call mouse_bt_discovery_check 
+0127 204001b6 call p_mouse_commbination_key_process 
+0128 204044ff call mouse_check_discovery_timeout_timer 
+0129 204001d3 call p_mouse_24g_low_power_stop_blink_timer 
+012a 204001d9 call p_mouse_24g_low_power_led_off_timer 
+012b 2040014c call p_mouse_check_direct_timeout_timer 
+012c 20404512 call mouse_le_enable_att_list_timer 
+012d 20404515 call mouse_le_send_smp_security_request_timer 
+012e 204005d7 call p_mouse_le_send_conn_param_update_timer 
+012f 2040452a call mouse_check_hid_handshake_timer 
+0130 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+0131 20404532 call mouse_check_reconnect_delay_long_sleep 
+0132 20404535 call mouse_current_mult_update_timer 
+0133 20404022 call mouse_wheel_trigger_timer 
+0134 20400150 call p_mouse_store_information_delay_timer 
+0135 202001cd branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_device_poweron_timer:
-0131 6fe0ccab fetch 1 ,mem_mouse_device_mode_led_count 
-0132 207a0000 rtn blank 
-0133 1fe0ffff increase -1 ,pdata 
-0134 67e0ccab store 1 ,mem_mouse_device_mode_led_count 
-0135 203a0137 branch p_mouse_power_on_led_off ,blank 
-0136 2020013c branch p_mouse_power_on_led_on 
+0136 6fe0ccab fetch 1 ,mem_mouse_device_mode_led_count 
+0137 207a0000 rtn blank 
+0138 1fe0ffff increase -1 ,pdata 
+0139 67e0ccab store 1 ,mem_mouse_device_mode_led_count 
+013a 203a013c branch p_mouse_power_on_led_off ,blank 
+013b 20200141 branch p_mouse_power_on_led_on 
 
 p_mouse_power_on_led_off:
-0137 6fe0c938 fetch 1 ,mem_device_flag 
-0138 c0000141 beq mode_24g_device ,p_mouse_device_24g_bt1_led_off 
-0139 c000818e beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-013a c0010190 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-013b 20600000 rtn 
-
-p_mouse_power_on_led_on:
 013c 6fe0c938 fetch 1 ,mem_device_flag 
-013d c0000144 beq mode_24g_device ,p_mouse_device_24g_bt1_led_on 
-013e c0008180 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-013f c0010182 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+013d c0000146 beq mode_24g_device ,p_mouse_device_24g_bt1_led_off 
+013e c0008193 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+013f c0010195 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
 0140 20600000 rtn 
 
+p_mouse_power_on_led_on:
+0141 6fe0c938 fetch 1 ,mem_device_flag 
+0142 c0000149 beq mode_24g_device ,p_mouse_device_24g_bt1_led_on 
+0143 c0008185 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+0144 c0010187 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+0145 20600000 rtn 
+
 p_mouse_device_24g_bt1_led_off:
-0141 6fe0c915 fetch 1 ,mem_config_device_24g_led_gpio 
-0142 c07f818e beq 0xff ,p_mouse_device_bt1_led_off 
-0143 2020018a branch p_mouse_device_24g_led_off 
+0146 6fe0c915 fetch 1 ,mem_config_device_24g_led_gpio 
+0147 c07f8193 beq 0xff ,p_mouse_device_bt1_led_off 
+0148 2020018f branch p_mouse_device_24g_led_off 
 
 p_mouse_device_24g_bt1_led_on:
-0144 6fe0c915 fetch 1 ,mem_config_device_24g_led_gpio 
-0145 c07f8180 beq 0xff ,p_mouse_device_bt1_led_on 
-0146 2020017e branch p_mouse_device_24g_led_on 
+0149 6fe0c915 fetch 1 ,mem_config_device_24g_led_gpio 
+014a c07f8185 beq 0xff ,p_mouse_device_bt1_led_on 
+014b 20200183 branch p_mouse_device_24g_led_on 
 
 p_mouse_check_direct_timeout_timer:
-0147 da604b77 arg mem_mouse_direct_timer ,regc 
-0148 da40450a arg mouse_check_direct_timeout ,regb 
-0149 2040318a call timer_single_step 
-014a 20204507 branch mouse_check_direct_timeout_timer + 3 
+014c da604b77 arg mem_mouse_direct_timer ,regc 
+014d da40450a arg mouse_check_direct_timeout ,regb 
+014e 2040318a call timer_single_step 
+014f 20204507 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_store_information_delay_timer:
-014b da6049bf arg mem_store_information_delay_timer ,regc 
-014c da40014e arg p_mouse_store_device_info_check ,regb 
-014d 2020318a branch timer_single_step 
+0150 da6049bf arg mem_store_information_delay_timer ,regc 
+0151 da400153 arg p_mouse_store_device_info_check ,regb 
+0152 2020318a branch timer_single_step 
 
 p_mouse_store_device_info_check:
-014e 204045f1 call mouse_store_device_info 
-014f 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
-0150 207a0000 rtn blank 
+0153 204045f1 call mouse_store_device_info 
+0154 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
+0155 207a0000 rtn blank 
 
 p_mouse_soft_reset:
-0151 20400343 call p_enable_rc_clock 
-0152 202046c0 branch mouse_soft_reset 
+0156 2040035d call p_enable_rc_clock 
+0157 202046c0 branch mouse_soft_reset 
 
 p_mouse_device_multi_led_poweron2s_init:
-0153 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon2s_timer_init 
-0154 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
-0155 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron2s_flag_init 
-0156 67e0cc45 store 1 ,mem_mouse_multi_led_poweron2s_flag 
-0157 20600000 rtn 
+0158 6fe0cc46 fetch 1 ,mem_mouse_multi_led_powon2s_timer_init 
+0159 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
+015a 6fe0cc44 fetch 1 ,mem_mouse_multi_led_poweron2s_flag_init 
+015b 67e0cc45 store 1 ,mem_mouse_multi_led_poweron2s_flag 
+015c 20600000 rtn 
 
 p_mouse_multi_led_blink_enable:
-0158 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-0159 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
-015a 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-015b 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
-015c 20600000 rtn 
+015d 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+015e 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
+015f 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0160 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
+0161 20600000 rtn 
 
 p_mouse_multi_led_on_enable:
-015d 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
-015e 704c4c00 jam 0 ,mem_mouse_multi_led_blink_timer 
-015f 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
-0160 20600000 rtn 
+0162 704c4101 jam 1 ,mem_mouse_multi_led_blink_enable 
+0163 704c4c00 jam 0 ,mem_mouse_multi_led_blink_timer 
+0164 704c4300 jam multi_led_on ,mem_mouse_multi_led_type 
+0165 20600000 rtn 
 
 p_mouse_led_multi_timer:
-0161 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
-0162 207a0000 rtn blank 
-0163 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
-0164 c0008171 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+0166 6fe0cc41 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0167 207a0000 rtn blank 
+0168 6fe0cc43 fetch 1 ,mem_mouse_multi_led_type 
+0169 c0008176 beq multi_led_blink ,p_mouse_multi_led_type_blink 
 
 p_mouse_multi_led_type_on:
-0165 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron2s_flag 
-0166 243a0169 nbranch p_mouse_device_multi_led_poweron2s ,blank 
-0167 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-0168 20600000 rtn 
+016a 6fe0cc45 fetch 1 ,mem_mouse_multi_led_poweron2s_flag 
+016b 243a016e nbranch p_mouse_device_multi_led_poweron2s ,blank 
+016c 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+016d 20600000 rtn 
 
 p_mouse_device_multi_led_poweron2s:
-0169 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon2s_timer 
-016a 203a016e branch p_mouse_multi_led_poweron2s_and_flag_off ,blank 
-016b 1fe0ffff increase -1 
-016c 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
-016d 20200178 branch p_mouse_device_multi_led_on 
+016e 6fe0cc47 fetch 1 ,mem_mouse_multi_led_powon2s_timer 
+016f 203a0173 branch p_mouse_multi_led_poweron2s_and_flag_off ,blank 
+0170 1fe0ffff increase -1 
+0171 67e0cc47 store 1 ,mem_mouse_multi_led_powon2s_timer 
+0172 2020017d branch p_mouse_device_multi_led_on 
 
 p_mouse_multi_led_poweron2s_and_flag_off:
-016e 704c4500 jam 0 ,mem_mouse_multi_led_poweron2s_flag 
-016f 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
-0170 20200184 branch p_mouse_device_multi_led_off 
+0173 704c4500 jam 0 ,mem_mouse_multi_led_poweron2s_flag 
+0174 704c4100 jam 0 ,mem_mouse_multi_led_blink_enable 
+0175 20200189 branch p_mouse_device_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-0171 da604c4c arg mem_mouse_multi_led_blink_timer ,regc 
-0172 da400174 arg p_mouse_multi_led_type_blink_timeout ,regb 
-0173 2020318a branch timer_single_step 
+0176 da604c4c arg mem_mouse_multi_led_blink_timer ,regc 
+0177 da400179 arg p_mouse_multi_led_type_blink_timeout ,regb 
+0178 2020318a branch timer_single_step 
 
 p_mouse_multi_led_type_blink_timeout:
-0174 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0175 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
-0176 6fe0cc4d fetch 1 ,mem_mouse_multi_led_state 
-0177 c0008184 beq on ,p_mouse_device_multi_led_off 
+0179 6fe0cc4b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+017a 67e0cc4c store 1 ,mem_mouse_multi_led_blink_timer 
+017b 6fe0cc4d fetch 1 ,mem_mouse_multi_led_state 
+017c c0008189 beq on ,p_mouse_device_multi_led_off 
 
 p_mouse_device_multi_led_on:
-0178 704c4d01 jam on ,mem_mouse_multi_led_state 
-0179 6fe0c938 fetch 1 ,mem_device_flag 
-017a c000017e beq mode_24g_device ,p_mouse_device_24g_led_on 
-017b c0008180 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
-017c c0010182 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
-017d 20600000 rtn 
+017d 704c4d01 jam on ,mem_mouse_multi_led_state 
+017e 6fe0c938 fetch 1 ,mem_device_flag 
+017f c0000183 beq mode_24g_device ,p_mouse_device_24g_led_on 
+0180 c0008185 beq mode_bt_device1 ,p_mouse_device_bt1_led_on 
+0181 c0010187 beq mode_bt_device2 ,p_mouse_device_bt2_led_on 
+0182 20600000 rtn 
 
 p_mouse_device_24g_led_on:
-017e 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
-017f 20200183 branch p_mouse_device_led_on 
+0183 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+0184 20200188 branch p_mouse_device_led_on 
 
 p_mouse_device_bt1_led_on:
-0180 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-0181 20200183 branch p_mouse_device_led_on 
+0185 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0186 20200188 branch p_mouse_device_led_on 
 
 p_mouse_device_bt2_led_on:
-0182 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0187 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
 
 p_mouse_device_led_on:
-0183 20206069 branch gpio_out_active 
+0188 20206069 branch gpio_out_active 
 
 p_mouse_device_multi_led_off:
-0184 704c4d00 jam off ,mem_mouse_multi_led_state 
-0185 6fe0c938 fetch 1 ,mem_device_flag 
-0186 c000018a beq mode_24g_device ,p_mouse_device_24g_led_off 
-0187 c000818e beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
-0188 c0010190 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
-0189 20600000 rtn 
+0189 704c4d00 jam off ,mem_mouse_multi_led_state 
+018a 6fe0c938 fetch 1 ,mem_device_flag 
+018b c000018f beq mode_24g_device ,p_mouse_device_24g_led_off 
+018c c0008193 beq mode_bt_device1 ,p_mouse_device_bt1_led_off 
+018d c0010195 beq mode_bt_device2 ,p_mouse_device_bt2_led_off 
+018e 20600000 rtn 
 
 p_mouse_device_24g_led_off:
-018a 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
+018f 6848cc48 fetcht 1 ,mem_mouse_1io2led_multi_24gled 
 
 p_gpio_set_high_impedance:
-018b 18467cff sub temp ,gpio_disable ,null 
-018c 20628000 rtn zero 
-018d 20206065 branch gpio_out_inactive 
+0190 18467cff sub temp ,gpio_disable ,null 
+0191 20628000 rtn zero 
+0192 20206065 branch gpio_out_inactive 
 
 p_mouse_device_bt1_led_off:
-018e 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
-018f 2020018b branch p_gpio_set_high_impedance 
+0193 6848cc49 fetcht 1 ,mem_mouse_1io2led_multi_bt1led 
+0194 20200190 branch p_gpio_set_high_impedance 
 
 p_mouse_device_bt2_led_off:
-0190 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
-0191 2020018b branch p_gpio_set_high_impedance 
+0195 6848cc4a fetcht 1 ,mem_mouse_1io2led_multi_bt2led 
+0196 20200190 branch p_gpio_set_high_impedance 
 
 p_mouse_1io2led_all_off:
-0192 2040018a call p_mouse_device_24g_led_off 
-0193 2040018e call p_mouse_device_bt1_led_off 
-0194 20200190 branch p_mouse_device_bt2_led_off 
+0197 2040018f call p_mouse_device_24g_led_off 
+0198 20400193 call p_mouse_device_bt1_led_off 
+0199 20200195 branch p_mouse_device_bt2_led_off 
 
 p_mouse_logo_led_on_timer:
-0195 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
-0196 c17f8000 rtneq gpio_disable 
-0197 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0198 247a0000 nrtn blank 
-0199 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-019a 247a0000 nrtn blank 
-019b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-019c c28201aa bbit1 mouse_low_voltage_flag ,p_mouse_low_power_logo_off 
-019d 704cac00 jam 0 ,mem_mouse_low_power_logo_off_status 
-019e 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-019f 207a0000 rtn blank 
-01a0 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-01a1 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-01a2 98460400 isub temp ,temp 
-01a3 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
-01a4 98467e00 isub temp ,pdata 
-01a5 202101a8 branch p_mouse_logo_led_on ,positive 
+019a 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
+019b c17f8000 rtneq gpio_disable 
+019c 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+019d 247a0000 nrtn blank 
+019e 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+019f 247a0000 nrtn blank 
+01a0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01a1 c28201af bbit1 mouse_low_voltage_flag ,p_mouse_low_power_logo_off 
+01a2 704cac00 jam 0 ,mem_mouse_low_power_logo_off_status 
+01a3 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+01a4 207a0000 rtn blank 
+01a5 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+01a6 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+01a7 98460400 isub temp ,temp 
+01a8 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
+01a9 98467e00 isub temp ,pdata 
+01aa 202101ad branch p_mouse_logo_led_on ,positive 
 
 p_mouse_logo_led_off:
-01a6 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-01a7 20206065 branch gpio_out_inactive 
+01ab 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+01ac 20206065 branch gpio_out_inactive 
 
 p_mouse_logo_led_on:
-01a8 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-01a9 20206069 branch gpio_out_active 
+01ad 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+01ae 20206069 branch gpio_out_active 
 
 p_mouse_low_power_logo_off:
-01aa 6fe0ccac fetch 1 ,mem_mouse_low_power_logo_off_status 
-01ab 247a0000 nrtn blank 
-01ac 704cac01 jam 1 ,mem_mouse_low_power_logo_off_status 
-01ad 202001a6 branch p_mouse_logo_led_off 
+01af 6fe0ccac fetch 1 ,mem_mouse_low_power_logo_off_status 
+01b0 247a0000 nrtn blank 
+01b1 704cac01 jam 1 ,mem_mouse_low_power_logo_off_status 
+01b2 202001ab branch p_mouse_logo_led_off 
 
 p_mouse_dpi_led_blink_delay_timer:
-01ae da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-01af da400294 arg p_mouse_dpi_led_blink_init ,regb 
-01b0 2020318a branch timer_single_step 
+01b3 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+01b4 da40029d arg p_mouse_dpi_led_blink_init ,regb 
+01b5 2020318a branch timer_single_step 
 
 p_mouse_commbination_key_process:
-01b1 6fe0c938 fetch 1 ,mem_device_flag 
-01b2 c00001b7 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-01b3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01b4 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-01b5 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-01b6 202001ba branch p_mouse_commbination_key_start 
+01b6 6fe0c938 fetch 1 ,mem_device_flag 
+01b7 c00001bc beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+01b8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01b9 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+01ba 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+01bb 202001bf branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-01b7 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01b8 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-01b9 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+01bc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01bd c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+01be 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-01ba 6048cb9d storet 1 ,mem_mouse_commbination_key 
-01bb 20404115 call mouse_check_key_gpio 
-01bc 1fe17e07 and pdata ,0x07 ,pdata 
-01bd 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-01be 98467c00 isub temp ,null 
-01bf 202281c1 branch p_mouse_commbination_key_down ,zero 
-01c0 202044eb branch mouse_commbination_key_up 
+01bf 6048cb9d storet 1 ,mem_mouse_commbination_key 
+01c0 20404115 call mouse_check_key_gpio 
+01c1 1fe17e07 and pdata ,0x07 ,pdata 
+01c2 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+01c3 98467c00 isub temp ,null 
+01c4 202281c6 branch p_mouse_commbination_key_down ,zero 
+01c5 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-01c1 204001c6 call p_mouse_combination_ui_timer 
-01c2 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-01c3 c1008000 rtneq commbination_key_state_down 
-01c4 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-01c5 20600000 rtn 
+01c6 204001cb call p_mouse_combination_ui_timer 
+01c7 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+01c8 c1008000 rtneq commbination_key_state_down 
+01c9 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+01ca 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-01c6 da4005a1 arg p_mouse_24g_start_pair_mode ,regb 
-01c7 202044f7 branch mouse_combination_ui_timer + 1 
+01cb da4005bb arg p_mouse_24g_start_pair_mode ,regb 
+01cc 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_no_data_timeout_timer:
-01c8 da604ab2 arg mem_mouse_no_data_timer ,regc 
-01c9 da4001cb arg p_mouse_check_no_data_timeout ,regb 
-01ca 20203191 branch timer_single_step_2b 
+01cd da604ab2 arg mem_mouse_no_data_timer ,regc 
+01ce da4001d0 arg p_mouse_check_no_data_timeout ,regb 
+01cf 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-01cb 6fe0c938 fetch 1 ,mem_device_flag 
-01cc c00005b4 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-01cd 2020431b branch mouse_disconnect 
+01d0 6fe0c938 fetch 1 ,mem_device_flag 
+01d1 c00005ce beq mode_24g_device ,p_mouse_24g_hibernate_set 
+01d2 2020431b branch mouse_disconnect 
 
 p_mouse_24g_low_power_stop_blink_timer:
-01ce da4001d1 arg p_mouse_24g_low_power_stop_blink_timeout ,regb 
-01cf da604ca5 arg mem_24g_low_power_stop_blink ,regc 
-01d0 2020318a branch timer_single_step 
+01d3 da4001d6 arg p_mouse_24g_low_power_stop_blink_timeout ,regb 
+01d4 da604ca5 arg mem_24g_low_power_stop_blink ,regc 
+01d5 2020318a branch timer_single_step 
 
 p_mouse_24g_low_power_stop_blink_timeout:
-01d1 704ca401 jam 0x01 ,mem_low_power_led_flag 
-01d2 704ca60a jam 0x0a ,mem_24g_low_power_led_off 
-01d3 20600000 rtn 
+01d6 704ca401 jam 0x01 ,mem_low_power_led_flag 
+01d7 704ca60a jam 0x0a ,mem_24g_low_power_led_off 
+01d8 20600000 rtn 
 
 p_mouse_24g_low_power_led_off_timer:
-01d4 da4001d7 arg p_mouse_24g_low_power_led_off_timeout ,regb 
-01d5 da604ca6 arg mem_24g_low_power_led_off ,regc 
-01d6 2020318a branch timer_single_step 
+01d9 da4001dc arg p_mouse_24g_low_power_led_off_timeout ,regb 
+01da da604ca6 arg mem_24g_low_power_led_off ,regc 
+01db 2020318a branch timer_single_step 
 
 p_mouse_24g_low_power_led_off_timeout:
-01d7 202001f2 branch p_mouse_low_voltage_led_off 
+01dc 202001f7 branch p_mouse_low_voltage_led_off 
 
 p_mouse_low_power_timer:
-01d8 6fe0cca4 fetch 1 ,mem_low_power_led_flag 
-01d9 203a01db branch p_mouse_low_voltage_led_timer ,blank 
-01da 20600000 rtn 
+01dd 6fe0cca4 fetch 1 ,mem_low_power_led_flag 
+01de 203a01e0 branch p_mouse_low_voltage_led_timer ,blank 
+01df 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-01db 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-01dc 247a0000 nrtn blank 
-01dd 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-01de 247a0000 nrtn blank 
-01df 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-01e0 247a0000 nrtn blank 
-01e1 6fe0ccab fetch 1 ,mem_mouse_device_mode_led_count 
-01e2 247a0000 nrtn blank 
-01e3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01e4 c4020000 rtnbit0 mouse_low_voltage_flag 
-01e5 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
-01e6 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-01e7 1fe0fe01 increase 1 ,pdata 
-01e8 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-01e9 1fe67c0b sub pdata ,11 ,null 
-01ea 244101ee ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-01eb c00101f0 beq 2 ,p_mouse_low_voltage_led_on 
-01ec c00381f2 beq 7 ,p_mouse_low_voltage_led_off 
-01ed 20600000 rtn 
+01e0 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+01e1 247a0000 nrtn blank 
+01e2 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+01e3 247a0000 nrtn blank 
+01e4 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+01e5 247a0000 nrtn blank 
+01e6 6fe0ccab fetch 1 ,mem_mouse_device_mode_led_count 
+01e7 247a0000 nrtn blank 
+01e8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01e9 c4020000 rtnbit0 mouse_low_voltage_flag 
+01ea 704c4301 jam multi_led_blink ,mem_mouse_multi_led_type 
+01eb 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+01ec 1fe0fe01 increase 1 ,pdata 
+01ed 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+01ee 1fe67c0b sub pdata ,11 ,null 
+01ef 244101f3 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+01f0 c00101f5 beq 2 ,p_mouse_low_voltage_led_on 
+01f1 c00381f7 beq 7 ,p_mouse_low_voltage_led_off 
+01f2 20600000 rtn 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-01ee 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
-01ef 202001f2 branch p_mouse_low_voltage_led_off 
+01f3 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
+01f4 202001f7 branch p_mouse_low_voltage_led_off 
 
 p_mouse_low_voltage_led_on:
-01f0 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
-01f1 20206069 branch gpio_out_active 
+01f5 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+01f6 20206069 branch gpio_out_active 
 
 p_mouse_low_voltage_led_off:
-01f2 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
-01f3 20206065 branch gpio_out_inactive 
+01f7 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+01f8 20206065 branch gpio_out_inactive 
 
 p_mouse_bt_reco_led_timer:
-01f4 6fe0c938 fetch 1 ,mem_device_flag 
-01f5 c1000000 rtneq mode_24g_device 
-01f6 6fe0ccab fetch 1 ,mem_mouse_device_mode_led_count 
-01f7 247a0000 nrtn blank 
-01f8 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
-01f9 207a0000 rtn blank 
-01fa 6fe0cca7 fetch 1 ,mem_mouse_bt_reconnect_led_count 
-01fb 1fe0fe01 increase 1 ,pdata 
-01fc 67e0cca7 store 1 ,mem_mouse_bt_reconnect_led_count 
-01fd 1fe67c05 sub pdata ,5 ,null 
-01fe 24410202 ncall p_mouse_bt_reconnect_led_count_clean ,positive 
-01ff c0008179 beq 1 ,p_mouse_device_multi_led_on + 1 
-0200 c0018185 beq 3 ,p_mouse_device_multi_led_off + 1 
-0201 20600000 rtn 
+01f9 6fe0c938 fetch 1 ,mem_device_flag 
+01fa c1000000 rtneq mode_24g_device 
+01fb 6fe0ccab fetch 1 ,mem_mouse_device_mode_led_count 
+01fc 247a0000 nrtn blank 
+01fd 6fe0cc42 fetch 1 ,mem_mouse_bt_led_recon_effect_flag 
+01fe 207a0000 rtn blank 
+01ff 6fe0cca7 fetch 1 ,mem_mouse_bt_reconnect_led_count 
+0200 1fe0fe01 increase 1 ,pdata 
+0201 67e0cca7 store 1 ,mem_mouse_bt_reconnect_led_count 
+0202 1fe67c05 sub pdata ,5 ,null 
+0203 24410207 ncall p_mouse_bt_reconnect_led_count_clean ,positive 
+0204 c000817e beq 1 ,p_mouse_device_multi_led_on + 1 
+0205 c001818a beq 3 ,p_mouse_device_multi_led_off + 1 
+0206 20600000 rtn 
 
 p_mouse_bt_reconnect_led_count_clean:
-0202 704ca700 jam 0 ,mem_mouse_bt_reconnect_led_count 
-0203 20600000 rtn 
+0207 704ca700 jam 0 ,mem_mouse_bt_reconnect_led_count 
+0208 20600000 rtn 
 
 p_mouse_drawing_optima:
-0204 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0205 c1018000 rtneq p3212 
-0206 2020471a branch mouse_drawing_optima 
+0209 6fe0c927 fetch 1 ,mem_config_sensor_type 
+020a c1018000 rtneq p3212 
+020b c1060000 rtneq sg8670 
+020c 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-0207 20403f65 call mouse_sensor_spi_init 
-0208 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0209 c005820b beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-020a 20204238 branch mouse_sensor_poweron_next 
-
-p_mouse_ka8g2_sensor_init:
-020b 20400211 call p_mouse_ka8g2_sensor_reset 
-020c da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-020d 2020423a branch mouse_sensor_poweron_end 
-
-p_mouse_sensor_reset:
-020e 6fe0c927 fetch 1 ,mem_config_sensor_type 
-020f c0058211 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0210 20204232 branch mouse_sensor_reset 
-
-p_mouse_ka8g2_sensor_reset:
-0211 58009706 setarg 0x9706 
-0212 20204233 branch mouse_sensor_reset_end 
-
-p_mouse_sensor_powerdown:
-0213 204041a7 call mouse_init_sunt 
-0214 20403f65 call mouse_sensor_spi_init 
-0215 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0216 c0058218 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0217 2020423e branch mouse_sensor_powerdown_end 
-
-p_mouse_ka8g2_sensor_powerdown:
-0218 58001f06 setarg 0x1f06 
-0219 20205b0c branch twspi_write 
+020d 20403f65 call mouse_sensor_spi_init 
+020e 20404232 call mouse_sensor_reset 
+020f da604aa3 arg mem_sensor_poweron_init ,regc 
+
+p_mouse_sensor_poweron_end:
+0210 2040422b call mouse_sensor_wr_seq 
+0211 20200280 branch p_mouse_seting_sensor_type 
 
 p_mouse_key:
-021a 2040021c call p_mouse_check_key_gpio 
-021b 202040dd branch mouse_key + 1 
+0212 20400214 call p_mouse_check_key_gpio 
+0213 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-021c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-021d 245a4121 ncall mouse_check_key_gpio_once ,blank 
-021e da200000 arg 0 ,rega 
-021f 20400225 call p_mouse_check_lkey_gpio 
-0220 2040022a call p_mouse_check_rkey_gpio 
-0221 2040022f call p_mouse_check_mkey_gpio 
-0222 20400234 call p_mouse_check_bkkey_gpio 
-0223 20400241 call p_mouse_check_fwkey_gpio 
-0224 2020411e branch mouse_check_key_gpio_next 
+0214 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0215 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0216 da200000 arg 0 ,rega 
+0217 2040021d call p_mouse_check_lkey_gpio 
+0218 20400222 call p_mouse_check_rkey_gpio 
+0219 20400227 call p_mouse_check_mkey_gpio 
+021a 2040022c call p_mouse_check_bkkey_gpio 
+021b 20400239 call p_mouse_check_fwkey_gpio 
+021c 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-0225 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0226 2040024e call p_mouse_gpio_config_output_high 
-0227 20404124 call mouse_check_lkey_gpio 
-0228 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0229 20203f56 branch mouse_gpio_config_input_pu 
+021d 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+021e 20400246 call p_mouse_gpio_config_output_high 
+021f 20404124 call mouse_check_lkey_gpio 
+0220 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0221 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-022a 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-022b 2040024e call p_mouse_gpio_config_output_high 
-022c 2040412a call mouse_check_rkey_gpio 
-022d 6848c919 fetcht 1 ,mem_rbutton_gpio 
-022e 20203f56 branch mouse_gpio_config_input_pu 
+0222 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+0223 20400246 call p_mouse_gpio_config_output_high 
+0224 2040412a call mouse_check_rkey_gpio 
+0225 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0226 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-022f 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0230 2040024e call p_mouse_gpio_config_output_high 
-0231 20404130 call mouse_check_mkey_gpio 
-0232 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0233 20203f56 branch mouse_gpio_config_input_pu 
+0227 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0228 20400246 call p_mouse_gpio_config_output_high 
+0229 20404130 call mouse_check_mkey_gpio 
+022a 6848c91a fetcht 1 ,mem_mbutton_gpio 
+022b 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0234 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0235 c17f8000 rtneq gpio_disable 
-0236 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-0237 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-0238 1fe22600 copy pdata ,regc 
-0239 6848c90d fetcht 1 ,mem_bk_button_gpio 
-023a 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-023b c07f823d beq gpio_disable ,p_mouse_3io6key_bk_check 
-023c 2020413e branch mouse_check_bkkey_gpio_next 
+022c 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+022d c17f8000 rtneq gpio_disable 
+022e 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+022f 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+0230 1fe22600 copy pdata ,regc 
+0231 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0232 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0233 c07f8235 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0234 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-023d 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-023e 20400251 call p_mouse_gpio_config_output_low 
-023f 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0240 2020414b branch mouse_3io6key_bk_check 
+0235 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0236 20400249 call p_mouse_gpio_config_output_low 
+0237 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0238 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0241 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0242 c17f8000 rtneq gpio_disable 
-0243 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-0244 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-0245 1fe22600 copy pdata ,regc 
-0246 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0247 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0248 c07f824a beq gpio_disable ,p_mouse_3io6key_fw_check 
-0249 20204157 branch mouse_check_fwkey_gpio_next 
+0239 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+023a c17f8000 rtneq gpio_disable 
+023b 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+023c 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+023d 1fe22600 copy pdata ,regc 
+023e 6848c90e fetcht 1 ,mem_fw_button_gpio 
+023f 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0240 c07f8242 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0241 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-024a 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-024b 20400251 call p_mouse_gpio_config_output_low 
-024c 6848c90e fetcht 1 ,mem_fw_button_gpio 
-024d 20204164 branch mouse_3io6key_fw_check 
+0242 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0243 20400249 call p_mouse_gpio_config_output_low 
+0244 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0245 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-024e c17f8000 rtneq gpio_disable 
-024f d840003f arg gpcfg_output_high ,temp 
-0250 20206093 branch gpio_config_function_int 
+0246 c17f8000 rtneq gpio_disable 
+0247 d840003f arg gpcfg_output_high ,temp 
+0248 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0251 c17f8000 rtneq gpio_disable 
-0252 d840003e arg gpcfg_output_low ,temp 
-0253 20206093 branch gpio_config_function_int 
+0249 c17f8000 rtneq gpio_disable 
+024a d840003e arg gpcfg_output_low ,temp 
+024b 20206093 branch gpio_config_function_int 
 
 p_mouse_dpi_check:
-0254 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0255 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-0256 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0257 c17f8000 rtneq gpio_disable 
-0258 da200000 arg 0 ,rega 
-0259 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-025a 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-025b 2040025d call p_mouse_dpi_key_check 
-025c 2020402f branch mouse_dpi_check_next 
+024c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+024d c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+024e 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+024f c17f8000 rtneq gpio_disable 
+0250 da200000 arg 0 ,rega 
+0251 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+0252 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0253 20400255 call p_mouse_dpi_key_check 
+0254 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-025d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-025e c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-025f 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-0260 1fe22600 copy pdata ,regc 
-0261 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0262 c07f8264 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-0263 2020403f branch mouse_dpi_key_check_next 
+0255 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0256 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+0257 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+0258 1fe22600 copy pdata ,regc 
+0259 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+025a c07f825c beq gpio_disable ,p_mouse_3io6key_dpi_check 
+025b 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0264 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0265 20400251 call p_mouse_gpio_config_output_low 
-0266 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0267 20204195 branch mouse_3io6key_check 
+025c 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+025d 20400249 call p_mouse_gpio_config_output_low 
+025e 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+025f 20204195 branch mouse_3io6key_check 
 
 p_mouse_select_device_by_dpi_button_once:
-0268 d8e0000c arg 12 ,queue 
-0269 20407d74 call timer_check 
-026a 247a0000 nrtn blank 
-026b 20400270 call p_mouse_dpi_check_once 
-026c 2040407c call mouse_dpi_key_check_long_press 
+0260 d8e0000c arg 12 ,queue 
+0261 20407d74 call timer_check 
+0262 247a0000 nrtn blank 
+0263 20400268 call p_mouse_dpi_check_once 
+0264 2040407c call mouse_dpi_key_check_long_press 
 
 p_mouse_g24_retransmit_100ms_timer_init:
-026d d8e0000c arg 12 ,queue 
-026e 580000a0 setarg 160 
-026f 20207d66 branch timer_init 
+0265 d8e0000c arg 12 ,queue 
+0266 580000a0 setarg 160 
+0267 20207d66 branch timer_init 
 
 p_mouse_dpi_check_once:
-0270 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0271 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
-0272 20200254 branch p_mouse_dpi_check 
+0268 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0269 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
+026a 2020024c branch p_mouse_dpi_check 
 
 p_mouse_select_device_by_pb_button:
-0273 6fe0c91b fetch 1 ,mem_config_select_device_button_gpio 
-0274 c17f8000 rtneq gpio_disable 
-0275 da200000 arg 0 ,rega 
-0276 704b9606 jam mouse_pb_key ,mem_mouse_key_temp 
-0277 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
-0278 2040466a call mouse_pb_button_check 
-0279 67e0cb94 store 1 ,mem_mouse_pbkey_press_status 
-027a 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-027b c07f8280 beq gpio_disable ,p_mouse_3io6key_pb_button_check_end 
-027c 20404168 call mouse_matrix_public_gpio_reset 
+026b 6fe0c91b fetch 1 ,mem_config_select_device_button_gpio 
+026c c17f8000 rtneq gpio_disable 
+026d da200000 arg 0 ,rega 
+026e 704b9606 jam mouse_pb_key ,mem_mouse_key_temp 
+026f 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
+0270 2040466a call mouse_pb_button_check 
+0271 67e0cb94 store 1 ,mem_mouse_pbkey_press_status 
+0272 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0273 c07f8278 beq gpio_disable ,p_mouse_3io6key_pb_button_check_end 
+0274 20404168 call mouse_matrix_public_gpio_reset 
 
 p_mouse_select_device_by_pb_button_exit:
-027d 1a227e00 copy rega ,pdata 
-027e c283468d bbit1 mouse_pb_key ,mouse_select_device_button_down + 2 
-027f 20204680 branch mouse_select_device_button_up 
+0275 1a227e00 copy rega ,pdata 
+0276 c283468d bbit1 mouse_pb_key ,mouse_select_device_button_down + 2 
+0277 20204680 branch mouse_select_device_button_up 
 
 p_mouse_3io6key_pb_button_check_end:
-0280 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
-0281 20403f56 call mouse_gpio_config_input_pu 
-0282 2020027d branch p_mouse_select_device_by_pb_button_exit 
+0278 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
+0279 20403f56 call mouse_gpio_config_input_pu 
+027a 20200275 branch p_mouse_select_device_by_pb_button_exit 
+
+p_mouse_setting_dpi_4_level:
+027b 6fe0c927 fetch 1 ,mem_config_sensor_type 
+027c c1060000 rtneq sg8670 
+027d 2020408f branch mouse_setting_dpi_4_level 
 
 p_mouse_seting_dpi:
-0283 2040408f call mouse_setting_dpi_4_level 
-0284 20400286 call p_mouse_dpi_led_blink_delay 
-0285 20204098 branch mouse_seting_sensor_type 
+027e 2040027b call p_mouse_setting_dpi_4_level 
+027f 2040028f call p_mouse_dpi_led_blink_delay 
+
+p_mouse_seting_sensor_type:
+0280 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0281 c0060283 beq sg8670 ,p_mouse_seting_sg8670_dpi 
+0282 20204099 branch mouse_seting_sensor_type + 1 
+
+p_mouse_seting_sg8670_dpi:
+0283 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0284 c0008289 beq mouse_dpi_level2 ,p_mouse_set_sg8670_dpi_2 
+0285 c001828b beq mouse_dpi_level4 ,p_mouse_set_sg8670_dpi_4 
+0286 c002028d beq mouse_dpi_level5 ,p_mouse_set_sg8670_dpi_5 
+
+p_mouse_set_sg8670_dpi_1:
+0287 da604cf9 arg mem_sensor_sg8670_dpi_1 ,regc 
+0288 2020422b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_2:
+0289 da604d09 arg mem_sensor_sg8670_dpi_2 ,regc 
+028a 2020422b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_4:
+028b da604d19 arg mem_sensor_sg8670_dpi_4 ,regc 
+028c 2020422b branch mouse_sensor_wr_seq 
+
+p_mouse_set_sg8670_dpi_5:
+028d da604d29 arg mem_sensor_sg8670_dpi_5 ,regc 
+028e 2020422b branch mouse_sensor_wr_seq 
 
 p_mouse_dpi_led_blink_delay:
-0286 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0287 c17f8000 rtneq gpio_disable 
-0288 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0289 247a0000 nrtn blank 
-028a 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-028b 247a0000 nrtn blank 
-028c 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-028d 247a0000 nrtn blank 
-028e 6fe0ccab fetch 1 ,mem_mouse_device_mode_led_count 
-028f 247a0000 nrtn blank 
-0290 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0291 203a0294 branch p_mouse_dpi_led_blink_init ,blank 
-0292 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0293 20600000 rtn 
+028f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0290 c17f8000 rtneq gpio_disable 
+0291 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0292 247a0000 nrtn blank 
+0293 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0294 247a0000 nrtn blank 
+0295 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0296 247a0000 nrtn blank 
+0297 6fe0ccab fetch 1 ,mem_mouse_device_mode_led_count 
+0298 247a0000 nrtn blank 
+0299 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+029a 203a029d branch p_mouse_dpi_led_blink_init ,blank 
+029b 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+029c 20600000 rtn 
 
 p_mouse_dpi_led_blink_init:
-0294 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0295 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-0296 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-0297 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0298 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-0299 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-029a 67e14930 store 2 ,mem_mouse_on_time 
-029b 67e14932 store 2 ,mem_mouse_off_time 
-029c da200000 arg 0 ,rega 
-029d 6848c992 fetcht 1 ,mem_mouse_dpi 
-029e 18408402 increase 2 ,temp 
-029f 18467c03 sub temp ,3 ,null 
-02a0 204102a3 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-02a1 244102a7 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-02a2 202048ff branch mouse_dpi_led_blink_init_end 
+029d 6fe0c927 fetch 1 ,mem_config_sensor_type 
+029e c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+029f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+02a0 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+02a1 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+02a2 67e14930 store 2 ,mem_mouse_on_time 
+02a3 67e14932 store 2 ,mem_mouse_off_time 
+02a4 da200000 arg 0 ,rega 
+02a5 6848c992 fetcht 1 ,mem_mouse_dpi 
+02a6 18408402 increase 2 ,temp 
+02a7 18467c03 sub temp ,3 ,null 
+02a8 204102ab call p_mouse_dpi_led_blink_init_level_4 ,positive 
+02a9 244102af ncall p_mouse_dpi_led_blink_count_clean ,positive 
+02aa 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-02a3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02a4 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-02a5 18408401 increase 1 ,temp 
-02a6 20600000 rtn 
+02ab 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02ac c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+02ad 18408401 increase 1 ,temp 
+02ae 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-02a7 184085fd increase -3 ,temp 
-02a8 20600000 rtn 
+02af 184085fd increase -3 ,temp 
+02b0 20600000 rtn 
 
 p_mouse_dpi_process:
-02a9 20404072 call mouse_dpi_ghost_check 
-02aa 20740000 rtn user 
-02ab 6fe0c992 fetch 1 ,mem_mouse_dpi 
-02ac 1fe20400 copy pdata ,temp 
-02ad 18427e00 copy temp ,pdata 
-02ae 1fe0fe01 increase 1 ,pdata 
-02af 1fe17e03 and pdata ,0x03 ,pdata 
+02b1 20404072 call mouse_dpi_ghost_check 
+02b2 20740000 rtn user 
+02b3 6fe0c992 fetch 1 ,mem_mouse_dpi 
+02b4 1fe20400 copy pdata ,temp 
+02b5 18427e00 copy temp ,pdata 
+02b6 1fe0fe01 increase 1 ,pdata 
+02b7 1fe20400 copy pdata ,temp 
+02b8 6fe0c927 fetch 1 ,mem_config_sensor_type 
+02b9 c00602bf beq sg8670 ,p_mouse_five_dpi_store 
+02ba 18427e00 copy temp ,pdata 
+02bb 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-02b0 67e0c992 store 1 ,mem_mouse_dpi 
-02b1 20404095 call mouse_seting_dpi 
-02b2 20204643 branch mouse_store_eerpom_dpi 
+02bc 67e0c992 store 1 ,mem_mouse_dpi 
+02bd 20404095 call mouse_seting_dpi 
+02be 20204643 branch mouse_store_eerpom_dpi 
+
+p_mouse_five_dpi_store:
+02bf 18467c04 sub temp ,mouse_dpi_level5 ,null 
+02c0 242102c3 nbranch p_mouse_dpi_clr ,positive 
+02c1 18427e00 copy temp ,pdata 
+02c2 202002bc branch p_mouse_dpi_store 
+
+p_mouse_dpi_clr:
+02c3 58000000 setarg 0 
+02c4 202002bc branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_1:
-02b3 58000002 setarg 2 
-02b4 202002b0 branch p_mouse_dpi_store 
+02c5 58000002 setarg 2 
+02c6 202002bc branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_2:
-02b5 58000000 setarg 0 
-02b6 202002b0 branch p_mouse_dpi_store 
+02c7 58000000 setarg 0 
+02c8 202002bc branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_3:
-02b7 58000001 setarg 1 
-02b8 202002b0 branch p_mouse_dpi_store 
+02c9 58000001 setarg 1 
+02ca 202002bc branch p_mouse_dpi_store 
 
 p_mouse_dpi_level_4:
-02b9 58000003 setarg 3 
-02ba 202002b0 branch p_mouse_dpi_store 
+02cb 58000003 setarg 3 
+02cc 202002bc branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-02bb 18427e00 copy temp ,pdata 
-02bc c1008000 rtneq mouse_dpi_level2 
-02bd c00002b7 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
-02be c00102b9 beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
-02bf c00182b5 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
-02c0 20600000 rtn 
+02cd 18427e00 copy temp ,pdata 
+02ce c1008000 rtneq mouse_dpi_level2 
+02cf c00002c9 beq mouse_dpi_level1 ,p_mouse_dpi_level_3 
+02d0 c00102cb beq mouse_dpi_level3 ,p_mouse_dpi_level_4 
+02d1 c00182c7 beq mouse_dpi_level4 ,p_mouse_dpi_level_2 
+02d2 20600000 rtn 
 
 p_mouse_dpi_decrease_level_4:
-02c1 18427e00 copy temp ,pdata 
-02c2 c1010000 rtneq mouse_dpi_level3 
-02c3 c00002b9 beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
-02c4 c00082b5 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
-02c5 c00182b3 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
-02c6 20600000 rtn 
+02d3 18427e00 copy temp ,pdata 
+02d4 c1010000 rtneq mouse_dpi_level3 
+02d5 c00002cb beq mouse_dpi_level1 ,p_mouse_dpi_level_4 
+02d6 c00082c7 beq mouse_dpi_level2 ,p_mouse_dpi_level_2 
+02d7 c00182c5 beq mouse_dpi_level4 ,p_mouse_dpi_level_1 
+02d8 20600000 rtn 
 
 p_mouse_g24_report_setting:
 
 p_mouse_g24_report_250hz:
-02c7 5800bb80 setarg 0xbb80 
-02c8 67e1cc4e store 3 ,mem_24g_tsniff 
-02c9 58006c10 setarg 0x6c10 
-02ca 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-02cb 67e1cc64 store 3 ,mem_24g_short_sleep_set_init 
-02cc 7048c60f jam 15 ,mem_24g_fast_hop_count 
-02cd 20600000 rtn 
+02d9 5800bb80 setarg 0xbb80 
+02da 67e1cc4e store 3 ,mem_24g_tsniff 
+02db 58006c10 setarg 0x6c10 
+02dc 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+02dd 67e1cc64 store 3 ,mem_24g_short_sleep_set_init 
+02de 7048c60f jam 15 ,mem_24g_fast_hop_count 
+02df 20600000 rtn 
 
 p_mouse_24g_package_data:
-02ce c6930000 rtnmark0 mark_24g 
-02cf 20403f70 call mouse_motion 
-02d0 24740000 nrtn user 
-02d1 6fe0cc6a fetch 1 ,mem_long_sleep_flag 
-02d2 704c6a00 jam 0 ,mem_long_sleep_flag 
-02d3 245a010c ncall p_mouse_short_sleep_clear_wake ,blank 
-02d4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02d5 c30a82d8 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-02d6 6fe0cb8b fetch 1 ,mem_customer_key 
-02d7 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+02e0 c6930000 rtnmark0 mark_24g 
+02e1 20403f70 call mouse_motion 
+02e2 24740000 nrtn user 
+02e3 6fe0cc6a fetch 1 ,mem_long_sleep_flag 
+02e4 704c6a00 jam 0 ,mem_long_sleep_flag 
+02e5 245a0111 ncall p_mouse_short_sleep_clear_wake ,blank 
+02e6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02e7 c30a82ea bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+02e8 6fe0cb8b fetch 1 ,mem_customer_key 
+02e9 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-02d8 204042cb call mouse_data_xy_release 
-02d9 6fe0c836 fetch 1 ,mem_24g_data_type 
-02da c28082e7 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-02db 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
-02dc 6fe0c8d0 fetch 1 ,mem_mouse_key 
-02dd 9841fe00 ior temp ,pdata 
-02de 67e0c8d0 store 1 ,mem_mouse_key 
-02df 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
-02e0 6fe0c8d5 fetch 1 ,mem_mouse_z 
-02e1 9840fe00 iadd temp ,pdata 
-02e2 67e0c8d5 store 1 ,mem_mouse_z 
-02e3 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
-02e4 6fe0c8d6 fetch 1 ,mem_mouse_tz 
-02e5 9840fe00 iadd temp ,pdata 
-02e6 67e0c8d6 store 1 ,mem_mouse_tz 
+02ea 204042cb call mouse_data_xy_release 
+02eb 6fe0c836 fetch 1 ,mem_24g_data_type 
+02ec c28082f9 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+02ed 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+02ee 6fe0c8d0 fetch 1 ,mem_mouse_key 
+02ef 9841fe00 ior temp ,pdata 
+02f0 67e0c8d0 store 1 ,mem_mouse_key 
+02f1 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+02f2 6fe0c8d5 fetch 1 ,mem_mouse_z 
+02f3 9840fe00 iadd temp ,pdata 
+02f4 67e0c8d5 store 1 ,mem_mouse_z 
+02f5 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+02f6 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+02f7 9840fe00 iadd temp ,pdata 
+02f8 67e0c8d6 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-02e7 70483601 jam type_ms ,mem_24g_data_type 
-02e8 da200007 arg 7 ,rega 
-02e9 da4048d0 arg mem_mouse_key ,regb 
-02ea 6fe148d5 fetch 2 ,mem_mouse_z 
-02eb 207a0000 rtn blank 
-02ec 202026e1 branch g24_transmit_by_interrupt_enable 
+02f9 70483601 jam type_ms ,mem_24g_data_type 
+02fa da200007 arg 7 ,rega 
+02fb da4048d0 arg mem_mouse_key ,regb 
+02fc 6fe148d5 fetch 2 ,mem_mouse_z 
+02fd 207a0000 rtn blank 
+02fe 202026e1 branch g24_transmit_by_interrupt_enable 
 
 p_mouse_24g_search_dongle:
-02ed 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02ee c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
-02ef 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
-02f0 207a0000 rtn blank 
-02f1 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-02f2 207a0000 rtn blank 
-02f3 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
-02f4 1fe0fe01 increase 1 ,pdata 
-02f5 1fe17e03 and_into 3 ,pdata 
-02f6 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
-02f7 247a0000 nrtn blank 
-02f8 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
+02ff 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0300 c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
+0301 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
+0302 207a0000 rtn blank 
+0303 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0304 207a0000 rtn blank 
+0305 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
+0306 1fe0fe01 increase 1 ,pdata 
+0307 1fe17e03 and_into 3 ,pdata 
+0308 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
+0309 247a0000 nrtn blank 
+030a 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
 
 p_mouse_24g_search_dongle_loop:
-02f9 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
-02fa 1fe0fe01 increase 1 ,pdata 
-02fb 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
-02fc 1fe67c08 sub pdata ,g24_ch_number ,null 
-02fd 24210303 nbranch p_mouse_24g_search_dongle_loop_end ,positive 
-02fe 2040259a call g24_reconn_data_prep 
-02ff 20400429 call p_g24_transmit_receive_ack 
-0300 242c0309 nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
-0301 24378309 nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
-0302 204048b5 call mouse_24g_search_dongle_success 
+030b 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
+030c 1fe0fe01 increase 1 ,pdata 
+030d 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
+030e 1fe67c08 sub pdata ,g24_ch_number ,null 
+030f 24210315 nbranch p_mouse_24g_search_dongle_loop_end ,positive 
+0310 2040259a call g24_reconn_data_prep 
+0311 20400443 call p_g24_transmit_receive_ack 
+0312 242c031b nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
+0313 2437831b nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
+0314 204048b5 call mouse_24g_search_dongle_success 
 
 p_mouse_24g_search_dongle_loop_end:
-0303 20402597 call g24_txbuf_clear 
-0304 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
-0305 1fe0fe01 increase 1 ,pdata 
-0306 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
-0307 c008030b beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
-0308 20600000 rtn 
+0315 20402597 call g24_txbuf_clear 
+0316 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
+0317 1fe0fe01 increase 1 ,pdata 
+0318 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
+0319 c008031d beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
+031a 20600000 rtn 
 
 p_mouse_24g_search_dongle_loop_retry:
-0309 204022cb call g24_ch 
-030a 202002f9 branch p_mouse_24g_search_dongle_loop 
+031b 204022cb call g24_ch 
+031c 2020030b branch p_mouse_24g_search_dongle_loop 
 
 p_mouse_24g_search_dongle_check:
-030b 704ba300 jam 0 ,mem_mouse_search_dongle_count 
-030c 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
-030d c3800000 rtnbit1 g24_disconn_state 
-030e 79207e00 set1 g24_disconn_state ,pdata 
-030f 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
-0310 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
-0311 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0312 20200213 branch p_mouse_sensor_powerdown 
+031d 704ba300 jam 0 ,mem_mouse_search_dongle_count 
+031e 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
+031f c3800000 rtnbit1 g24_disconn_state 
+0320 79207e00 set1 g24_disconn_state ,pdata 
+0321 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
+0322 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+0323 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+0324 2020423c branch mouse_sensor_powerdown 
 
 p_mouse_init_sunt:
-0313 20403f65 call mouse_sensor_spi_init 
-0314 20758000 rtn wake 
+0325 20403f65 call mouse_sensor_spi_init 
+0326 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-0315 20404236 call mouse_sensor_poweron 
+0327 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-0316 204041b5 call mouse_read_sensor_id 
-0317 c018031d beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0318 c018c217 beq p3065_id1 ,mouse_init_p3065 
-0319 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-031a 204041b2 call mouse_twspi_reset 
-031b 20001af4 nop 6900 
-031c 20200316 branch p_mouse_init_sensor 
+0328 204041b5 call mouse_read_sensor_id 
+0329 c018032f beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+032a c018c217 beq p3065_id1 ,mouse_init_p3065 
+032b c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+032c 204041b2 call mouse_twspi_reset 
+032d 20001af4 nop 6900 
+032e 20200328 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-031d 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-031e c02d0320 beq p_mx8650 ,p_mouse_mx8650_init_param 
-031f 202041be branch mouse_init_p32xx_id2_judge + 2 
+032f 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+0330 c02d0332 beq p_mx8650 ,p_mouse_86xx_check 
+0331 202041be branch mouse_init_p32xx_id2_judge + 2 
+
+p_mouse_86xx_check:
+0332 5800007a setarg 0x7a 
+0333 20405b0d call twspi_read 
+0334 c0610336 beq p8670 ,p_mouse_sg8670_parm_init 
+0335 2020033a branch p_mouse_mx8650_init_param 
+
+p_mouse_sg8670_parm_init:
+0336 7049270c jam sg8670 ,mem_config_sensor_type 
+0337 da604ccb arg mem_sensor_sg8670_init ,regc 
+0338 2040422b call mouse_sensor_wr_seq 
+0339 20200280 branch p_mouse_seting_sensor_type 
 
 p_mouse_mx8650_init_param:
-0320 70492705 jam mx8650 ,mem_config_sensor_type 
-0321 20404232 call mouse_sensor_reset 
-0322 20407d12 call delay_10ms 
-0323 da604cad arg mem_sensor_8650_init_new ,regc 
-0324 202041c9 branch mouse_mx8650_init_param + 4 
+033a 70492705 jam mx8650 ,mem_config_sensor_type 
+033b 20404232 call mouse_sensor_reset 
+033c 20407d12 call delay_10ms 
+033d da604cad arg mem_sensor_8650_init_new ,regc 
+033e 202041c9 branch mouse_mx8650_init_param + 4 
 
 p_soft_reset:
-0325 20800000 clear_stack 
-0326 2455834e ncall p_set_mem_xtal_cache ,wake 
-0327 204030f3 call app_param_init 
-0328 24558364 ncall p_led_num_check ,wake 
-0329 58004c6f setarg mem_mouse_rssi_signal_buf_patch 
-032a 67e14899 store 2 ,mem_rssi_signal_buf_ptr 
-032b 20403bfd call mouse_xtal_init 
-032c 2040124a call initialize_radio 
-032d 70804204 jam clksel_xtal ,core_clksel 
-032e 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-032f c00c0331 beq xtal_24m ,p_soft_reset_next 
-0330 70804205 jam clksel_dpll ,core_clksel 
+033f 20800000 clear_stack 
+0340 24558368 ncall p_set_mem_xtal_cache ,wake 
+0341 204030f3 call app_param_init 
+0342 2455837e ncall p_led_num_check ,wake 
+0343 58004c6f setarg mem_mouse_rssi_signal_buf_patch 
+0344 67e14899 store 2 ,mem_rssi_signal_buf_ptr 
+0345 20403bfd call mouse_xtal_init 
+0346 2040124a call initialize_radio 
+0347 70804204 jam clksel_xtal ,core_clksel 
+0348 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+0349 c00c034b beq xtal_24m ,p_soft_reset_next 
+034a 70804205 jam clksel_dpll ,core_clksel 
 
 p_soft_reset_next:
-0331 6fe0cc8f fetch 1 ,mem_xtal_cache 
-0332 67e0c17b store 1 ,mem_lpm_config + 1 
-0333 58000f0f setarg 0xf0f 
-0334 d8a00fff arg 0xfff ,contw 
-0335 98a10a00 iand contw ,contw 
-0336 6fe0c17a fetch 1 ,mem_lpm_config 
-0337 1fe17ef0 and_into 0xf0 ,pdata 
-0338 1fed7e00 lshift8 pdata ,pdata 
-0339 98a1fe00 ior contw ,pdata 
-033a 793ffe02 set0 2 ,pdata 
-033b 67f1004c store 2 ,core_lpm_reg 
-033c efe10006 ifetch 2 ,contr 
-033d e7e10005 istore 2 ,contw 
-033e 58000001 setarg lpmreg_sel_ctrl 
-033f 37d98200 until null ,lpo_edge 
-0340 67f08005 store 1 ,core_lpm_wr 
-0341 70417b08 jam 0x08 ,mem_lpm_config + 1 
-0342 20200805 branch soft_reset + 4 
+034b 6fe0cc8f fetch 1 ,mem_xtal_cache 
+034c 67e0c17b store 1 ,mem_lpm_config + 1 
+034d 58000f0f setarg 0xf0f 
+034e d8a00fff arg 0xfff ,contw 
+034f 98a10a00 iand contw ,contw 
+0350 6fe0c17a fetch 1 ,mem_lpm_config 
+0351 1fe17ef0 and_into 0xf0 ,pdata 
+0352 1fed7e00 lshift8 pdata ,pdata 
+0353 98a1fe00 ior contw ,pdata 
+0354 793ffe02 set0 2 ,pdata 
+0355 67f1004c store 2 ,core_lpm_reg 
+0356 efe10006 ifetch 2 ,contr 
+0357 e7e10005 istore 2 ,contw 
+0358 58000001 setarg lpmreg_sel_ctrl 
+0359 37d98200 until null ,lpo_edge 
+035a 67f08005 store 1 ,core_lpm_wr 
+035b 70417b08 jam 0x08 ,mem_lpm_config + 1 
+035c 20200805 branch soft_reset + 4 
 
 p_enable_rc_clock:
-0343 6ff20138 fetch 4 ,core_lpm_ctrl 
-0344 79207e02 set1 2 ,pdata 
-0345 67f2004c store 4 ,core_lpm_reg 
-0346 58000001 setarg lpmreg_sel_ctrl 
-0347 37d98200 until null ,lpo_edge 
-0348 67f08005 store 1 ,core_lpm_wr 
-0349 37d98200 until null ,lpo_edge 
-034a 37d98200 until null ,lpo_edge 
-034b 37d98200 until null ,lpo_edge 
-034c 20002710 nop 10000 
-034d 20600000 rtn 
+035d 6ff20138 fetch 4 ,core_lpm_ctrl 
+035e 79207e02 set1 2 ,pdata 
+035f 67f2004c store 4 ,core_lpm_reg 
+0360 58000001 setarg lpmreg_sel_ctrl 
+0361 37d98200 until null ,lpo_edge 
+0362 67f08005 store 1 ,core_lpm_wr 
+0363 37d98200 until null ,lpo_edge 
+0364 37d98200 until null ,lpo_edge 
+0365 37d98200 until null ,lpo_edge 
+0366 20002710 nop 10000 
+0367 20600000 rtn 
 
 p_set_mem_xtal_cache:
-034e 6fe0c17b fetch 1 ,mem_lpm_config + 1 
-034f 67e0cc8f store 1 ,mem_xtal_cache 
-0350 20600000 rtn 
+0368 6fe0c17b fetch 1 ,mem_lpm_config + 1 
+0369 67e0cc8f store 1 ,mem_xtal_cache 
+036a 20600000 rtn 
 
 p_main_loop:
-0351 2040706c call sp_calc_sequence 
-0352 20407597 call sp_calc_sequence_256 
-0353 20406ea7 call sp_calc_sequence_256_check 
-0354 20401b92 call le_advertising_dispatch 
-0355 2040083a call idle_dispatch 
-0356 20400358 call p_app_process_idle 
-0357 2020081a branch main_loop + 7 
+036b 2040706c call sp_calc_sequence 
+036c 20407597 call sp_calc_sequence_256 
+036d 20406ea7 call sp_calc_sequence_256_check 
+036e 20401b92 call le_advertising_dispatch 
+036f 2040083a call idle_dispatch 
+0370 20400372 call p_app_process_idle 
+0371 2020081a branch main_loop + 7 
 
 p_app_process_idle:
-0358 2040035a call p_ui_dispatch 
-0359 20203109 branch app_process_idle + 2 
+0372 20400374 call p_ui_dispatch 
+0373 20203109 branch app_process_idle + 2 
 
 p_ui_dispatch:
-035a 2040035c call p_ui_led_dispatch 
-035b 20207850 branch ui_timer_check 
+0374 20400376 call p_ui_led_dispatch 
+0375 20207850 branch ui_timer_check 
 
 p_ui_led_dispatch:
-035c 6fe0c48c fetch 1 ,mem_ui_led_struct_num 
-035d 207a0000 rtn blank 
-035e 6fe1448d fetch 2 ,mem_ui_led_struct_ptr 
-035f 1fe22400 copy pdata ,regb 
-0360 1a40a402 add regb ,led_offset_led_gpio ,regb 
-0361 efe08012 ifetch 1 ,regb 
-0362 c17f8000 rtneq gpio_disable 
-0363 20207813 branch ui_led_dispatch + 2 
+0376 6fe0c48c fetch 1 ,mem_ui_led_struct_num 
+0377 207a0000 rtn blank 
+0378 6fe1448d fetch 2 ,mem_ui_led_struct_ptr 
+0379 1fe22400 copy pdata ,regb 
+037a 1a40a402 add regb ,led_offset_led_gpio ,regb 
+037b efe08012 ifetch 1 ,regb 
+037c c17f8000 rtneq gpio_disable 
+037d 20207813 branch ui_led_dispatch + 2 
 
 p_led_num_check:
-0364 6fe0cbaf fetch 1 ,mem_mouse_flag + 4 
-0365 247a0000 nrtn blank 
-0366 70448c00 jam 0 ,mem_ui_led_struct_num 
-0367 20600000 rtn 
+037e 6fe0cbaf fetch 1 ,mem_mouse_flag + 4 
+037f 247a0000 nrtn blank 
+0380 70448c00 jam 0 ,mem_ui_led_struct_num 
+0381 20600000 rtn 
 
 p_mouse_ready_reconnection_by_button:
-0368 6fe0cbb4 fetch 1 ,mem_device_number 
-0369 c1008000 rtneq 1 
-036a 204046c2 call mouse_select_device_number 
-036b 6048c938 storet 1 ,mem_device_flag 
+0382 6fe0cbb4 fetch 1 ,mem_device_number 
+0383 c1008000 rtneq 1 
+0384 204046c2 call mouse_select_device_number 
+0385 6048c938 storet 1 ,mem_device_flag 
 
 p_mouse_store_device_number_before_reset:
-036c 7041ca00 jam 0 ,mem_link_key_exists 
-036d 204046da call mouse_select_device_enable 
-036e 20400370 call p_mouse_stop_bluetooth_mode 
-036f 202046bd branch mouse_store_device_number_before_reset + 3 
+0386 7041ca00 jam 0 ,mem_link_key_exists 
+0387 204046da call mouse_select_device_enable 
+0388 2040038a call p_mouse_stop_bluetooth_mode 
+0389 202046bd branch mouse_store_device_number_before_reset + 3 
 
 p_mouse_stop_bluetooth_mode:
-0370 6fe1478c fetch 2 ,mem_ui_state_map 
-0371 c3838000 rtnbit1 ui_state_bt_reconnect 
-0372 20204318 branch mouse_stop_bluetooth_mode + 2 
+038a 6fe1478c fetch 2 ,mem_ui_state_map 
+038b c3838000 rtnbit1 ui_state_bt_reconnect 
+038c 20204318 branch mouse_stop_bluetooth_mode + 2 
 
 p_lpm_short_sleep:
-0373 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-0374 c0040377 beq xtal_16m ,p_lpm_short_sleep_skip_pll_set 
-0375 58000000 setarg 0 
-0376 67f18a00 store 3 ,core_clkpll_ctrl0 
+038d 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+038e c0040391 beq xtal_16m ,p_lpm_short_sleep_skip_pll_set 
+038f 58000000 setarg 0 
+0390 67f18a00 store 3 ,core_clkpll_ctrl0 
 
 p_lpm_short_sleep_skip_pll_set:
-0377 704c63fa jam 250 ,mem_tx_time_offset 
-0378 204012cf call xtal_fast_wake 
-0379 6fe24164 fetch 4 ,mem_sleep_counter_all 
-037a 9840fe00 iadd temp ,pdata 
-037b 67e24164 store 4 ,mem_sleep_counter_all 
-037c 18027e00 deposit mark 
-037d 67e4419d store 8 ,mem_saved_mark 
-037e d8c08070 arg core_gpio_conf ,contr 
-037f d8a04186 arg mem_saved_gpio ,contw 
-0380 20407d01 call memcpy20 
-0381 6ff08086 fetch 1 ,core_spid_ctrl 
-0382 67e0c1a5 store 1 ,mem_saved_spidctrl 
-0383 2040143f call lpm_ctrl3_cfg_dig_vsel 
-0384 6ff08042 fetch 1 ,core_clksel 
-0385 1fe1fe14 or_into 0x14 ,pdata 
-0386 67f08042 store 1 ,core_clksel 
-0387 2020149e branch lpm_sleep + 7 
+0391 704c63fa jam 250 ,mem_tx_time_offset 
+0392 204012cf call xtal_fast_wake 
+0393 6fe24164 fetch 4 ,mem_sleep_counter_all 
+0394 9840fe00 iadd temp ,pdata 
+0395 67e24164 store 4 ,mem_sleep_counter_all 
+0396 18027e00 deposit mark 
+0397 67e4419d store 8 ,mem_saved_mark 
+0398 d8c08070 arg core_gpio_conf ,contr 
+0399 d8a04186 arg mem_saved_gpio ,contw 
+039a 20407d01 call memcpy20 
+039b 6ff08086 fetch 1 ,core_spid_ctrl 
+039c 67e0c1a5 store 1 ,mem_saved_spidctrl 
+039d 2040143f call lpm_ctrl3_cfg_dig_vsel 
+039e 6ff08042 fetch 1 ,core_clksel 
+039f 1fe1fe14 or_into 0x14 ,pdata 
+03a0 67f08042 store 1 ,core_clksel 
+03a1 2020149e branch lpm_sleep + 7 
 
 p_initialize_radio_cont:
-0388 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0389 2040126a call initialize_syn_afc_cfg1 
-038a 20401271 call initialize_rf_ldo_cfg1 
-038b 20401277 call initialize_rc_cal 
-038c 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-038d 708a0305 jam 5 ,core_clkpll_cfg0 
-038e 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-038f 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0390 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0391 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0392 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-0393 70892140 jam 0x40 ,core_rx_ctrl1 
-0394 2020125d branch initialize_radio_cont + 8 
+03a2 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+03a3 2040126a call initialize_syn_afc_cfg1 
+03a4 20401271 call initialize_rf_ldo_cfg1 
+03a5 20401277 call initialize_rc_cal 
+03a6 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+03a7 708a0305 jam 5 ,core_clkpll_cfg0 
+03a8 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+03a9 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+03aa 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+03ab 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+03ac 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+03ad 70892140 jam 0x40 ,core_rx_ctrl1 
+03ae 2020125d branch initialize_radio_cont + 8 
 
 p_shutdown_radio:
-0395 6fe0c1ea fetch 1 ,mem_gain_fix 
-0396 67e08964 store 1 ,mem_temp 
-0397 20401150 call shutdown_radio + 1 
-0398 708a0a00 jam 0 ,core_rf_ldo_en0 
-0399 6fe08964 fetch 1 ,mem_temp 
-039a 67e0c1ea store 1 ,mem_gain_fix 
-039b 20600000 rtn 
+03af 6fe0c1ea fetch 1 ,mem_gain_fix 
+03b0 67e08964 store 1 ,mem_temp 
+03b1 20401150 call shutdown_radio + 1 
+03b2 708a0a00 jam 0 ,core_rf_ldo_en0 
+03b3 6fe08964 fetch 1 ,mem_temp 
+03b4 67e0c1ea store 1 ,mem_gain_fix 
+03b5 20600000 rtn 
 
 p_set_sync_on:
-039c 70890005 jam 0x5 ,modem_en 
-039d 20000002 nop 2 
-039e 70890000 jam 0x0 ,modem_en 
-039f 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-03a0 c00c1168 beq xtal_24m ,set_sync_on_24m 
+03b6 70890005 jam 0x5 ,modem_en 
+03b7 20000002 nop 2 
+03b8 70890000 jam 0x0 ,modem_en 
+03b9 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+03ba c00c1168 beq xtal_24m ,set_sync_on_24m 
 
 p_set_sync_on_16m:
-03a1 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-03a2 2020117d branch set_sync_on_16m 
+03bb 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+03bc 2020117d branch set_sync_on_16m 
 
 p_txon_next:
-03a3 6fe0c1e8 fetch 1 ,mem_tx_power 
-03a4 c04a1244 beq tx_power_f20db ,set_tx_power_f20db 
-03a5 c04f1247 beq tx_power_f30db ,set_tx_power_f30db 
-03a6 2020123b branch set_tx_power_10db 
+03bd 6fe0c1e8 fetch 1 ,mem_tx_power 
+03be c04a1244 beq tx_power_f20db ,set_tx_power_f20db 
+03bf c04f1247 beq tx_power_f30db ,set_tx_power_f30db 
+03c0 2020123b branch set_tx_power_10db 
 
 p_adc_init_data:
-03a7 da20099e arg mem_temp_block2 ,rega 
-03a8 d840000c arg 12 ,temp 
-03a9 58000030 setarg efuse_offset_adc_param 
-03aa 20405e63 call efuse_read_data 
-03ab 202060bf branch adc_init_data + 6 
+03c1 da20099e arg mem_temp_block2 ,rega 
+03c2 d840000c arg 12 ,temp 
+03c3 58000030 setarg efuse_offset_adc_param 
+03c4 20405e63 call efuse_read_data 
+03c5 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-03ac 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-03ad 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-03ae 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-03af 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-03b0 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-03b1 79207e07 set1 7 ,pdata 
-03b2 67f08a09 store 1 ,core_clkpll_cfg6 
-03b3 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-03b4 2000003c nop 60 
-03b5 708a1600 jam 0 ,core_syn_en 
-03b6 708a1706 jam 6 ,core_rx_en0 
-03b7 2040611a call read_adc_mode 
-03b8 67f08a97 store 1 ,core_gpadc_ctrl 
-03b9 7080dc03 jam 0x03 ,core_sum_ctrl 
-03ba 2000003c nop 60 
-03bb 6ff08053 fetch 1 ,core_sum_en 
-03bc 79207e07 set1 7 ,pdata 
-03bd 67f08053 store 1 ,core_sum_en 
-03be 200003e8 nop 1000 
-03bf 6ff10150 fetch 2 ,core_adc_sum 
-03c0 67e144a2 store 2 ,mem_adc_current_value 
-03c1 6ff08053 fetch 1 ,core_sum_en 
-03c2 793ffe07 set0 7 ,pdata 
-03c3 67f08053 store 1 ,core_sum_en 
-03c4 708a9700 jam 0 ,core_gpadc_ctrl 
-03c5 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-03c6 20600000 rtn 
+03c6 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+03c7 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+03c8 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+03c9 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+03ca 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+03cb 79207e07 set1 7 ,pdata 
+03cc 67f08a09 store 1 ,core_clkpll_cfg6 
+03cd 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+03ce 2000003c nop 60 
+03cf 708a1600 jam 0 ,core_syn_en 
+03d0 708a1706 jam 6 ,core_rx_en0 
+03d1 2040611a call read_adc_mode 
+03d2 67f08a97 store 1 ,core_gpadc_ctrl 
+03d3 7080dc03 jam 0x03 ,core_sum_ctrl 
+03d4 2000003c nop 60 
+03d5 6ff08053 fetch 1 ,core_sum_en 
+03d6 79207e07 set1 7 ,pdata 
+03d7 67f08053 store 1 ,core_sum_en 
+03d8 200003e8 nop 1000 
+03d9 6ff10150 fetch 2 ,core_adc_sum 
+03da 67e144a2 store 2 ,mem_adc_current_value 
+03db 6ff08053 fetch 1 ,core_sum_en 
+03dc 793ffe07 set0 7 ,pdata 
+03dd 67f08053 store 1 ,core_sum_en 
+03de 708a9700 jam 0 ,core_gpadc_ctrl 
+03df 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+03e0 20600000 rtn 
 
 p_ui_timer_check:
-03c7 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-03c8 245a7861 ncall ui_timer_init ,blank 
-03c9 704be200 jam 0 ,mem_power_on_flag 
-03ca 20207851 branch ui_timer_check + 1 
+03e1 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+03e2 245a7861 ncall ui_timer_init ,blank 
+03e3 704be200 jam 0 ,mem_power_on_flag 
+03e4 20207851 branch ui_timer_check + 1 
 
 p_le_enable_phy_by_pdata:
-03cb 18427e00 copy temp ,pdata 
-03cc c28016a5 bbit1 bit_le_1m_phy ,le_enable 
-03cd c28083cf bbit1 bit_le_2m_phy ,p_le_enable_2m 
-03ce 20201690 branch le_enable_phy_by_pdata + 5 
+03e5 18427e00 copy temp ,pdata 
+03e6 c28016a5 bbit1 bit_le_1m_phy ,le_enable 
+03e7 c28083e9 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+03e8 20201690 branch le_enable_phy_by_pdata + 5 
 
 p_le_enable_2m:
-03cf 20401694 call le_enable_2m 
-03d0 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-03d1 20600000 rtn 
+03e9 20401694 call le_enable_2m 
+03ea 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+03eb 20600000 rtn 
 
 p_init_param:
-03d2 70008000 jam 0 ,mem_lmo_tid2 
-03d3 202013b7 branch init_param_next + 1 
+03ec 70008000 jam 0 ,mem_lmo_tid2 
+03ed 202013b7 branch init_param_next + 1 
 
 p_le_slave_match:
-03d4 6fe0c3dd fetch 1 ,mem_le_md_count 
-03d5 1fe0fe01 pincrease 1 
-03d6 67e0c3dd store 1 ,mem_le_md_count 
-03d7 c006165a beq le_md_max_count ,le_slave_cont 
-03d8 2040191b call le_acknowledge 
-03d9 2040196a call le_prepare_tx 
-03da 6fe082bd fetch 1 ,mem_le_tx_phy 
-03db 2040168b call le_enable_phy_by_pdata 
-03dc 20401838 call le_transmit 
-03dd 20201655 branch le_slave_match + 10 
+03ee 6fe0c3dd fetch 1 ,mem_le_md_count 
+03ef 1fe0fe01 pincrease 1 
+03f0 67e0c3dd store 1 ,mem_le_md_count 
+03f1 c006165a beq le_md_max_count ,le_slave_cont 
+03f2 2040191b call le_acknowledge 
+03f3 2040196a call le_prepare_tx 
+03f4 6fe082bd fetch 1 ,mem_le_tx_phy 
+03f5 2040168b call le_enable_phy_by_pdata 
+03f6 20401838 call le_transmit 
+03f7 20201655 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-03de 20400e80 call end_of_packet 
-03df 20201661 branch le_slave_unsync + 1 
+03f8 20400e80 call end_of_packet 
+03f9 20201661 branch le_slave_unsync + 1 
 
 p_g24_transmit:
-03e0 6fe0c865 fetch 1 ,mem_24g_tx_phy 
-03e1 2040168b call le_enable_phy_by_pdata 
-03e2 6fe2483c fetch 4 ,mem_24g_addr 
-03e3 98001200 iforce access 
-03e4 204021d5 call g24_prep 
-03e5 20402243 call g24_set_freq_tx 
-03e6 79202a00 set1 txgfsk ,radio_ctrl 
-03e7 782efc00 enable encode_fec0 
-03e8 78307c00 enable is_tx 
-03e9 7850fc00 disable is_rx 
-03ea 20404cb5 call rf_debug_tx_on_line 
-03eb 785d7c00 disable lr_s2en 
-03ec c517a273 bmark1 mark_ble_lr ,g24_transmit_lr 
-03ed c51683f4 bmark1 mark_ble_2m ,p_g24_transmit_2m 
-03ee 19317e00 rshift16 access ,pdata 
-03ef 1fecfe00 rshift8 pdata ,pdata 
-03f0 1ff1fe00 rshift4 pdata ,pdata 
-03f1 08008628 inject mod ,40 
+03fa 6fe0c865 fetch 1 ,mem_24g_tx_phy 
+03fb 2040168b call le_enable_phy_by_pdata 
+03fc 6fe2483c fetch 4 ,mem_24g_addr 
+03fd 98001200 iforce access 
+03fe 204021d5 call g24_prep 
+03ff 20402243 call g24_set_freq_tx 
+0400 79202a00 set1 txgfsk ,radio_ctrl 
+0401 782efc00 enable encode_fec0 
+0402 78307c00 enable is_tx 
+0403 7850fc00 disable is_rx 
+0404 20404cb5 call rf_debug_tx_on_line 
+0405 785d7c00 disable lr_s2en 
+0406 c517a273 bmark1 mark_ble_lr ,g24_transmit_lr 
+0407 c516840e bmark1 mark_ble_2m ,p_g24_transmit_2m 
+0408 19317e00 rshift16 access ,pdata 
+0409 1fecfe00 rshift8 pdata ,pdata 
+040a 1ff1fe00 rshift4 pdata ,pdata 
+040b 08008628 inject mod ,40 
 
 p_g24_transmit_packet:
-03f2 c517a25c bmark1 mark_ble_lr ,g24_transmit_nolr 
-03f3 2020225c branch g24_transmit_nolr 
+040c c517a25c bmark1 mark_ble_lr ,g24_transmit_nolr 
+040d 2020225c branch g24_transmit_nolr 
 
 p_g24_transmit_2m:
-03f4 6fe0c1f0 fetch 1 ,mem_system_clk 
-03f5 1fe37200 rshift pdata ,loopcnt 
+040e 6fe0c1f0 fetch 1 ,mem_system_clk 
+040f 1fe37200 rshift pdata ,loopcnt 
 
 p_g24_transmit_2m_dealy:
-03f6 20000002 nop 2 
-03f7 c20003f6 loop p_g24_transmit_2m_dealy 
-03f8 19317e00 rshift16 access ,pdata 
-03f9 1fecfe00 rshift8 pdata ,pdata 
-03fa 1ff18400 rshift4 pdata ,temp 
-03fb 18427e00 copy temp ,pdata 
-03fc 08008608 inject mod ,8 
-03fd 18427e00 copy temp ,pdata 
-03fe 08008628 inject mod ,40 
-03ff 202003f2 branch p_g24_transmit_packet 
+0410 20000002 nop 2 
+0411 c2000410 loop p_g24_transmit_2m_dealy 
+0412 19317e00 rshift16 access ,pdata 
+0413 1fecfe00 rshift8 pdata ,pdata 
+0414 1ff18400 rshift4 pdata ,temp 
+0415 18427e00 copy temp ,pdata 
+0416 08008608 inject mod ,8 
+0417 18427e00 copy temp ,pdata 
+0418 08008628 inject mod ,40 
+0419 2020040c branch p_g24_transmit_packet 
 
 p_g24_receive_packet:
-0400 6fe0c864 fetch 1 ,mem_24g_rx_phy 
-0401 2040168b call le_enable_phy_by_pdata 
-0402 6fe2483c fetch 4 ,mem_24g_addr 
-0403 98001200 iforce access 
-0404 204010b0 call calc_mod_value_scale_le 
-0405 20401161 call set_sync_on 
-0406 6848c83a fetcht 1 ,mem_24g_ch 
-0407 204016c8 call le_rf_rx_enable 
+041a 6fe0c864 fetch 1 ,mem_24g_rx_phy 
+041b 2040168b call le_enable_phy_by_pdata 
+041c 6fe2483c fetch 4 ,mem_24g_addr 
+041d 98001200 iforce access 
+041e 204010b0 call calc_mod_value_scale_le 
+041f 20401161 call set_sync_on 
+0420 6848c83a fetcht 1 ,mem_24g_ch 
+0421 204016c8 call le_rf_rx_enable 
 
 p_g24_receive_rxon:
-0408 204021d5 call g24_prep 
-0409 c597840d bmark0 mark_ble_lr ,p_g24_receive_nolr 
-040a 783cfc00 pulse dewhiten_code_calc 
-040b 2000001e nop 30 
-040c 204021d5 call g24_prep 
+0422 204021d5 call g24_prep 
+0423 c5978427 bmark0 mark_ble_lr ,p_g24_receive_nolr 
+0424 783cfc00 pulse dewhiten_code_calc 
+0425 2000001e nop 30 
+0426 204021d5 call g24_prep 
 
 p_g24_receive_nolr:
-040d 7857fc00 disable user3 
-040e 7826fc00 enable decode_fec0 
-040f 7830fc00 enable is_rx 
-0410 78507c00 disable is_tx 
-0411 78287c00 enable swfine 
-0412 6fe14838 fetch 2 ,mem_24g_rx_window 
-0413 98003600 iforce stop_watch 
-0414 37c18400 correlate null ,timeout 
-0415 242c223d nbranch g24_sync_timeout ,sync 
-0416 20404caf call rf_debug_rx_sync_line 
-0417 c517a1f6 bmark1 mark_ble_lr ,g24_receive_skip_fec1 
-0418 202021f6 branch g24_receive_skip_fec1 
+0427 7857fc00 disable user3 
+0428 7826fc00 enable decode_fec0 
+0429 7830fc00 enable is_rx 
+042a 78507c00 disable is_tx 
+042b 78287c00 enable swfine 
+042c 6fe14838 fetch 2 ,mem_24g_rx_window 
+042d 98003600 iforce stop_watch 
+042e 37c18400 correlate null ,timeout 
+042f 242c223d nbranch g24_sync_timeout ,sync 
+0430 20404caf call rf_debug_rx_sync_line 
+0431 c517a1f6 bmark1 mark_ble_lr ,g24_receive_skip_fec1 
+0432 202021f6 branch g24_receive_skip_fec1 
 
 p_g24_retransmit:
-0419 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
-041a 247a0000 nrtn blank 
-041b 20400273 call p_mouse_select_device_by_pb_button 
-041c 20400268 call p_mouse_select_device_by_dpi_button_once 
-041d 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-041e 247a0000 nrtn blank 
-041f 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-0420 1fe0fe01 increase 1 ,pdata 
-0421 67e148a3 store 2 ,mem_24g_txfail_cnt 
-0422 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-0423 c2822679 bbit1 4 ,g24_tx_attempt_fail 
-0424 20400438 call p_g24_transmit_hop_process 
-0425 6fe14c67 fetch 2 ,mem_retransmit 
-0426 1fe0fe01 increase 1 ,pdata 
-0427 67e14c67 store 2 ,mem_retransmit 
-0428 20200492 branch p_g24_transmit_loop 
+0433 6fe0cac5 fetch 1 ,mem_mouse_need_soft_reset 
+0434 247a0000 nrtn blank 
+0435 2040026b call p_mouse_select_device_by_pb_button 
+0436 20400260 call p_mouse_select_device_by_dpi_button_once 
+0437 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0438 247a0000 nrtn blank 
+0439 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+043a 1fe0fe01 increase 1 ,pdata 
+043b 67e148a3 store 2 ,mem_24g_txfail_cnt 
+043c 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+043d c2822679 bbit1 4 ,g24_tx_attempt_fail 
+043e 20400452 call p_g24_transmit_hop_process 
+043f 6fe14c67 fetch 2 ,mem_retransmit 
+0440 1fe0fe01 increase 1 ,pdata 
+0441 67e14c67 store 2 ,mem_retransmit 
+0442 202004ac branch p_g24_transmit_loop 
 
 p_g24_transmit_receive_ack:
-0429 7857fc00 disable user3 
-042a 20402246 call g24_transmit 
-042b 6fe0c82c fetch 1 ,mem_24g_no_ack 
-042c c000a23f beq no_ack_24g ,g24_end_of_packet 
-042d 18002a00 force 0 ,radio_ctrl 
-042e 6fe2483c fetch 4 ,mem_24g_addr 
-042f 98001200 iforce access 
-0430 204010b0 call calc_mod_value_scale_le 
-0431 68488017 fetcht 1 ,mem_last_freq 
-0432 2040118f call set_freq_rx 
-0433 2000012c nop 300 
-0434 204011a6 call rf_rx_enable 
-0435 20400408 call p_g24_receive_rxon 
-0436 2057a23f call g24_end_of_packet ,user3 
-0437 20600000 rtn 
+0443 7857fc00 disable user3 
+0444 20402246 call g24_transmit 
+0445 6fe0c82c fetch 1 ,mem_24g_no_ack 
+0446 c000a23f beq no_ack_24g ,g24_end_of_packet 
+0447 18002a00 force 0 ,radio_ctrl 
+0448 6fe2483c fetch 4 ,mem_24g_addr 
+0449 98001200 iforce access 
+044a 204010b0 call calc_mod_value_scale_le 
+044b 68488017 fetcht 1 ,mem_last_freq 
+044c 2040118f call set_freq_rx 
+044d 2000012c nop 300 
+044e 204011a6 call rf_rx_enable 
+044f 20400422 call p_g24_receive_rxon 
+0450 2057a23f call g24_end_of_packet ,user3 
+0451 20600000 rtn 
 
 p_g24_transmit_hop_process:
-0438 6848c8a6 fetcht 1 ,mem_24g_retry 
-0439 6fe0c8c6 fetch 1 ,mem_24g_fast_hop_count 
-043a 98467c00 isub temp ,null 
-043b 24210448 nbranch p_g24_tx_fast_hop ,positive 
-043c 18408401 increase 1 ,temp 
-043d 6048c8a6 storet 1 ,mem_24g_retry 
-043e 6fe0c8c6 fetch 1 ,mem_24g_fast_hop_count 
-043f c0078444 beq 15 ,p_g24_transmit_hop_process_4ms 
-0440 6fe0c8a6 fetch 1 ,mem_24g_retry 
-0441 c00a2696 beq 20 ,g24_hop_ch_disable 
-0442 c00f2696 beq 30 ,g24_hop_ch_disable 
-0443 20600000 rtn 
+0452 6848c8a6 fetcht 1 ,mem_24g_retry 
+0453 6fe0c8c6 fetch 1 ,mem_24g_fast_hop_count 
+0454 98467c00 isub temp ,null 
+0455 24210462 nbranch p_g24_tx_fast_hop ,positive 
+0456 18408401 increase 1 ,temp 
+0457 6048c8a6 storet 1 ,mem_24g_retry 
+0458 6fe0c8c6 fetch 1 ,mem_24g_fast_hop_count 
+0459 c007845e beq 15 ,p_g24_transmit_hop_process_4ms 
+045a 6fe0c8a6 fetch 1 ,mem_24g_retry 
+045b c00a2696 beq 20 ,g24_hop_ch_disable 
+045c c00f2696 beq 30 ,g24_hop_ch_disable 
+045d 20600000 rtn 
 
 p_g24_transmit_hop_process_4ms:
-0444 6fe0c8a6 fetch 1 ,mem_24g_retry 
-0445 c0052696 beq 10 ,g24_hop_ch_disable 
-0446 c007a696 beq 15 ,g24_hop_ch_disable 
-0447 20600000 rtn 
+045e 6fe0c8a6 fetch 1 ,mem_24g_retry 
+045f c0052696 beq 10 ,g24_hop_ch_disable 
+0460 c007a696 beq 15 ,g24_hop_ch_disable 
+0461 20600000 rtn 
 
 p_g24_tx_fast_hop:
-0448 202022cb branch g24_ch 
+0462 202022cb branch g24_ch 
 
 p_g24_dispatch:
-0449 c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+0463 c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
 
 p_g24_transmit_dispatch:
-044a c6930000 rtnmark0 mark_24g 
-044b 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-044c 2020261d branch g24_transmit_dispatch + 2 
+0464 c6930000 rtnmark0 mark_24g 
+0465 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+0466 2020261d branch g24_transmit_dispatch + 2 
 
 p_mouse_24g_fast_conn_mode_check:
-044d 6fe24891 fetch 4 ,mem_24g_receiver_addr 
-044e 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
-044f 98467c00 isub temp ,null 
-0450 20228452 branch p_mouse_soft_agc_enable ,zero 
-0451 20200455 branch p_mouse_soft_agc_disable 
+0467 6fe24891 fetch 4 ,mem_24g_receiver_addr 
+0468 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
+0469 98467c00 isub temp ,null 
+046a 2022846c branch p_mouse_soft_agc_enable ,zero 
+046b 2020046f branch p_mouse_soft_agc_disable 
 
 p_mouse_soft_agc_enable:
-0452 7041ea00 jam 0 ,mem_gain_fix 
-0453 7041e89e jam tx_power_f30db ,mem_tx_power 
-0454 20600000 rtn 
+046c 7041ea00 jam 0 ,mem_gain_fix 
+046d 7041e89e jam tx_power_f30db ,mem_tx_power 
+046e 20600000 rtn 
 
 p_mouse_soft_agc_disable:
-0455 7041eaff jam 0xff ,mem_gain_fix 
-0456 20600000 rtn 
+046f 7041eaff jam 0xff ,mem_gain_fix 
+0470 20600000 rtn 
 
 p_g24_transmit_no_interrupt:
-0457 20402631 call g24_txdata_prep 
-0458 243404a6 nbranch p_g24_nodata_transmit ,user 
+0471 20402631 call g24_txdata_prep 
+0472 243404c0 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-0459 2040048f call p_g24_transmit_process 
-045a 2040044d call p_mouse_24g_fast_conn_mode_check 
-045b 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-045c 243a0461 nbranch p_g24_short_sleep ,blank 
-045d 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-045e 67e4485c store 8 ,mem_24g_enter_hibernate 
-045f 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-0460 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+0473 204004a9 call p_g24_transmit_process 
+0474 20400467 call p_mouse_24g_fast_conn_mode_check 
+0475 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0476 243a047b nbranch p_g24_short_sleep ,blank 
+0477 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+0478 67e4485c store 8 ,mem_24g_enter_hibernate 
+0479 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+047a 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-0461 204026bb call g24_lpm_wait 
-0462 24740000 nrtn user 
-0463 6fe0cc69 fetch 1 ,mem_sleep_miss 
-0464 704c6900 jam 0 ,mem_sleep_miss 
-0465 1fe67c00 sub pdata ,0 ,null 
-0466 2422846c nbranch p_g24_short_sleep_last_miss ,zero 
-0467 68494c67 fetcht 2 ,mem_retransmit 
-0468 18467c00 sub temp ,0 ,null 
-0469 20228483 branch p_g24_short_sleep_default ,zero 
-046a 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-046b 203a0483 branch p_g24_short_sleep_default ,blank 
+047b 204026bb call g24_lpm_wait 
+047c 24740000 nrtn user 
+047d 6fe0cc69 fetch 1 ,mem_sleep_miss 
+047e 704c6900 jam 0 ,mem_sleep_miss 
+047f 1fe67c00 sub pdata ,0 ,null 
+0480 24228486 nbranch p_g24_short_sleep_last_miss ,zero 
+0481 68494c67 fetcht 2 ,mem_retransmit 
+0482 18467c00 sub temp ,0 ,null 
+0483 2022849d branch p_g24_short_sleep_default ,zero 
+0484 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+0485 203a049d branch p_g24_short_sleep_default ,blank 
 
 p_g24_short_sleep_last_miss:
-046c 684a4c6b fetcht 4 ,mem_sleep_miss_temp 
-046d 284ffe1f isolate1 31 ,temp 
-046e 2020847e branch p_sub_miss_temp ,true 
-046f 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-0470 9840fe00 iadd temp ,pdata 
+0486 684a4c6b fetcht 4 ,mem_sleep_miss_temp 
+0487 284ffe1f isolate1 31 ,temp 
+0488 20208498 branch p_sub_miss_temp ,true 
+0489 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+048a 9840fe00 iadd temp ,pdata 
 
 p_g24_short_sleep_notify:
-0471 684a4c4e fetcht 4 ,mem_24g_tsniff 
-0472 98460400 isub temp ,temp 
-0473 604a4c6b storet 4 ,mem_sleep_miss_temp 
-0474 24210486 nbranch p_g24_short_sleep_long ,positive 
-0475 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0476 98467e00 isub temp ,pdata 
-0477 2421048d nbranch p_g24_short_sleep_2 ,positive 
-0478 d8400600 arg 0x600 ,temp 
-0479 98467c00 isub temp ,null 
-047a 2421048d nbranch p_g24_short_sleep_2 ,positive 
+048b 684a4c4e fetcht 4 ,mem_24g_tsniff 
+048c 98460400 isub temp ,temp 
+048d 604a4c6b storet 4 ,mem_sleep_miss_temp 
+048e 242104a0 nbranch p_g24_short_sleep_long ,positive 
+048f 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0490 98467e00 isub temp ,pdata 
+0491 242104a7 nbranch p_g24_short_sleep_2 ,positive 
+0492 d8400600 arg 0x600 ,temp 
+0493 98467c00 isub temp ,null 
+0494 242104a7 nbranch p_g24_short_sleep_2 ,positive 
 
 p_g24_short_sleep2:
-047b 20407daa call clk2lpo 
-047c 604a4160 storet 4 ,mem_sleep_counter 
-047d 20200373 branch p_lpm_short_sleep 
+0495 20407daa call clk2lpo 
+0496 604a4160 storet 4 ,mem_sleep_counter 
+0497 2020038d branch p_lpm_short_sleep 
 
 p_sub_miss_temp:
-047e dfffffff arg -1 ,pdata 
-047f 98465e00 isub temp ,regext 
-0480 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-0481 9de67e00 isub regext ,pdata 
-0482 20200471 branch p_g24_short_sleep_notify 
+0498 dfffffff arg -1 ,pdata 
+0499 98465e00 isub temp ,regext 
+049a 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+049b 9de67e00 isub regext ,pdata 
+049c 2020048b branch p_g24_short_sleep_notify 
 
 p_g24_short_sleep_default:
-0483 2040048a call p_g24_miss_temp_clear 
-0484 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0485 2020047b branch p_g24_short_sleep2 
+049d 204004a4 call p_g24_miss_temp_clear 
+049e 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+049f 20200495 branch p_g24_short_sleep2 
 
 p_g24_short_sleep_long:
-0486 18460400 sub temp ,0 ,temp 
-0487 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0488 9840fe00 iadd temp ,pdata 
-0489 2020047b branch p_g24_short_sleep2 
+04a0 18460400 sub temp ,0 ,temp 
+04a1 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+04a2 9840fe00 iadd temp ,pdata 
+04a3 20200495 branch p_g24_short_sleep2 
 
 p_g24_miss_temp_clear:
-048a 58000000 setarg 0 
-048b 67e24c6b store 4 ,mem_sleep_miss_temp 
-048c 20600000 rtn 
+04a4 58000000 setarg 0 
+04a5 67e24c6b store 4 ,mem_sleep_miss_temp 
+04a6 20600000 rtn 
 
 p_g24_short_sleep_2:
-048d 704c6901 jam 1 ,mem_sleep_miss 
-048e 20600000 rtn 
+04a7 704c6901 jam 1 ,mem_sleep_miss 
+04a8 20600000 rtn 
 
 p_g24_transmit_process:
-048f 58000000 setarg 0 
-0490 67e0c8a6 store 1 ,mem_24g_retry 
-0491 67e14c67 store 2 ,mem_retransmit 
+04a9 58000000 setarg 0 
+04aa 67e0c8a6 store 1 ,mem_24g_retry 
+04ab 67e14c67 store 2 ,mem_retransmit 
 
 p_g24_transmit_loop:
-0492 20400429 call p_g24_transmit_receive_ack 
-0493 6fe0c82c fetch 1 ,mem_24g_no_ack 
-0494 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-0495 242c0419 nbranch p_g24_retransmit ,sync 
-0496 24378419 nbranch p_g24_retransmit ,user3 
-0497 204004ce call p_send_time_check 
-0498 20402672 call g24_ackpayload_parse 
-0499 2040049b call p_mouse_wakeup_24g 
-049a 20202651 branch g24_transmit_no_ack 
+04ac 20400443 call p_g24_transmit_receive_ack 
+04ad 6fe0c82c fetch 1 ,mem_24g_no_ack 
+04ae c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+04af 242c0433 nbranch p_g24_retransmit ,sync 
+04b0 24378433 nbranch p_g24_retransmit ,user3 
+04b1 204004e8 call p_send_time_check 
+04b2 20402672 call g24_ackpayload_parse 
+04b3 204004b5 call p_mouse_wakeup_24g 
+04b4 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-049b 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-049c 245a049f ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
-049d 704be100 jam 0 ,mem_sensor_shutdown_flag 
-049e 20600000 rtn 
+04b5 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+04b6 245a04b9 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
+04b7 704be100 jam 0 ,mem_sensor_shutdown_flag 
+04b8 20600000 rtn 
 
 p_mouse_wakeup_24g_from_long_sleep:
-049f 204041aa call mouse_init_sensor_wakeup 
-04a0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-04a1 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+04b9 204041aa call mouse_init_sensor_wakeup 
+04ba 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+04bb c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_set_wakeup:
-04a2 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-04a3 20403f56 call mouse_gpio_config_input_pu 
-04a4 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-04a5 20203f56 branch mouse_gpio_config_input_pu 
+04bc 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+04bd 20403f56 call mouse_gpio_config_input_pu 
+04be 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+04bf 20203f56 branch mouse_gpio_config_input_pu 
 
 p_g24_nodata_transmit:
-04a6 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-04a7 205a04b5 call p_g24_send_abort_packet ,blank 
-04a8 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-04a9 c1008000 rtneq g24_tx_timer_int_enable 
-04aa 2040269f call g24_search_receiver 
+04c0 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+04c1 205a04cf call p_g24_send_abort_packet ,blank 
+04c2 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+04c3 c1008000 rtneq g24_tx_timer_int_enable 
+04c4 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-04ab 204026bb call g24_lpm_wait 
-04ac 24740000 nrtn user 
-04ad 204026c4 call g24_setgpio_lpm_before 
-04ae 704c6900 jam 0 ,mem_sleep_miss 
-04af 704c6a01 jam 1 ,mem_long_sleep_flag 
-04b0 20400515 call p_send_time_long_wake 
-04b1 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-04b2 245a3e33 ncall mouse_setgpio_hibernate ,blank 
-04b3 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
-04b4 202026b8 branch g24_long_sleep + 3 
+04c5 204026bb call g24_lpm_wait 
+04c6 24740000 nrtn user 
+04c7 204026c4 call g24_setgpio_lpm_before 
+04c8 704c6900 jam 0 ,mem_sleep_miss 
+04c9 704c6a01 jam 1 ,mem_long_sleep_flag 
+04ca 2040052f call p_send_time_long_wake 
+04cb 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+04cc 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+04cd 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+04ce 202026b8 branch g24_long_sleep + 3 
 
 p_g24_send_abort_packet:
-04b5 70483601 jam type_ms ,mem_24g_data_type 
-04b6 7048a701 jam 1 ,mem_24g_abort_pac 
-04b7 20402642 call g24_transmit_rf_ctrl_clear 
-04b8 67e0c7c6 store 1 ,mem_24g_txbuf 
-04b9 58000000 setarg 0 
-04ba 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-04bb 6fe248a9 fetch 4 ,mem_24g_device_addr 
-04bc 67e247ce store 4 ,mem_24g_txbuf + 8 
-04bd 7048350c jam 12 ,mem_24g_datalen 
-04be 6fe0c836 fetch 1 ,mem_24g_data_type 
-04bf 79207e03 set1 bit_abort ,pdata 
-04c0 67e0c836 store 1 ,mem_24g_data_type 
-04c1 20402291 call g24_transmit_prep 
-04c2 20200459 branch p_g24_transmit_start 
+04cf 70483601 jam type_ms ,mem_24g_data_type 
+04d0 7048a701 jam 1 ,mem_24g_abort_pac 
+04d1 20402642 call g24_transmit_rf_ctrl_clear 
+04d2 67e0c7c6 store 1 ,mem_24g_txbuf 
+04d3 58000000 setarg 0 
+04d4 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+04d5 6fe248a9 fetch 4 ,mem_24g_device_addr 
+04d6 67e247ce store 4 ,mem_24g_txbuf + 8 
+04d7 7048350c jam 12 ,mem_24g_datalen 
+04d8 6fe0c836 fetch 1 ,mem_24g_data_type 
+04d9 79207e03 set1 bit_abort ,pdata 
+04da 67e0c836 store 1 ,mem_24g_data_type 
+04db 20402291 call g24_transmit_prep 
+04dc 20200473 branch p_g24_transmit_start 
 
 p_g24_lpm_wait:
-04c3 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-04c4 243a7e56 nbranch disable_user ,blank 
-04c5 78347c00 enable user 
-04c6 20401465 call lpo_calibration 
-04c7 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-04c8 203a7e56 branch disable_user ,blank 
-04c9 6fe0c099 fetch 1 ,mem_lpm_mode 
-04ca 203a7e56 branch disable_user ,blank 
-04cb 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-04cc c000fe56 beq g24_tx_timer_int_enable ,disable_user 
-04cd 20600000 rtn 
+04dd 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+04de 243a7e56 nbranch disable_user ,blank 
+04df 78347c00 enable user 
+04e0 20401465 call lpo_calibration 
+04e1 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+04e2 203a7e56 branch disable_user ,blank 
+04e3 6fe0c099 fetch 1 ,mem_lpm_mode 
+04e4 203a7e56 branch disable_user ,blank 
+04e5 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+04e6 c000fe56 beq g24_tx_timer_int_enable ,disable_user 
+04e7 20600000 rtn 
 
 p_send_time_check:
-04ce 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-04cf c0008511 beq g24_tx_timer_int_enable ,p_send_timer_first 
-04d0 6fe0cc52 fetch 1 ,mem_tx_count 
-04d1 203a0511 branch p_send_timer_first ,blank 
-04d2 1b227e00 copy clkn ,pdata 
-04d3 684b4c53 fetcht 6 ,mem_tx_time_last 
-04d4 67e34c53 store 6 ,mem_tx_time_last 
-04d5 20407d95 call clk_diff_rt 
-04d6 67e24c59 store 4 ,mem_tx_time_last_delt 
-04d7 6fe0cc69 fetch 1 ,mem_sleep_miss 
-04d8 247a0000 nrtn blank 
-04d9 6fe14c67 fetch 2 ,mem_retransmit 
-04da 247a0000 nrtn blank 
-04db 6fe24c6b fetch 4 ,mem_sleep_miss_temp 
-04dc 247a0000 nrtn blank 
-04dd 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
-04de 684a4c4e fetcht 4 ,mem_24g_tsniff 
-04df 18438400 lshift temp ,temp 
-04e0 98467c00 isub temp ,null 
-04e1 20210515 branch p_send_time_long_wake ,positive 
-04e2 684acc5d fetcht 5 ,mem_tx_time_sum 
-04e3 9840fe00 iadd temp ,pdata 
-04e4 67e2cc5d store 5 ,mem_tx_time_sum 
-04e5 6848cc52 fetcht 1 ,mem_tx_count 
-04e6 6fe0cc62 fetch 1 ,mem_tx_time_sum_count 
-04e7 98467c00 isub temp ,null 
-04e8 202284ec branch p_send_time_check_average ,zero 
-04e9 18408401 increase 1 ,temp 
-04ea 6048cc52 storet 1 ,mem_tx_count 
-04eb 20600000 rtn 
+04e8 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+04e9 c000852b beq g24_tx_timer_int_enable ,p_send_timer_first 
+04ea 6fe0cc52 fetch 1 ,mem_tx_count 
+04eb 203a052b branch p_send_timer_first ,blank 
+04ec 1b227e00 copy clkn ,pdata 
+04ed 684b4c53 fetcht 6 ,mem_tx_time_last 
+04ee 67e34c53 store 6 ,mem_tx_time_last 
+04ef 20407d95 call clk_diff_rt 
+04f0 67e24c59 store 4 ,mem_tx_time_last_delt 
+04f1 6fe0cc69 fetch 1 ,mem_sleep_miss 
+04f2 247a0000 nrtn blank 
+04f3 6fe14c67 fetch 2 ,mem_retransmit 
+04f4 247a0000 nrtn blank 
+04f5 6fe24c6b fetch 4 ,mem_sleep_miss_temp 
+04f6 247a0000 nrtn blank 
+04f7 6fe24c59 fetch 4 ,mem_tx_time_last_delt 
+04f8 684a4c4e fetcht 4 ,mem_24g_tsniff 
+04f9 18438400 lshift temp ,temp 
+04fa 98467c00 isub temp ,null 
+04fb 2021052f branch p_send_time_long_wake ,positive 
+04fc 684acc5d fetcht 5 ,mem_tx_time_sum 
+04fd 9840fe00 iadd temp ,pdata 
+04fe 67e2cc5d store 5 ,mem_tx_time_sum 
+04ff 6848cc52 fetcht 1 ,mem_tx_count 
+0500 6fe0cc62 fetch 1 ,mem_tx_time_sum_count 
+0501 98467c00 isub temp ,null 
+0502 20228506 branch p_send_time_check_average ,zero 
+0503 18408401 increase 1 ,temp 
+0504 6048cc52 storet 1 ,mem_tx_count 
+0505 20600000 rtn 
 
 p_send_time_check_average:
-04ec 704c5201 jam 1 ,mem_tx_count 
-04ed d8400000 arg 0 ,temp 
-04ee 6fe2cc5d fetch 5 ,mem_tx_time_sum 
-04ef 604acc5d storet 5 ,mem_tx_time_sum 
-04f0 6848cc62 fetcht 1 ,mem_tx_time_sum_count 
-04f1 9846fc00 idiv temp 
-04f2 20407def call wait_div_end 
-04f3 1807a200 quotient rega 
-04f4 6fe24c4e fetch 4 ,mem_24g_tsniff 
-04f5 6848cc63 fetcht 1 ,mem_tx_time_offset 
-04f6 98460400 isub temp ,temp 
-04f7 1a227e00 copy rega ,pdata 
-04f8 98467e00 isub temp ,pdata 
-04f9 20210505 branch p_send_time_check_average_late ,positive 
-04fa 1fe67e00 sub pdata ,0 ,pdata 
-04fb 1feb7e00 rshift2 pdata ,pdata 
-04fc 6849c8ad fetcht 3 ,mem_24g_short_sleep_set 
-04fd 98408400 iadd temp ,temp 
-04fe 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
-04ff da201800 arg 0x1800 ,rega 
-0500 9a20fe00 iadd rega ,pdata 
-0501 98467c00 isub temp ,null 
-0502 2421050f nbranch p_send_time_check_average_min ,positive 
-0503 6049c8ad storet 3 ,mem_24g_short_sleep_set 
-0504 20600000 rtn 
+0506 704c5201 jam 1 ,mem_tx_count 
+0507 d8400000 arg 0 ,temp 
+0508 6fe2cc5d fetch 5 ,mem_tx_time_sum 
+0509 604acc5d storet 5 ,mem_tx_time_sum 
+050a 6848cc62 fetcht 1 ,mem_tx_time_sum_count 
+050b 9846fc00 idiv temp 
+050c 20407def call wait_div_end 
+050d 1807a200 quotient rega 
+050e 6fe24c4e fetch 4 ,mem_24g_tsniff 
+050f 6848cc63 fetcht 1 ,mem_tx_time_offset 
+0510 98460400 isub temp ,temp 
+0511 1a227e00 copy rega ,pdata 
+0512 98467e00 isub temp ,pdata 
+0513 2021051f branch p_send_time_check_average_late ,positive 
+0514 1fe67e00 sub pdata ,0 ,pdata 
+0515 1feb7e00 rshift2 pdata ,pdata 
+0516 6849c8ad fetcht 3 ,mem_24g_short_sleep_set 
+0517 98408400 iadd temp ,temp 
+0518 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
+0519 da201800 arg 0x1800 ,rega 
+051a 9a20fe00 iadd rega ,pdata 
+051b 98467c00 isub temp ,null 
+051c 24210529 nbranch p_send_time_check_average_min ,positive 
+051d 6049c8ad storet 3 ,mem_24g_short_sleep_set 
+051e 20600000 rtn 
 
 p_send_time_check_average_late:
-0505 1feb0400 rshift2 pdata ,temp 
-0506 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0507 98460400 isub temp ,temp 
-0508 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
-0509 da201800 arg 0x1800 ,rega 
-050a 9a267e00 isub rega ,pdata 
-050b 98467c00 isub temp ,null 
-050c 2021050f branch p_send_time_check_average_min ,positive 
-050d 6049c8ad storet 3 ,mem_24g_short_sleep_set 
-050e 20600000 rtn 
+051f 1feb0400 rshift2 pdata ,temp 
+0520 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0521 98460400 isub temp ,temp 
+0522 6fe1cc64 fetch 3 ,mem_24g_short_sleep_set_init 
+0523 da201800 arg 0x1800 ,rega 
+0524 9a267e00 isub rega ,pdata 
+0525 98467c00 isub temp ,null 
+0526 20210529 branch p_send_time_check_average_min ,positive 
+0527 6049c8ad storet 3 ,mem_24g_short_sleep_set 
+0528 20600000 rtn 
 
 p_send_time_check_average_min:
-050f 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-0510 20600000 rtn 
+0529 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+052a 20600000 rtn 
 
 p_send_timer_first:
-0511 704c5201 jam 1 ,mem_tx_count 
-0512 1b227e00 copy clkn ,pdata 
-0513 67e34c53 store 6 ,mem_tx_time_last 
-0514 20600000 rtn 
+052b 704c5201 jam 1 ,mem_tx_count 
+052c 1b227e00 copy clkn ,pdata 
+052d 67e34c53 store 6 ,mem_tx_time_last 
+052e 20600000 rtn 
 
 p_send_time_long_wake:
-0515 58000000 setarg 0 
-0516 67e0cc52 store 1 ,mem_tx_count 
-0517 67e2cc5d store 5 ,mem_tx_time_sum 
-0518 20600000 rtn 
+052f 58000000 setarg 0 
+0530 67e0cc52 store 1 ,mem_tx_count 
+0531 67e2cc5d store 5 ,mem_tx_time_sum 
+0532 20600000 rtn 
 
 p_g24_pair_dispatch:
-0519 70488b00 jam default_24g_device ,mem_24g_reconn_type 
-051a 6fe14beb fetch 2 ,mem_24g_pair_count 
-051b 1fe0fe01 increase 1 ,pdata 
-051c 67e14beb store 2 ,mem_24g_pair_count 
-051d 6fe0cbeb fetch 1 ,mem_24g_pair_count 
-051e 1fe17eff and pdata ,0xff ,pdata 
-051f 247a0000 nrtn blank 
-0520 6fe0c87f fetch 1 ,mem_24g_pair_sm 
-0521 c07fa38e beq state_24g_pairing_success ,g24_pair_exit 
-0522 c0008527 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
-0523 c0010529 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
-0524 c001852f beq state_24g_pairing_3 ,p_g24_pair_sm_3 
-0525 c0020535 beq state_24g_pairing_4 ,p_g24_pair_sm_4 
-0526 20600000 rtn 
+0533 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+0534 6fe14beb fetch 2 ,mem_24g_pair_count 
+0535 1fe0fe01 increase 1 ,pdata 
+0536 67e14beb store 2 ,mem_24g_pair_count 
+0537 6fe0cbeb fetch 1 ,mem_24g_pair_count 
+0538 1fe17eff and pdata ,0xff ,pdata 
+0539 247a0000 nrtn blank 
+053a 6fe0c87f fetch 1 ,mem_24g_pair_sm 
+053b c07fa38e beq state_24g_pairing_success ,g24_pair_exit 
+053c c0008541 beq state_24g_pairing_1 ,p_g24_pair_sm_1 
+053d c0010543 beq state_24g_pairing_2 ,p_g24_pair_sm_2 
+053e c0018549 beq state_24g_pairing_3 ,p_g24_pair_sm_3 
+053f c002054f beq state_24g_pairing_4 ,p_g24_pair_sm_4 
+0540 20600000 rtn 
 
 p_g24_pair_sm_1:
-0527 7047c6ff jam datatype_attemp ,mem_24g_txbuf 
-0528 20200536 branch p_g24_pair_sm_prep 
+0541 7047c6ff jam datatype_attemp ,mem_24g_txbuf 
+0542 20200550 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_2:
-0529 6fe0c85b fetch 1 ,mem_24g_pair_switch 
-052a 203a052d branch p_g24_pair_sm_2_skip ,blank 
-052b 6fe248a9 fetch 4 ,mem_24g_device_addr 
-052c 204022dc call g24_update_addr_and_synccrc8 
+0543 6fe0c85b fetch 1 ,mem_24g_pair_switch 
+0544 203a0547 branch p_g24_pair_sm_2_skip ,blank 
+0545 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0546 204022dc call g24_update_addr_and_synccrc8 
 
 p_g24_pair_sm_2_skip:
-052d 7047c6aa jam datatype_bind ,mem_24g_txbuf 
-052e 20200536 branch p_g24_pair_sm_prep 
+0547 7047c6aa jam datatype_bind ,mem_24g_txbuf 
+0548 20200550 branch p_g24_pair_sm_prep 
 
 p_g24_pair_sm_3:
-052f 7047c655 jam datatype_config ,mem_24g_txbuf 
-0530 6fe0c85b fetch 1 ,mem_24g_pair_switch 
-0531 203a0536 branch p_g24_pair_sm_prep ,blank 
-0532 6fe24891 fetch 4 ,mem_24g_receiver_addr 
-0533 67e247c8 store 4 ,mem_24g_txbuf + 2 
-0534 20200538 branch p_g24_pair_sm_common 
+0549 7047c655 jam datatype_config ,mem_24g_txbuf 
+054a 6fe0c85b fetch 1 ,mem_24g_pair_switch 
+054b 203a0550 branch p_g24_pair_sm_prep ,blank 
+054c 6fe24891 fetch 4 ,mem_24g_receiver_addr 
+054d 67e247c8 store 4 ,mem_24g_txbuf + 2 
+054e 20200552 branch p_g24_pair_sm_common 
 
 p_g24_pair_sm_4:
-0535 7047c622 jam datatype_ok ,mem_24g_txbuf 
+054f 7047c622 jam datatype_ok ,mem_24g_txbuf 
 
 p_g24_pair_sm_prep:
-0536 6fe248a9 fetch 4 ,mem_24g_device_addr 
-0537 67e247c8 store 4 ,mem_24g_txbuf + 2 
+0550 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0551 67e247c8 store 4 ,mem_24g_txbuf + 2 
 
 p_g24_pair_sm_common:
-0538 6fe0c836 fetch 1 ,mem_24g_data_type 
-0539 1fe17e07 and_into bits_data ,pdata 
-053a 67e0c7c7 store 1 ,mem_24g_txbuf + 1 
-053b 7047cc00 jam 0 ,mem_24g_txbuf + 6 
-053c 70483507 jam 7 ,mem_24g_datalen 
-053d 20402291 call g24_transmit_prep 
-053e 20400429 call p_g24_transmit_receive_ack 
-053f 20202360 branch g24_pair_sm_common + 7 
+0552 6fe0c836 fetch 1 ,mem_24g_data_type 
+0553 1fe17e07 and_into bits_data ,pdata 
+0554 67e0c7c7 store 1 ,mem_24g_txbuf + 1 
+0555 7047cc00 jam 0 ,mem_24g_txbuf + 6 
+0556 70483507 jam 7 ,mem_24g_datalen 
+0557 20402291 call g24_transmit_prep 
+0558 20400443 call p_g24_transmit_receive_ack 
+0559 20202360 branch g24_pair_sm_common + 7 
 
 p_g24_reconn_dispatch:
-0540 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0541 d84001f8 arg 0x01f8 ,temp 
-0542 98417e00 iand temp ,pdata 
-0543 203a0548 branch p_g24_reconn_dispatch_next ,blank 
-0544 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0545 1fe0fe01 increase 1 ,pdata 
-0546 67e14889 store 2 ,mem_24g_reconn_count 
-0547 20600000 rtn 
+055a 6fe14889 fetch 2 ,mem_24g_reconn_count 
+055b d84001f8 arg 0x01f8 ,temp 
+055c 98417e00 iand temp ,pdata 
+055d 203a0562 branch p_g24_reconn_dispatch_next ,blank 
+055e 6fe14889 fetch 2 ,mem_24g_reconn_count 
+055f 1fe0fe01 increase 1 ,pdata 
+0560 67e14889 store 2 ,mem_24g_reconn_count 
+0561 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-0548 2040259a call g24_reconn_data_prep 
-0549 20400429 call p_g24_transmit_receive_ack 
-054a 242c0561 nbranch p_g24_reconn_device_fail ,sync 
-054b 24378561 nbranch p_g24_reconn_device_fail ,user3 
-054c 20402672 call g24_ackpayload_parse 
-054d 6fe24877 fetch 4 ,mem_24g_pair_addr 
-054e 684a483c fetcht 4 ,mem_24g_addr 
-054f 98467c00 isub temp ,null 
-0550 2022a32e branch g24_pair_start ,zero 
-0551 6fe248a9 fetch 4 ,mem_24g_device_addr 
-0552 684a483c fetcht 4 ,mem_24g_addr 
-0553 98467c00 isub temp ,null 
-0554 2042855d call p_g24_store_receiver_addr ,zero 
-0555 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-0556 793ffe02 set0 state_24g_reconn ,pdata 
-0557 67e0c8a1 store 1 ,mem_24g_conn_sm 
-0558 58000000 setarg 0 
-0559 67e14883 store 2 ,mem_24g_pair_timeout 
-055a 67e14889 store 2 ,mem_24g_reconn_count 
-055b 67e14887 store 2 ,mem_24g_reconn_timeout 
-055c 20202595 branch g24_reconn_attempt_success 
+0562 2040259a call g24_reconn_data_prep 
+0563 20400443 call p_g24_transmit_receive_ack 
+0564 242c057b nbranch p_g24_reconn_device_fail ,sync 
+0565 2437857b nbranch p_g24_reconn_device_fail ,user3 
+0566 20402672 call g24_ackpayload_parse 
+0567 6fe24877 fetch 4 ,mem_24g_pair_addr 
+0568 684a483c fetcht 4 ,mem_24g_addr 
+0569 98467c00 isub temp ,null 
+056a 2022a32e branch g24_pair_start ,zero 
+056b 6fe248a9 fetch 4 ,mem_24g_device_addr 
+056c 684a483c fetcht 4 ,mem_24g_addr 
+056d 98467c00 isub temp ,null 
+056e 20428577 call p_g24_store_receiver_addr ,zero 
+056f 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+0570 793ffe02 set0 state_24g_reconn ,pdata 
+0571 67e0c8a1 store 1 ,mem_24g_conn_sm 
+0572 58000000 setarg 0 
+0573 67e14883 store 2 ,mem_24g_pair_timeout 
+0574 67e14889 store 2 ,mem_24g_reconn_count 
+0575 67e14887 store 2 ,mem_24g_reconn_timeout 
+0576 20202595 branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-055d 6fe2480c fetch 4 ,mem_24g_rxpayload + 2 
-055e 207a0000 rtn blank 
-055f 67e24891 store 4 ,mem_24g_receiver_addr 
-0560 2020257e branch g24_ch_syncword_crc8_init 
+0577 6fe2480c fetch 4 ,mem_24g_rxpayload + 2 
+0578 207a0000 rtn blank 
+0579 67e24891 store 4 ,mem_24g_receiver_addr 
+057a 2020257e branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-0561 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
-0562 203a22cb branch g24_ch ,blank 
-0563 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0564 1fe0fe01 increase 1 ,pdata 
-0565 67e14889 store 2 ,mem_24g_reconn_count 
-0566 2feffe09 isolate1 9 ,pdata 
-0567 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-0568 c002056a beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-0569 202025a8 branch g24_reconn_device_fail + 7 
+057b 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
+057c 203a22cb branch g24_ch ,blank 
+057d 6fe14889 fetch 2 ,mem_24g_reconn_count 
+057e 1fe0fe01 increase 1 ,pdata 
+057f 67e14889 store 2 ,mem_24g_reconn_count 
+0580 2feffe09 isolate1 9 ,pdata 
+0581 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0582 c0020584 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+0583 202025a8 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_pair_and_3_0:
-056a 2020a575 branch g24_reconn_device_3_0_addr ,true 
-056b 20202339 branch g24_pair_init_param 
+0584 2020a575 branch g24_reconn_device_3_0_addr ,true 
+0585 20202339 branch g24_pair_init_param 
 
 p_mouse_device_connect_init_sensor_or_led:
-056c 20400207 call p_mouse_sensor_poweron 
-056d 704c4200 jam 0 ,mem_mouse_bt_led_recon_effect_flag 
-056e 2020056f branch p_mouse_device_poweron_led_config 
+0586 2040020d call p_mouse_sensor_poweron 
+0587 704c4200 jam 0 ,mem_mouse_bt_led_recon_effect_flag 
+0588 20200589 branch p_mouse_device_poweron_led_config 
 
 p_mouse_device_poweron_led_config:
-056f 2040015d call p_mouse_multi_led_on_enable 
-0570 2020005e branch p_mouse_device_mode_led_count_init 
+0589 20400162 call p_mouse_multi_led_on_enable 
+058a 2020005c branch p_mouse_device_mode_led_count_init 
 
 p_mouse_device_discover_led_config:
-0571 20200158 branch p_mouse_multi_led_blink_enable 
+058b 2020015d branch p_mouse_multi_led_blink_enable 
 
 p_mouse_24g_pairing_complete:
-0572 20400455 call p_mouse_soft_agc_disable 
-0573 20400064 call p_mouse_fetch_normal_tx_power 
-0574 20404544 call mouse_no_data_timer_init 
-0575 d8e00001 arg mouse_24g_pairing_flag ,queue 
-0576 204046f4 call mouse_disable_function_flag 
-0577 2040056f call p_mouse_device_poweron_led_config 
-0578 204048c9 call mouse_device_poweron_timer_init + 3 
-0579 2020485a branch mouse_24g_pairing_complete + 3 
+058c 2040046f call p_mouse_soft_agc_disable 
+058d 20400062 call p_mouse_fetch_normal_tx_power 
+058e 20404544 call mouse_no_data_timer_init 
+058f d8e00001 arg mouse_24g_pairing_flag ,queue 
+0590 204046f4 call mouse_disable_function_flag 
+0591 20400589 call p_mouse_device_poweron_led_config 
+0592 204048c9 call mouse_device_poweron_timer_init + 3 
+0593 2020485a branch mouse_24g_pairing_complete + 3 
 
 p_mouse_24g_attempt_success:
-057a 6fe2483c fetch 4 ,mem_24g_addr 
-057b 67e24891 store 4 ,mem_24g_receiver_addr 
-057c 67e24993 store 4 ,mem_mouse_24g_addr 
-057d 2040257e call g24_ch_syncword_crc8_init 
-057e 2040056f call p_mouse_device_poweron_led_config 
-057f 20404544 call mouse_no_data_timer_init 
-0580 204042ca call mouse_init_sensor_reset 
-0581 704aae00 jam 0 ,mem_mouse_long_mult_flag 
-0582 7048a100 jam 0 ,mem_24g_conn_sm 
-0583 70488b00 jam 0 ,mem_24g_reconn_type 
-0584 6fe24891 fetch 4 ,mem_24g_receiver_addr 
-0585 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
-0586 98467c00 isub temp ,null 
-0587 20628000 rtn zero 
-0588 20400455 call p_mouse_soft_agc_disable 
-0589 20400064 call p_mouse_fetch_normal_tx_power 
-058a 20204822 branch mouse_24g_first_store_reconn_info 
+0594 6fe2483c fetch 4 ,mem_24g_addr 
+0595 67e24891 store 4 ,mem_24g_receiver_addr 
+0596 67e24993 store 4 ,mem_mouse_24g_addr 
+0597 2040257e call g24_ch_syncword_crc8_init 
+0598 20400589 call p_mouse_device_poweron_led_config 
+0599 20404544 call mouse_no_data_timer_init 
+059a 204042ca call mouse_init_sensor_reset 
+059b 704aae00 jam 0 ,mem_mouse_long_mult_flag 
+059c 7048a100 jam 0 ,mem_24g_conn_sm 
+059d 70488b00 jam 0 ,mem_24g_reconn_type 
+059e 6fe24891 fetch 4 ,mem_24g_receiver_addr 
+059f 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
+05a0 98467c00 isub temp ,null 
+05a1 20628000 rtn zero 
+05a2 2040046f call p_mouse_soft_agc_disable 
+05a3 20400062 call p_mouse_fetch_normal_tx_power 
+05a4 20204822 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-058b 20400455 call p_mouse_soft_agc_disable 
-058c 20400064 call p_mouse_fetch_normal_tx_power 
-058d 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
-058e c1008000 rtneq dpi_button_state_down 
-058f 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-0590 243a05b4 nbranch p_mouse_24g_hibernate_set ,blank 
-0591 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-0592 c0010596 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-0593 c00205aa beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-0594 c00185af beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-0595 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
+05a5 2040046f call p_mouse_soft_agc_disable 
+05a6 20400062 call p_mouse_fetch_normal_tx_power 
+05a7 6fe0c9dd fetch 1 ,mem_mouse_dpi_button_state 
+05a8 c1008000 rtneq dpi_button_state_down 
+05a9 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+05aa 243a05ce nbranch p_mouse_24g_hibernate_set ,blank 
+05ab 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+05ac c00105b0 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+05ad c00205c4 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+05ae c00185c9 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+05af 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0596 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0597 c297859f bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-0598 c298059f bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-0599 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-059a 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-059b 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-059c 98467c00 isub temp ,null 
-059d 202285a1 branch p_mouse_24g_start_pair_mode ,zero 
-059e 20204806 branch mouse_24g_reconn_dongle_start 
+05b0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05b1 c29785b9 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+05b2 c29805b9 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+05b3 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+05b4 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+05b5 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+05b6 98467c00 isub temp ,null 
+05b7 202285bb branch p_mouse_24g_start_pair_mode ,zero 
+05b8 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_auto_pair:
-059f 20400571 call p_mouse_device_discover_led_config 
-05a0 20204812 branch mouse_24g_start_auto_pair + 1 
+05b9 2040058b call p_mouse_device_discover_led_config 
+05ba 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_start_pair_mode:
-05a1 70488b00 jam 0 ,mem_24g_reconn_type 
-05a2 d8e00001 arg mouse_24g_pairing_flag ,queue 
-05a3 204046f0 call mouse_enable_function_flag 
-05a4 58000000 setarg 0 
-05a5 67e14887 store 2 ,mem_24g_reconn_timeout 
-05a6 20404576 call mouse_stop_discovery 
-05a7 2040498e call mouse_low_voltage_led_blink_disable 
-05a8 20400571 call p_mouse_device_discover_led_config 
-05a9 2020482e branch mouse_24g_start_pair_mode + 7 
+05bb 70488b00 jam 0 ,mem_24g_reconn_type 
+05bc d8e00001 arg mouse_24g_pairing_flag ,queue 
+05bd 204046f0 call mouse_enable_function_flag 
+05be 58000000 setarg 0 
+05bf 67e14887 store 2 ,mem_24g_reconn_timeout 
+05c0 20404576 call mouse_stop_discovery 
+05c1 2040498e call mouse_low_voltage_led_blink_disable 
+05c2 2040058b call p_mouse_device_discover_led_config 
+05c3 2020482e branch mouse_24g_start_pair_mode + 7 
 
 p_mouse_24g_auto_pair_attempt_fail:
-05aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05ab c317c839 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-05ac 6fe0cbb4 fetch 1 ,mem_device_number 
-05ad c000c839 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
-05ae 2020481a branch mouse_24g_first_bluetooth_reconnect 
+05c4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05c5 c317c839 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+05c6 6fe0cbb4 fetch 1 ,mem_device_number 
+05c7 c000c839 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+05c8 2020481a branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_reconn_dongle_attempt_fail:
-05af 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05b0 c317c839 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-05b1 c289c839 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
-05b2 c2894839 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
-05b3 20204812 branch mouse_24g_start_auto_pair + 1 
+05c9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05ca c317c839 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+05cb c289c839 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+05cc c2894839 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+05cd 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
 
 p_mouse_24g_hibernate_set:
-05b4 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-05b5 20402652 call g24_transmit_next_packet 
-05b6 5fffffff setarg -1 
-05b7 67e2485c store 4 ,mem_24g_enter_hibernate 
-05b8 58000000 setarg 0 
-05b9 67e3c8d0 store 7 ,mem_mouse_key 
-05ba 704be101 jam 1 ,mem_sensor_shutdown_flag 
-05bb 20400213 call p_mouse_sensor_powerdown 
-05bc 202004ab branch p_g24_long_sleep 
+05ce 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+05cf 20402652 call g24_transmit_next_packet 
+05d0 5fffffff setarg -1 
+05d1 67e2485c store 4 ,mem_24g_enter_hibernate 
+05d2 58000000 setarg 0 
+05d3 67e3c8d0 store 7 ,mem_mouse_key 
+05d4 704be101 jam 1 ,mem_sensor_shutdown_flag 
+05d5 2040423c call mouse_sensor_powerdown 
+05d6 202004c5 branch p_g24_long_sleep 
 
 p_mouse_le_send_conn_param_update_timer:
-05bd da604ca9 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-05be da40436c arg mouse_updata_le_param ,regb 
-05bf 2020318a branch timer_single_step 
+05d7 da604ca9 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+05d8 da40436c arg mouse_updata_le_param ,regb 
+05d9 2020318a branch timer_single_step 
 
 p_mouse_start_discovery:
-05c0 20400213 call p_mouse_sensor_powerdown 
-05c1 704c4200 jam 0 ,mem_mouse_bt_led_recon_effect_flag 
-05c2 20400571 call p_mouse_device_discover_led_config 
-05c3 204001a6 call p_mouse_logo_led_off 
-05c4 6fe1478c fetch 2 ,mem_ui_state_map 
-05c5 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-05c6 2040c581 call mouse_stop_le_adv ,true 
-05c7 6fe1478c fetch 2 ,mem_ui_state_map 
-05c8 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-05c9 2040c322 call mouse_cancel_reconnect ,true 
-05ca 20204554 branch mouse_start_discovery + 1 
+05da 2040423c call mouse_sensor_powerdown 
+05db 704c4200 jam 0 ,mem_mouse_bt_led_recon_effect_flag 
+05dc 2040058b call p_mouse_device_discover_led_config 
+05dd 204001ab call p_mouse_logo_led_off 
+05de 6fe1478c fetch 2 ,mem_ui_state_map 
+05df 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+05e0 2040c581 call mouse_stop_le_adv ,true 
+05e1 6fe1478c fetch 2 ,mem_ui_state_map 
+05e2 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+05e3 2040c322 call mouse_cancel_reconnect ,true 
+05e4 20204554 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-05cb 58000000 setarg 0 
-05cc 67e14ac2 store 2 ,mem_mouse_discovery_timer 
-05cd 20204577 branch mouse_stop_discovery + 1 
+05e5 58000000 setarg 0 
+05e6 67e14ac2 store 2 ,mem_mouse_discovery_timer 
+05e7 20204577 branch mouse_stop_discovery + 1 
 
 p_mouse_le_name_load:
-05ce 6fe44c1f fetch 8 ,mem_le_name_patch 
-05cf 207a0000 rtn blank 
-05d0 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-05d1 1fe22200 copy pdata ,rega 
-05d2 1fe67c0b sub pdata ,11 ,null 
-05d3 242105e0 nbranch p_mouse_le_name_patch_len_overflow ,positive 
-05d4 d8c04c1f arg mem_le_name_patch ,contr 
-05d5 d8a04adb arg mem_le_adv_swift_pair + 9 ,contw 
-05d6 1a227200 copy rega ,loopcnt 
-05d7 20407d5f call memcpy 
-05d8 d8c04c1f arg mem_le_name_patch ,contr 
-05d9 d8a0440a arg mem_le_scan_data + 2 ,contw 
-05da 1a227200 copy rega ,loopcnt 
-05db 20407d5f call memcpy 
-05dc d8c04c1f arg mem_le_name_patch ,contr 
-05dd d8a042f8 arg mem_le_name ,contw 
-05de 1a227200 copy rega ,loopcnt 
-05df 20207d5f branch memcpy 
+05e8 6fe44c1f fetch 8 ,mem_le_name_patch 
+05e9 207a0000 rtn blank 
+05ea 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+05eb 1fe22200 copy pdata ,rega 
+05ec 1fe67c0b sub pdata ,11 ,null 
+05ed 242105fa nbranch p_mouse_le_name_patch_len_overflow ,positive 
+05ee d8c04c1f arg mem_le_name_patch ,contr 
+05ef d8a04adb arg mem_le_adv_swift_pair + 9 ,contw 
+05f0 1a227200 copy rega ,loopcnt 
+05f1 20407d5f call memcpy 
+05f2 d8c04c1f arg mem_le_name_patch ,contr 
+05f3 d8a0440a arg mem_le_scan_data + 2 ,contw 
+05f4 1a227200 copy rega ,loopcnt 
+05f5 20407d5f call memcpy 
+05f6 d8c04c1f arg mem_le_name_patch ,contr 
+05f7 d8a042f8 arg mem_le_name ,contw 
+05f8 1a227200 copy rega ,loopcnt 
+05f9 20207d5f branch memcpy 
 
 p_mouse_le_name_patch_len_overflow:
-05e0 204005f6 call p_mouse_le_swift_pair_disable 
-05e1 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-05e2 1fe0fe01 increase 1 ,pdata 
-05e3 67e0cad2 store 1 ,mem_le_adv_swift_pair 
-05e4 704ad309 jam 9 ,mem_le_adv_swift_pair + 1 
-05e5 d8c04c1f arg mem_le_name_patch ,contr 
-05e6 d8a04ad4 arg mem_le_adv_swift_pair + 2 ,contw 
-05e7 1a227200 copy rega ,loopcnt 
-05e8 20407d5f call memcpy 
-05e9 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-05ea 1fe0fe01 increase 1 ,pdata 
-05eb 67e0c408 store 1 ,mem_le_scan_data 
-05ec 70440909 jam 9 ,mem_le_scan_data + 1 
-05ed d8c04c1f arg mem_le_name_patch ,contr 
-05ee d8a0440a arg mem_le_scan_data + 2 ,contw 
-05ef 1a227200 copy rega ,loopcnt 
-05f0 20407d5f call memcpy 
-05f1 d8c04c1e arg mem_le_name_patch_len ,contr 
-05f2 d8a042f7 arg mem_le_name_len ,contw 
-05f3 1a227200 copy rega ,loopcnt 
-05f4 1f20f201 increase 1 ,loopcnt 
-05f5 20207d5f branch memcpy 
+05fa 20400610 call p_mouse_le_swift_pair_disable 
+05fb 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+05fc 1fe0fe01 increase 1 ,pdata 
+05fd 67e0cad2 store 1 ,mem_le_adv_swift_pair 
+05fe 704ad309 jam 9 ,mem_le_adv_swift_pair + 1 
+05ff d8c04c1f arg mem_le_name_patch ,contr 
+0600 d8a04ad4 arg mem_le_adv_swift_pair + 2 ,contw 
+0601 1a227200 copy rega ,loopcnt 
+0602 20407d5f call memcpy 
+0603 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+0604 1fe0fe01 increase 1 ,pdata 
+0605 67e0c408 store 1 ,mem_le_scan_data 
+0606 70440909 jam 9 ,mem_le_scan_data + 1 
+0607 d8c04c1f arg mem_le_name_patch ,contr 
+0608 d8a0440a arg mem_le_scan_data + 2 ,contw 
+0609 1a227200 copy rega ,loopcnt 
+060a 20407d5f call memcpy 
+060b d8c04c1e arg mem_le_name_patch_len ,contr 
+060c d8a042f7 arg mem_le_name_len ,contw 
+060d 1a227200 copy rega ,loopcnt 
+060e 1f20f201 increase 1 ,loopcnt 
+060f 20207d5f branch memcpy 
 
 p_mouse_le_swift_pair_disable:
-05f6 d8a04ad2 arg mem_le_adv_swift_pair ,contw 
-05f7 df200014 arg 20 ,loopcnt 
-05f8 20207d26 branch clear_mem 
+0610 d8a04ad2 arg mem_le_adv_swift_pair ,contw 
+0611 df200014 arg 20 ,loopcnt 
+0612 20207d26 branch clear_mem 
 
 p_mouse_le_bb_event_connected:
-05f9 2040056c call p_mouse_device_connect_init_sensor_or_led 
-05fa 20204350 branch mouse_le_bb_event_connected 
+0613 20400586 call p_mouse_device_connect_init_sensor_or_led 
+0614 20204350 branch mouse_le_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
-05fb 58000000 setarg 0 
-05fc 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-05fd 67e0cca8 store 1 ,mem_mouse_le_send_conn_param_update 
-05fe 67e0cca9 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-05ff 67e0cac6 store 1 ,mem_mouse_le_bb_connected_flag 
-0600 20204366 branch mouse_le_bb_disconnected + 7 
+0615 58000000 setarg 0 
+0616 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+0617 67e0cca8 store 1 ,mem_mouse_le_send_conn_param_update 
+0618 67e0cca9 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+0619 67e0cac6 store 1 ,mem_mouse_le_bb_connected_flag 
+061a 20204366 branch mouse_le_bb_disconnected + 7 
 
 p_mouse_le_ll_start_encryt:
-0601 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0602 c0008605 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0603 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-0604 20204373 branch mouse_le_ll_enable_start_enc_flag 
+061b 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+061c c000861f beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+061d 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+061e 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0605 2040436c call mouse_updata_le_param 
-0606 704b760a jam 10 ,mem_le_start_encrypt_timer 
-0607 20204373 branch mouse_le_ll_enable_start_enc_flag 
+061f 2040436c call mouse_updata_le_param 
+0620 704b760a jam 10 ,mem_le_start_encrypt_timer 
+0621 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-0608 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-0609 1fe67c0c sub pdata ,le_interval_15ms ,null 
-060a 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-060b 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-060c 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-060d 98467c00 isub temp ,null 
-060e 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-060f 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-0610 67e0c177 store 1 ,mem_lpm_mult 
-0611 20204386 branch mouse_le_conn_param_lpm_enable 
+0622 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+0623 1fe67c0c sub pdata ,le_interval_15ms ,null 
+0624 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+0625 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+0626 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+0627 98467c00 isub temp ,null 
+0628 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+0629 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+062a 67e0c177 store 1 ,mem_lpm_mult 
+062b 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0612 6fe0cca8 fetch 1 ,mem_mouse_le_send_conn_param_update 
-0613 247a0000 nrtn blank 
-0614 704ca801 jam 1 ,mem_mouse_le_send_conn_param_update 
-0615 704ca91e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-0616 20600000 rtn 
+062c 6fe0cca8 fetch 1 ,mem_mouse_le_send_conn_param_update 
+062d 247a0000 nrtn blank 
+062e 704ca801 jam 1 ,mem_mouse_le_send_conn_param_update 
+062f 704ca91e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+0630 20600000 rtn 
 
 p_le_parse_l2cap:
-0617 efe10006 ifetch 2 ,contr 
-0618 c002061a beq le_l2cap_cid_att ,p_le_parse_att 
-0619 202019e4 branch le_parse_l2cap + 10 
+0631 efe10006 ifetch 2 ,contr 
+0632 c0020634 beq le_l2cap_cid_att ,p_le_parse_att 
+0633 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-061a efe18006 ifetch 3 ,contr 
-061b 67e1c436 store 3 ,mem_le_att_opcode 
-061c c005061f beq attop_read_request ,p_le_parse_att_read_request 
-061d c009062e beq attop_write_request ,p_le_parse_att_write_request 
-061e 20201cd3 branch le_parse_att + 2 
+0634 efe18006 ifetch 3 ,contr 
+0635 67e1c436 store 3 ,mem_le_att_opcode 
+0636 c0050639 beq attop_read_request ,p_le_parse_att_read_request 
+0637 c0090648 beq attop_write_request ,p_le_parse_att_write_request 
+0638 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-061f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0620 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0621 20401e8d call le_check_encrypt_state 
-0622 68494437 fetcht 2 ,mem_le_att_handle 
-0623 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0624 c2818629 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0639 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+063a c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+063b 20401e8d call le_check_encrypt_state 
+063c 68494437 fetcht 2 ,mem_le_att_handle 
+063d 6fe0c3c0 fetch 1 ,mem_le_configuration 
+063e c2818643 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0625 6fe14437 fetch 2 ,mem_le_att_handle 
-0626 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-0627 68494437 fetcht 2 ,mem_le_att_handle 
-0628 20201deb branch le_send_att_read_response 
+063f 6fe14437 fetch 2 ,mem_le_att_handle 
+0640 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+0641 68494437 fetcht 2 ,mem_le_att_handle 
+0642 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0629 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-062a 98467c00 isub temp ,null 
-062b 24228625 nbranch p_le_send_att_read_response ,zero 
-062c 24340625 nbranch p_le_send_att_read_response ,user 
-062d 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0643 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0644 98467c00 isub temp ,null 
+0645 2422863f nbranch p_le_send_att_read_response ,zero 
+0646 2434063f nbranch p_le_send_att_read_response ,user 
+0647 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-062e 18c22200 copy contr ,rega 
-062f 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0630 1fe0a5fd add pdata ,-3 ,regb 
-0631 20401a25 call le_writeatt_cb 
-0632 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0633 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-0634 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0635 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-0636 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-0637 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0638 5800001a setarg 0x001a 
-0639 68494437 fetcht 2 ,mem_le_att_handle 
-063a 98467c00 isub temp ,null 
-063b 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-063c 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0648 18c22200 copy contr ,rega 
+0649 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+064a 1fe0a5fd add pdata ,-3 ,regb 
+064b 20401a25 call le_writeatt_cb 
+064c 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+064d c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+064e 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+064f 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+0650 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+0651 c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0652 5800001a setarg 0x001a 
+0653 68494437 fetcht 2 ,mem_le_att_handle 
+0654 98467c00 isub temp ,null 
+0655 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0656 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_send_lmp:
-063d 78547c00 disable user 
-063e 204059e6 call lmo_fifo_process 
-063f 6fe08049 fetch 1 ,mem_lmp_to_send 
-0640 207a0000 rtn blank 
-0641 c283d730 bbit1 7 ,send_lmp_escape 
+0657 78547c00 disable user 
+0658 204059e6 call lmo_fifo_process 
+0659 6fe08049 fetch 1 ,mem_lmp_to_send 
+065a 207a0000 rtn blank 
+065b c283d730 bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-0642 c0038644 beq lmp_detach ,p_send_lmp_detach 
-0643 20205701 branch send_lmp0 
+065c c003865e beq lmp_detach ,p_send_lmp_detach 
+065d 20205701 branch send_lmp0 
 
 p_send_lmp_detach:
-0644 2040585d call send_lmp_detach 
-0645 70007378 jam 120 ,mem_conn_timer 
-0646 20600000 rtn 
+065e 2040585d call send_lmp_detach 
+065f 70007378 jam 120 ,mem_conn_timer 
+0660 20600000 rtn 
 
 p_mouse_bb_event_connected:
-0647 20404544 call mouse_no_data_timer_init 
-0648 2040056c call p_mouse_device_connect_init_sensor_or_led 
-0649 202043fa branch mouse_bb_event_connected 
+0661 20404544 call mouse_no_data_timer_init 
+0662 20400586 call p_mouse_device_connect_init_sensor_or_led 
+0663 202043fa branch mouse_bb_event_connected 
 
 p_hid_rx_process:
-064a 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-064b 1fe20c00 copy pdata ,contr 
-064c efe08006 ifetch 1 ,contr 
-064d 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-064e 1fe1040f and pdata ,0x0f ,temp 
-064f 1ff1fe00 rshift4 pdata ,pdata 
-0650 c0048652 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0651 20204d93 branch hid_rx_process + 7 
+0664 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0665 1fe20c00 copy pdata ,contr 
+0666 efe08006 ifetch 1 ,contr 
+0667 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+0668 1fe1040f and pdata ,0x0f ,temp 
+0669 1ff1fe00 rshift4 pdata ,pdata 
+066a c004866c beq hid_type_set_idle ,p_hid_rx_process_handshake 
+066b 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0652 da200001 arg 1 ,rega 
-0653 20404dc0 call hid_malloc_tx_buff 
-0654 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-0655 e7e10005 istore 2 ,contw 
-0656 58000000 setarg 0 
-0657 e7e08005 istore 1 ,contw 
-0658 70095001 jam 1 ,mem_ui_data_txbuff_length 
-0659 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-065a 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-065b 67e0c4e2 store 1 ,mem_hid_control_state 
-065c 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-065d 20207871 branch ui_ipc_send_event 
+066c da200001 arg 1 ,rega 
+066d 20404dc0 call hid_malloc_tx_buff 
+066e 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+066f e7e10005 istore 2 ,contw 
+0670 58000000 setarg 0 
+0671 e7e08005 istore 1 ,contw 
+0672 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0673 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0674 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0675 67e0c4e2 store 1 ,mem_hid_control_state 
+0676 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0677 20207871 branch ui_ipc_send_event 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program/patch.prog	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program/patch.prog	(working copy)
@@ -7,7 +7,7 @@
 //define UART_LOG
 //define RSSI_PATCH
 //define RSSI_SORT
-define SELECT_ANGLE
+// define SELECT_ANGLE
 define IO2LED
 define IO1LED
 //define DOUBLE_DPI_KEY
@@ -95,11 +95,11 @@
 	call p_mouse_setting_config
 	call mouse_init_sunt
 	rtn wake
-	call mouse_dpi_config
+	call p_mouse_seting_sensor_type
 	call mouse_usb_check_enable
 	call mouse_drawing_optima_init
 	call p_mouse_cb_fuction
-	call p_mouse_sensor_powerdown
+	call mouse_sensor_powerdown
 	branch mouse_init+8
 
 p_mouse_setting_config:
@@ -204,15 +204,60 @@
 	store 2,mem_cb_24g_search_receiver
 	branch mouse_cb_fuction+4
 
+p_mouse_check_sensor_data:
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	fetch 1,mem_config_sensor_type
+	beq SG8670,mouse_p3212_sensor_motion
+	branch mouse_check_sensor_data+3
+
+p_mouse_data_zoom:
+	fetch 1,mem_config_sensor_type
+	rtnne SG8670
+	fetch 1,mem_mouse_dpi
+	rtneq MOUSE_DPI_LEVEL1
+	rtneq MOUSE_DPI_LEVEL2
+	rtneq MOUSE_DPI_LEVEL5
+	fetch 2,mem_mouse_x
+	call p_mouse_2400_3200_zoom
+	store 2,mem_mouse_x
+	fetch 2,mem_mouse_y
+	call p_mouse_2400_3200_zoom
+	store 2,mem_mouse_y
+	rtn
+p_mouse_2400_3200_zoom:
+	bbit1 11,p_mouse_xy_inverse
+	bbit0 11,p_mouse_xy_zoom
+	rtn
+p_mouse_xy_inverse:
+	sub pdata,0,pdata
+	call p_mouse_xy_zoom	
+	sub pdata,0,pdata
+	rtn
+
+p_mouse_xy_zoom:
+	copy pdata,temp
+	iadd temp,pdata
+	store 2,mem_mouse_temp_data
+	fetch 1,mem_mouse_temp_data+1
+	sub pdata,0x7,null
+	ncall p_mouse_xy_forward_overflow,positive
+	fetch 2,mem_mouse_temp_data
+	rtn
+p_mouse_xy_forward_overflow:
+	setarg 0x7ff
+	store 2,mem_mouse_temp_data
+	rtn
 
 p_mouse_motion:
 	disable user
 	setarg 0
 	store 6,mem_mouse_x
-	call mouse_check_sensor_data
+	call p_mouse_check_sensor_data
+	call p_mouse_data_zoom
 	setarg 0x0089			
 	call twspi_write
-	call mouse_dpi_config
+	call p_mouse_seting_sensor_type
 	call mouse_zwheel
 	call mouse_t_zwheel
 	call p_mouse_key
@@ -312,8 +357,8 @@
 	setarg PAN_REG_CONFIG
 	call twspi_read
 	bbit1 3,mouse_app_enter_hibernate+3
-	call p_mouse_sensor_reset
-	call p_mouse_sensor_powerdown
+	call mouse_sensor_reset
+	call mouse_sensor_powerdown
 	branch mouse_app_enter_hibernate+3
 
 p_mouse_setgpio_hibernate:
@@ -788,37 +833,42 @@
 p_mouse_drawing_optima:
 	fetch 1,mem_config_sensor_type
 	rtneq P3212
+	rtneq SG8670
 	branch mouse_drawing_optima
 
 
 p_mouse_sensor_poweron:
 	call mouse_sensor_spi_init
-	fetch 1,mem_config_sensor_type
-	beq KA8G2,p_mouse_ka8g2_sensor_init
-	branch mouse_sensor_poweron_next
-	
-p_mouse_ka8g2_sensor_init:
-	call p_mouse_ka8g2_sensor_reset
-	arg mem_ka8g2_sensor_poweron_init,regc
-	branch mouse_sensor_poweron_end
-	
-p_mouse_sensor_reset:
-	fetch 1,mem_config_sensor_type
-	beq KA8G2,p_mouse_ka8g2_sensor_reset
-	branch mouse_sensor_reset
-p_mouse_ka8g2_sensor_reset:
-	setarg 0x9706		// reset to factory settings
-	branch mouse_sensor_reset_end
-
-p_mouse_sensor_powerdown:
-	call mouse_init_sunt
-	call mouse_sensor_spi_init
-	fetch 1,mem_config_sensor_type
-	beq KA8G2,p_mouse_ka8g2_sensor_powerdown
-	branch mouse_sensor_powerdown_end
-p_mouse_ka8g2_sensor_powerdown:
-	setarg 0x1f06		
-	branch twspi_write
+	// fetch 1,mem_config_sensor_type
+	// beq KA8G2,p_mouse_ka8g2_sensor_init
+	call mouse_sensor_reset
+	arg mem_sensor_poweron_init,regc
+p_mouse_sensor_poweron_end:
+	call mouse_sensor_wr_seq
+	branch p_mouse_seting_sensor_type
+	
+// p_mouse_ka8g2_sensor_init:
+// 	call p_mouse_ka8g2_sensor_reset
+// 	arg mem_ka8g2_sensor_poweron_init,regc
+// 	branch p_mouse_sensor_poweron_end
+	
+// p_mouse_sensor_reset:
+// 	fetch 1,mem_config_sensor_type
+// 	beq KA8G2,p_mouse_ka8g2_sensor_reset
+// 	branch mouse_sensor_reset
+// p_mouse_ka8g2_sensor_reset:
+// 	setarg 0x9706		// reset to factory settings
+// 	branch mouse_sensor_reset_end
+
+// p_mouse_sensor_powerdown:
+// 	call mouse_init_sunt
+// 	call mouse_sensor_spi_init
+// 	fetch 1,mem_config_sensor_type
+// 	beq KA8G2,p_mouse_ka8g2_sensor_powerdown
+// 	branch mouse_sensor_powerdown_end
+// p_mouse_ka8g2_sensor_powerdown:
+// 	setarg 0x1f06		
+// 	branch twspi_write
 
 //////////////////////////////SENSOR FUNC END////////////////////////////////////////
 	
@@ -1167,10 +1217,41 @@
 
 //////////////////////////////DPI FUNC////////////////////////////////////////
 
+p_mouse_setting_dpi_4_level:
+	fetch 1,mem_config_sensor_type
+	rtneq SG8670
+	branch mouse_setting_dpi_4_level
 p_mouse_seting_dpi:
-	call mouse_setting_dpi_4_level
+	call p_mouse_setting_dpi_4_level
 	call p_mouse_dpi_led_blink_delay
-	branch mouse_seting_sensor_type
+p_mouse_seting_sensor_type:
+	fetch 1,mem_config_sensor_type
+	beq SG8670,p_mouse_seting_SG8670_dpi
+	branch mouse_seting_sensor_type+1
+
+p_mouse_seting_SG8670_dpi:
+	fetch 1,mem_mouse_dpi
+	// beq MOUSE_DPI_LEVEL1,p_mouse_set_SG8670_dpi_1
+	beq MOUSE_DPI_LEVEL2,p_mouse_set_SG8670_dpi_2
+	// beq MOUSE_DPI_LEVEL3,p_mouse_set_SG8670_dpi_3
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_SG8670_dpi_4
+	beq MOUSE_DPI_LEVEL5,p_mouse_set_SG8670_dpi_5
+p_mouse_set_SG8670_dpi_1:
+	arg mem_sensor_sg8670_dpi_1,regc
+	branch mouse_sensor_wr_seq
+p_mouse_set_SG8670_dpi_2:
+	arg mem_sensor_sg8670_dpi_2,regc
+	branch mouse_sensor_wr_seq
+// p_mouse_set_SG8670_dpi_3:
+// 	arg mem_sensor_sg8670_dpi_3,regc
+// 	branch mouse_sensor_wr_seq
+p_mouse_set_SG8670_dpi_4:
+	arg mem_sensor_sg8670_dpi_4,regc
+	branch mouse_sensor_wr_seq
+p_mouse_set_SG8670_dpi_5:
+	arg mem_sensor_sg8670_dpi_5,regc
+	branch mouse_sensor_wr_seq
+
 
 p_mouse_dpi_led_blink_delay:
 	fetch 1,mem_dpi_led_gpio
@@ -1191,7 +1272,7 @@
 p_mouse_dpi_led_blink_init:	//result:    level3: 2  3  1     level4: 3  4  1  2
 	fetch 1,mem_config_sensor_type
 	beq P3212,mouse_dpi_led_blink_init		//result:    level3: 1  2  3     level4: 2  3  4  1
-	beq KA8G2,mouse_dpi_led_blink_init	//result:    level3: 1  2  3     level4: 2  3  4  1
+	// beq KA8G2,mouse_dpi_led_blink_init	//result:    level3: 1  2  3     level4: 2  3  4  1
 	fetch 1,mem_dpi_led_gpio
 	store 1,mem_mouse_struct_led_gpio
 	fetch 2,mem_mouse_dpi_led_blink_time
@@ -1240,11 +1321,25 @@
 endif	
 	copy temp,pdata
 	increase 1,pdata
+	copy pdata,temp
+	fetch 1,mem_config_sensor_type
+	beq SG8670,p_mouse_five_dpi_store
+	copy temp,pdata
 	and pdata,0x03,pdata
 p_mouse_dpi_store:
 	store 1,mem_mouse_dpi
 	call mouse_seting_dpi
 	branch mouse_store_eerpom_dpi
+
+p_mouse_five_dpi_store:
+	sub temp,MOUSE_DPI_LEVEL5,null
+	nbranch p_mouse_dpi_clr,positive
+	copy temp,pdata
+	branch p_mouse_dpi_store
+p_mouse_dpi_clr:
+	setarg 0
+	branch p_mouse_dpi_store
+
 ifdef DOUBLE_DPI_KEY
 p_mouse_double_dpi_check:
 	fetch 1,mem_dpi_another_button_down_enable
@@ -1411,7 +1506,7 @@
 	store 1,mem_mouse_search_dongle_action
 	fetch 2,mem_mouse_24g_search_dongle_time_init		
 	store 2,mem_mouse_no_data_timer
-	branch p_mouse_sensor_powerdown
+	branch mouse_sensor_powerdown
 
 p_mouse_init_sunt:
 	call mouse_sensor_spi_init
@@ -1428,9 +1523,20 @@
 	branch p_mouse_init_sensor
 p_mouse_init_p32xx_id2_judge:
 	fetch 1,mem_sensor_id2
-	beq P_MX8650,p_mouse_mx8650_init_param
+	beq P_MX8650,p_mouse_86xx_check
 	branch mouse_init_p32xx_id2_judge+2
 
+p_mouse_86xx_check:
+	setarg 0x7a
+	call twspi_read
+	beq P8670,p_mouse_sg8670_parm_init
+	branch p_mouse_mx8650_init_param
+p_mouse_sg8670_parm_init:
+	jam SG8670,mem_config_sensor_type
+	arg mem_sensor_sg8670_init,regc
+	call mouse_sensor_wr_seq
+	branch p_mouse_seting_sensor_type
+
 p_mouse_mx8650_init_param:
 	jam MX8650,mem_config_sensor_type
 	call mouse_sensor_reset
@@ -2479,7 +2585,7 @@
 	setarg 0
 	store 7,mem_mouse_key
 	jam 1,mem_sensor_shutdown_flag
-	call p_mouse_sensor_powerdown
+	call mouse_sensor_powerdown
 	branch p_g24_long_sleep
 
 
@@ -3019,7 +3125,7 @@
 
 
 p_mouse_start_discovery:
-	call p_mouse_sensor_powerdown
+	call mouse_sensor_powerdown
 	jam 0,mem_mouse_bt_led_recon_effect_flag
 	call p_mouse_device_discover_led_config
 	call p_mouse_logo_led_off
Index: program_patch/24g_spec_code/patch_24g_event_deal.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/24g_spec_code/patch_24g_event_deal.prog	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/24g_spec_code/patch_24g_event_deal.prog	(working copy)
@@ -115,7 +115,7 @@
 	setarg 0
 	store 7,mem_mouse_key
 	jam 1,mem_sensor_shutdown_flag
-	call p_mouse_sensor_powerdown
+	call mouse_sensor_powerdown
 	branch p_g24_long_sleep
 
 
Index: program_patch/ble_spec_code/patch_ble.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/ble_spec_code/patch_ble.prog	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/ble_spec_code/patch_ble.prog	(working copy)
@@ -13,7 +13,7 @@
 
 
 p_mouse_start_discovery:
-	call p_mouse_sensor_powerdown
+	call mouse_sensor_powerdown
 	jam 0,mem_mouse_bt_led_recon_effect_flag
 	call p_mouse_device_discover_led_config
 	call p_mouse_logo_led_off
Index: program_patch/main_patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/main_patch.prog	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/program_patch/main_patch.prog	(working copy)
@@ -7,7 +7,7 @@
 //define UART_LOG
 //define RSSI_PATCH
 //define RSSI_SORT
-define SELECT_ANGLE
+// define SELECT_ANGLE
 define IO2LED
 define IO1LED
 //define DOUBLE_DPI_KEY
@@ -95,11 +95,11 @@
 	call p_mouse_setting_config
 	call mouse_init_sunt
 	rtn wake
-	call mouse_dpi_config
+	call p_mouse_seting_sensor_type
 	call mouse_usb_check_enable
 	call mouse_drawing_optima_init
 	call p_mouse_cb_fuction
-	call p_mouse_sensor_powerdown
+	call mouse_sensor_powerdown
 	branch mouse_init+8
 
 p_mouse_setting_config:
@@ -204,15 +204,60 @@
 	store 2,mem_cb_24g_search_receiver
 	branch mouse_cb_fuction+4
 
+p_mouse_check_sensor_data:
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	fetch 1,mem_config_sensor_type
+	beq SG8670,mouse_p3212_sensor_motion
+	branch mouse_check_sensor_data+3
+
+p_mouse_data_zoom:
+	fetch 1,mem_config_sensor_type
+	rtnne SG8670
+	fetch 1,mem_mouse_dpi
+	rtneq MOUSE_DPI_LEVEL1
+	rtneq MOUSE_DPI_LEVEL2
+	rtneq MOUSE_DPI_LEVEL5
+	fetch 2,mem_mouse_x
+	call p_mouse_2400_3200_zoom
+	store 2,mem_mouse_x
+	fetch 2,mem_mouse_y
+	call p_mouse_2400_3200_zoom
+	store 2,mem_mouse_y
+	rtn
+p_mouse_2400_3200_zoom:
+	bbit1 11,p_mouse_xy_inverse
+	bbit0 11,p_mouse_xy_zoom
+	rtn
+p_mouse_xy_inverse:
+	sub pdata,0,pdata
+	call p_mouse_xy_zoom	
+	sub pdata,0,pdata
+	rtn
+
+p_mouse_xy_zoom:
+	copy pdata,temp
+	iadd temp,pdata
+	store 2,mem_mouse_temp_data
+	fetch 1,mem_mouse_temp_data+1
+	sub pdata,0x7,null
+	ncall p_mouse_xy_forward_overflow,positive
+	fetch 2,mem_mouse_temp_data
+	rtn
+p_mouse_xy_forward_overflow:
+	setarg 0x7ff
+	store 2,mem_mouse_temp_data
+	rtn
 
 p_mouse_motion:
 	disable user
 	setarg 0
 	store 6,mem_mouse_x
-	call mouse_check_sensor_data
+	call p_mouse_check_sensor_data
+	call p_mouse_data_zoom
 	setarg 0x0089			
 	call twspi_write
-	call mouse_dpi_config
+	call p_mouse_seting_sensor_type
 	call mouse_zwheel
 	call mouse_t_zwheel
 	call p_mouse_key
@@ -312,8 +357,8 @@
 	setarg PAN_REG_CONFIG
 	call twspi_read
 	bbit1 3,mouse_app_enter_hibernate+3
-	call p_mouse_sensor_reset
-	call p_mouse_sensor_powerdown
+	call mouse_sensor_reset
+	call mouse_sensor_powerdown
 	branch mouse_app_enter_hibernate+3
 
 p_mouse_setgpio_hibernate:
@@ -788,37 +833,42 @@
 p_mouse_drawing_optima:
 	fetch 1,mem_config_sensor_type
 	rtneq P3212
+	rtneq SG8670
 	branch mouse_drawing_optima
 
 
 p_mouse_sensor_poweron:
 	call mouse_sensor_spi_init
-	fetch 1,mem_config_sensor_type
-	beq KA8G2,p_mouse_ka8g2_sensor_init
-	branch mouse_sensor_poweron_next
-	
-p_mouse_ka8g2_sensor_init:
-	call p_mouse_ka8g2_sensor_reset
-	arg mem_ka8g2_sensor_poweron_init,regc
-	branch mouse_sensor_poweron_end
-	
-p_mouse_sensor_reset:
-	fetch 1,mem_config_sensor_type
-	beq KA8G2,p_mouse_ka8g2_sensor_reset
-	branch mouse_sensor_reset
-p_mouse_ka8g2_sensor_reset:
-	setarg 0x9706		// reset to factory settings
-	branch mouse_sensor_reset_end
-
-p_mouse_sensor_powerdown:
-	call mouse_init_sunt
-	call mouse_sensor_spi_init
-	fetch 1,mem_config_sensor_type
-	beq KA8G2,p_mouse_ka8g2_sensor_powerdown
-	branch mouse_sensor_powerdown_end
-p_mouse_ka8g2_sensor_powerdown:
-	setarg 0x1f06		
-	branch twspi_write
+	// fetch 1,mem_config_sensor_type
+	// beq KA8G2,p_mouse_ka8g2_sensor_init
+	call mouse_sensor_reset
+	arg mem_sensor_poweron_init,regc
+p_mouse_sensor_poweron_end:
+	call mouse_sensor_wr_seq
+	branch p_mouse_seting_sensor_type
+	
+// p_mouse_ka8g2_sensor_init:
+// 	call p_mouse_ka8g2_sensor_reset
+// 	arg mem_ka8g2_sensor_poweron_init,regc
+// 	branch p_mouse_sensor_poweron_end
+	
+// p_mouse_sensor_reset:
+// 	fetch 1,mem_config_sensor_type
+// 	beq KA8G2,p_mouse_ka8g2_sensor_reset
+// 	branch mouse_sensor_reset
+// p_mouse_ka8g2_sensor_reset:
+// 	setarg 0x9706		// reset to factory settings
+// 	branch mouse_sensor_reset_end
+
+// p_mouse_sensor_powerdown:
+// 	call mouse_init_sunt
+// 	call mouse_sensor_spi_init
+// 	fetch 1,mem_config_sensor_type
+// 	beq KA8G2,p_mouse_ka8g2_sensor_powerdown
+// 	branch mouse_sensor_powerdown_end
+// p_mouse_ka8g2_sensor_powerdown:
+// 	setarg 0x1f06		
+// 	branch twspi_write
 
 //////////////////////////////SENSOR FUNC END////////////////////////////////////////
 	
@@ -1167,10 +1217,41 @@
 
 //////////////////////////////DPI FUNC////////////////////////////////////////
 
+p_mouse_setting_dpi_4_level:
+	fetch 1,mem_config_sensor_type
+	rtneq SG8670
+	branch mouse_setting_dpi_4_level
 p_mouse_seting_dpi:
-	call mouse_setting_dpi_4_level
+	call p_mouse_setting_dpi_4_level
 	call p_mouse_dpi_led_blink_delay
-	branch mouse_seting_sensor_type
+p_mouse_seting_sensor_type:
+	fetch 1,mem_config_sensor_type
+	beq SG8670,p_mouse_seting_SG8670_dpi
+	branch mouse_seting_sensor_type+1
+
+p_mouse_seting_SG8670_dpi:
+	fetch 1,mem_mouse_dpi
+	// beq MOUSE_DPI_LEVEL1,p_mouse_set_SG8670_dpi_1
+	beq MOUSE_DPI_LEVEL2,p_mouse_set_SG8670_dpi_2
+	// beq MOUSE_DPI_LEVEL3,p_mouse_set_SG8670_dpi_3
+	beq MOUSE_DPI_LEVEL4,p_mouse_set_SG8670_dpi_4
+	beq MOUSE_DPI_LEVEL5,p_mouse_set_SG8670_dpi_5
+p_mouse_set_SG8670_dpi_1:
+	arg mem_sensor_sg8670_dpi_1,regc
+	branch mouse_sensor_wr_seq
+p_mouse_set_SG8670_dpi_2:
+	arg mem_sensor_sg8670_dpi_2,regc
+	branch mouse_sensor_wr_seq
+// p_mouse_set_SG8670_dpi_3:
+// 	arg mem_sensor_sg8670_dpi_3,regc
+// 	branch mouse_sensor_wr_seq
+p_mouse_set_SG8670_dpi_4:
+	arg mem_sensor_sg8670_dpi_4,regc
+	branch mouse_sensor_wr_seq
+p_mouse_set_SG8670_dpi_5:
+	arg mem_sensor_sg8670_dpi_5,regc
+	branch mouse_sensor_wr_seq
+
 
 p_mouse_dpi_led_blink_delay:
 	fetch 1,mem_dpi_led_gpio
@@ -1191,7 +1272,7 @@
 p_mouse_dpi_led_blink_init:	//result:    level3: 2  3  1     level4: 3  4  1  2
 	fetch 1,mem_config_sensor_type
 	beq P3212,mouse_dpi_led_blink_init		//result:    level3: 1  2  3     level4: 2  3  4  1
-	beq KA8G2,mouse_dpi_led_blink_init	//result:    level3: 1  2  3     level4: 2  3  4  1
+	// beq KA8G2,mouse_dpi_led_blink_init	//result:    level3: 1  2  3     level4: 2  3  4  1
 	fetch 1,mem_dpi_led_gpio
 	store 1,mem_mouse_struct_led_gpio
 	fetch 2,mem_mouse_dpi_led_blink_time
@@ -1240,11 +1321,25 @@
 endif	
 	copy temp,pdata
 	increase 1,pdata
+	copy pdata,temp
+	fetch 1,mem_config_sensor_type
+	beq SG8670,p_mouse_five_dpi_store
+	copy temp,pdata
 	and pdata,0x03,pdata
 p_mouse_dpi_store:
 	store 1,mem_mouse_dpi
 	call mouse_seting_dpi
 	branch mouse_store_eerpom_dpi
+
+p_mouse_five_dpi_store:
+	sub temp,MOUSE_DPI_LEVEL5,null
+	nbranch p_mouse_dpi_clr,positive
+	copy temp,pdata
+	branch p_mouse_dpi_store
+p_mouse_dpi_clr:
+	setarg 0
+	branch p_mouse_dpi_store
+
 ifdef DOUBLE_DPI_KEY
 p_mouse_double_dpi_check:
 	fetch 1,mem_dpi_another_button_down_enable
@@ -1411,7 +1506,7 @@
 	store 1,mem_mouse_search_dongle_action
 	fetch 2,mem_mouse_24g_search_dongle_time_init		
 	store 2,mem_mouse_no_data_timer
-	branch p_mouse_sensor_powerdown
+	branch mouse_sensor_powerdown
 
 p_mouse_init_sunt:
 	call mouse_sensor_spi_init
@@ -1428,9 +1523,20 @@
 	branch p_mouse_init_sensor
 p_mouse_init_p32xx_id2_judge:
 	fetch 1,mem_sensor_id2
-	beq P_MX8650,p_mouse_mx8650_init_param
+	beq P_MX8650,p_mouse_86xx_check
 	branch mouse_init_p32xx_id2_judge+2
 
+p_mouse_86xx_check:
+	setarg 0x7a
+	call twspi_read
+	beq P8670,p_mouse_sg8670_parm_init
+	branch p_mouse_mx8650_init_param
+p_mouse_sg8670_parm_init:
+	jam SG8670,mem_config_sensor_type
+	arg mem_sensor_sg8670_init,regc
+	call mouse_sensor_wr_seq
+	branch p_mouse_seting_sensor_type
+
 p_mouse_mx8650_init_param:
 	jam MX8650,mem_config_sensor_type
 	call mouse_sensor_reset
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/sched/mouse.dat	(revision 4109)
+++ /YC1308AC/branch/mouse_project/MingZhe_Project/branch/mouse_public_bt/mouse_public_dpi_toggle/sched/mouse.dat	(working copy)
@@ -257,6 +257,67 @@
 11##mem_ka8g2_dpi_2	1000
 0e##mem_ka8g2_dpi_3	800
 
+mem_sensor_sg8670_init:
+7f 26
+09 5a
+0f 04
+28 0e
+29 10
+5b 00
+4e 1a
+4f 00
+70 00
+7e 01
+40 ff
+41 ff
+42 ff
+43 ff
+47 af
+4a 00
+4c 04
+4d 00
+4e 03
+7e 00
+7f 00
+09 00
+ff ff
+mem_sensor_sg8670_dpi_1:
+09 5a
+7f 26
+7e 00
+6e c6
+6f 46
+09 00
+7f 00
+ff ff
+mem_sensor_sg8670_dpi_2:
+09 5a
+7f 26
+7e 00
+6e e8
+6f 68
+09 00
+7f 00
+ff ff
+mem_sensor_sg8670_dpi_4:
+09 5a
+7f 26
+7e 00
+6e d7
+6f 57
+09 00
+7f 00
+ff ff
+mem_sensor_sg8670_dpi_5:
+09 5a
+7f 26
+7e 00
+6e ab
+6f 2b
+09 00
+7f 00
+ff ff
+
 mem_sensor_3212_init:
 09 5a
 26 34
@@ -370,11 +431,11 @@
 09 00
 ff ff
 
-mem_ka8g2_sensor_poweron_init:
-09 a5
-0b f3
-09 00
-ff ff	
+# mem_ka8g2_sensor_poweron_init:
+# 09 a5
+# 0b f3
+# 09 00
+# ff ff	
 
 
   
