Index: format/app_mouse.format
===================================================================
--- /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/format/app_mouse.format	(revision 5545)
+++ /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/format/app_mouse.format	(working copy)
@@ -490,6 +490,27 @@
 1 mem_3220_dpi_3_x
 1 mem_3220_dpi_3_y
 
+92 mem_sensor_P3230_init
+0 mem_3230_dpi_set
+1 mem_3230_dpi_0_x
+1 mem_3230_dpi_0_xh
+1 mem_3230_dpi_0_y
+1 mem_3230_dpi_0_yh
+1 mem_3230_dpi_1_x
+1 mem_3230_dpi_1_xh
+1 mem_3230_dpi_1_y
+1 mem_3230_dpi_1_yh
+1 mem_3230_dpi_2_x
+1 mem_3230_dpi_2_xh
+1 mem_3230_dpi_2_y
+1 mem_3230_dpi_2_yh
+1 mem_3230_dpi_3_x
+1 mem_3230_dpi_3_xh
+1 mem_3230_dpi_3_y
+1 mem_3230_dpi_3_yh
+
+1 mem_mouse_motion_staus
+
 1 mem_mouse_multi_24g_pair_led_blink_timer_init
 1 mem_adc_low_led_enable_timer
 1 mem_adc_low_led_blank_count
@@ -666,6 +687,7 @@
 0x59 PKA8G2_ID2
 0x52 OM16_ID2
 0x18 OM18_ID
+0x31 P3230_ID2
 
 //Sensor type
 0X00 P3205
@@ -703,6 +725,8 @@
 0x0D PAN_REG_IMAGE_THRESHOLD
 0x0E PAN_REG_IMAGE_RECGNITION
 
+0x11 PAN_REG_DALTA_X_HIGH
+0x12 PAN_REG_DALTA_Y_HIGH
 
 0x06 MOUSE_DPI_ADDRESS
 0x05 MOUSE_P3610_DPI_ADDRESS
@@ -710,6 +734,11 @@
 0x0E MOUSE_P3212_DPI_YADDRESS
 0x10 MOUSE_OM18_DPI_XADDRESS
 0x11 MOUSE_OM18_DPI_YADDRESS
+
+0x0c MOUSE_3230_DPI_XADDRESS
+0x0d MOUSE_3230_DPI_YADDRESS
+0x1d MOUSE_3230_DPI_XHADDRESS
+0x1e MOUSE_3230_DPI_YHADDRESS
 )
 
 (
Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/output/eeprom.dat	(revision 5545)
+++ /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/output/eeprom.dat	(working copy)
@@ -2,128 +2,132 @@
 02
 aa
 55
-0e
-1b
+b2
+1c
 c2
 84
 00
-1f
+20
 c0
 00
 00
-4b
+4e
 c0
 41
 00
-5d
+60
 c0
 41
 80
-64
+67
 c0
 45
 00
-79
+7c
 c0
 45
 80
-72
+75
 c0
 52
 00
-2b
+2c
 c0
 56
 80
-80
+83
 c0
 61
 81
-da
+de
 c0
 62
 01
-ed
+f1
 c0
 63
-02
-ff
+03
+03
+c0
+63
+83
+28
 c0
 64
 03
-10
+16
 c0
 64
 83
-43
+53
 c0
 65
 86
-35
+80
 c0
 66
 86
-4d
+98
 c0
 67
 03
-c9
+db
 c0
 67
-83
-f9
+84
+0b
 c0
 68
 06
-8b
+f4
 c0
 69
 03
-6c
+78
 c0
 69
 82
-ec
+f0
 c0
 6a
 84
-b3
+fe
 c0
 6c
 01
-f1
+f5
 c0
 6e
 83
-50
+5c
 c0
 6f
 00
-3e
+3f
 c0
 70
 00
-36
+37
 c0
 70
 80
-32
+33
 c0
 6c
 85
-87
+d2
 c0
 6d
 05
-b4
+ff
 c0
 4f
 80
-77
+7a
 c0
 6e
 02
-e5
+e9
 20
 20
 13
@@ -131,47 +135,47 @@
 c0
 0f
 80
-8c
+90
 c0
 42
-85
-b7
+86
+02
 c0
 6e
 85
-3d
+88
 c0
 71
 05
-48
+93
 c0
 74
 85
-50
+9b
 c0
 75
 01
-46
+4a
 c0
 76
 05
-7c
+c7
 c0
 0c
-85
-cf
+86
+1a
 c0
 4f
-85
-d9
+86
+24
 c0
 50
-85
-e3
+86
+2e
 c0
 5f
-05
-e5
+06
+30
 20
 20
 13
@@ -195,7 +199,7 @@
 6f
 e0
 cd
-49
+b6
 24
 7a
 00
@@ -263,7 +267,7 @@
 20
 40
 02
-c8
+cc
 20
 40
 47
@@ -273,6 +277,14 @@
 c9
 3d
 70
+4c
+24
+00
+20
+40
+02
+b0
+70
 41
 ca
 00
@@ -283,7 +295,7 @@
 20
 40
 00
-48
+4b
 20
 40
 31
@@ -315,7 +327,7 @@
 24
 55
 80
-3a
+3b
 58
 00
 4c
@@ -475,7 +487,7 @@
 20
 40
 00
-6b
+6e
 20
 20
 12
@@ -495,7 +507,7 @@
 c0
 4a
 00
-7d
+80
 c0
 4f
 12
@@ -523,11 +535,11 @@
 20
 40
 00
-cc
+d0
 24
 55
 80
-99
+9d
 20
 40
 41
@@ -546,8 +558,12 @@
 02
 20
 40
-03
-fb
+04
+0d
+70
+49
+c5
+06
 20
 40
 47
@@ -555,11 +571,11 @@
 20
 40
 00
-dc
+e0
 20
 40
 02
-f7
+fb
 20
 20
 3c
@@ -579,11 +595,11 @@
 c0
 00
 80
-92
+96
 c0
 01
 00
-96
+9a
 20
 60
 00
@@ -615,7 +631,7 @@
 20
 20
 00
-94
+98
 6f
 e4
 4c
@@ -627,7 +643,7 @@
 20
 40
 00
-8e
+92
 6f
 e0
 cb
@@ -643,7 +659,7 @@
 24
 21
 00
-aa
+ae
 d8
 c0
 4c
@@ -655,7 +671,7 @@
 20
 40
 00
-a8
+ac
 d8
 c0
 4c
@@ -667,7 +683,7 @@
 20
 40
 00
-a8
+ac
 d8
 c0
 4c
@@ -687,7 +703,7 @@
 20
 40
 00
-c0
+c4
 6f
 e0
 cb
@@ -839,7 +855,7 @@
 20
 40
 00
-c8
+cc
 20
 40
 3d
@@ -847,15 +863,15 @@
 20
 40
 00
-c3
+c7
 20
 40
 02
-56
+5a
 20
 40
 00
-d6
+da
 20
 20
 3c
@@ -887,7 +903,7 @@
 58
 00
 00
-e6
+ea
 67
 e1
 44
@@ -895,7 +911,7 @@
 58
 00
 00
-ec
+f0
 67
 e1
 48
@@ -903,7 +919,7 @@
 58
 00
 01
-0d
+11
 67
 e1
 48
@@ -915,7 +931,7 @@
 58
 00
 00
-e7
+eb
 67
 e1
 44
@@ -971,7 +987,7 @@
 24
 5a
 01
-0b
+0f
 6f
 e4
 4b
@@ -979,7 +995,7 @@
 c3
 0a
 80
-f6
+fa
 6f
 e0
 cb
@@ -999,7 +1015,7 @@
 c2
 80
 81
-05
+09
 68
 48
 c7
@@ -1147,7 +1163,7 @@
 24
 21
 01
-23
+27
 20
 40
 25
@@ -1159,15 +1175,15 @@
 24
 2c
 01
-29
+2d
 24
 37
 81
-29
+2d
 20
 40
 01
-33
+37
 20
 40
 25
@@ -1187,7 +1203,7 @@
 c0
 08
 01
-2b
+2f
 20
 60
 00
@@ -1199,7 +1215,7 @@
 20
 20
 01
-19
+1d
 70
 4b
 b4
@@ -1267,7 +1283,7 @@
 20
 20
 03
-6e
+7a
 6f
 e2
 48
@@ -1283,11 +1299,11 @@
 20
 22
 81
-41
+45
 20
 20
 01
-44
+48
 70
 41
 ea
@@ -1314,12 +1330,12 @@
 38
 24
 34
-04
-e7
+05
+32
 20
 40
 01
-95
+99
 20
 40
 26
@@ -1327,7 +1343,7 @@
 20
 40
 01
-3c
+40
 6f
 e0
 cb
@@ -1335,7 +1351,7 @@
 24
 3a
 01
-51
+55
 6f
 e4
 48
@@ -1379,7 +1395,7 @@
 c0
 00
 81
-91
+95
 6f
 e0
 cc
@@ -1387,7 +1403,7 @@
 20
 3a
 01
-91
+95
 1b
 22
 7e
@@ -1455,7 +1471,7 @@
 20
 22
 81
-6e
+72
 18
 40
 84
@@ -1515,7 +1531,7 @@
 20
 21
 01
-85
+89
 1f
 e6
 7e
@@ -1551,7 +1567,7 @@
 24
 21
 01
-8f
+93
 60
 49
 c8
@@ -1591,7 +1607,7 @@
 20
 21
 01
-8f
+93
 60
 49
 c8
@@ -1651,11 +1667,11 @@
 24
 2c
 01
-a0
+a4
 24
 37
 81
-a0
+a4
 20
 40
 26
@@ -1663,7 +1679,7 @@
 20
 40
 01
-c0
+c4
 20
 20
 26
@@ -1679,7 +1695,7 @@
 20
 40
 01
-b0
+b4
 6f
 e0
 c8
@@ -1727,11 +1743,11 @@
 20
 40
 01
-cd
+d1
 20
 20
 01
-98
+9c
 6f
 e0
 c9
@@ -1767,7 +1783,7 @@
 c0
 7f
 81
-bd
+c1
 20
 40
 41
@@ -1795,7 +1811,7 @@
 20
 20
 01
-ba
+be
 6f
 e0
 cb
@@ -1803,7 +1819,7 @@
 24
 5a
 01
-c4
+c8
 70
 4b
 f2
@@ -1815,7 +1831,7 @@
 20
 40
 03
-6e
+7a
 6f
 e4
 4b
@@ -1883,7 +1899,7 @@
 c2
 83
 81
-d8
+dc
 70
 4c
 1b
@@ -1915,7 +1931,7 @@
 c0
 00
 01
-df
+e3
 20
 20
 3e
@@ -1943,7 +1959,7 @@
 20
 40
 02
-74
+78
 20
 40
 3e
@@ -1987,7 +2003,7 @@
 24
 5a
 02
-7b
+7f
 20
 20
 3e
@@ -1999,11 +2015,11 @@
 20
 40
 04
-a7
+f2
 20
 40
 04
-7c
+c7
 20
 40
 22
@@ -2023,11 +2039,11 @@
 20
 40
 02
-1c
+20
 20
 40
 02
-8c
+90
 20
 40
 40
@@ -2035,11 +2051,11 @@
 20
 40
 02
-1f
+23
 20
 40
 02
-2f
+33
 20
 40
 45
@@ -2047,19 +2063,19 @@
 20
 40
 02
-0d
+11
 20
 40
 02
-18
+1c
 20
 40
 04
-41
+8c
 20
 40
 02
-46
+4a
 20
 40
 45
@@ -2067,7 +2083,7 @@
 20
 40
 02
-4a
+4e
 20
 40
 45
@@ -2075,7 +2091,7 @@
 20
 40
 02
-4d
+51
 20
 40
 45
@@ -2099,11 +2115,11 @@
 20
 40
 02
-cb
+cf
 20
 20
 02
-50
+54
 6f
 e4
 4b
@@ -2115,7 +2131,7 @@
 da
 40
 02
-12
+16
 da
 60
 4c
@@ -2130,15 +2146,15 @@
 00
 70
 4d
-47
+b4
 00
 70
 4d
-46
+b3
 00
 70
 4d
-48
+b5
 00
 70
 4c
@@ -2151,7 +2167,7 @@
 da
 40
 02
-1b
+1f
 da
 60
 4c
@@ -2163,7 +2179,7 @@
 20
 20
 04
-9e
+e9
 da
 60
 4b
@@ -2171,7 +2187,7 @@
 da
 40
 04
-2c
+75
 20
 20
 31
@@ -2183,7 +2199,7 @@
 c2
 9b
 82
-22
+26
 20
 60
 00
@@ -2203,7 +2219,7 @@
 da
 40
 02
-27
+2b
 20
 20
 31
@@ -2215,7 +2231,7 @@
 c0
 00
 05
-0d
+58
 6f
 e4
 4b
@@ -2247,7 +2263,7 @@
 c0
 00
 02
-35
+39
 6f
 e4
 4b
@@ -2263,7 +2279,7 @@
 20
 20
 02
-38
+3c
 6f
 e4
 4b
@@ -2299,7 +2315,7 @@
 20
 22
 82
-3f
+43
 20
 20
 45
@@ -2307,7 +2323,7 @@
 20
 40
 02
-44
+48
 6f
 e0
 cb
@@ -2327,7 +2343,7 @@
 da
 40
 05
-0d
+58
 20
 20
 45
@@ -2379,7 +2395,7 @@
 da
 40
 02
-53
+57
 20
 20
 32
@@ -2390,8 +2406,8 @@
 3d
 c0
 00
-04
-df
+05
+2a
 20
 20
 43
@@ -2411,15 +2427,15 @@
 20
 40
 02
-c8
+cc
 20
 40
 02
-61
+65
 20
 40
 02
-65
+69
 6f
 e0
 cc
@@ -2463,7 +2479,7 @@
 24
 3a
 02
-6a
+6e
 6f
 e0
 cc
@@ -2491,7 +2507,7 @@
 6f
 e0
 cd
-45
+b2
 67
 e0
 cc
@@ -2503,7 +2519,7 @@
 20
 20
 02
-7d
+81
 6f
 e0
 cc
@@ -2515,7 +2531,7 @@
 20
 20
 02
-88
+8c
 6f
 e0
 cc
@@ -2527,7 +2543,7 @@
 20
 20
 02
-7b
+7f
 6f
 e0
 cc
@@ -2543,7 +2559,7 @@
 20
 20
 02
-7d
+81
 6f
 e0
 cc
@@ -2551,7 +2567,7 @@
 24
 5a
 02
-80
+84
 70
 4c
 22
@@ -2571,7 +2587,7 @@
 c0
 00
 02
-85
+89
 6f
 e0
 cc
@@ -2627,7 +2643,7 @@
 c0
 00
 82
-9a
+9e
 6f
 e0
 cc
@@ -2635,7 +2651,7 @@
 24
 3a
 02
-95
+99
 70
 4c
 26
@@ -2647,7 +2663,7 @@
 20
 20
 02
-bb
+bf
 6f
 e0
 cc
@@ -2655,7 +2671,7 @@
 20
 3a
 02
-92
+96
 1f
 e0
 ff
@@ -2667,7 +2683,7 @@
 20
 20
 02
-ad
+b1
 6f
 e0
 cc
@@ -2675,7 +2691,7 @@
 24
 3a
 02
-9f
+a3
 da
 60
 4c
@@ -2683,7 +2699,7 @@
 da
 40
 02
-a7
+ab
 20
 20
 31
@@ -2695,11 +2711,11 @@
 20
 3a
 02
-ba
+be
 20
 20
 02
-9c
+a0
 6f
 e0
 cc
@@ -2727,11 +2743,11 @@
 24
 5a
 02
-a2
+a6
 20
 40
 02
-65
+69
 6f
 e0
 cc
@@ -2739,7 +2755,7 @@
 c0
 00
 82
-ba
+be
 70
 4c
 2f
@@ -2751,15 +2767,15 @@
 c0
 00
 02
-b2
+b6
 c0
 00
 82
-b4
+b8
 c0
 01
 02
-b6
+ba
 20
 60
 00
@@ -2771,7 +2787,7 @@
 20
 20
 02
-b7
+bb
 68
 48
 cc
@@ -2779,7 +2795,7 @@
 20
 20
 02
-b7
+bb
 68
 48
 cc
@@ -2807,15 +2823,15 @@
 c0
 00
 02
-c0
+c4
 c0
 00
 82
-c2
+c6
 c0
 01
 02
-c4
+c8
 20
 60
 00
@@ -2827,7 +2843,7 @@
 20
 20
 02
-c5
+c9
 68
 48
 cc
@@ -2835,7 +2851,7 @@
 20
 20
 02
-c5
+c9
 68
 48
 cc
@@ -2855,15 +2871,15 @@
 20
 40
 02
-c0
+c4
 20
 40
 02
-c2
+c6
 20
 20
 02
-c4
+c8
 da
 60
 49
@@ -2871,7 +2887,7 @@
 da
 40
 02
-ce
+d2
 20
 20
 31
@@ -2899,11 +2915,11 @@
 20
 40
 02
-d5
+d9
 20
 20
 02
-e3
+e7
 20
 40
 46
@@ -2923,7 +2939,7 @@
 20
 20
 82
-e3
+e7
 6f
 e0
 cd
@@ -2959,11 +2975,11 @@
 24
 3a
 02
-d5
+d9
 20
 40
 00
-52
+55
 20
 20
 46
@@ -3007,11 +3023,11 @@
 c0
 05
 82
-f3
+f7
 20
 40
 03
-09
+0f
 da
 60
 4a
@@ -3022,12 +3038,12 @@
 6b
 20
 20
-03
-fb
+04
+0d
 20
 40
 03
-0c
+12
 da
 60
 4b
@@ -3038,8 +3054,8 @@
 6b
 20
 20
-03
-fb
+04
+0d
 20
 40
 41
@@ -3054,8 +3070,8 @@
 2c
 c0
 05
-82
-fd
+83
+01
 58
 00
 08
@@ -3091,11 +3107,19 @@
 20
 40
 03
-09
-20
-40
+0f
+6f
+e0
+c4
+a6
+1f
+e1
+7e
 02
-f7
+24
+5a
+02
+fb
 20
 20
 3e
@@ -3119,7 +3143,7 @@
 c0
 05
 83
-0c
+12
 20
 20
 42
@@ -3151,7 +3175,7 @@
 20
 40
 02
-c8
+cc
 20
 40
 40
@@ -3203,19 +3227,59 @@
 20
 40
 03
-23
+33
 20
 40
 03
-30
-20
 40
+20
+20
 03
-37
+47
+6f
+f2
+01
+38
+79
 20
-60
-00
+7e
+1a
+67
+f2
 00
+4c
+20
+40
+15
+4c
+20
+40
+6e
+62
+20
+40
+49
+5b
+20
+40
+40
+55
+20
+40
+3e
+6a
+20
+40
+46
+6d
+68
+48
+c4
+b8
+20
+20
+60
+f7
 6f
 e1
 cb
@@ -3263,7 +3327,7 @@
 c2
 00
 03
-27
+37
 20
 60
 00
@@ -3377,29 +3441,13 @@
 61
 2c
 20
-40
+20
 3e
 85
-68
-48
-c9
-1f
-20
-40
-60
-e6
-68
-48
-c9
-1e
-20
-20
-60
-e6
 20
 40
 03
-55
+61
 20
 40
 79
@@ -3407,11 +3455,11 @@
 20
 40
 03
-58
+64
 20
 40
 03
-87
+99
 20
 20
 46
@@ -3459,7 +3507,7 @@
 20
 40
 03
-61
+6d
 20
 20
 40
@@ -3487,7 +3535,7 @@
 c0
 7f
 83
-68
+74
 20
 20
 40
@@ -3498,8 +3546,8 @@
 13
 20
 40
-06
-c0
+07
+29
 68
 48
 c9
@@ -3531,7 +3579,11 @@
 c0
 18
 03
-81
+8e
+c0
+19
+83
+94
 c0
 18
 c2
@@ -3539,7 +3591,7 @@
 c0
 2c
 03
-77
+84
 20
 40
 41
@@ -3551,7 +3603,7 @@
 20
 20
 03
-70
+7c
 20
 40
 42
@@ -3563,7 +3615,7 @@
 c0
 2b
 83
-7c
+89
 c0
 2c
 c2
@@ -3587,11 +3639,11 @@
 20
 20
 03
-80
+8d
 20
 20
-03
-fb
+04
+0d
 6f
 e0
 c9
@@ -3599,7 +3651,7 @@
 c0
 01
 03
-84
+91
 20
 20
 41
@@ -3617,6 +3669,26 @@
 42
 6b
 6f
+e0
+c9
+c7
+c1
+98
+80
+00
+70
+49
+2c
+0f
+da
+60
+4d
+45
+20
+20
+42
+6b
+6f
 e4
 4b
 bc
@@ -3631,19 +3703,19 @@
 24
 3a
 03
-90
+a2
 6f
 e0
 cc
 1c
 20
 40
-06
-bd
+07
+26
 20
 40
 03
-a1
+b3
 68
 48
 cc
@@ -3670,8 +3742,8 @@
 1c
 20
 40
-06
-c0
+07
+29
 70
 4c
 20
@@ -3687,11 +3759,11 @@
 20
 40
 03
-ba
+cc
 20
 40
 03
-a5
+b7
 68
 48
 cc
@@ -3735,7 +3807,7 @@
 20
 40
 03
-b0
+c2
 67
 e0
 cc
@@ -3747,7 +3819,7 @@
 20
 3a
 03
-ac
+be
 6f
 e0
 cc
@@ -3811,11 +3883,11 @@
 c0
 03
 83
-c5
+d7
 c0
 00
 03
-c7
+d9
 20
 60
 00
@@ -3855,11 +3927,11 @@
 c0
 03
 83
-c5
+d7
 c0
 00
 03
-c7
+d9
 20
 60
 00
@@ -3903,7 +3975,7 @@
 c2
 9e
 83
-d5
+e7
 18
 42
 7e
@@ -3934,8 +4006,8 @@
 1f
 24
 3a
-03
-f2
+04
+04
 6f
 e4
 4b
@@ -3943,7 +4015,7 @@
 c2
 8e
 03
-e6
+f8
 18
 42
 7e
@@ -3955,11 +4027,11 @@
 c0
 00
 03
-e2
+f4
 c0
 01
 03
-e0
+f2
 20
 60
 00
@@ -3971,7 +4043,7 @@
 20
 20
 03
-d2
+e4
 58
 00
 00
@@ -3979,7 +4051,7 @@
 20
 20
 03
-d2
+e4
 58
 00
 00
@@ -3987,7 +4059,7 @@
 20
 20
 03
-d2
+e4
 58
 00
 00
@@ -3995,7 +4067,7 @@
 20
 20
 03
-d2
+e4
 18
 42
 7e
@@ -4007,15 +4079,15 @@
 c0
 00
 03
-e2
+f4
 c0
 01
 03
-e4
+f6
 c0
 01
 83
-e0
+f2
 20
 60
 00
@@ -4031,15 +4103,15 @@
 c0
 00
 03
-e4
+f6
 c0
 00
 83
-e0
+f2
 c0
 01
 83
-de
+f0
 20
 60
 00
@@ -4051,7 +4123,7 @@
 c2
 8e
 03
-ec
+fe
 18
 42
 7e
@@ -4063,11 +4135,11 @@
 c0
 00
 03
-de
+f0
 c0
 00
 83
-e0
+f2
 20
 60
 00
@@ -4079,7 +4151,7 @@
 20
 40
 04
-1e
+67
 6f
 e0
 c9
@@ -4087,7 +4159,11 @@
 c0
 07
 04
-00
+13
+c0
+07
+84
+31
 c0
 06
 40
@@ -4107,19 +4183,19 @@
 c0
 00
 04
-06
+19
 c0
 00
 84
-0a
+1d
 c0
 01
 04
-0e
+21
 c0
 01
 84
-12
+25
 20
 60
 00
@@ -4131,7 +4207,7 @@
 20
 40
 04
-16
+29
 6f
 e0
 cd
@@ -4139,7 +4215,7 @@
 20
 20
 04
-1a
+2d
 6f
 e0
 cd
@@ -4147,7 +4223,7 @@
 20
 40
 04
-16
+29
 6f
 e0
 cd
@@ -4155,7 +4231,7 @@
 20
 20
 04
-1a
+2d
 6f
 e0
 cd
@@ -4163,7 +4239,7 @@
 20
 40
 04
-16
+29
 6f
 e0
 cd
@@ -4171,7 +4247,7 @@
 20
 20
 04
-1a
+2d
 6f
 e0
 cd
@@ -4179,7 +4255,7 @@
 20
 40
 04
-16
+29
 6f
 e0
 cd
@@ -4187,7 +4263,7 @@
 20
 20
 04
-1a
+2d
 67
 e0
 c9
@@ -4223,115 +4299,339 @@
 6f
 e0
 c9
-28
-c1
-7f
-80
-00
-6f
-e1
-4a
-d3
-24
-7a
-00
-00
-6f
-e1
-48
-87
-24
-7a
-00
-00
-6f
-e1
-48
-8b
-24
-7a
-00
-00
-6f
-e0
-cb
-b8
-24
-7a
+97
+c0
 00
+04
+37
+c0
 00
-6f
-e0
-cb
-d2
-20
-3a
+84
+3f
+c0
+01
 04
-2c
-67
-e0
-cb
-b9
+47
+c0
+01
+84
+4f
 20
 60
 00
 00
 6f
 e0
-c9
-2c
-c0
-07
-04
-3b
-c0
-01
-84
-3b
-c0
-05
-84
-3b
-68
-48
-c9
-97
-18
-40
-84
-02
-18
-46
-7c
-03
+cd
+a1
 20
-41
+40
 04
 57
-24
-41
+6f
+e0
+cd
+a3
+20
+40
 04
 5b
-18
-42
-7e
-00
-9f
-e0
-fe
-00
-67
+6f
 e0
 cd
-0e
-70
-4d
-0d
-01
+a2
 20
 40
 04
-3e
+5f
+6f
+e0
+cd
+a4
+20
+20
+04
+63
+6f
+e0
+cd
+a5
+20
+40
+04
+57
+6f
+e0
+cd
+a7
+20
+40
+04
+5b
+6f
+e0
+cd
+a6
+20
+40
+04
+5f
+6f
+e0
+cd
+a8
+20
+20
+04
+63
+6f
+e0
+cd
+a9
+20
+40
+04
+57
+6f
+e0
+cd
+ab
+20
+40
+04
+5b
+6f
+e0
+cd
+aa
+20
+40
+04
+5f
+6f
+e0
+cd
+ac
+20
+20
+04
+63
+6f
+e0
+cd
+ad
+20
+40
+04
+57
+6f
+e0
+cd
+af
+20
+40
+04
+5b
+6f
+e0
+cd
+ae
+20
+40
+04
+5f
+6f
+e0
+cd
+b0
+20
+20
+04
+63
+67
+e0
+c9
+e1
+1f
+ed
+7e
+00
+1f
+e0
+fe
+0c
+20
+20
+5d
+5e
+67
+e0
+c9
+e1
+1f
+ed
+7e
+00
+1f
+e0
+fe
+0d
+20
+20
+5d
+5e
+67
+e0
+c9
+e1
+1f
+ed
+7e
+00
+1f
+e0
+fe
+1d
+20
+20
+5d
+5e
+67
+e0
+c9
+e1
+1f
+ed
+7e
+00
+1f
+e0
+fe
+1e
+20
+20
+5d
+5e
+6f
+e0
+c9
+28
+c1
+7f
+80
+00
+6f
+e1
+4a
+d3
+24
+7a
+00
+00
+6f
+e1
+48
+87
+24
+7a
+00
+00
+6f
+e1
+48
+8b
+24
+7a
+00
+00
+6f
+e0
+cb
+b8
+24
+7a
+00
+00
+6f
+e0
+cb
+d2
+20
+3a
+04
+75
+67
+e0
+cb
+b9
+20
+60
+00
+00
+6f
+e0
+c9
+2c
+c0
+07
+04
+86
+c0
+07
+84
+86
+c0
+01
+84
+86
+c0
+05
+84
+86
+68
+48
+c9
+97
+18
+40
+84
+02
+18
+46
+7c
+03
+20
+41
+04
+a2
+24
+41
+04
+a6
+18
+42
+7e
+00
+9f
+e0
+fe
+00
+67
+e0
+cd
+0e
+70
+4d
+0f
+00
+70
+4d
+0d
+01
+20
+40
+04
+89
 20
 60
 00
@@ -4347,7 +4647,7 @@
 20
 20
 04
-32
+7c
 6f
 e0
 cd
@@ -4371,7 +4671,7 @@
 20
 40
 04
-47
+92
 20
 60
 00
@@ -4391,7 +4691,7 @@
 da
 40
 04
-4a
+95
 20
 20
 31
@@ -4399,7 +4699,7 @@
 20
 40
 04
-3e
+89
 6f
 e0
 cd
@@ -4411,7 +4711,7 @@
 20
 42
 84
-45
+90
 67
 e0
 cd
@@ -4423,7 +4723,7 @@
 c0
 00
 84
-54
+9f
 70
 4d
 0f
@@ -4435,7 +4735,7 @@
 20
 20
 02
-b7
+bb
 70
 4d
 0f
@@ -4447,7 +4747,7 @@
 20
 20
 02
-c5
+c9
 6f
 e4
 4b
@@ -4479,15 +4779,15 @@
 c0
 00
 04
-62
+ad
 c0
 00
 84
-6a
+b5
 c0
 01
 04
-72
+bd
 20
 60
 00
@@ -4499,11 +4799,11 @@
 c0
 00
 04
-66
+b1
 c0
 00
 84
-68
+b3
 20
 60
 00
@@ -4515,7 +4815,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4523,7 +4823,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4531,11 +4831,11 @@
 c0
 00
 04
-6e
+b9
 c0
 00
 84
-70
+bb
 20
 60
 00
@@ -4547,7 +4847,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4555,7 +4855,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4563,11 +4863,11 @@
 c0
 00
 04
-76
+c1
 c0
 00
 84
-78
+c3
 20
 60
 00
@@ -4579,7 +4879,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4587,7 +4887,7 @@
 20
 20
 04
-7a
+c5
 67
 e0
 c9
@@ -4603,7 +4903,7 @@
 24
 3a
 04
-7f
+ca
 20
 60
 00
@@ -4643,7 +4943,7 @@
 6f
 e0
 cd
-49
+b6
 24
 7a
 00
@@ -4667,15 +4967,15 @@
 6f
 e0
 cd
-47
+b4
 c0
 01
 84
-a0
+eb
 6f
 e0
 cd
-48
+b5
 1f
 e0
 fe
@@ -4683,7 +4983,7 @@
 67
 e0
 cd
-48
+b5
 1f
 e6
 7c
@@ -4691,27 +4991,27 @@
 24
 41
 04
-97
+e2
 c0
 01
 04
-9c
+e7
 c0
 03
 84
-9e
+e9
 20
 60
 00
 00
 70
 4d
-48
+b5
 01
 6f
 e0
 cd
-47
+b4
 1f
 e0
 fe
@@ -4719,11 +5019,11 @@
 67
 e0
 cd
-47
+b4
 20
 20
 04
-9e
+e9
 68
 48
 c9
@@ -4743,7 +5043,7 @@
 6f
 e0
 cd
-46
+b3
 1f
 e0
 fe
@@ -4751,18 +5051,18 @@
 67
 e0
 cd
-46
+b3
 c1
 8f
 00
 00
 70
 4d
-46
+b3
 00
 70
 4d
-47
+b4
 00
 20
 60
@@ -4771,7 +5071,7 @@
 6f
 e0
 cd
-49
+b6
 20
 7a
 00
@@ -4779,7 +5079,7 @@
 6f
 e0
 cd
-4a
+b7
 79
 40
 7e
@@ -4787,27 +5087,27 @@
 67
 e0
 cd
-4a
+b7
 20
 5a
 04
-9e
+e9
 6f
 e0
 cd
-4a
+b7
 24
 5a
 04
-9c
+e7
 da
 60
 4d
-49
+b6
 da
 40
 04
-b2
+fd
 20
 20
 31
@@ -4822,40 +5122,40 @@
 00
 c0
 1e
-04
-c5
+05
+10
 c0
 1c
-84
-be
+85
+09
 c0
 1d
-04
-d6
+05
+21
 c0
 19
 05
-1d
+68
 c0
 0a
 85
-33
+7e
 c0
 0a
 05
-38
+83
 c0
 22
 05
-24
+6f
 c0
 20
 05
-2e
+79
 c0
 00
 85
-3a
+85
 20
 20
 43
@@ -4863,11 +5163,11 @@
 20
 40
 01
-44
+48
 20
 40
 00
-d9
+dd
 20
 40
 45
@@ -4883,7 +5183,7 @@
 20
 40
 02
-71
+75
 20
 20
 48
@@ -4907,7 +5207,7 @@
 20
 40
 02
-71
+75
 20
 40
 45
@@ -4947,11 +5247,11 @@
 20
 40
 01
-44
+48
 20
 40
 00
-d9
+dd
 20
 20
 48
@@ -4959,19 +5259,19 @@
 20
 40
 01
-44
+48
 20
 40
 00
-d9
+dd
 6f
 e0
 c8
 a9
 24
 3a
-04
-df
+05
+2a
 6f
 e0
 c8
@@ -4979,15 +5279,15 @@
 c0
 01
 05
-04
+4f
 c0
 02
 05
-10
+5b
 c0
 01
 85
-18
+63
 20
 20
 48
@@ -5022,16 +5322,16 @@
 01
 20
 20
-04
-ec
+05
+37
 6f
 e0
 c8
 ab
 20
 5a
-04
-f6
+05
+41
 6f
 e0
 c8
@@ -5067,7 +5367,7 @@
 20
 40
 00
-c8
+cc
 6f
 e0
 cb
@@ -5139,7 +5439,7 @@
 20
 20
 01
-48
+4c
 6f
 e4
 4b
@@ -5171,7 +5471,7 @@
 20
 22
 85
-0d
+58
 20
 20
 48
@@ -5183,7 +5483,7 @@
 20
 40
 02
-6d
+71
 20
 20
 48
@@ -5218,8 +5518,8 @@
 78
 20
 20
-04
-df
+05
+2a
 6f
 e4
 4b
@@ -5247,7 +5547,7 @@
 c0
 00
 85
-21
+6c
 70
 4b
 87
@@ -5351,7 +5651,7 @@
 20
 40
 02
-71
+75
 20
 20
 43
@@ -5363,7 +5663,7 @@
 20
 40
 02
-71
+75
 20
 20
 44
@@ -5391,7 +5691,7 @@
 24
 34
 05
-3e
+89
 20
 40
 26
@@ -5459,7 +5759,7 @@
 20
 3a
 05
-58
+a3
 6f
 e1
 48
@@ -5487,11 +5787,11 @@
 24
 2c
 05
-71
+bc
 24
 37
 85
-71
+bc
 20
 40
 26
@@ -5527,7 +5827,7 @@
 20
 42
 85
-6d
+b8
 6f
 e0
 c8
@@ -5607,7 +5907,7 @@
 c0
 02
 05
-7a
+c5
 20
 20
 25
@@ -5707,7 +6007,7 @@
 c2
 85
 85
-9a
+e5
 6f
 e4
 4b
@@ -5715,7 +6015,7 @@
 c3
 04
 05
-9a
+e5
 68
 49
 49
@@ -5831,7 +6131,7 @@
 24
 3a
 05
-b2
+fd
 20
 20
 49
@@ -5843,7 +6143,7 @@
 20
 20
 02
-7b
+7f
 58
 00
 00
@@ -5898,8 +6198,8 @@
 00
 c0
 04
-85
-c3
+86
+0e
 20
 20
 4d
@@ -5974,8 +6274,8 @@
 8e
 c0
 03
-85
-d6
+86
+21
 20
 20
 57
@@ -6046,8 +6346,8 @@
 06
 c0
 02
-05
-e8
+06
+33
 20
 20
 19
@@ -6062,12 +6362,12 @@
 36
 c0
 05
-05
-ed
+06
+38
 c0
 09
-05
-fc
+06
+47
 20
 20
 1c
@@ -6094,8 +6394,8 @@
 c0
 c2
 81
-85
-f7
+86
+42
 6f
 e1
 44
@@ -6122,12 +6422,12 @@
 00
 24
 22
-85
-f3
+86
+3e
 24
-34
-05
-f3
+34
+06
+3e
 20
 20
 1d
@@ -6211,11 +6511,11 @@
 20
 40
 06
-16
+61
 20
 40
 06
-13
+5e
 60
 48
 c8
@@ -6239,7 +6539,7 @@
 20
 40
 06
-1c
+67
 da
 40
 4c
@@ -6259,7 +6559,7 @@
 20
 20
 06
-1f
+6a
 d8
 c0
 4c
@@ -6315,7 +6615,7 @@
 20
 40
 06
-2f
+7a
 18
 c0
 8d
@@ -6327,11 +6627,11 @@
 20
 21
 06
-25
+70
 c2
 00
 06
-22
+6d
 20
 60
 00
@@ -6339,7 +6639,7 @@
 20
 41
 06
-31
+7c
 20
 60
 00
@@ -6391,7 +6691,7 @@
 c0
 81
 06
-43
+8e
 68
 49
 48
@@ -6435,7 +6735,7 @@
 c2
 80
 86
-49
+94
 20
 20
 3f
@@ -6443,14 +6743,14 @@
 6f
 e0
 cd
-49
+b6
 24
 7a
 00
 00
 70
 4d
-49
+b6
 0a
 20
 60
@@ -6470,12 +6770,8 @@
 d5
 20
 40
-42
-80
-20
-40
 06
-5f
+a9
 58
 00
 00
@@ -6486,8 +6782,8 @@
 5e
 20
 40
-03
-fb
+04
+0d
 20
 40
 3f
@@ -6499,7 +6795,7 @@
 20
 40
 06
-89
+f2
 6f
 e0
 c8
@@ -6515,139 +6811,259 @@
 24
 34
 06
-81
+e9
 20
 40
 06
-7e
+e6
 20
 40
 06
-86
+ee
 20
 20
 45
 84
 6f
 e0
-c9
-2c
+c4
+ae
 c1
-81
 80
 00
+00
 6f
 e0
 c9
-97
+2c
+c0
+07
+86
+ae
+20
+20
+42
+83
+20
+40
+43
+04
+6f
+e0
+c9
+15
+c0
+7f
+86
+b4
+68
+48
+c9
+15
+20
+40
+60
+fd
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+5d
+65
+c0
+99
 c1
-81
+f2
+58
 00
 00
-6f
-e1
-48
-d5
+02
+20
+40
+5d
+65
+c4
+03
+80
+00
+67
+e0
+cd
+b1
 20
 40
 06
-6a
+c0
+20
+40
+06
+c7
+20
+40
+06
+d3
+20
+40
+06
+da
+20
+20
+42
+c6
+df
+e0
+00
+03
+20
+40
+5d
+65
 67
-e1
-48
+e0
+c8
 d5
-6f
-e1
-48
-d7
+58
+00
+00
+11
 20
 40
-06
-6a
+5d
+65
 67
-e1
-48
-d7
+e0
+c8
+d6
 20
 60
 00
 00
+6f
+e0
+cd
+b1
+c4
+01
+80
+00
+6f
+e1
+48
+d5
 c2
-85
+87
 86
-6d
+d0
 c3
-05
+07
 86
-71
+cd
 20
 60
 00
 00
-1f
-e6
-7e
+58
+00
+7f
+ff
+67
+e1
+48
+d5
+20
+60
+00
+00
+58
+00
+80
+00
+67
+e1
+48
+d5
+20
+60
+00
+00
+df
+e0
 00
+04
 20
 40
-06
-71
-1f
-e6
-7e
+5d
+65
+67
+e0
+c8
+d7
+58
+00
 00
+12
+20
+40
+5d
+65
+67
+e0
+c8
+d8
+20
+60
+00
+00
+6f
+e0
+cd
+b1
+c4
+02
+00
+00
+6f
+e1
+48
+d7
+c2
+87
+86
+e3
+c3
+07
+86
+e0
 20
 60
 00
 00
-1f
-e3
-04
-00
-98
-40
-fe
+58
 00
-79
-3f
-fe
-0e
-79
-3f
-fe
-0f
+7f
+ff
 67
 e1
-4d
-12
-6f
-e0
-cd
-13
-1f
-e6
-7c
-07
-24
-41
-06
-7b
-6f
-e1
-4d
-12
+48
+d7
 20
 60
 00
 00
 58
 00
-07
-ff
+80
+00
 67
 e1
-4d
-12
+48
+d7
 20
 60
 00
@@ -6692,6 +7108,10 @@
 01
 80
 00
+c1
+07
+80
+00
 20
 20
 47
@@ -6699,7 +7119,7 @@
 20
 40
 06
-8b
+f4
 20
 20
 41
@@ -6719,23 +7139,23 @@
 20
 40
 06
-94
+fd
 20
 40
-06
-99
+07
+02
 20
 40
-06
-9e
+07
+07
 20
 40
-06
-a3
+07
+0c
 20
 40
-06
-b0
+07
+19
 20
 20
 41
@@ -6746,8 +7166,8 @@
 1c
 20
 40
-06
-bd
+07
+26
 20
 40
 41
@@ -6766,8 +7186,8 @@
 1d
 20
 40
-06
-bd
+07
+26
 20
 40
 41
@@ -6786,8 +7206,8 @@
 1e
 20
 40
-06
-bd
+07
+26
 20
 40
 41
@@ -6830,8 +7250,8 @@
 14
 c0
 7f
-86
-ac
+87
+15
 20
 20
 41
@@ -6842,8 +7262,8 @@
 11
 20
 40
-06
-c0
+07
+29
 68
 48
 c9
@@ -6882,8 +7302,8 @@
 14
 c0
 7f
-86
-b9
+87
+22
 20
 20
 41
@@ -6894,8 +7314,8 @@
 12
 20
 40
-06
-c0
+07
+29
 68
 48
 c9
@@ -6928,8 +7348,8 @@
 20
 61
 2c
-1b
-65
+37
+4b
 aa
 55
 40
@@ -6960,7 +7380,7 @@
 20
 00
 00
-58
+d8
 eb
 2d
 77
@@ -7102,7 +7522,7 @@
 11
 49
 07
-09
+0b
 0a
 aa
 55
@@ -7140,14 +7560,14 @@
 ff
 07
 0a
-09
-00
+0b
+0d
 ff
 ff
 ff
 05
 04
-8b
+09
 aa
 55
 02
@@ -7155,7 +7575,7 @@
 27
 49
 ff
-8b
+09
 aa
 55
 01
@@ -7165,6 +7585,13 @@
 ff
 aa
 55
+01
+00
+bc
+44
+ff
+aa
+55
 03
 00
 29
@@ -7228,7 +7655,7 @@
 55
 01
 00
-45
+b2
 4d
 02
 aa
@@ -7251,7 +7678,7 @@
 00
 29
 4c
-8d
+80
 8e
 8f
 aa
@@ -7395,7 +7822,7 @@
 00
 c5
 49
-02
+05
 aa
 55
 01
@@ -7423,7 +7850,7 @@
 00
 e7
 48
-b5
+ac
 00
 6f
 00
@@ -7895,6 +8322,28 @@
 16
 aa
 55
+10
+00
+a1
+4d
+e2
+07
+3f
+08
+c3
+0f
+7e
+10
+b4
+13
+9d
+14
+f1
+03
+1f
+04
+aa
+55
 28
 00
 15
@@ -7941,6 +8390,104 @@
 ff
 aa
 55
+5c
+00
+45
+4d
+7f
+00
+09
+5a
+30
+00
+0d
+1a
+4e
+00
+7f
+01
+51
+01
+55
+54
+4e
+02
+50
+aa
+52
+88
+53
+aa
+66
+0d
+7f
+03
+00
+06
+02
+1b
+03
+36
+29
+02
+2a
+47
+3b
+45
+61
+5b
+63
+05
+01
+09
+4a
+04
+1b
+80
+40
+61
+41
+76
+09
+16
+0a
+06
+05
+30
+1a
+24
+22
+18
+2e
+46
+4e
+0c
+4f
+0c
+56
+4d
+45
+04
+49
+0c
+53
+11
+54
+44
+58
+18
+7f
+00
+4e
+02
+05
+31
+09
+00
+ff
+ff
+aa
+55
 74
 00
 e4
@@ -8403,10 +8950,10 @@
 aa
 aa
 55
+52
+cf
+1d
 a6
-af
-f0
-85
 ff
 1e
 f0
Index: output/flash.dat
===================================================================
--- /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/output/flash.dat	(revision 5545)
+++ /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/output/flash.dat	(working copy)
@@ -2,128 +2,132 @@
 02
 aa
 55
-0e
-1b
+b2
+1c
 c2
 84
 00
-1f
+20
 c0
 00
 00
-4b
+4e
 c0
 41
 00
-5d
+60
 c0
 41
 80
-64
+67
 c0
 45
 00
-79
+7c
 c0
 45
 80
-72
+75
 c0
 52
 00
-2b
+2c
 c0
 56
 80
-80
+83
 c0
 61
 81
-da
+de
 c0
 62
 01
-ed
+f1
 c0
 63
-02
-ff
+03
+03
+c0
+63
+83
+28
 c0
 64
 03
-10
+16
 c0
 64
 83
-43
+53
 c0
 65
 86
-35
+80
 c0
 66
 86
-4d
+98
 c0
 67
 03
-c9
+db
 c0
 67
-83
-f9
+84
+0b
 c0
 68
 06
-8b
+f4
 c0
 69
 03
-6c
+78
 c0
 69
 82
-ec
+f0
 c0
 6a
 84
-b3
+fe
 c0
 6c
 01
-f1
+f5
 c0
 6e
 83
-50
+5c
 c0
 6f
 00
-3e
+3f
 c0
 70
 00
-36
+37
 c0
 70
 80
-32
+33
 c0
 6c
 85
-87
+d2
 c0
 6d
 05
-b4
+ff
 c0
 4f
 80
-77
+7a
 c0
 6e
 02
-e5
+e9
 20
 20
 13
@@ -131,47 +135,47 @@
 c0
 0f
 80
-8c
+90
 c0
 42
-85
-b7
+86
+02
 c0
 6e
 85
-3d
+88
 c0
 71
 05
-48
+93
 c0
 74
 85
-50
+9b
 c0
 75
 01
-46
+4a
 c0
 76
 05
-7c
+c7
 c0
 0c
-85
-cf
+86
+1a
 c0
 4f
-85
-d9
+86
+24
 c0
 50
-85
-e3
+86
+2e
 c0
 5f
-05
-e5
+06
+30
 20
 20
 13
@@ -195,7 +199,7 @@
 6f
 e0
 cd
-49
+b6
 24
 7a
 00
@@ -263,7 +267,7 @@
 20
 40
 02
-c8
+cc
 20
 40
 47
@@ -273,6 +277,14 @@
 c9
 3d
 70
+4c
+24
+00
+20
+40
+02
+b0
+70
 41
 ca
 00
@@ -283,7 +295,7 @@
 20
 40
 00
-48
+4b
 20
 40
 31
@@ -315,7 +327,7 @@
 24
 55
 80
-3a
+3b
 58
 00
 4c
@@ -475,7 +487,7 @@
 20
 40
 00
-6b
+6e
 20
 20
 12
@@ -495,7 +507,7 @@
 c0
 4a
 00
-7d
+80
 c0
 4f
 12
@@ -523,11 +535,11 @@
 20
 40
 00
-cc
+d0
 24
 55
 80
-99
+9d
 20
 40
 41
@@ -546,8 +558,12 @@
 02
 20
 40
-03
-fb
+04
+0d
+70
+49
+c5
+06
 20
 40
 47
@@ -555,11 +571,11 @@
 20
 40
 00
-dc
+e0
 20
 40
 02
-f7
+fb
 20
 20
 3c
@@ -579,11 +595,11 @@
 c0
 00
 80
-92
+96
 c0
 01
 00
-96
+9a
 20
 60
 00
@@ -615,7 +631,7 @@
 20
 20
 00
-94
+98
 6f
 e4
 4c
@@ -627,7 +643,7 @@
 20
 40
 00
-8e
+92
 6f
 e0
 cb
@@ -643,7 +659,7 @@
 24
 21
 00
-aa
+ae
 d8
 c0
 4c
@@ -655,7 +671,7 @@
 20
 40
 00
-a8
+ac
 d8
 c0
 4c
@@ -667,7 +683,7 @@
 20
 40
 00
-a8
+ac
 d8
 c0
 4c
@@ -687,7 +703,7 @@
 20
 40
 00
-c0
+c4
 6f
 e0
 cb
@@ -839,7 +855,7 @@
 20
 40
 00
-c8
+cc
 20
 40
 3d
@@ -847,15 +863,15 @@
 20
 40
 00
-c3
+c7
 20
 40
 02
-56
+5a
 20
 40
 00
-d6
+da
 20
 20
 3c
@@ -887,7 +903,7 @@
 58
 00
 00
-e6
+ea
 67
 e1
 44
@@ -895,7 +911,7 @@
 58
 00
 00
-ec
+f0
 67
 e1
 48
@@ -903,7 +919,7 @@
 58
 00
 01
-0d
+11
 67
 e1
 48
@@ -915,7 +931,7 @@
 58
 00
 00
-e7
+eb
 67
 e1
 44
@@ -971,7 +987,7 @@
 24
 5a
 01
-0b
+0f
 6f
 e4
 4b
@@ -979,7 +995,7 @@
 c3
 0a
 80
-f6
+fa
 6f
 e0
 cb
@@ -999,7 +1015,7 @@
 c2
 80
 81
-05
+09
 68
 48
 c7
@@ -1147,7 +1163,7 @@
 24
 21
 01
-23
+27
 20
 40
 25
@@ -1159,15 +1175,15 @@
 24
 2c
 01
-29
+2d
 24
 37
 81
-29
+2d
 20
 40
 01
-33
+37
 20
 40
 25
@@ -1187,7 +1203,7 @@
 c0
 08
 01
-2b
+2f
 20
 60
 00
@@ -1199,7 +1215,7 @@
 20
 20
 01
-19
+1d
 70
 4b
 b4
@@ -1267,7 +1283,7 @@
 20
 20
 03
-6e
+7a
 6f
 e2
 48
@@ -1283,11 +1299,11 @@
 20
 22
 81
-41
+45
 20
 20
 01
-44
+48
 70
 41
 ea
@@ -1314,12 +1330,12 @@
 38
 24
 34
-04
-e7
+05
+32
 20
 40
 01
-95
+99
 20
 40
 26
@@ -1327,7 +1343,7 @@
 20
 40
 01
-3c
+40
 6f
 e0
 cb
@@ -1335,7 +1351,7 @@
 24
 3a
 01
-51
+55
 6f
 e4
 48
@@ -1379,7 +1395,7 @@
 c0
 00
 81
-91
+95
 6f
 e0
 cc
@@ -1387,7 +1403,7 @@
 20
 3a
 01
-91
+95
 1b
 22
 7e
@@ -1455,7 +1471,7 @@
 20
 22
 81
-6e
+72
 18
 40
 84
@@ -1515,7 +1531,7 @@
 20
 21
 01
-85
+89
 1f
 e6
 7e
@@ -1551,7 +1567,7 @@
 24
 21
 01
-8f
+93
 60
 49
 c8
@@ -1591,7 +1607,7 @@
 20
 21
 01
-8f
+93
 60
 49
 c8
@@ -1651,11 +1667,11 @@
 24
 2c
 01
-a0
+a4
 24
 37
 81
-a0
+a4
 20
 40
 26
@@ -1663,7 +1679,7 @@
 20
 40
 01
-c0
+c4
 20
 20
 26
@@ -1679,7 +1695,7 @@
 20
 40
 01
-b0
+b4
 6f
 e0
 c8
@@ -1727,11 +1743,11 @@
 20
 40
 01
-cd
+d1
 20
 20
 01
-98
+9c
 6f
 e0
 c9
@@ -1767,7 +1783,7 @@
 c0
 7f
 81
-bd
+c1
 20
 40
 41
@@ -1795,7 +1811,7 @@
 20
 20
 01
-ba
+be
 6f
 e0
 cb
@@ -1803,7 +1819,7 @@
 24
 5a
 01
-c4
+c8
 70
 4b
 f2
@@ -1815,7 +1831,7 @@
 20
 40
 03
-6e
+7a
 6f
 e4
 4b
@@ -1883,7 +1899,7 @@
 c2
 83
 81
-d8
+dc
 70
 4c
 1b
@@ -1915,7 +1931,7 @@
 c0
 00
 01
-df
+e3
 20
 20
 3e
@@ -1943,7 +1959,7 @@
 20
 40
 02
-74
+78
 20
 40
 3e
@@ -1987,7 +2003,7 @@
 24
 5a
 02
-7b
+7f
 20
 20
 3e
@@ -1999,11 +2015,11 @@
 20
 40
 04
-a7
+f2
 20
 40
 04
-7c
+c7
 20
 40
 22
@@ -2023,11 +2039,11 @@
 20
 40
 02
-1c
+20
 20
 40
 02
-8c
+90
 20
 40
 40
@@ -2035,11 +2051,11 @@
 20
 40
 02
-1f
+23
 20
 40
 02
-2f
+33
 20
 40
 45
@@ -2047,19 +2063,19 @@
 20
 40
 02
-0d
+11
 20
 40
 02
-18
+1c
 20
 40
 04
-41
+8c
 20
 40
 02
-46
+4a
 20
 40
 45
@@ -2067,7 +2083,7 @@
 20
 40
 02
-4a
+4e
 20
 40
 45
@@ -2075,7 +2091,7 @@
 20
 40
 02
-4d
+51
 20
 40
 45
@@ -2099,11 +2115,11 @@
 20
 40
 02
-cb
+cf
 20
 20
 02
-50
+54
 6f
 e4
 4b
@@ -2115,7 +2131,7 @@
 da
 40
 02
-12
+16
 da
 60
 4c
@@ -2130,15 +2146,15 @@
 00
 70
 4d
-47
+b4
 00
 70
 4d
-46
+b3
 00
 70
 4d
-48
+b5
 00
 70
 4c
@@ -2151,7 +2167,7 @@
 da
 40
 02
-1b
+1f
 da
 60
 4c
@@ -2163,7 +2179,7 @@
 20
 20
 04
-9e
+e9
 da
 60
 4b
@@ -2171,7 +2187,7 @@
 da
 40
 04
-2c
+75
 20
 20
 31
@@ -2183,7 +2199,7 @@
 c2
 9b
 82
-22
+26
 20
 60
 00
@@ -2203,7 +2219,7 @@
 da
 40
 02
-27
+2b
 20
 20
 31
@@ -2215,7 +2231,7 @@
 c0
 00
 05
-0d
+58
 6f
 e4
 4b
@@ -2247,7 +2263,7 @@
 c0
 00
 02
-35
+39
 6f
 e4
 4b
@@ -2263,7 +2279,7 @@
 20
 20
 02
-38
+3c
 6f
 e4
 4b
@@ -2299,7 +2315,7 @@
 20
 22
 82
-3f
+43
 20
 20
 45
@@ -2307,7 +2323,7 @@
 20
 40
 02
-44
+48
 6f
 e0
 cb
@@ -2327,7 +2343,7 @@
 da
 40
 05
-0d
+58
 20
 20
 45
@@ -2379,7 +2395,7 @@
 da
 40
 02
-53
+57
 20
 20
 32
@@ -2390,8 +2406,8 @@
 3d
 c0
 00
-04
-df
+05
+2a
 20
 20
 43
@@ -2411,15 +2427,15 @@
 20
 40
 02
-c8
+cc
 20
 40
 02
-61
+65
 20
 40
 02
-65
+69
 6f
 e0
 cc
@@ -2463,7 +2479,7 @@
 24
 3a
 02
-6a
+6e
 6f
 e0
 cc
@@ -2491,7 +2507,7 @@
 6f
 e0
 cd
-45
+b2
 67
 e0
 cc
@@ -2503,7 +2519,7 @@
 20
 20
 02
-7d
+81
 6f
 e0
 cc
@@ -2515,7 +2531,7 @@
 20
 20
 02
-88
+8c
 6f
 e0
 cc
@@ -2527,7 +2543,7 @@
 20
 20
 02
-7b
+7f
 6f
 e0
 cc
@@ -2543,7 +2559,7 @@
 20
 20
 02
-7d
+81
 6f
 e0
 cc
@@ -2551,7 +2567,7 @@
 24
 5a
 02
-80
+84
 70
 4c
 22
@@ -2571,7 +2587,7 @@
 c0
 00
 02
-85
+89
 6f
 e0
 cc
@@ -2627,7 +2643,7 @@
 c0
 00
 82
-9a
+9e
 6f
 e0
 cc
@@ -2635,7 +2651,7 @@
 24
 3a
 02
-95
+99
 70
 4c
 26
@@ -2647,7 +2663,7 @@
 20
 20
 02
-bb
+bf
 6f
 e0
 cc
@@ -2655,7 +2671,7 @@
 20
 3a
 02
-92
+96
 1f
 e0
 ff
@@ -2667,7 +2683,7 @@
 20
 20
 02
-ad
+b1
 6f
 e0
 cc
@@ -2675,7 +2691,7 @@
 24
 3a
 02
-9f
+a3
 da
 60
 4c
@@ -2683,7 +2699,7 @@
 da
 40
 02
-a7
+ab
 20
 20
 31
@@ -2695,11 +2711,11 @@
 20
 3a
 02
-ba
+be
 20
 20
 02
-9c
+a0
 6f
 e0
 cc
@@ -2727,11 +2743,11 @@
 24
 5a
 02
-a2
+a6
 20
 40
 02
-65
+69
 6f
 e0
 cc
@@ -2739,7 +2755,7 @@
 c0
 00
 82
-ba
+be
 70
 4c
 2f
@@ -2751,15 +2767,15 @@
 c0
 00
 02
-b2
+b6
 c0
 00
 82
-b4
+b8
 c0
 01
 02
-b6
+ba
 20
 60
 00
@@ -2771,7 +2787,7 @@
 20
 20
 02
-b7
+bb
 68
 48
 cc
@@ -2779,7 +2795,7 @@
 20
 20
 02
-b7
+bb
 68
 48
 cc
@@ -2807,15 +2823,15 @@
 c0
 00
 02
-c0
+c4
 c0
 00
 82
-c2
+c6
 c0
 01
 02
-c4
+c8
 20
 60
 00
@@ -2827,7 +2843,7 @@
 20
 20
 02
-c5
+c9
 68
 48
 cc
@@ -2835,7 +2851,7 @@
 20
 20
 02
-c5
+c9
 68
 48
 cc
@@ -2855,15 +2871,15 @@
 20
 40
 02
-c0
+c4
 20
 40
 02
-c2
+c6
 20
 20
 02
-c4
+c8
 da
 60
 49
@@ -2871,7 +2887,7 @@
 da
 40
 02
-ce
+d2
 20
 20
 31
@@ -2899,11 +2915,11 @@
 20
 40
 02
-d5
+d9
 20
 20
 02
-e3
+e7
 20
 40
 46
@@ -2923,7 +2939,7 @@
 20
 20
 82
-e3
+e7
 6f
 e0
 cd
@@ -2959,11 +2975,11 @@
 24
 3a
 02
-d5
+d9
 20
 40
 00
-52
+55
 20
 20
 46
@@ -3007,11 +3023,11 @@
 c0
 05
 82
-f3
+f7
 20
 40
 03
-09
+0f
 da
 60
 4a
@@ -3022,12 +3038,12 @@
 6b
 20
 20
-03
-fb
+04
+0d
 20
 40
 03
-0c
+12
 da
 60
 4b
@@ -3038,8 +3054,8 @@
 6b
 20
 20
-03
-fb
+04
+0d
 20
 40
 41
@@ -3054,8 +3070,8 @@
 2c
 c0
 05
-82
-fd
+83
+01
 58
 00
 08
@@ -3091,11 +3107,19 @@
 20
 40
 03
-09
-20
-40
+0f
+6f
+e0
+c4
+a6
+1f
+e1
+7e
 02
-f7
+24
+5a
+02
+fb
 20
 20
 3e
@@ -3119,7 +3143,7 @@
 c0
 05
 83
-0c
+12
 20
 20
 42
@@ -3151,7 +3175,7 @@
 20
 40
 02
-c8
+cc
 20
 40
 40
@@ -3203,19 +3227,59 @@
 20
 40
 03
-23
+33
 20
 40
 03
-30
-20
 40
+20
+20
 03
-37
+47
+6f
+f2
+01
+38
+79
 20
-60
-00
+7e
+1a
+67
+f2
 00
+4c
+20
+40
+15
+4c
+20
+40
+6e
+62
+20
+40
+49
+5b
+20
+40
+40
+55
+20
+40
+3e
+6a
+20
+40
+46
+6d
+68
+48
+c4
+b8
+20
+20
+60
+f7
 6f
 e1
 cb
@@ -3263,7 +3327,7 @@
 c2
 00
 03
-27
+37
 20
 60
 00
@@ -3377,29 +3441,13 @@
 61
 2c
 20
-40
+20
 3e
 85
-68
-48
-c9
-1f
-20
-40
-60
-e6
-68
-48
-c9
-1e
-20
-20
-60
-e6
 20
 40
 03
-55
+61
 20
 40
 79
@@ -3407,11 +3455,11 @@
 20
 40
 03
-58
+64
 20
 40
 03
-87
+99
 20
 20
 46
@@ -3459,7 +3507,7 @@
 20
 40
 03
-61
+6d
 20
 20
 40
@@ -3487,7 +3535,7 @@
 c0
 7f
 83
-68
+74
 20
 20
 40
@@ -3498,8 +3546,8 @@
 13
 20
 40
-06
-c0
+07
+29
 68
 48
 c9
@@ -3531,7 +3579,11 @@
 c0
 18
 03
-81
+8e
+c0
+19
+83
+94
 c0
 18
 c2
@@ -3539,7 +3591,7 @@
 c0
 2c
 03
-77
+84
 20
 40
 41
@@ -3551,7 +3603,7 @@
 20
 20
 03
-70
+7c
 20
 40
 42
@@ -3563,7 +3615,7 @@
 c0
 2b
 83
-7c
+89
 c0
 2c
 c2
@@ -3587,11 +3639,11 @@
 20
 20
 03
-80
+8d
 20
 20
-03
-fb
+04
+0d
 6f
 e0
 c9
@@ -3599,7 +3651,7 @@
 c0
 01
 03
-84
+91
 20
 20
 41
@@ -3617,6 +3669,26 @@
 42
 6b
 6f
+e0
+c9
+c7
+c1
+98
+80
+00
+70
+49
+2c
+0f
+da
+60
+4d
+45
+20
+20
+42
+6b
+6f
 e4
 4b
 bc
@@ -3631,19 +3703,19 @@
 24
 3a
 03
-90
+a2
 6f
 e0
 cc
 1c
 20
 40
-06
-bd
+07
+26
 20
 40
 03
-a1
+b3
 68
 48
 cc
@@ -3670,8 +3742,8 @@
 1c
 20
 40
-06
-c0
+07
+29
 70
 4c
 20
@@ -3687,11 +3759,11 @@
 20
 40
 03
-ba
+cc
 20
 40
 03
-a5
+b7
 68
 48
 cc
@@ -3735,7 +3807,7 @@
 20
 40
 03
-b0
+c2
 67
 e0
 cc
@@ -3747,7 +3819,7 @@
 20
 3a
 03
-ac
+be
 6f
 e0
 cc
@@ -3811,11 +3883,11 @@
 c0
 03
 83
-c5
+d7
 c0
 00
 03
-c7
+d9
 20
 60
 00
@@ -3855,11 +3927,11 @@
 c0
 03
 83
-c5
+d7
 c0
 00
 03
-c7
+d9
 20
 60
 00
@@ -3903,7 +3975,7 @@
 c2
 9e
 83
-d5
+e7
 18
 42
 7e
@@ -3934,8 +4006,8 @@
 1f
 24
 3a
-03
-f2
+04
+04
 6f
 e4
 4b
@@ -3943,7 +4015,7 @@
 c2
 8e
 03
-e6
+f8
 18
 42
 7e
@@ -3955,11 +4027,11 @@
 c0
 00
 03
-e2
+f4
 c0
 01
 03
-e0
+f2
 20
 60
 00
@@ -3971,7 +4043,7 @@
 20
 20
 03
-d2
+e4
 58
 00
 00
@@ -3979,7 +4051,7 @@
 20
 20
 03
-d2
+e4
 58
 00
 00
@@ -3987,7 +4059,7 @@
 20
 20
 03
-d2
+e4
 58
 00
 00
@@ -3995,7 +4067,7 @@
 20
 20
 03
-d2
+e4
 18
 42
 7e
@@ -4007,15 +4079,15 @@
 c0
 00
 03
-e2
+f4
 c0
 01
 03
-e4
+f6
 c0
 01
 83
-e0
+f2
 20
 60
 00
@@ -4031,15 +4103,15 @@
 c0
 00
 03
-e4
+f6
 c0
 00
 83
-e0
+f2
 c0
 01
 83
-de
+f0
 20
 60
 00
@@ -4051,7 +4123,7 @@
 c2
 8e
 03
-ec
+fe
 18
 42
 7e
@@ -4063,11 +4135,11 @@
 c0
 00
 03
-de
+f0
 c0
 00
 83
-e0
+f2
 20
 60
 00
@@ -4079,7 +4151,7 @@
 20
 40
 04
-1e
+67
 6f
 e0
 c9
@@ -4087,7 +4159,11 @@
 c0
 07
 04
-00
+13
+c0
+07
+84
+31
 c0
 06
 40
@@ -4107,19 +4183,19 @@
 c0
 00
 04
-06
+19
 c0
 00
 84
-0a
+1d
 c0
 01
 04
-0e
+21
 c0
 01
 84
-12
+25
 20
 60
 00
@@ -4131,7 +4207,7 @@
 20
 40
 04
-16
+29
 6f
 e0
 cd
@@ -4139,7 +4215,7 @@
 20
 20
 04
-1a
+2d
 6f
 e0
 cd
@@ -4147,7 +4223,7 @@
 20
 40
 04
-16
+29
 6f
 e0
 cd
@@ -4155,7 +4231,7 @@
 20
 20
 04
-1a
+2d
 6f
 e0
 cd
@@ -4163,7 +4239,7 @@
 20
 40
 04
-16
+29
 6f
 e0
 cd
@@ -4171,7 +4247,7 @@
 20
 20
 04
-1a
+2d
 6f
 e0
 cd
@@ -4179,7 +4255,7 @@
 20
 40
 04
-16
+29
 6f
 e0
 cd
@@ -4187,7 +4263,7 @@
 20
 20
 04
-1a
+2d
 67
 e0
 c9
@@ -4223,115 +4299,339 @@
 6f
 e0
 c9
-28
-c1
-7f
-80
-00
-6f
-e1
-4a
-d3
-24
-7a
-00
-00
-6f
-e1
-48
-87
-24
-7a
-00
-00
-6f
-e1
-48
-8b
-24
-7a
-00
-00
-6f
-e0
-cb
-b8
-24
-7a
+97
+c0
 00
+04
+37
+c0
 00
-6f
-e0
-cb
-d2
-20
-3a
+84
+3f
+c0
+01
 04
-2c
-67
-e0
-cb
-b9
+47
+c0
+01
+84
+4f
 20
 60
 00
 00
 6f
 e0
-c9
-2c
-c0
-07
-04
-3b
-c0
-01
-84
-3b
-c0
-05
-84
-3b
-68
-48
-c9
-97
-18
-40
-84
-02
-18
-46
-7c
-03
+cd
+a1
 20
-41
+40
 04
 57
-24
-41
+6f
+e0
+cd
+a3
+20
+40
 04
 5b
-18
-42
-7e
-00
-9f
-e0
-fe
-00
-67
+6f
 e0
 cd
-0e
-70
-4d
-0d
-01
+a2
 20
 40
 04
-3e
+5f
+6f
+e0
+cd
+a4
+20
+20
+04
+63
+6f
+e0
+cd
+a5
+20
+40
+04
+57
+6f
+e0
+cd
+a7
+20
+40
+04
+5b
+6f
+e0
+cd
+a6
+20
+40
+04
+5f
+6f
+e0
+cd
+a8
+20
+20
+04
+63
+6f
+e0
+cd
+a9
+20
+40
+04
+57
+6f
+e0
+cd
+ab
+20
+40
+04
+5b
+6f
+e0
+cd
+aa
+20
+40
+04
+5f
+6f
+e0
+cd
+ac
+20
+20
+04
+63
+6f
+e0
+cd
+ad
+20
+40
+04
+57
+6f
+e0
+cd
+af
+20
+40
+04
+5b
+6f
+e0
+cd
+ae
+20
+40
+04
+5f
+6f
+e0
+cd
+b0
+20
+20
+04
+63
+67
+e0
+c9
+e1
+1f
+ed
+7e
+00
+1f
+e0
+fe
+0c
+20
+20
+5d
+5e
+67
+e0
+c9
+e1
+1f
+ed
+7e
+00
+1f
+e0
+fe
+0d
+20
+20
+5d
+5e
+67
+e0
+c9
+e1
+1f
+ed
+7e
+00
+1f
+e0
+fe
+1d
+20
+20
+5d
+5e
+67
+e0
+c9
+e1
+1f
+ed
+7e
+00
+1f
+e0
+fe
+1e
+20
+20
+5d
+5e
+6f
+e0
+c9
+28
+c1
+7f
+80
+00
+6f
+e1
+4a
+d3
+24
+7a
+00
+00
+6f
+e1
+48
+87
+24
+7a
+00
+00
+6f
+e1
+48
+8b
+24
+7a
+00
+00
+6f
+e0
+cb
+b8
+24
+7a
+00
+00
+6f
+e0
+cb
+d2
+20
+3a
+04
+75
+67
+e0
+cb
+b9
+20
+60
+00
+00
+6f
+e0
+c9
+2c
+c0
+07
+04
+86
+c0
+07
+84
+86
+c0
+01
+84
+86
+c0
+05
+84
+86
+68
+48
+c9
+97
+18
+40
+84
+02
+18
+46
+7c
+03
+20
+41
+04
+a2
+24
+41
+04
+a6
+18
+42
+7e
+00
+9f
+e0
+fe
+00
+67
+e0
+cd
+0e
+70
+4d
+0f
+00
+70
+4d
+0d
+01
+20
+40
+04
+89
 20
 60
 00
@@ -4347,7 +4647,7 @@
 20
 20
 04
-32
+7c
 6f
 e0
 cd
@@ -4371,7 +4671,7 @@
 20
 40
 04
-47
+92
 20
 60
 00
@@ -4391,7 +4691,7 @@
 da
 40
 04
-4a
+95
 20
 20
 31
@@ -4399,7 +4699,7 @@
 20
 40
 04
-3e
+89
 6f
 e0
 cd
@@ -4411,7 +4711,7 @@
 20
 42
 84
-45
+90
 67
 e0
 cd
@@ -4423,7 +4723,7 @@
 c0
 00
 84
-54
+9f
 70
 4d
 0f
@@ -4435,7 +4735,7 @@
 20
 20
 02
-b7
+bb
 70
 4d
 0f
@@ -4447,7 +4747,7 @@
 20
 20
 02
-c5
+c9
 6f
 e4
 4b
@@ -4479,15 +4779,15 @@
 c0
 00
 04
-62
+ad
 c0
 00
 84
-6a
+b5
 c0
 01
 04
-72
+bd
 20
 60
 00
@@ -4499,11 +4799,11 @@
 c0
 00
 04
-66
+b1
 c0
 00
 84
-68
+b3
 20
 60
 00
@@ -4515,7 +4815,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4523,7 +4823,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4531,11 +4831,11 @@
 c0
 00
 04
-6e
+b9
 c0
 00
 84
-70
+bb
 20
 60
 00
@@ -4547,7 +4847,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4555,7 +4855,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4563,11 +4863,11 @@
 c0
 00
 04
-76
+c1
 c0
 00
 84
-78
+c3
 20
 60
 00
@@ -4579,7 +4879,7 @@
 20
 20
 04
-7a
+c5
 6f
 e0
 cc
@@ -4587,7 +4887,7 @@
 20
 20
 04
-7a
+c5
 67
 e0
 c9
@@ -4603,7 +4903,7 @@
 24
 3a
 04
-7f
+ca
 20
 60
 00
@@ -4643,7 +4943,7 @@
 6f
 e0
 cd
-49
+b6
 24
 7a
 00
@@ -4667,15 +4967,15 @@
 6f
 e0
 cd
-47
+b4
 c0
 01
 84
-a0
+eb
 6f
 e0
 cd
-48
+b5
 1f
 e0
 fe
@@ -4683,7 +4983,7 @@
 67
 e0
 cd
-48
+b5
 1f
 e6
 7c
@@ -4691,27 +4991,27 @@
 24
 41
 04
-97
+e2
 c0
 01
 04
-9c
+e7
 c0
 03
 84
-9e
+e9
 20
 60
 00
 00
 70
 4d
-48
+b5
 01
 6f
 e0
 cd
-47
+b4
 1f
 e0
 fe
@@ -4719,11 +5019,11 @@
 67
 e0
 cd
-47
+b4
 20
 20
 04
-9e
+e9
 68
 48
 c9
@@ -4743,7 +5043,7 @@
 6f
 e0
 cd
-46
+b3
 1f
 e0
 fe
@@ -4751,18 +5051,18 @@
 67
 e0
 cd
-46
+b3
 c1
 8f
 00
 00
 70
 4d
-46
+b3
 00
 70
 4d
-47
+b4
 00
 20
 60
@@ -4771,7 +5071,7 @@
 6f
 e0
 cd
-49
+b6
 20
 7a
 00
@@ -4779,7 +5079,7 @@
 6f
 e0
 cd
-4a
+b7
 79
 40
 7e
@@ -4787,27 +5087,27 @@
 67
 e0
 cd
-4a
+b7
 20
 5a
 04
-9e
+e9
 6f
 e0
 cd
-4a
+b7
 24
 5a
 04
-9c
+e7
 da
 60
 4d
-49
+b6
 da
 40
 04
-b2
+fd
 20
 20
 31
@@ -4822,40 +5122,40 @@
 00
 c0
 1e
-04
-c5
+05
+10
 c0
 1c
-84
-be
+85
+09
 c0
 1d
-04
-d6
+05
+21
 c0
 19
 05
-1d
+68
 c0
 0a
 85
-33
+7e
 c0
 0a
 05
-38
+83
 c0
 22
 05
-24
+6f
 c0
 20
 05
-2e
+79
 c0
 00
 85
-3a
+85
 20
 20
 43
@@ -4863,11 +5163,11 @@
 20
 40
 01
-44
+48
 20
 40
 00
-d9
+dd
 20
 40
 45
@@ -4883,7 +5183,7 @@
 20
 40
 02
-71
+75
 20
 20
 48
@@ -4907,7 +5207,7 @@
 20
 40
 02
-71
+75
 20
 40
 45
@@ -4947,11 +5247,11 @@
 20
 40
 01
-44
+48
 20
 40
 00
-d9
+dd
 20
 20
 48
@@ -4959,19 +5259,19 @@
 20
 40
 01
-44
+48
 20
 40
 00
-d9
+dd
 6f
 e0
 c8
 a9
 24
 3a
-04
-df
+05
+2a
 6f
 e0
 c8
@@ -4979,15 +5279,15 @@
 c0
 01
 05
-04
+4f
 c0
 02
 05
-10
+5b
 c0
 01
 85
-18
+63
 20
 20
 48
@@ -5022,16 +5322,16 @@
 01
 20
 20
-04
-ec
+05
+37
 6f
 e0
 c8
 ab
 20
 5a
-04
-f6
+05
+41
 6f
 e0
 c8
@@ -5067,7 +5367,7 @@
 20
 40
 00
-c8
+cc
 6f
 e0
 cb
@@ -5139,7 +5439,7 @@
 20
 20
 01
-48
+4c
 6f
 e4
 4b
@@ -5171,7 +5471,7 @@
 20
 22
 85
-0d
+58
 20
 20
 48
@@ -5183,7 +5483,7 @@
 20
 40
 02
-6d
+71
 20
 20
 48
@@ -5218,8 +5518,8 @@
 78
 20
 20
-04
-df
+05
+2a
 6f
 e4
 4b
@@ -5247,7 +5547,7 @@
 c0
 00
 85
-21
+6c
 70
 4b
 87
@@ -5351,7 +5651,7 @@
 20
 40
 02
-71
+75
 20
 20
 43
@@ -5363,7 +5663,7 @@
 20
 40
 02
-71
+75
 20
 20
 44
@@ -5391,7 +5691,7 @@
 24
 34
 05
-3e
+89
 20
 40
 26
@@ -5459,7 +5759,7 @@
 20
 3a
 05
-58
+a3
 6f
 e1
 48
@@ -5487,11 +5787,11 @@
 24
 2c
 05
-71
+bc
 24
 37
 85
-71
+bc
 20
 40
 26
@@ -5527,7 +5827,7 @@
 20
 42
 85
-6d
+b8
 6f
 e0
 c8
@@ -5607,7 +5907,7 @@
 c0
 02
 05
-7a
+c5
 20
 20
 25
@@ -5707,7 +6007,7 @@
 c2
 85
 85
-9a
+e5
 6f
 e4
 4b
@@ -5715,7 +6015,7 @@
 c3
 04
 05
-9a
+e5
 68
 49
 49
@@ -5831,7 +6131,7 @@
 24
 3a
 05
-b2
+fd
 20
 20
 49
@@ -5843,7 +6143,7 @@
 20
 20
 02
-7b
+7f
 58
 00
 00
@@ -5898,8 +6198,8 @@
 00
 c0
 04
-85
-c3
+86
+0e
 20
 20
 4d
@@ -5974,8 +6274,8 @@
 8e
 c0
 03
-85
-d6
+86
+21
 20
 20
 57
@@ -6046,8 +6346,8 @@
 06
 c0
 02
-05
-e8
+06
+33
 20
 20
 19
@@ -6062,12 +6362,12 @@
 36
 c0
 05
-05
-ed
+06
+38
 c0
 09
-05
-fc
+06
+47
 20
 20
 1c
@@ -6094,8 +6394,8 @@
 c0
 c2
 81
-85
-f7
+86
+42
 6f
 e1
 44
@@ -6122,12 +6422,12 @@
 00
 24
 22
-85
-f3
+86
+3e
 24
-34
-05
-f3
+34
+06
+3e
 20
 20
 1d
@@ -6211,11 +6511,11 @@
 20
 40
 06
-16
+61
 20
 40
 06
-13
+5e
 60
 48
 c8
@@ -6239,7 +6539,7 @@
 20
 40
 06
-1c
+67
 da
 40
 4c
@@ -6259,7 +6559,7 @@
 20
 20
 06
-1f
+6a
 d8
 c0
 4c
@@ -6315,7 +6615,7 @@
 20
 40
 06
-2f
+7a
 18
 c0
 8d
@@ -6327,11 +6627,11 @@
 20
 21
 06
-25
+70
 c2
 00
 06
-22
+6d
 20
 60
 00
@@ -6339,7 +6639,7 @@
 20
 41
 06
-31
+7c
 20
 60
 00
@@ -6391,7 +6691,7 @@
 c0
 81
 06
-43
+8e
 68
 49
 48
@@ -6435,7 +6735,7 @@
 c2
 80
 86
-49
+94
 20
 20
 3f
@@ -6443,14 +6743,14 @@
 6f
 e0
 cd
-49
+b6
 24
 7a
 00
 00
 70
 4d
-49
+b6
 0a
 20
 60
@@ -6470,12 +6770,8 @@
 d5
 20
 40
-42
-80
-20
-40
 06
-5f
+a9
 58
 00
 00
@@ -6486,8 +6782,8 @@
 5e
 20
 40
-03
-fb
+04
+0d
 20
 40
 3f
@@ -6499,7 +6795,7 @@
 20
 40
 06
-89
+f2
 6f
 e0
 c8
@@ -6515,139 +6811,259 @@
 24
 34
 06
-81
+e9
 20
 40
 06
-7e
+e6
 20
 40
 06
-86
+ee
 20
 20
 45
 84
 6f
 e0
-c9
-2c
+c4
+ae
 c1
-81
 80
 00
+00
 6f
 e0
 c9
-97
+2c
+c0
+07
+86
+ae
+20
+20
+42
+83
+20
+40
+43
+04
+6f
+e0
+c9
+15
+c0
+7f
+86
+b4
+68
+48
+c9
+15
+20
+40
+60
+fd
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+5d
+65
+c0
+99
 c1
-81
+f2
+58
 00
 00
-6f
-e1
-48
-d5
+02
+20
+40
+5d
+65
+c4
+03
+80
+00
+67
+e0
+cd
+b1
 20
 40
 06
-6a
+c0
+20
+40
+06
+c7
+20
+40
+06
+d3
+20
+40
+06
+da
+20
+20
+42
+c6
+df
+e0
+00
+03
+20
+40
+5d
+65
 67
-e1
-48
+e0
+c8
 d5
-6f
-e1
-48
-d7
+58
+00
+00
+11
 20
 40
-06
-6a
+5d
+65
 67
-e1
-48
-d7
+e0
+c8
+d6
 20
 60
 00
 00
+6f
+e0
+cd
+b1
+c4
+01
+80
+00
+6f
+e1
+48
+d5
 c2
-85
+87
 86
-6d
+d0
 c3
-05
+07
 86
-71
+cd
 20
 60
 00
 00
-1f
-e6
-7e
+58
+00
+7f
+ff
+67
+e1
+48
+d5
+20
+60
+00
+00
+58
+00
+80
+00
+67
+e1
+48
+d5
+20
+60
+00
+00
+df
+e0
 00
+04
 20
 40
-06
-71
-1f
-e6
-7e
+5d
+65
+67
+e0
+c8
+d7
+58
+00
 00
+12
+20
+40
+5d
+65
+67
+e0
+c8
+d8
+20
+60
+00
+00
+6f
+e0
+cd
+b1
+c4
+02
+00
+00
+6f
+e1
+48
+d7
+c2
+87
+86
+e3
+c3
+07
+86
+e0
 20
 60
 00
 00
-1f
-e3
-04
-00
-98
-40
-fe
+58
 00
-79
-3f
-fe
-0e
-79
-3f
-fe
-0f
+7f
+ff
 67
 e1
-4d
-12
-6f
-e0
-cd
-13
-1f
-e6
-7c
-07
-24
-41
-06
-7b
-6f
-e1
-4d
-12
+48
+d7
 20
 60
 00
 00
 58
 00
-07
-ff
+80
+00
 67
 e1
-4d
-12
+48
+d7
 20
 60
 00
@@ -6692,6 +7108,10 @@
 01
 80
 00
+c1
+07
+80
+00
 20
 20
 47
@@ -6699,7 +7119,7 @@
 20
 40
 06
-8b
+f4
 20
 20
 41
@@ -6719,23 +7139,23 @@
 20
 40
 06
-94
+fd
 20
 40
-06
-99
+07
+02
 20
 40
-06
-9e
+07
+07
 20
 40
-06
-a3
+07
+0c
 20
 40
-06
-b0
+07
+19
 20
 20
 41
@@ -6746,8 +7166,8 @@
 1c
 20
 40
-06
-bd
+07
+26
 20
 40
 41
@@ -6766,8 +7186,8 @@
 1d
 20
 40
-06
-bd
+07
+26
 20
 40
 41
@@ -6786,8 +7206,8 @@
 1e
 20
 40
-06
-bd
+07
+26
 20
 40
 41
@@ -6830,8 +7250,8 @@
 14
 c0
 7f
-86
-ac
+87
+15
 20
 20
 41
@@ -6842,8 +7262,8 @@
 11
 20
 40
-06
-c0
+07
+29
 68
 48
 c9
@@ -6882,8 +7302,8 @@
 14
 c0
 7f
-86
-b9
+87
+22
 20
 20
 41
@@ -6894,8 +7314,8 @@
 12
 20
 40
-06
-c0
+07
+29
 68
 48
 c9
@@ -6928,8 +7348,8 @@
 20
 61
 2c
-1b
-65
+37
+4b
 aa
 55
 40
@@ -6960,7 +7380,7 @@
 20
 00
 00
-58
+d8
 eb
 2d
 77
@@ -7102,7 +7522,7 @@
 11
 49
 07
-09
+0b
 0a
 aa
 55
@@ -7140,14 +7560,14 @@
 ff
 07
 0a
-09
-00
+0b
+0d
 ff
 ff
 ff
 05
 04
-8b
+09
 aa
 55
 02
@@ -7155,7 +7575,7 @@
 27
 49
 ff
-8b
+09
 aa
 55
 01
@@ -7165,6 +7585,13 @@
 ff
 aa
 55
+01
+00
+bc
+44
+ff
+aa
+55
 03
 00
 29
@@ -7228,7 +7655,7 @@
 55
 01
 00
-45
+b2
 4d
 02
 aa
@@ -7251,7 +7678,7 @@
 00
 29
 4c
-8d
+80
 8e
 8f
 aa
@@ -7395,7 +7822,7 @@
 00
 c5
 49
-02
+05
 aa
 55
 01
@@ -7423,7 +7850,7 @@
 00
 e7
 48
-b5
+ac
 00
 6f
 00
@@ -7895,6 +8322,28 @@
 16
 aa
 55
+10
+00
+a1
+4d
+e2
+07
+3f
+08
+c3
+0f
+7e
+10
+b4
+13
+9d
+14
+f1
+03
+1f
+04
+aa
+55
 28
 00
 15
@@ -7941,6 +8390,104 @@
 ff
 aa
 55
+5c
+00
+45
+4d
+7f
+00
+09
+5a
+30
+00
+0d
+1a
+4e
+00
+7f
+01
+51
+01
+55
+54
+4e
+02
+50
+aa
+52
+88
+53
+aa
+66
+0d
+7f
+03
+00
+06
+02
+1b
+03
+36
+29
+02
+2a
+47
+3b
+45
+61
+5b
+63
+05
+01
+09
+4a
+04
+1b
+80
+40
+61
+41
+76
+09
+16
+0a
+06
+05
+30
+1a
+24
+22
+18
+2e
+46
+4e
+0c
+4f
+0c
+56
+4d
+45
+04
+49
+0c
+53
+11
+54
+44
+58
+18
+7f
+00
+4e
+02
+05
+31
+09
+00
+ff
+ff
+aa
+55
 74
 00
 e4
@@ -8403,10 +8950,10 @@
 aa
 aa
 55
+52
+cf
+1d
 a6
-af
-f0
-85
 ff
 1e
 f0
Index: output/memmap.format
===================================================================
--- /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/output/memmap.format	(revision 5545)
+++ /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/output/memmap.format	(working copy)
@@ -2355,12 +2355,31 @@
 0x4d42 mem_3220_dpi_2_y
 0x4d43 mem_3220_dpi_3_x
 0x4d44 mem_3220_dpi_3_y
-0x4d45 mem_mouse_multi_24g_pair_led_blink_timer_init
-0x4d46 mem_adc_low_led_enable_timer
-0x4d47 mem_adc_low_led_blank_count
-0x4d48 mem_adc_low_led_timer_count
-0x4d49 mem_mouse_low_power_off_timer
-0x4d4a mem_mouse_low_power_off_led_blink_state
+0x4d45 mem_sensor_P3230_init
+0x4da1 mem_3230_dpi_set
+0x4da1 mem_3230_dpi_0_x
+0x4da2 mem_3230_dpi_0_xh
+0x4da3 mem_3230_dpi_0_y
+0x4da4 mem_3230_dpi_0_yh
+0x4da5 mem_3230_dpi_1_x
+0x4da6 mem_3230_dpi_1_xh
+0x4da7 mem_3230_dpi_1_y
+0x4da8 mem_3230_dpi_1_yh
+0x4da9 mem_3230_dpi_2_x
+0x4daa mem_3230_dpi_2_xh
+0x4dab mem_3230_dpi_2_y
+0x4dac mem_3230_dpi_2_yh
+0x4dad mem_3230_dpi_3_x
+0x4dae mem_3230_dpi_3_xh
+0x4daf mem_3230_dpi_3_y
+0x4db0 mem_3230_dpi_3_yh
+0x4db1 mem_mouse_motion_staus
+0x4db2 mem_mouse_multi_24g_pair_led_blink_timer_init
+0x4db3 mem_adc_low_led_enable_timer
+0x4db4 mem_adc_low_led_blank_count
+0x4db5 mem_adc_low_led_timer_count
+0x4db6 mem_mouse_low_power_off_timer
+0x4db7 mem_mouse_low_power_off_led_blink_state
 0x48d4 mem_remote_car_hard_soft_switch
 0x48d5 mem_remote_car_queue_each_size
 0x48d6 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/output/program.lis	(revision 5545)
+++ /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/output/program.lis	(working copy)
@@ -1,2358 +1,2501 @@
               include "bt_format "
               org 0x0000 
-0000 c284001f bbit1 8,pf_patch_ext
-0001 c000004b beq patch00_0,p_soft_reset
-0002 c041005d beq patch10_2,p_shutdown_radio
-0003 c0418064 beq patch10_3,p_set_sync_on
-0004 c0450079 beq patch11_2,p_txon_next
-0005 c0458072 beq patch11_3,p_initialize_radio_cont
-0006 c052002b beq patch14_4,p_lpm_dispatch
-0007 c0568080 beq patch15_5,p_app_init
-0008 c06181da beq patch18_3,p_mouse_start_work
-0009 c06201ed beq patch18_4,p_mouse_start_reconnect_device
-000a c06302ff beq patch18_6,p_mouse_app_enter_hibernate
-000b c0640310 beq patch19_0,p_mouse_setgpio_hibernate
-000c c0648343 beq patch19_1,p_mouse_lpm_before_common
-000d c0658635 beq patch19_3,p_mouse_adc_read_start
-000e c066864d beq patch19_5,p_mouse_motion
-000f c06703c9 beq patch19_6,p_mouse_dpi_process
-0010 c06783f9 beq patch19_7,p_mouse_seting_dpi
-0011 c068068b beq patch1a_0,p_mouse_check_key_gpio
-0012 c069036c beq patch1a_2,p_mouse_init_sunt
-0013 c06982ec beq patch1a_3,p_mouse_sensor_poweron
-0014 c06a84b3 beq patch1a_5,p_mouse_priority_bb_event
-0015 c06c01f1 beq patch1b_0,p_mouse_bb_event_timer
-0016 c06e8350 beq patch1b_5,p_mouse_idle
-0017 c06f003e beq patch1b_6,p_mouse_ready_reconnection_by_button
-0018 c0700036 beq patch1c_0,p_mouse_led_off
-0019 c0708032 beq patch1c_1,p_mouse_led_on
-001a c06c8587 beq patch1b_1,p_mouse_start_discovery
-001b c06d05b4 beq patch1b_2,p_mouse_stop_discovery
-001c c04f8077 beq patch13_7,p_init_param
-001d c06e02e5 beq patch1b_4,p_mouse_store_device_info
-001e 2020137e branch loop
+0000 c2840020 bbit1 8,pf_patch_ext
+0001 c000004e beq patch00_0,p_soft_reset
+0002 c0410060 beq patch10_2,p_shutdown_radio
+0003 c0418067 beq patch10_3,p_set_sync_on
+0004 c045007c beq patch11_2,p_txon_next
+0005 c0458075 beq patch11_3,p_initialize_radio_cont
+0006 c052002c beq patch14_4,p_lpm_dispatch
+0007 c0568083 beq patch15_5,p_app_init
+0008 c06181de beq patch18_3,p_mouse_start_work
+0009 c06201f1 beq patch18_4,p_mouse_start_reconnect_device
+000a c0630303 beq patch18_6,p_mouse_app_enter_hibernate
+000b c0638328 beq patch18_7,p_mouse_before_hibernate
+000c c0640316 beq patch19_0,p_mouse_setgpio_hibernate
+000d c0648353 beq patch19_1,p_mouse_lpm_before_common
+000e c0658680 beq patch19_3,p_mouse_adc_read_start
+000f c0668698 beq patch19_5,p_mouse_motion
+0010 c06703db beq patch19_6,p_mouse_dpi_process
+0011 c067840b beq patch19_7,p_mouse_seting_dpi
+0012 c06806f4 beq patch1a_0,p_mouse_check_key_gpio
+0013 c0690378 beq patch1a_2,p_mouse_init_sunt
+0014 c06982f0 beq patch1a_3,p_mouse_sensor_poweron
+0015 c06a84fe beq patch1a_5,p_mouse_priority_bb_event
+0016 c06c01f5 beq patch1b_0,p_mouse_bb_event_timer
+0017 c06e835c beq patch1b_5,p_mouse_idle
+0018 c06f003f beq patch1b_6,p_mouse_ready_reconnection_by_button
+0019 c0700037 beq patch1c_0,p_mouse_led_off
+001a c0708033 beq patch1c_1,p_mouse_led_on
+001b c06c85d2 beq patch1b_1,p_mouse_start_discovery
+001c c06d05ff beq patch1b_2,p_mouse_stop_discovery
+001d c04f807a beq patch13_7,p_init_param
+001e c06e02e9 beq patch1b_4,p_mouse_store_device_info
+001f 2020137e branch loop
 
 pf_patch_ext:
-001f c00f808c beq patch23_7,p_twspi_reset
-0020 c04285b7 beq patch30_5,p_ui_timer_check
-0021 c06e853d beq patch3b_5,p_g24_dispatch
-0022 c0710548 beq patch3c_2,p_g24_pair_dispatch
-0023 c0748550 beq patch3d_1,p_g24_reconn_dispatch
-0024 c0750146 beq patch3d_2,p_g24_transmit_no_interrupt
-0025 c076057c beq patch3d_4,p_g24_lpm_wait
-0026 c00c85cf beq patch23_1,p_send_lmp
-0027 c04f85d9 beq patch33_7,p_le_slave_match
-0028 c05085e3 beq patch34_1,p_le_slave_unsync
-0029 c05f05e5 beq patch37_6,p_le_parse_l2cap
-002a 2020137e branch loop
+0020 c00f8090 beq patch23_7,p_twspi_reset
+0021 c0428602 beq patch30_5,p_ui_timer_check
+0022 c06e8588 beq patch3b_5,p_g24_dispatch
+0023 c0710593 beq patch3c_2,p_g24_pair_dispatch
+0024 c074859b beq patch3d_1,p_g24_reconn_dispatch
+0025 c075014a beq patch3d_2,p_g24_transmit_no_interrupt
+0026 c07605c7 beq patch3d_4,p_g24_lpm_wait
+0027 c00c861a beq patch23_1,p_send_lmp
+0028 c04f8624 beq patch33_7,p_le_slave_match
+0029 c050862e beq patch34_1,p_le_slave_unsync
+002a c05f0630 beq patch37_6,p_le_parse_l2cap
+002b 2020137e branch loop
 
 p_lpm_dispatch:
-002b 6fe0cc24 fetch 1,mem_mouse_multi_led_type
-002c c1008000 rtneq multi_led_blink
-002d 6fe0cd0d fetch 1,mem_mouse_multi_led_blink_type
-002e 247a0000 nrtn blank
-002f 6fe0cd49 fetch 1,mem_mouse_low_power_off_timer
-0030 247a0000 nrtn blank
-0031 202014ad branch lpm_dispatch+1
+002c 6fe0cc24 fetch 1,mem_mouse_multi_led_type
+002d c1008000 rtneq multi_led_blink
+002e 6fe0cd0d fetch 1,mem_mouse_multi_led_blink_type
+002f 247a0000 nrtn blank
+0030 6fe0cdb6 fetch 1,mem_mouse_low_power_off_timer
+0031 247a0000 nrtn blank
+0032 202014ad branch lpm_dispatch+1
 
 p_mouse_led_on:
-0032 18427e00 copy temp,pdata
-0033 c17f8000 rtneq gpio_disable
-0034 1fe20400 copy pdata,temp
-0035 2020497d branch mouse_led_on+1
+0033 18427e00 copy temp,pdata
+0034 c17f8000 rtneq gpio_disable
+0035 1fe20400 copy pdata,temp
+0036 2020497d branch mouse_led_on+1
 
 p_mouse_led_off:
-0036 18427e00 copy temp,pdata
-0037 c17f8000 rtneq gpio_disable
-0038 1fe20400 copy pdata,temp
-0039 20204979 branch mouse_led_off+1
+0037 18427e00 copy temp,pdata
+0038 c17f8000 rtneq gpio_disable
+0039 1fe20400 copy pdata,temp
+003a 20204979 branch mouse_led_off+1
 
 p_led_num_check:
-003a 6fe0cbc0 fetch 1,mem_mouse_flag+4
-003b 247a0000 nrtn blank
-003c 70448e00 jam 0,mem_ui_led_struct_num
-003d 20600000 rtn
+003b 6fe0cbc0 fetch 1,mem_mouse_flag+4
+003c 247a0000 nrtn blank
+003d 70448e00 jam 0,mem_ui_led_struct_num
+003e 20600000 rtn
 
 p_mouse_ready_reconnection_by_button:
-003e 6fe0cbc5 fetch 1,mem_device_number
-003f c1008000 rtneq 1		// 1channel
-0040 204002c8 call p_mouse_1io2led_all_off
-0041 20404700 call mouse_select_device_number
-0042 6048c93d storet 1,mem_device_flag
+003f 6fe0cbc5 fetch 1,mem_device_number
+0040 c1008000 rtneq 1		// 1channel
+0041 204002cc call p_mouse_1io2led_all_off
+0042 20404700 call mouse_select_device_number
+0043 6048c93d storet 1,mem_device_flag
+0044 704c2400 jam multi_led_on,mem_mouse_multi_led_type
+0045 204002b0 call p_mouse_device_multi_led_on
 
 p_mouse_store_device_number_before_reset:
-0043 7041ca00 jam 0,mem_link_key_exists
-0044 20404718 call mouse_select_device_enable
-0045 20400048 call p_mouse_stop_bluetooth_mode
-0046 204031e6 call app_evt_button_long_pressed //fixed toggle mode enter hibernate
-0047 202046fb branch mouse_store_device_number_before_reset+3
+0046 7041ca00 jam 0,mem_link_key_exists
+0047 20404718 call mouse_select_device_enable
+0048 2040004b call p_mouse_stop_bluetooth_mode
+0049 204031e6 call app_evt_button_long_pressed //fixed toggle mode enter hibernate
+004a 202046fb branch mouse_store_device_number_before_reset+3
 
 p_mouse_stop_bluetooth_mode:
-0048 6fe1478f fetch 2,mem_ui_state_map
-0049 c3838000 rtnbit1 ui_state_bt_reconnect
-004a 20204358 branch mouse_stop_bluetooth_mode+2
+004b 6fe1478f fetch 2,mem_ui_state_map
+004c c3838000 rtnbit1 ui_state_bt_reconnect
+004d 20204358 branch mouse_stop_bluetooth_mode+2
 
 p_soft_reset:
-004b 20800000 clear_stack
-004c 20403166 call app_param_init
-004d 2455803a ncall p_led_num_check,wake
-004e 58004c85 setarg mem_mouse_rssi_signal_buf_patch
-004f 67e1489d store 2,mem_rssi_signal_buf_ptr
-0050 20403cb3 call mouse_xtal_init		// 16m / 24m
-0051 20200804 branch soft_reset+3
+004e 20800000 clear_stack
+004f 20403166 call app_param_init
+0050 2455803b ncall p_led_num_check,wake
+0051 58004c85 setarg mem_mouse_rssi_signal_buf_patch
+0052 67e1489d store 2,mem_rssi_signal_buf_ptr
+0053 20403cb3 call mouse_xtal_init		// 16m / 24m
+0054 20200804 branch soft_reset+3
 
 p_enable_rc_clock:
-0052 6ff20138 fetch 4,core_lpm_ctrl
-0053 79207e02 set1 2,pdata
-0054 67f2004c store 4,core_lpm_reg
-0055 58000001 setarg lpmreg_sel_ctrl
-0056 37d98200 until null,lpo_edge
-0057 67f08005 store 1,core_lpm_wr
-0058 37d98200 until null,lpo_edge
+0055 6ff20138 fetch 4,core_lpm_ctrl
+0056 79207e02 set1 2,pdata
+0057 67f2004c store 4,core_lpm_reg
+0058 58000001 setarg lpmreg_sel_ctrl
 0059 37d98200 until null,lpo_edge
-005a 37d98200 until null,lpo_edge
-005b 20002710 nop 10000
-005c 20600000 rtn
+005a 67f08005 store 1,core_lpm_wr
+005b 37d98200 until null,lpo_edge
+005c 37d98200 until null,lpo_edge
+005d 37d98200 until null,lpo_edge
+005e 20002710 nop 10000
+005f 20600000 rtn
 
 p_shutdown_radio:
-005d 6fe0c1ea fetch 1,mem_gain_fix	//filter gain_control
-005e 67e08964 store 1,mem_temp
-005f 2040114c call shutdown_radio+1
-0060 708a0a00 jam 0,core_rf_ldo_en0	//rfpll vco_ldo disable
-0061 6fe08964 fetch 1,mem_temp
-0062 67e0c1ea store 1,mem_gain_fix
-0063 20600000 rtn
+0060 6fe0c1ea fetch 1,mem_gain_fix	//filter gain_control
+0061 67e08964 store 1,mem_temp
+0062 2040114c call shutdown_radio+1
+0063 708a0a00 jam 0,core_rf_ldo_en0	//rfpll vco_ldo disable
+0064 6fe08964 fetch 1,mem_temp
+0065 67e0c1ea store 1,mem_gain_fix
+0066 20600000 rtn
 
 p_set_sync_on:
-0064 70890005 jam 0x5,modem_en
-0065 20000002 nop 2
-0066 70890000 jam 0x0,modem_en
-0067 6fe0c0c5 fetch 1,mem_fcomp_div
-0068 c00c1164 beq xtal_24m,set_sync_on_24m
+0067 70890005 jam 0x5,modem_en
+0068 20000002 nop 2
+0069 70890000 jam 0x0,modem_en
+006a 6fe0c0c5 fetch 1,mem_fcomp_div
+006b c00c1164 beq xtal_24m,set_sync_on_24m
 
 p_set_sync_on_16m:
-0069 708a8729 jam 0x29,core_syn_afc_cfg1
-006a 20201179 branch set_sync_on_16m
+006c 708a8729 jam 0x29,core_syn_afc_cfg1
+006d 20201179 branch set_sync_on_16m
 
 p_rf_da_ldo_abb_en_init:
-006b 6ff08a0a fetch 1,core_rf_ldo_en0
-006c 79207e03 set1 3,pdata
-006d 67f08a0a store 1,core_rf_ldo_en0
-006e 200000f0 nop 240	//20us,waiting ldo steady
-006f 793ffe03 set0 3,pdata
+006e 6ff08a0a fetch 1,core_rf_ldo_en0
+006f 79207e03 set1 3,pdata
 0070 67f08a0a store 1,core_rf_ldo_en0
-0071 20600000 rtn
+0071 200000f0 nop 240	//20us,waiting ldo steady
+0072 793ffe03 set0 3,pdata
+0073 67f08a0a store 1,core_rf_ldo_en0
+0074 20600000 rtn
 
 p_initialize_radio_cont:
-0072 7041eaff jam 0xff,mem_gain_fix
-0073 708a8500 jam 0x00,core_syn_loopdiv_dsm_cfg
-0074 70892140 jam 0x40,core_rx_ctrl1
-0075 2040006b call p_rf_da_ldo_abb_en_init
-0076 20201252 branch initialize_radio_cont+1
+0075 7041eaff jam 0xff,mem_gain_fix
+0076 708a8500 jam 0x00,core_syn_loopdiv_dsm_cfg
+0077 70892140 jam 0x40,core_rx_ctrl1
+0078 2040006e call p_rf_da_ldo_abb_en_init
+0079 20201252 branch initialize_radio_cont+1
 
 p_init_param:
-0077 70007f00 jam 0,mem_lmo_tid2			// classic can't reconnect
-0078 202013b9 branch init_param_next+1
+007a 70007f00 jam 0,mem_lmo_tid2			// classic can't reconnect
+007b 202013b9 branch init_param_next+1
 
 p_txon_next:
-0079 6fe0c1e8 fetch 1,mem_tx_power
-007a c04a007d beq tx_power_f20db,p_set_tx_power_f20db	//fast conn
-007b c04f1243 beq tx_power_f30db,set_tx_power_f30db	//pair mode
-007c 20201237 branch set_tx_power_10db	//others
+007c 6fe0c1e8 fetch 1,mem_tx_power
+007d c04a0080 beq tx_power_f20db,p_set_tx_power_f20db	//fast conn
+007e c04f1243 beq tx_power_f30db,set_tx_power_f30db	//pair mode
+007f 20201237 branch set_tx_power_10db	//others
 
 p_set_tx_power_f20db:
-007d 708a3903 jam 0x03,core_tx_pwr_ctrl0
-007e 708a3a01 jam 0x01,core_tx_pwr_ctrl1
-007f 20201226 branch set_rf_ldo_cfg89
+0080 708a3903 jam 0x03,core_tx_pwr_ctrl0
+0081 708a3a01 jam 0x01,core_tx_pwr_ctrl1
+0082 20201226 branch set_rf_ldo_cfg89
 
 p_app_init:
 
 p_mouse_init:
-0080 20406e5e call enable_authrom
-0081 204000cc call p_mouse_setting_config
-0082 24558099 ncall p_mouse_le_name_load,wake
-0083 204041e7 call mouse_init_sunt
-0084 20758000 rtn wake
-0085 70486802 jam 0x02,mem_24g_tx_phy
-0086 70486702 jam 0x02,mem_24g_rx_phy
-0087 204003fb call p_mouse_seting_sensor_type
-0088 20404766 call mouse_drawing_optima_init
-0089 204000dc call p_mouse_cb_fuction
-008a 204002f7 call p_mouse_sensor_powerdown
-008b 20203c7d branch mouse_init+8
+0083 20406e5e call enable_authrom
+0084 204000d0 call p_mouse_setting_config
+0085 2455809d ncall p_mouse_le_name_load,wake
+0086 204041e7 call mouse_init_sunt
+0087 20758000 rtn wake
+0088 70486802 jam 0x02,mem_24g_tx_phy
+0089 70486702 jam 0x02,mem_24g_rx_phy
+008a 2040040d call p_mouse_seting_sensor_type
+008b 7049c506 jam 0x06,mem_store_information_delay_timer_init
+008c 20404766 call mouse_drawing_optima_init
+008d 204000e0 call p_mouse_cb_fuction
+008e 204002fb call p_mouse_sensor_powerdown
+008f 20203c7d branch mouse_init+8
 
 p_twspi_reset:
-008c 6fe0c923 fetch 1,mem_mouse_sensor_sclk_gpio
-008d 20205b56 branch twspi_reset+1
+0090 6fe0c923 fetch 1,mem_mouse_sensor_sclk_gpio
+0091 20205b56 branch twspi_reset+1
 
 p_mouse_le_channel_name_set:
-008e 6fe0c93d fetch 1,mem_device_flag
-008f c0008092 beq mode_bt_device1,p_mouse_le_channel_name_set1
-0090 c0010096 beq mode_bt_device2,p_mouse_le_channel_name_set2
-0091 20600000 rtn
+0092 6fe0c93d fetch 1,mem_device_flag
+0093 c0008096 beq mode_bt_device1,p_mouse_le_channel_name_set1
+0094 c001009a beq mode_bt_device2,p_mouse_le_channel_name_set2
+0095 20600000 rtn
 
 p_mouse_le_channel_name_set1:
-0092 d8c04ce3 arg mem_mouse_le_name_len1,contr
-0093 d8a04bff arg mem_le_name_patch_len,contw
+0096 d8c04ce3 arg mem_mouse_le_name_len1,contr
+0097 d8a04bff arg mem_le_name_patch_len,contw
 
 p_mouse_le_channel_name_set_next:
-0094 df200014 arg 20,loopcnt
-0095 20207dd4 branch memcpy
+0098 df200014 arg 20,loopcnt
+0099 20207dd4 branch memcpy
 
 p_mouse_le_channel_name_set2:
-0096 d8c04cf7 arg mem_mouse_le_name_len2,contr
-0097 d8a04bff arg mem_le_name_patch_len,contw
-0098 20200094 branch p_mouse_le_channel_name_set_next
+009a d8c04cf7 arg mem_mouse_le_name_len2,contr
+009b d8a04bff arg mem_le_name_patch_len,contw
+009c 20200098 branch p_mouse_le_channel_name_set_next
 
 p_mouse_le_name_load:
-0099 6fe44c00 fetch 8,mem_le_name_patch
-009a 207a0000 rtn blank
-009b 2040008e call p_mouse_le_channel_name_set
-009c 6fe0cbff fetch 1,mem_le_name_patch_len
-009d 1fe22200 copy pdata,rega
-009e 1fe67c0b sub pdata,11,null
-009f 242100aa nbranch p_mouse_le_name_patch_len_overflow,positive
-00a0 d8c04c00 arg mem_le_name_patch,contr
-00a1 d8a04aec arg mem_le_adv_swift_pair+9,contw
-00a2 204000a8 call p_mouse_le_name_load_next
-00a3 d8c04c00 arg mem_le_name_patch,contr
-00a4 d8a0440a arg mem_le_scan_data+2,contw
-00a5 204000a8 call p_mouse_le_name_load_next
-00a6 d8c04c00 arg mem_le_name_patch,contr
-00a7 d8a042f8 arg mem_le_name,contw
+009d 6fe44c00 fetch 8,mem_le_name_patch
+009e 207a0000 rtn blank
+009f 20400092 call p_mouse_le_channel_name_set
+00a0 6fe0cbff fetch 1,mem_le_name_patch_len
+00a1 1fe22200 copy pdata,rega
+00a2 1fe67c0b sub pdata,11,null
+00a3 242100ae nbranch p_mouse_le_name_patch_len_overflow,positive
+00a4 d8c04c00 arg mem_le_name_patch,contr
+00a5 d8a04aec arg mem_le_adv_swift_pair+9,contw
+00a6 204000ac call p_mouse_le_name_load_next
+00a7 d8c04c00 arg mem_le_name_patch,contr
+00a8 d8a0440a arg mem_le_scan_data+2,contw
+00a9 204000ac call p_mouse_le_name_load_next
+00aa d8c04c00 arg mem_le_name_patch,contr
+00ab d8a042f8 arg mem_le_name,contw
 
 p_mouse_le_name_load_next:
-00a8 1a227200 copy rega,loopcnt
-00a9 20207dd4 branch memcpy
+00ac 1a227200 copy rega,loopcnt
+00ad 20207dd4 branch memcpy
 
 p_mouse_le_name_patch_len_overflow:
-00aa 204000c0 call p_mouse_le_swift_pair_disable
-00ab 6fe0cbff fetch 1,mem_le_name_patch_len
-00ac 1fe0fe01 increase 1,pdata
-00ad 67e0cae3 store 1,mem_le_adv_swift_pair
-00ae 704ae409 jam 9,mem_le_adv_swift_pair+1
-00af d8c04c00 arg mem_le_name_patch,contr
-00b0 d8a04ae5 arg mem_le_adv_swift_pair+2,contw
-00b1 1a227200 copy rega,loopcnt
-00b2 20407dd4 call memcpy
-00b3 6fe0cbff fetch 1,mem_le_name_patch_len
-00b4 1fe0fe01 increase 1,pdata
-00b5 67e0c408 store 1,mem_le_scan_data
-00b6 70440909 jam 9,mem_le_scan_data+1
-00b7 d8c04c00 arg mem_le_name_patch,contr
-00b8 d8a0440a arg mem_le_scan_data+2,contw
-00b9 1a227200 copy rega,loopcnt
-00ba 20407dd4 call memcpy
-00bb d8c04bff arg mem_le_name_patch_len,contr
-00bc d8a042f7 arg mem_le_name_len,contw
+00ae 204000c4 call p_mouse_le_swift_pair_disable
+00af 6fe0cbff fetch 1,mem_le_name_patch_len
+00b0 1fe0fe01 increase 1,pdata
+00b1 67e0cae3 store 1,mem_le_adv_swift_pair
+00b2 704ae409 jam 9,mem_le_adv_swift_pair+1
+00b3 d8c04c00 arg mem_le_name_patch,contr
+00b4 d8a04ae5 arg mem_le_adv_swift_pair+2,contw
+00b5 1a227200 copy rega,loopcnt
+00b6 20407dd4 call memcpy
+00b7 6fe0cbff fetch 1,mem_le_name_patch_len
+00b8 1fe0fe01 increase 1,pdata
+00b9 67e0c408 store 1,mem_le_scan_data
+00ba 70440909 jam 9,mem_le_scan_data+1
+00bb d8c04c00 arg mem_le_name_patch,contr
+00bc d8a0440a arg mem_le_scan_data+2,contw
 00bd 1a227200 copy rega,loopcnt
-00be 1f20f201 increase 1,loopcnt
-00bf 20207dd4 branch memcpy
+00be 20407dd4 call memcpy
+00bf d8c04bff arg mem_le_name_patch_len,contr
+00c0 d8a042f7 arg mem_le_name_len,contw
+00c1 1a227200 copy rega,loopcnt
+00c2 1f20f201 increase 1,loopcnt
+00c3 20207dd4 branch memcpy
 
 p_mouse_le_swift_pair_disable:
-00c0 d8a04ae3 arg mem_le_adv_swift_pair,contw
-00c1 df200014 arg 20,loopcnt
-00c2 20207d9b branch clear_mem
+00c4 d8a04ae3 arg mem_le_adv_swift_pair,contw
+00c5 df200014 arg 20,loopcnt
+00c6 20207d9b branch clear_mem
 
 p_g24_report:
-00c3 580110d8 setarg 69848
-00c4 67e1c8b1 store 3,mem_24g_short_sleep_set
-00c5 67e1cc49 store 3,mem_24g_short_sleep_set_init
-00c6 7048ca1e jam 30,mem_24g_fast_hop_count
-00c7 20600000 rtn
+00c7 580110d8 setarg 69848
+00c8 67e1c8b1 store 3,mem_24g_short_sleep_set
+00c9 67e1cc49 store 3,mem_24g_short_sleep_set_init
+00ca 7048ca1e jam 30,mem_24g_fast_hop_count
+00cb 20600000 rtn
 
 p_send_time_long_wake:
-00c8 58000000 setarg 0
-00c9 67e0cc38 store 1,mem_tx_count
-00ca 67e2cc43 store 5,mem_tx_time_sum
-00cb 20600000 rtn
+00cc 58000000 setarg 0
+00cd 67e0cc38 store 1,mem_tx_count
+00ce 67e2cc43 store 5,mem_tx_time_sum
+00cf 20600000 rtn
 
 p_mouse_setting_config:
-00cc 20758000 rtn wake
-00cd 2040260e call g24_transmit_init
-00ce 20403f60 call mouse_gpio_init
-00cf 204022b5 call g24_chmap_param_init
-00d0 204000c8 call p_send_time_long_wake
-00d1 20403dd6 call mouse_param_init
-00d2 204000c3 call p_g24_report
-00d3 20400256 call p_mouse_device_multi_led_parm_init
-00d4 204000d6 call p_mouse_store_normal_tx_power
-00d5 20203cab branch mouse_setting_config_next
+00d0 20758000 rtn wake
+00d1 2040260e call g24_transmit_init
+00d2 20403f60 call mouse_gpio_init
+00d3 204022b5 call g24_chmap_param_init
+00d4 204000cc call p_send_time_long_wake
+00d5 20403dd6 call mouse_param_init
+00d6 204000c7 call p_g24_report
+00d7 2040025a call p_mouse_device_multi_led_parm_init
+00d8 204000da call p_mouse_store_normal_tx_power
+00d9 20203cab branch mouse_setting_config_next
 
 p_mouse_store_normal_tx_power:
-00d6 6fe0c1e8 fetch 1,mem_tx_power
-00d7 67e0ccc0 store 1,mem_normal_tx_power
-00d8 20600000 rtn
+00da 6fe0c1e8 fetch 1,mem_tx_power
+00db 67e0ccc0 store 1,mem_normal_tx_power
+00dc 20600000 rtn
 
 p_mouse_fetch_normal_tx_power:
-00d9 6fe0ccc0 fetch 1,mem_normal_tx_power
-00da 67e0c1e8 store 1,mem_tx_power
-00db 20600000 rtn
+00dd 6fe0ccc0 fetch 1,mem_normal_tx_power
+00de 67e0c1e8 store 1,mem_tx_power
+00df 20600000 rtn
 
 p_mouse_cb_fuction:
-00dc 580000e6 setarg p_mouse_24g_before_lpm_sleep
-00dd 67e14479 store 2,mem_cb_before_lpm_sleep
-00de 580000ec setarg p_mouse_24g_package_data
-00df 67e1489f store 2,mem_cb_24g_transmit_data
-00e0 5800010d setarg p_mouse_24g_search_dongle
-00e1 67e148a1 store 2,mem_cb_24g_search_receiver
-00e2 20403c89 call mouse_cb_fuction+6
-00e3 580000e7 setarg p_mouse_process_lpm_before
-00e4 67e1445f store 2,mem_cb_before_lpm
-00e5 20600000 rtn
+00e0 580000ea setarg p_mouse_24g_before_lpm_sleep
+00e1 67e14479 store 2,mem_cb_before_lpm_sleep
+00e2 580000f0 setarg p_mouse_24g_package_data
+00e3 67e1489f store 2,mem_cb_24g_transmit_data
+00e4 58000111 setarg p_mouse_24g_search_dongle
+00e5 67e148a1 store 2,mem_cb_24g_search_receiver
+00e6 20403c89 call mouse_cb_fuction+6
+00e7 580000eb setarg p_mouse_process_lpm_before
+00e8 67e1445f store 2,mem_cb_before_lpm
+00e9 20600000 rtn
 
 p_mouse_24g_before_lpm_sleep:
-00e6 20600000 rtn
+00ea 20600000 rtn
 
 p_mouse_process_lpm_before:
-00e7 c6130000 rtnmark1 mark_24g
-00e8 20403e80 call mouse_lpm_before_common
-00e9 6fe0809d fetch 1,mem_lpm_current_mult
-00ea 247a0000 nrtn blank					// 7.5ms, no gpio wakeup
-00eb 20207f52 branch clear_wake
+00eb c6130000 rtnmark1 mark_24g
+00ec 20403e80 call mouse_lpm_before_common
+00ed 6fe0809d fetch 1,mem_lpm_current_mult
+00ee 247a0000 nrtn blank					// 7.5ms, no gpio wakeup
+00ef 20207f52 branch clear_wake
 
 p_mouse_24g_package_data:
-00ec c6930000 rtnmark0 mark_24g
-00ed 20403fb0 call mouse_motion
-00ee 24740000 nrtn user
-00ef 6fe0cd14 fetch 1,mem_long_sleep_flag
-00f0 704d1400 jam 0,mem_long_sleep_flag
-00f1 245a010b ncall p_mouse_short_sleep_clear_wake,blank
-00f2 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-00f3 c30a80f6 bbit0 mouse_enable_keyboard,p_mouse_24g_mouse_package_data
-00f4 6fe0cb9c fetch 1,mem_customer_key
-00f5 243a48c1 nbranch mouse_24g_keyboard_package_data,blank
+00f0 c6930000 rtnmark0 mark_24g
+00f1 20403fb0 call mouse_motion
+00f2 24740000 nrtn user
+00f3 6fe0cd14 fetch 1,mem_long_sleep_flag
+00f4 704d1400 jam 0,mem_long_sleep_flag
+00f5 245a010f ncall p_mouse_short_sleep_clear_wake,blank
+00f6 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+00f7 c30a80fa bbit0 mouse_enable_keyboard,p_mouse_24g_mouse_package_data
+00f8 6fe0cb9c fetch 1,mem_customer_key
+00f9 243a48c1 nbranch mouse_24g_keyboard_package_data,blank
 
 p_mouse_24g_mouse_package_data:
-00f6 2040430b call mouse_data_xy_release
-00f7 6fe0c839 fetch 1,mem_24g_data_type
-00f8 c2808105 bbit1 1,p_mouse_24g_mouse_package_data_now	// last package is keyboard data
-00f9 6848c7ca fetcht 1,mem_24g_txbuf+1
-00fa 6fe0c8d4 fetch 1,mem_mouse_key
-00fb 9841fe00 ior temp,pdata
-00fc 67e0c8d4 store 1,mem_mouse_key
-00fd 6848c7cf fetcht 1,mem_24g_txbuf+6
-00fe 6fe0c8d9 fetch 1,mem_mouse_z
-00ff 9840fe00 iadd temp,pdata
-0100 67e0c8d9 store 1,mem_mouse_z
-0101 6848c7d0 fetcht 1,mem_24g_txbuf+7
-0102 6fe0c8da fetch 1,mem_mouse_tz
+00fa 2040430b call mouse_data_xy_release
+00fb 6fe0c839 fetch 1,mem_24g_data_type
+00fc c2808109 bbit1 1,p_mouse_24g_mouse_package_data_now	// last package is keyboard data
+00fd 6848c7ca fetcht 1,mem_24g_txbuf+1
+00fe 6fe0c8d4 fetch 1,mem_mouse_key
+00ff 9841fe00 ior temp,pdata
+0100 67e0c8d4 store 1,mem_mouse_key
+0101 6848c7cf fetcht 1,mem_24g_txbuf+6
+0102 6fe0c8d9 fetch 1,mem_mouse_z
 0103 9840fe00 iadd temp,pdata
-0104 67e0c8da store 1,mem_mouse_tz
+0104 67e0c8d9 store 1,mem_mouse_z
+0105 6848c7d0 fetcht 1,mem_24g_txbuf+7
+0106 6fe0c8da fetch 1,mem_mouse_tz
+0107 9840fe00 iadd temp,pdata
+0108 67e0c8da store 1,mem_mouse_tz
 
 p_mouse_24g_mouse_package_data_now:
-0105 70483901 jam type_ms,mem_24g_data_type
-0106 da200007 arg 7,rega	//length
-0107 da4048d4 arg mem_mouse_key,regb //tx buff
-0108 6fe148d9 fetch 2,mem_mouse_z
-0109 207a0000 rtn blank
-010a 202026e8 branch g24_transmit_by_interrupt_enable
+0109 70483901 jam type_ms,mem_24g_data_type
+010a da200007 arg 7,rega	//length
+010b da4048d4 arg mem_mouse_key,regb //tx buff
+010c 6fe148d9 fetch 2,mem_mouse_z
+010d 207a0000 rtn blank
+010e 202026e8 branch g24_transmit_by_interrupt_enable
 
 p_mouse_short_sleep_clear_wake:
-010b 20407f52 call clear_wake
-010c 2020155d branch lpm_write_gpio_wakeup
+010f 20407f52 call clear_wake
+0110 2020155d branch lpm_write_gpio_wakeup
 
 p_mouse_24g_search_dongle:
-010d 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-010e c40b0000 rtnbit0 mouse_enable_24g_search_dongle
-010f 6fe0cabf fetch 1,mem_mouse_long_mult_flag
-0110 207a0000 rtn blank
-0111 6fe0c8ab fetch 1,mem_24g_abort_pac
-0112 207a0000 rtn blank
-0113 6fe0cbb2 fetch 1,mem_mouse_search_dongle_interval
-0114 1fe0fe01 increase 1,pdata
-0115 1fe17e03 and_into 3,pdata
-0116 67e0cbb2 store 1,mem_mouse_search_dongle_interval
-0117 247a0000 nrtn blank	//400ms
-0118 704bb300 jam 0,mem_mouse_search_dongle_ch
+0111 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0112 c40b0000 rtnbit0 mouse_enable_24g_search_dongle
+0113 6fe0cabf fetch 1,mem_mouse_long_mult_flag
+0114 207a0000 rtn blank
+0115 6fe0c8ab fetch 1,mem_24g_abort_pac
+0116 207a0000 rtn blank
+0117 6fe0cbb2 fetch 1,mem_mouse_search_dongle_interval
+0118 1fe0fe01 increase 1,pdata
+0119 1fe17e03 and_into 3,pdata
+011a 67e0cbb2 store 1,mem_mouse_search_dongle_interval
+011b 247a0000 nrtn blank	//400ms
+011c 704bb300 jam 0,mem_mouse_search_dongle_ch
 
 p_mouse_24g_search_dongle_loop:
-0119 6fe0cbb3 fetch 1,mem_mouse_search_dongle_ch
-011a 1fe0fe01 increase 1,pdata
-011b 67e0cbb3 store 1,mem_mouse_search_dongle_ch
-011c 1fe67c08 sub pdata,g24_ch_number,null
-011d 24210123 nbranch p_mouse_24g_search_dongle_loop_end,positive
-011e 204025a3 call g24_reconn_data_prep
-011f 20402662 call g24_transmit_receive_ack
-0120 242c0129 nbranch p_mouse_24g_search_dongle_loop_retry,sync
-0121 24378129 nbranch p_mouse_24g_search_dongle_loop_retry,user3
-0122 20400133 call p_mouse_24g_search_dongle_success
+011d 6fe0cbb3 fetch 1,mem_mouse_search_dongle_ch
+011e 1fe0fe01 increase 1,pdata
+011f 67e0cbb3 store 1,mem_mouse_search_dongle_ch
+0120 1fe67c08 sub pdata,g24_ch_number,null
+0121 24210127 nbranch p_mouse_24g_search_dongle_loop_end,positive
+0122 204025a3 call g24_reconn_data_prep
+0123 20402662 call g24_transmit_receive_ack
+0124 242c012d nbranch p_mouse_24g_search_dongle_loop_retry,sync
+0125 2437812d nbranch p_mouse_24g_search_dongle_loop_retry,user3
+0126 20400137 call p_mouse_24g_search_dongle_success
 
 p_mouse_24g_search_dongle_loop_end:
-0123 204025a0 call g24_txbuf_clear
-0124 6fe0cbb4 fetch 1,mem_mouse_search_dongle_count
-0125 1fe0fe01 increase 1,pdata
-0126 67e0cbb4 store 1,mem_mouse_search_dongle_count
-0127 c008012b beq g24_ch_poll_count,p_mouse_24g_search_dongle_check
-0128 20600000 rtn
+0127 204025a0 call g24_txbuf_clear
+0128 6fe0cbb4 fetch 1,mem_mouse_search_dongle_count
+0129 1fe0fe01 increase 1,pdata
+012a 67e0cbb4 store 1,mem_mouse_search_dongle_count
+012b c008012f beq g24_ch_poll_count,p_mouse_24g_search_dongle_check
+012c 20600000 rtn
 
 p_mouse_24g_search_dongle_loop_retry:
-0129 20402281 call g24_ch
-012a 20200119 branch p_mouse_24g_search_dongle_loop
+012d 20402281 call g24_ch
+012e 2020011d branch p_mouse_24g_search_dongle_loop
 
 p_mouse_24g_search_dongle_check:
-012b 704bb400 jam 0,mem_mouse_search_dongle_count
-012c 6fe0cbb5 fetch 1,mem_mouse_search_dongle_action
-012d c3800000 rtnbit1 g24_disconn_state
-012e 79207e00 set1 g24_disconn_state,pdata
-012f 67e0cbb5 store 1,mem_mouse_search_dongle_action
-0130 6fe14bcd fetch 2,mem_mouse_24g_search_dongle_time_init
-0131 67e14ac3 store 2,mem_mouse_no_data_timer
-0132 20600000 rtn
+012f 704bb400 jam 0,mem_mouse_search_dongle_count
+0130 6fe0cbb5 fetch 1,mem_mouse_search_dongle_action
+0131 c3800000 rtnbit1 g24_disconn_state
+0132 79207e00 set1 g24_disconn_state,pdata
+0133 67e0cbb5 store 1,mem_mouse_search_dongle_action
+0134 6fe14bcd fetch 2,mem_mouse_24g_search_dongle_time_init
+0135 67e14ac3 store 2,mem_mouse_no_data_timer
+0136 20600000 rtn
 
 p_mouse_24g_search_dongle_success:
-0133 6fe0c8ab fetch 1,mem_24g_abort_pac
-0134 203a48c9 branch mouse_24g_search_dongle_init,blank
-0135 704bb400 jam 0,mem_mouse_search_dongle_count
-0136 6fe0cbb5 fetch 1,mem_mouse_search_dongle_action
-0137 c4000000 rtnbit0 g24_disconn_state
-0138 793ffe00 set0 g24_disconn_state,pdata
-0139 67e0cbb5 store 1,mem_mouse_search_dongle_action
-013a 20404584 call mouse_no_data_timer_init
-013b 2020036e branch p_mouse_init_sensor_wakeup
+0137 6fe0c8ab fetch 1,mem_24g_abort_pac
+0138 203a48c9 branch mouse_24g_search_dongle_init,blank
+0139 704bb400 jam 0,mem_mouse_search_dongle_count
+013a 6fe0cbb5 fetch 1,mem_mouse_search_dongle_action
+013b c4000000 rtnbit0 g24_disconn_state
+013c 793ffe00 set0 g24_disconn_state,pdata
+013d 67e0cbb5 store 1,mem_mouse_search_dongle_action
+013e 20404584 call mouse_no_data_timer_init
+013f 2020037a branch p_mouse_init_sensor_wakeup
 
 p_mouse_24g_fast_conn_mode_check:
-013c 6fe24895 fetch 4,mem_24g_receiver_addr
-013d 684a4891 fetcht 4,mem_24g_fast_conn_addr
-013e 98467c00 isub temp,null
-013f 20228141 branch p_mouse_soft_agc_enable,zero
-0140 20200144 branch p_mouse_soft_agc_disable
+0140 6fe24895 fetch 4,mem_24g_receiver_addr
+0141 684a4891 fetcht 4,mem_24g_fast_conn_addr
+0142 98467c00 isub temp,null
+0143 20228145 branch p_mouse_soft_agc_enable,zero
+0144 20200148 branch p_mouse_soft_agc_disable
 
 p_mouse_soft_agc_enable:
-0141 7041ea00 jam 0,mem_gain_fix
-0142 7041e891 jam tx_power_f17db,mem_tx_power
-0143 20600000 rtn
+0145 7041ea00 jam 0,mem_gain_fix
+0146 7041e891 jam tx_power_f17db,mem_tx_power
+0147 20600000 rtn
 
 p_mouse_soft_agc_disable:
-0144 7041eaff jam 0xff,mem_gain_fix
-0145 20600000 rtn
+0148 7041eaff jam 0xff,mem_gain_fix
+0149 20600000 rtn
 
 p_g24_transmit_no_interrupt:
-0146 20402638 call g24_txdata_prep
-0147 243404e7 nbranch p_g24_nodata_transmit,user
+014a 20402638 call g24_txdata_prep
+014b 24340532 nbranch p_g24_nodata_transmit,user
 
 p_g24_transmit_start:
-0148 20400195 call p_g24_transmit_process
-0149 204026f5 call power_ctrl_start
-014a 2040013c call p_mouse_24g_fast_conn_mode_check
-014b 6fe0cbf2 fetch 1,mem_sensor_shutdown_flag
-014c 243a0151 nbranch p_g24_short_sleep,blank
-014d 6fe448b4 fetch 8,mem_24g_long_sleep_set
-014e 67e4485f store 8,mem_24g_enter_hibernate
-014f 6fe148c6 fetch 2,mem_24g_long_sleep_param_update_timer_init
-0150 67e148c8 store 2,mem_24g_long_sleep_param_update_timer
+014c 20400199 call p_g24_transmit_process
+014d 204026f5 call power_ctrl_start
+014e 20400140 call p_mouse_24g_fast_conn_mode_check
+014f 6fe0cbf2 fetch 1,mem_sensor_shutdown_flag
+0150 243a0155 nbranch p_g24_short_sleep,blank
+0151 6fe448b4 fetch 8,mem_24g_long_sleep_set
+0152 67e4485f store 8,mem_24g_enter_hibernate
+0153 6fe148c6 fetch 2,mem_24g_long_sleep_param_update_timer_init
+0154 67e148c8 store 2,mem_24g_long_sleep_param_update_timer
 
 p_g24_short_sleep:
-0151 204026c2 call g24_lpm_wait
-0152 24740000 nrtn user
-0153 20407f52 call clear_wake
-0154 6fe1c8b1 fetch 3,mem_24g_short_sleep_set
-0155 202026bf branch g24_long_sleep2
+0155 204026c2 call g24_lpm_wait
+0156 24740000 nrtn user
+0157 20407f52 call clear_wake
+0158 6fe1c8b1 fetch 3,mem_24g_short_sleep_set
+0159 202026bf branch g24_long_sleep2
 
 p_send_time_check:
-0156 6fe0c8c1 fetch 1,mem_24g_transmit_by_interrupt
-0157 c0008191 beq g24_tx_timer_int_enable,p_send_timer_first
-0158 6fe0cc38 fetch 1,mem_tx_count
-0159 203a0191 branch p_send_timer_first,blank
-015a 1b227e00 copy clkn,pdata
-015b 684b4c39 fetcht 6,mem_tx_time_last
-015c 67e34c39 store 6,mem_tx_time_last
-015d 20407e0a call clk_diff_rt
-015e 67e24c3f store 4,mem_tx_time_last_delt
-015f 6fe0cc4e fetch 1,mem_sleep_miss
-0160 247a0000 nrtn blank
-0161 6fe14c4c fetch 2,mem_retransmit
-0162 247a0000 nrtn blank
-0163 6fe24c3f fetch 4,mem_tx_time_last_delt
-0164 684acc43 fetcht 5,mem_tx_time_sum
-0165 9840fe00 iadd temp,pdata
-0166 67e2cc43 store 5,mem_tx_time_sum
-0167 6848cc38 fetcht 1,mem_tx_count
-0168 6fe0cc48 fetch 1,mem_tx_time_sum_count
-0169 98467c00 isub temp,null
-016a 2022816e branch p_send_time_check_average,zero
-016b 18408401 increase 1,temp
-016c 6048cc38 storet 1,mem_tx_count
-016d 20600000 rtn
+015a 6fe0c8c1 fetch 1,mem_24g_transmit_by_interrupt
+015b c0008195 beq g24_tx_timer_int_enable,p_send_timer_first
+015c 6fe0cc38 fetch 1,mem_tx_count
+015d 203a0195 branch p_send_timer_first,blank
+015e 1b227e00 copy clkn,pdata
+015f 684b4c39 fetcht 6,mem_tx_time_last
+0160 67e34c39 store 6,mem_tx_time_last
+0161 20407e0a call clk_diff_rt
+0162 67e24c3f store 4,mem_tx_time_last_delt
+0163 6fe0cc4e fetch 1,mem_sleep_miss
+0164 247a0000 nrtn blank
+0165 6fe14c4c fetch 2,mem_retransmit
+0166 247a0000 nrtn blank
+0167 6fe24c3f fetch 4,mem_tx_time_last_delt
+0168 684acc43 fetcht 5,mem_tx_time_sum
+0169 9840fe00 iadd temp,pdata
+016a 67e2cc43 store 5,mem_tx_time_sum
+016b 6848cc38 fetcht 1,mem_tx_count
+016c 6fe0cc48 fetch 1,mem_tx_time_sum_count
+016d 98467c00 isub temp,null
+016e 20228172 branch p_send_time_check_average,zero
+016f 18408401 increase 1,temp
+0170 6048cc38 storet 1,mem_tx_count
+0171 20600000 rtn
 
 p_send_time_check_average:
-016e 704c3801 jam 1,mem_tx_count
-016f d8400000 arg 0,temp
-0170 6fe2cc43 fetch 5,mem_tx_time_sum
-0171 604acc43 storet 5,mem_tx_time_sum
-0172 6848cc48 fetcht 1,mem_tx_time_sum_count
-0173 9846fc00 idiv temp
-0174 20407e64 call wait_div_end
-0175 1807fe00 quotient pdata
-0176 684a4c34 fetcht 4,mem_24g_tsniff
-0177 184085d8 increase -40,temp
-0178 98467e00 isub temp,pdata
-0179 20210185 branch p_send_time_check_average_late,positive
-017a 1fe67e00 sub pdata,0,pdata
-017b 1feb7e00 rshift2 pdata,pdata
-017c 6849c8b1 fetcht 3,mem_24g_short_sleep_set
-017d 98408400 iadd temp,temp
-017e 6fe1cc49 fetch 3,mem_24g_short_sleep_set_init
-017f da201800 arg 0x1800,rega
-0180 9a20fe00 iadd rega,pdata
-0181 98467c00 isub temp,null
-0182 2421018f nbranch p_send_time_check_average_min,positive
-0183 6049c8b1 storet 3,mem_24g_short_sleep_set
-0184 20600000 rtn
+0172 704c3801 jam 1,mem_tx_count
+0173 d8400000 arg 0,temp
+0174 6fe2cc43 fetch 5,mem_tx_time_sum
+0175 604acc43 storet 5,mem_tx_time_sum
+0176 6848cc48 fetcht 1,mem_tx_time_sum_count
+0177 9846fc00 idiv temp
+0178 20407e64 call wait_div_end
+0179 1807fe00 quotient pdata
+017a 684a4c34 fetcht 4,mem_24g_tsniff
+017b 184085d8 increase -40,temp
+017c 98467e00 isub temp,pdata
+017d 20210189 branch p_send_time_check_average_late,positive
+017e 1fe67e00 sub pdata,0,pdata
+017f 1feb7e00 rshift2 pdata,pdata
+0180 6849c8b1 fetcht 3,mem_24g_short_sleep_set
+0181 98408400 iadd temp,temp
+0182 6fe1cc49 fetch 3,mem_24g_short_sleep_set_init
+0183 da201800 arg 0x1800,rega
+0184 9a20fe00 iadd rega,pdata
+0185 98467c00 isub temp,null
+0186 24210193 nbranch p_send_time_check_average_min,positive
+0187 6049c8b1 storet 3,mem_24g_short_sleep_set
+0188 20600000 rtn
 
 p_send_time_check_average_late:
-0185 1feb0400 rshift2 pdata,temp
-0186 6fe1c8b1 fetch 3,mem_24g_short_sleep_set
-0187 98460400 isub temp,temp
-0188 6fe1cc49 fetch 3,mem_24g_short_sleep_set_init
-0189 da201800 arg 0x1800,rega
-018a 9a267e00 isub rega,pdata
-018b 98467c00 isub temp,null
-018c 2021018f branch p_send_time_check_average_min,positive
-018d 6049c8b1 storet 3,mem_24g_short_sleep_set
-018e 20600000 rtn
+0189 1feb0400 rshift2 pdata,temp
+018a 6fe1c8b1 fetch 3,mem_24g_short_sleep_set
+018b 98460400 isub temp,temp
+018c 6fe1cc49 fetch 3,mem_24g_short_sleep_set_init
+018d da201800 arg 0x1800,rega
+018e 9a267e00 isub rega,pdata
+018f 98467c00 isub temp,null
+0190 20210193 branch p_send_time_check_average_min,positive
+0191 6049c8b1 storet 3,mem_24g_short_sleep_set
+0192 20600000 rtn
 
 p_send_time_check_average_min:
-018f 67e1c8b1 store 3,mem_24g_short_sleep_set
-0190 20600000 rtn
+0193 67e1c8b1 store 3,mem_24g_short_sleep_set
+0194 20600000 rtn
 
 p_send_timer_first:
-0191 704c3801 jam 1,mem_tx_count
-0192 1b227e00 copy clkn,pdata
-0193 67e34c39 store 6,mem_tx_time_last
-0194 20600000 rtn
+0195 704c3801 jam 1,mem_tx_count
+0196 1b227e00 copy clkn,pdata
+0197 67e34c39 store 6,mem_tx_time_last
+0198 20600000 rtn
 
 p_g24_transmit_process:
-0195 58000000 setarg 0
-0196 67e0c8aa store 1,mem_24g_retry
-0197 67e14c4c store 2,mem_retransmit
+0199 58000000 setarg 0
+019a 67e0c8aa store 1,mem_24g_retry
+019b 67e14c4c store 2,mem_retransmit
 
 p_g24_transmit_loop:
-0198 20402662 call g24_transmit_receive_ack
-0199 6fe0c82f fetch 1,mem_24g_no_ack	//tx noack
-019a c000a658 beq no_ack_24g,g24_transmit_no_ack
-019b 242c01a0 nbranch p_g24_retransmit,sync
-019c 243781a0 nbranch p_g24_retransmit,user3
-019d 20402679 call g24_ackpayload_parse
-019e 204001c0 call p_mouse_wakeup_24g
-019f 20202658 branch g24_transmit_no_ack
+019c 20402662 call g24_transmit_receive_ack
+019d 6fe0c82f fetch 1,mem_24g_no_ack	//tx noack
+019e c000a658 beq no_ack_24g,g24_transmit_no_ack
+019f 242c01a4 nbranch p_g24_retransmit,sync
+01a0 243781a4 nbranch p_g24_retransmit,user3
+01a1 20402679 call g24_ackpayload_parse
+01a2 204001c4 call p_mouse_wakeup_24g
+01a3 20202658 branch g24_transmit_no_ack
 
 p_g24_retransmit:
-01a0 6fe0cad6 fetch 1,mem_mouse_need_soft_reset
-01a1 247a0000 nrtn blank
-01a2 204001b0 call p_mouse_select_device_by_pb_button
-01a3 6fe0c8ab fetch 1,mem_24g_abort_pac
-01a4 247a0000 nrtn blank
-01a5 6fe148a7 fetch 2,mem_24g_txfail_cnt
-01a6 1fe0fe01 increase 1,pdata
-01a7 67e148a7 store 2,mem_24g_txfail_cnt
-01a8 6fe0c8a8 fetch 1,mem_24g_txfail_cnt+1
-01a9 c280a680 bbit1 1,g24_tx_attempt_fail
-01aa 20402685 call g24_transmit_hop_process
-01ab 6fe14c4c fetch 2,mem_retransmit
-01ac 1fe0fe01 increase 1,pdata
-01ad 67e14c4c store 2,mem_retransmit
-01ae 204001cd call p_delay_40ms
-01af 20200198 branch p_g24_transmit_loop
+01a4 6fe0cad6 fetch 1,mem_mouse_need_soft_reset
+01a5 247a0000 nrtn blank
+01a6 204001b4 call p_mouse_select_device_by_pb_button
+01a7 6fe0c8ab fetch 1,mem_24g_abort_pac
+01a8 247a0000 nrtn blank
+01a9 6fe148a7 fetch 2,mem_24g_txfail_cnt
+01aa 1fe0fe01 increase 1,pdata
+01ab 67e148a7 store 2,mem_24g_txfail_cnt
+01ac 6fe0c8a8 fetch 1,mem_24g_txfail_cnt+1
+01ad c280a680 bbit1 1,g24_tx_attempt_fail
+01ae 20402685 call g24_transmit_hop_process
+01af 6fe14c4c fetch 2,mem_retransmit
+01b0 1fe0fe01 increase 1,pdata
+01b1 67e14c4c store 2,mem_retransmit
+01b2 204001d1 call p_delay_40ms
+01b3 2020019c branch p_g24_transmit_loop
 
 p_mouse_select_device_by_pb_button:
-01b0 6fe0c91f fetch 1,mem_config_select_device_button_gpio
-01b1 c17f8000 rtneq gpio_disable
-01b2 da200000 arg 0,rega
-01b3 704ba706 jam mouse_pb_key,mem_mouse_key_temp
-01b4 6848c91f fetcht 1,mem_config_select_device_button_gpio
-01b5 204046a8 call mouse_pb_button_check
-01b6 67e0cba5 store 1,mem_mouse_pbkey_press_status
-01b7 6fe0c914 fetch 1,mem_matrix_public_gpio
-01b8 c07f81bd beq gpio_disable,p_mouse_3io6key_pb_button_check_end
-01b9 204041a8 call mouse_matrix_public_gpio_reset
+01b4 6fe0c91f fetch 1,mem_config_select_device_button_gpio
+01b5 c17f8000 rtneq gpio_disable
+01b6 da200000 arg 0,rega
+01b7 704ba706 jam mouse_pb_key,mem_mouse_key_temp
+01b8 6848c91f fetcht 1,mem_config_select_device_button_gpio
+01b9 204046a8 call mouse_pb_button_check
+01ba 67e0cba5 store 1,mem_mouse_pbkey_press_status
+01bb 6fe0c914 fetch 1,mem_matrix_public_gpio
+01bc c07f81c1 beq gpio_disable,p_mouse_3io6key_pb_button_check_end
+01bd 204041a8 call mouse_matrix_public_gpio_reset
 
 p_mouse_select_device_by_pb_button_exit:
-01ba 1a227e00 copy rega,pdata
-01bb c28346cb bbit1 mouse_pb_key,mouse_select_device_button_down+2
-01bc 202046be branch mouse_select_device_button_up
+01be 1a227e00 copy rega,pdata
+01bf c28346cb bbit1 mouse_pb_key,mouse_select_device_button_down+2
+01c0 202046be branch mouse_select_device_button_up
 
 p_mouse_3io6key_pb_button_check_end:
-01bd 6848c91f fetcht 1,mem_config_select_device_button_gpio
-01be 20403f96 call mouse_gpio_config_input_pu
-01bf 202001ba branch p_mouse_select_device_by_pb_button_exit
+01c1 6848c91f fetcht 1,mem_config_select_device_button_gpio
+01c2 20403f96 call mouse_gpio_config_input_pu
+01c3 202001be branch p_mouse_select_device_by_pb_button_exit
 
 p_mouse_wakeup_24g:
-01c0 6fe0cbf2 fetch 1,mem_sensor_shutdown_flag
-01c1 245a01c4 ncall p_mouse_wakeup_24g_from_long_sleep,blank
-01c2 704bf200 jam 0,mem_sensor_shutdown_flag
-01c3 20600000 rtn
+01c4 6fe0cbf2 fetch 1,mem_sensor_shutdown_flag
+01c5 245a01c8 ncall p_mouse_wakeup_24g_from_long_sleep,blank
+01c6 704bf200 jam 0,mem_sensor_shutdown_flag
+01c7 20600000 rtn
 
 p_mouse_wakeup_24g_from_long_sleep:
-01c4 2040036e call p_mouse_init_sensor_wakeup
-01c5 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-01c6 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel
+01c8 2040037a call p_mouse_init_sensor_wakeup
+01c9 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+01ca c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel
 
 p_mouse_wheel_set_wakeup:
-01c7 6fe0c917 fetch 1,mem_whee_a_data_gpio
-01c8 d8400040 arg gpcfg_pullup,temp
-01c9 2040612c call gpio_config_function_int
-01ca 6fe0c918 fetch 1,mem_whee_b_data_gpio
-01cb d8400040 arg gpcfg_pullup,temp
-01cc 2020612c branch gpio_config_function_int
+01cb 6fe0c917 fetch 1,mem_whee_a_data_gpio
+01cc d8400040 arg gpcfg_pullup,temp
+01cd 2040612c call gpio_config_function_int
+01ce 6fe0c918 fetch 1,mem_whee_b_data_gpio
+01cf d8400040 arg gpcfg_pullup,temp
+01d0 2020612c branch gpio_config_function_int
 
 p_delay_40ms:
-01cd 6fe0c8a8 fetch 1,mem_24g_txfail_cnt+1
-01ce 1fe67c00 sub pdata,0x00,null
-01cf 20610000 rtn positive
-01d0 df200028 arg 40,loopcnt
-01d1 20207d86 branch delay_ms_wait
+01d1 6fe0c8a8 fetch 1,mem_24g_txfail_cnt+1
+01d2 1fe67c00 sub pdata,0x00,null
+01d3 20610000 rtn positive
+01d4 df200028 arg 40,loopcnt
+01d5 20207d86 branch delay_ms_wait
 
 p_mouse_double_dpi_judge:
-01d2 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-01d3 c41e8000 rtnbit0 mouse_enable_double_dpi_key
-01d4 6fe0cc1c fetch 1,mem_dpi_another_button_gpio
-01d5 c28381d8 bbit1 gpio_active_bit,p_mouse_another_dpi_connect_vin
+01d6 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+01d7 c41e8000 rtnbit0 mouse_enable_double_dpi_key
+01d8 6fe0cc1c fetch 1,mem_dpi_another_button_gpio
+01d9 c28381dc bbit1 gpio_active_bit,p_mouse_another_dpi_connect_vin
 
 p_mouse_another_dpi_connect_gnd:
-01d6 704c1b00 jam 0,mem_mouse_another_dpi_connect_vin_flag
-01d7 20600000 rtn
+01da 704c1b00 jam 0,mem_mouse_another_dpi_connect_vin_flag
+01db 20600000 rtn
 
 p_mouse_another_dpi_connect_vin:
-01d8 704c1b01 jam 1,mem_mouse_another_dpi_connect_vin_flag
-01d9 20600000 rtn
+01dc 704c1b01 jam 1,mem_mouse_another_dpi_connect_vin_flag
+01dd 20600000 rtn
 
 p_mouse_start_work:
-01da 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-01db c297c849 bbit1 mouse_enable_24g_first_auto_pairing,mouse_24g_first_start_auto_pair_mode
-01dc 6fe0c93d fetch 1,mem_device_flag
-01dd c00001df beq mode_24g_device,p_mouse_24g_start_mode
-01de 20203e1a branch mouse_start_work+5
+01de 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+01df c297c849 bbit1 mouse_enable_24g_first_auto_pairing,mouse_24g_first_start_auto_pair_mode
+01e0 6fe0c93d fetch 1,mem_device_flag
+01e1 c00001e3 beq mode_24g_device,p_mouse_24g_start_mode
+01e2 20203e1a branch mouse_start_work+5
 
 p_mouse_24g_start_mode:
-01df 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-01e0 c308c842 bbit0 mouse_enable_24g,mouse_24g_mode_setup_error
-01e1 6fe0cc2e fetch 1,mem_mouse_multi_recon_led_blink_timer_init
-01e2 67e0cc2c store 1,mem_mouse_multi_led_blink_timer_init
-01e3 67e0cc2d store 1,mem_mouse_multi_led_blink_timer
-01e4 20400274 call p_mouse_device_discover_led_config
-01e5 20403e28 call mouse_wakeup_from_power_check	// wake from hibernate :enble user
-01e6 20344845 branch mouse_24g_reconn_dongle_start,user
-01e7 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-01e8 c298484b bbit1 mouse_enable_auto_24g_paring,mouse_24g_reconn_general_dongle
-01e9 c318c84b bbit0 mouse_enable_24g_power_on_pairing,mouse_24g_reconn_general_dongle
-01ea 20404150 call mouse_key_check_once		// pdata output:00
-01eb 1a217e07 and rega,0x07,pdata
-01ec 2020483e branch mouse_24g_start_mode+9
+01e3 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+01e4 c308c842 bbit0 mouse_enable_24g,mouse_24g_mode_setup_error
+01e5 6fe0cc2e fetch 1,mem_mouse_multi_recon_led_blink_timer_init
+01e6 67e0cc2c store 1,mem_mouse_multi_led_blink_timer_init
+01e7 67e0cc2d store 1,mem_mouse_multi_led_blink_timer
+01e8 20400278 call p_mouse_device_discover_led_config
+01e9 20403e28 call mouse_wakeup_from_power_check	// wake from hibernate :enble user
+01ea 20344845 branch mouse_24g_reconn_dongle_start,user
+01eb 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+01ec c298484b bbit1 mouse_enable_auto_24g_paring,mouse_24g_reconn_general_dongle
+01ed c318c84b bbit0 mouse_enable_24g_power_on_pairing,mouse_24g_reconn_general_dongle
+01ee 20404150 call mouse_key_check_once		// pdata output:00
+01ef 1a217e07 and rega,0x07,pdata
+01f0 2020483e branch mouse_24g_start_mode+9
 
 p_mouse_start_reconnect_device:
-01ed 704c3001 jam 1,mem_mouse_bt_led_recon_diff_discover_flag
-01ee 6fe0cc23 fetch 1,mem_mouse_bt_led_recon_effect_flag
-01ef 245a027b ncall p_mouse_multi_led_blink_enable,blank
-01f0 20203e1d branch mouse_start_reconnect_device+1
+01f1 704c3001 jam 1,mem_mouse_bt_led_recon_diff_discover_flag
+01f2 6fe0cc23 fetch 1,mem_mouse_bt_led_recon_effect_flag
+01f3 245a027f ncall p_mouse_multi_led_blink_enable,blank
+01f4 20203e1d branch mouse_start_reconnect_device+1
 
 p_mouse_bb_event_timer:
-01f1 20403edc call mouse_adc_read
-01f2 204004a7 call p_mouse_low_power_off_timer
-01f3 2040047c call p_mouse_low_power_timer
-01f4 204022e1 call g24_pair_timeout_timer
-01f5 2040255f call g24_reconn_timeout_timer
-01f6 2040480b call mouse_24g_long_sleep_param_update_timer
-01f7 2040490b call mouse_device_poweron_timer
-01f8 2040021c call p_mouse_dpi_led_blink_delay_timer
-01f9 2040028c call p_mouse_led_multi_timer
-01fa 204040bc call mouse_dpi_key_check_long_press
-01fb 2040021f call p_mouse_bt_discovery_check
-01fc 2040022f call p_mouse_commbination_key_process
-01fd 2040453f call mouse_check_discovery_timeout_timer
-01fe 2040020d call p_mouse_24g_lowpower_stop_blink_timer
-01ff 20400218 call p_mouse_24g_low_power_led_off_timer
-0200 20400441 call p_mouse_led_blink
-0201 20400246 call p_mouse_check_direct_timeout_timer
-0202 20404552 call mouse_le_enable_att_list_timer
-0203 2040024a call p_mouse_le_battery_updata_timer
-0204 20404555 call mouse_le_send_smp_security_request_timer
-0205 2040024d call p_mouse_le_send_conn_param_update_timer
-0206 2040456a call mouse_check_hid_handshake_timer
-0207 2040456d call mouse_bt_check_sniff_req_timeout_timer
-0208 20404572 call mouse_check_reconnect_delay_long_sleep		//delete 3.0,reconnect fail
-0209 20404575 call mouse_current_mult_update_timer
-020a 20404062 call mouse_wheel_trigger_timer
-020b 204002cb call p_mouse_store_information_delay_timer
-020c 20200250 branch p_mouse_check_no_data_timeout_timer
+01f5 20403edc call mouse_adc_read
+01f6 204004f2 call p_mouse_low_power_off_timer
+01f7 204004c7 call p_mouse_low_power_timer
+01f8 204022e1 call g24_pair_timeout_timer
+01f9 2040255f call g24_reconn_timeout_timer
+01fa 2040480b call mouse_24g_long_sleep_param_update_timer
+01fb 2040490b call mouse_device_poweron_timer
+01fc 20400220 call p_mouse_dpi_led_blink_delay_timer
+01fd 20400290 call p_mouse_led_multi_timer
+01fe 204040bc call mouse_dpi_key_check_long_press
+01ff 20400223 call p_mouse_bt_discovery_check
+0200 20400233 call p_mouse_commbination_key_process
+0201 2040453f call mouse_check_discovery_timeout_timer
+0202 20400211 call p_mouse_24g_lowpower_stop_blink_timer
+0203 2040021c call p_mouse_24g_low_power_led_off_timer
+0204 2040048c call p_mouse_led_blink
+0205 2040024a call p_mouse_check_direct_timeout_timer
+0206 20404552 call mouse_le_enable_att_list_timer
+0207 2040024e call p_mouse_le_battery_updata_timer
+0208 20404555 call mouse_le_send_smp_security_request_timer
+0209 20400251 call p_mouse_le_send_conn_param_update_timer
+020a 2040456a call mouse_check_hid_handshake_timer
+020b 2040456d call mouse_bt_check_sniff_req_timeout_timer
+020c 20404572 call mouse_check_reconnect_delay_long_sleep		//delete 3.0,reconnect fail
+020d 20404575 call mouse_current_mult_update_timer
+020e 20404062 call mouse_wheel_trigger_timer
+020f 204002cf call p_mouse_store_information_delay_timer
+0210 20200254 branch p_mouse_check_no_data_timeout_timer
 
 p_mouse_24g_lowpower_stop_blink_timer:
-020d 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-020e c4020000 rtnbit0 mouse_low_voltage_flag
-020f da400212 arg p_mouse_24g_lowpower_stop_blink_timeout,regb
-0210 da604cda arg mem_24g_low_power_stop_blink,regc
-0211 202031fc branch timer_single_step
+0211 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0212 c4020000 rtnbit0 mouse_low_voltage_flag
+0213 da400216 arg p_mouse_24g_lowpower_stop_blink_timeout,regb
+0214 da604cda arg mem_24g_low_power_stop_blink,regc
+0215 202031fc branch timer_single_step
 
 p_mouse_24g_lowpower_stop_blink_timeout:
-0212 704cd900 jam 0x00,mem_low_power_led_flag
-0213 704d4700 jam 0x00,mem_adc_low_led_blank_count
-0214 704d4600 jam 0x00,mem_adc_low_led_enable_timer
-0215 704d4800 jam 0x00,mem_adc_low_led_timer_count
-0216 704cdb06 jam 0x06,mem_24g_low_power_led_off
-0217 20600000 rtn
+0216 704cd900 jam 0x00,mem_low_power_led_flag
+0217 704db400 jam 0x00,mem_adc_low_led_blank_count
+0218 704db300 jam 0x00,mem_adc_low_led_enable_timer
+0219 704db500 jam 0x00,mem_adc_low_led_timer_count
+021a 704cdb06 jam 0x06,mem_24g_low_power_led_off
+021b 20600000 rtn
 
 p_mouse_24g_low_power_led_off_timer:
-0218 da40021b arg p_mouse_24g_low_power_led_off_timeout,regb
-0219 da604cdb arg mem_24g_low_power_led_off,regc
-021a 202031fc branch timer_single_step
+021c da40021f arg p_mouse_24g_low_power_led_off_timeout,regb
+021d da604cdb arg mem_24g_low_power_led_off,regc
+021e 202031fc branch timer_single_step
 
 p_mouse_24g_low_power_led_off_timeout:
-021b 2020049e branch p_mouse_low_voltage_led_off
+021f 202004e9 branch p_mouse_low_voltage_led_off
 
 p_mouse_dpi_led_blink_delay_timer:
-021c da604bb9 arg mem_mouse_dpi_led_delay_count,regc
-021d da40042c arg p_mouse_dpi_led_blink_init_new,regb
-021e 202031fc branch timer_single_step
+0220 da604bb9 arg mem_mouse_dpi_led_delay_count,regc
+0221 da400475 arg p_mouse_dpi_led_blink_init_new,regb
+0222 202031fc branch timer_single_step
 
 p_mouse_bt_discovery_check:
-021f 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0220 c29b8222 bbit1 mouse_enable_pb_button_long_press_disconvery,p_mouse_bt_discovery_by_pb_button
-0221 20600000 rtn
+0223 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0224 c29b8226 bbit1 mouse_enable_pb_button_long_press_disconvery,p_mouse_bt_discovery_by_pb_button
+0225 20600000 rtn
 
 p_mouse_bt_discovery_by_pb_button:
-0222 6fe0cbaf fetch 1,mem_select_device_button_statue
-0223 c1808000 rtnne pb_button_state_down
-0224 da604bac arg mem_bt_discovery_count,regc
-0225 da400227 arg p_mouse_long_button_bt_discovery,regb
-0226 202031fc branch timer_single_step
+0226 6fe0cbaf fetch 1,mem_select_device_button_statue
+0227 c1808000 rtnne pb_button_state_down
+0228 da604bac arg mem_bt_discovery_count,regc
+0229 da40022b arg p_mouse_long_button_bt_discovery,regb
+022a 202031fc branch timer_single_step
 
 p_mouse_long_button_bt_discovery:
-0227 6fe0c93d fetch 1,mem_device_flag
-0228 c000050d beq mode_24g_device,p_mouse_24g_start_pair_mode
-0229 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-022a c3830000 rtnbit1 mouse_bt_discovery_button_long_down_flag
-022b d8e00006 arg mouse_bt_discovery_button_long_down_flag,queue
-022c 2040472e call mouse_enable_function_flag
-022d 204031e6 call app_evt_button_long_pressed
-022e 2020458e branch mouse_bb_event_discovery_btn
+022b 6fe0c93d fetch 1,mem_device_flag
+022c c0000558 beq mode_24g_device,p_mouse_24g_start_pair_mode
+022d 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+022e c3830000 rtnbit1 mouse_bt_discovery_button_long_down_flag
+022f d8e00006 arg mouse_bt_discovery_button_long_down_flag,queue
+0230 2040472e call mouse_enable_function_flag
+0231 204031e6 call app_evt_button_long_pressed
+0232 2020458e branch mouse_bb_event_discovery_btn
 
 p_mouse_commbination_key_process:
-022f 6fe0c93d fetch 1,mem_device_flag
-0230 c0000235 beq mode_24g_device,p_mouse_24g_commbination_key_process
-0231 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0232 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery
-0233 6848cbdb fetcht 1,mem_mouse_commbination_key_bt
-0234 20200238 branch p_mouse_commbination_key_start
+0233 6fe0c93d fetch 1,mem_device_flag
+0234 c0000239 beq mode_24g_device,p_mouse_24g_commbination_key_process
+0235 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0236 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery
+0237 6848cbdb fetcht 1,mem_mouse_commbination_key_bt
+0238 2020023c branch p_mouse_commbination_key_start
 
 p_mouse_24g_commbination_key_process:
-0235 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0236 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing
-0237 6848cbdc fetcht 1,mem_mouse_commbination_key_24g
+0239 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+023a c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing
+023b 6848cbdc fetcht 1,mem_mouse_commbination_key_24g
 
 p_mouse_commbination_key_start:
-0238 6048cbae storet 1,mem_mouse_commbination_key
-0239 20404155 call mouse_check_key_gpio
-023a 1fe17e07 and pdata,0x07,pdata
-023b 6848cbae fetcht 1,mem_mouse_commbination_key
-023c 98467c00 isub temp,null
-023d 2022823f branch p_mouse_commbination_key_down,zero
-023e 2020452b branch mouse_commbination_key_up
+023c 6048cbae storet 1,mem_mouse_commbination_key
+023d 20404155 call mouse_check_key_gpio
+023e 1fe17e07 and pdata,0x07,pdata
+023f 6848cbae fetcht 1,mem_mouse_commbination_key
+0240 98467c00 isub temp,null
+0241 20228243 branch p_mouse_commbination_key_down,zero
+0242 2020452b branch mouse_commbination_key_up
 
 p_mouse_commbination_key_down:
-023f 20400244 call p_mouse_combination_ui_timer
-0240 6fe0cbb0 fetch 1,mem_commbination_key_statue
-0241 c1008000 rtneq commbination_key_state_down
-0242 704bb001 jam commbination_key_state_down,mem_commbination_key_statue
-0243 20600000 rtn
+0243 20400248 call p_mouse_combination_ui_timer
+0244 6fe0cbb0 fetch 1,mem_commbination_key_statue
+0245 c1008000 rtneq commbination_key_state_down
+0246 704bb001 jam commbination_key_state_down,mem_commbination_key_statue
+0247 20600000 rtn
 
 p_mouse_combination_ui_timer:
-0244 da40050d arg p_mouse_24g_start_pair_mode,regb
-0245 20204537 branch mouse_combination_ui_timer+1
+0248 da400558 arg p_mouse_24g_start_pair_mode,regb
+0249 20204537 branch mouse_combination_ui_timer+1
 
 p_mouse_check_direct_timeout_timer:
-0246 da604b88 arg mem_mouse_direct_timer,regc
-0247 da40454a arg mouse_check_direct_timeout,regb
-0248 204031fc call timer_single_step
-0249 20204547 branch mouse_check_direct_timeout_timer+3
+024a da604b88 arg mem_mouse_direct_timer,regc
+024b da40454a arg mouse_check_direct_timeout,regb
+024c 204031fc call timer_single_step
+024d 20204547 branch mouse_check_direct_timeout_timer+3
 
 p_mouse_le_battery_updata_timer:
-024a 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-024b c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel
-024c 2020455f branch mouse_le_battery_updata_timer
+024e 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+024f c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel
+0250 2020455f branch mouse_le_battery_updata_timer
 
 p_mouse_le_send_conn_param_update_timer:
-024d da604cbe arg mem_mouse_le_send_conn_param_update_timer,regc
-024e da4043ac arg mouse_updata_le_param,regb
-024f 202031fc branch timer_single_step
+0251 da604cbe arg mem_mouse_le_send_conn_param_update_timer,regc
+0252 da4043ac arg mouse_updata_le_param,regb
+0253 202031fc branch timer_single_step
 
 p_mouse_check_no_data_timeout_timer:
-0250 da604ac3 arg mem_mouse_no_data_timer,regc
-0251 da400253 arg p_mouse_check_no_data_timeout,regb
-0252 20203203 branch timer_single_step_2b
+0254 da604ac3 arg mem_mouse_no_data_timer,regc
+0255 da400257 arg p_mouse_check_no_data_timeout,regb
+0256 20203203 branch timer_single_step_2b
 
 p_mouse_check_no_data_timeout:
-0253 6fe0c93d fetch 1,mem_device_flag
-0254 c00004df beq mode_24g_device,p_mouse_24g_hibernate_set
-0255 2020435b branch mouse_disconnect
+0257 6fe0c93d fetch 1,mem_device_flag
+0258 c000052a beq mode_24g_device,p_mouse_24g_hibernate_set
+0259 2020435b branch mouse_disconnect
 
 p_mouse_device_multi_led_parm_init:
-0256 704c2200 jam 0,mem_mouse_multi_led_blink_enable
-0257 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
-0258 207a0000 rtn blank
-0259 204002c8 call p_mouse_1io2led_all_off
-025a 20400261 call p_mouse_device_multi_led_blink_init
-025b 20400265 call p_mouse_device_multi_led_blink_timer_init
+025a 704c2200 jam 0,mem_mouse_multi_led_blink_enable
+025b 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
+025c 207a0000 rtn blank
+025d 204002cc call p_mouse_1io2led_all_off
+025e 20400265 call p_mouse_device_multi_led_blink_init
+025f 20400269 call p_mouse_device_multi_led_blink_timer_init
 
 p_mouse_device_multi_led_poweron_init:
-025c 6fe0cc27 fetch 1,mem_mouse_multi_led_powon_timer_init
-025d 67e0cc28 store 1,mem_mouse_multi_led_powon_timer
-025e 6fe0cc25 fetch 1,mem_mouse_multi_led_poweron_flag_init
-025f 67e0cc26 store 1,mem_mouse_multi_led_poweron_flag
-0260 20600000 rtn
+0260 6fe0cc27 fetch 1,mem_mouse_multi_led_powon_timer_init
+0261 67e0cc28 store 1,mem_mouse_multi_led_powon_timer
+0262 6fe0cc25 fetch 1,mem_mouse_multi_led_poweron_flag_init
+0263 67e0cc26 store 1,mem_mouse_multi_led_poweron_flag
+0264 20600000 rtn
 
 p_mouse_device_multi_led_blink_init:
-0261 704cd800 jam 0,mem_mouse_multi_led_blink_count
-0262 6fe0ccd4 fetch 1,mem_mouse_multi_led_blink_limit_flag_init
-0263 67e0ccd5 store 1,mem_mouse_multi_led_blink_limit_flag
-0264 20600000 rtn
+0265 704cd800 jam 0,mem_mouse_multi_led_blink_count
+0266 6fe0ccd4 fetch 1,mem_mouse_multi_led_blink_limit_flag_init
+0267 67e0ccd5 store 1,mem_mouse_multi_led_blink_limit_flag
+0268 20600000 rtn
 
 p_mouse_device_multi_led_blink_timer_init:
-0265 6fe0cc30 fetch 1,mem_mouse_bt_led_recon_diff_discover_flag
-0266 243a026a nbranch  p_mouse_device_recon_led_blink_timer_init,blank
-0267 6fe0cc2c fetch 1,mem_mouse_multi_led_blink_timer_init
-0268 67e0cc2d store 1,mem_mouse_multi_led_blink_timer
-0269 20600000 rtn
+0269 6fe0cc30 fetch 1,mem_mouse_bt_led_recon_diff_discover_flag
+026a 243a026e nbranch  p_mouse_device_recon_led_blink_timer_init,blank
+026b 6fe0cc2c fetch 1,mem_mouse_multi_led_blink_timer_init
+026c 67e0cc2d store 1,mem_mouse_multi_led_blink_timer
+026d 20600000 rtn
 
 p_mouse_device_recon_led_blink_timer_init:
-026a 6fe0cc2e fetch 1,mem_mouse_multi_recon_led_blink_timer_init
-026b 67e0cc2d store 1,mem_mouse_multi_led_blink_timer
-026c 20600000 rtn
+026e 6fe0cc2e fetch 1,mem_mouse_multi_recon_led_blink_timer_init
+026f 67e0cc2d store 1,mem_mouse_multi_led_blink_timer
+0270 20600000 rtn
 
 p_mouse_24g_pair_led_blink_init:
-026d 6fe0cd45 fetch 1,mem_mouse_multi_24g_pair_led_blink_timer_init
-026e 67e0cc2c store 1,mem_mouse_multi_led_blink_timer_init
-026f 67e0cc2d store 1,mem_mouse_multi_led_blink_timer
-0270 2020027d branch p_mouse_multi_led_blink_enable_next
+0271 6fe0cdb2 fetch 1,mem_mouse_multi_24g_pair_led_blink_timer_init
+0272 67e0cc2c store 1,mem_mouse_multi_led_blink_timer_init
+0273 67e0cc2d store 1,mem_mouse_multi_led_blink_timer
+0274 20200281 branch p_mouse_multi_led_blink_enable_next
 
 p_mouse_device_poweron_led_config:
-0271 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
-0272 207a0000 rtn blank
-0273 20200288 branch p_mouse_multi_led_on_enable
+0275 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
+0276 207a0000 rtn blank
+0277 2020028c branch p_mouse_multi_led_on_enable
 
 p_mouse_device_discover_led_config:
-0274 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
-0275 207a0000 rtn blank
-0276 2020027b branch p_mouse_multi_led_blink_enable
+0278 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
+0279 207a0000 rtn blank
+027a 2020027f branch p_mouse_multi_led_blink_enable
 
 p_mouse_multi_led_discovery_blink_enable:
-0277 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
-0278 207a0000 rtn blank
-0279 704cd500 jam 0,mem_mouse_multi_led_blink_limit_flag		//discovery blink no limit
-027a 2020027d branch p_mouse_multi_led_blink_enable_next
+027b 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
+027c 207a0000 rtn blank
+027d 704cd500 jam 0,mem_mouse_multi_led_blink_limit_flag		//discovery blink no limit
+027e 20200281 branch p_mouse_multi_led_blink_enable_next
 
 p_mouse_multi_led_blink_enable:
-027b 6fe0ccd5 fetch 1,mem_mouse_multi_led_blink_limit_flag
-027c 245a0280 ncall p_mouse_multi_led_blink_count_init,blank	//0 no limit		1:limit
+027f 6fe0ccd5 fetch 1,mem_mouse_multi_led_blink_limit_flag
+0280 245a0284 ncall p_mouse_multi_led_blink_count_init,blank	//0 no limit		1:limit
 
 p_mouse_multi_led_blink_enable_next:
-027d 704c2201 jam 1,mem_mouse_multi_led_blink_enable
-027e 704c2401 jam multi_led_blink,mem_mouse_multi_led_type
-027f 20600000 rtn
+0281 704c2201 jam 1,mem_mouse_multi_led_blink_enable
+0282 704c2401 jam multi_led_blink,mem_mouse_multi_led_type
+0283 20600000 rtn
 
 p_mouse_multi_led_blink_count_init:
-0280 6fe0c93d fetch 1,mem_device_flag
-0281 c0000285 beq mode_24g_device,p_mouse_multi_24g_led_blink_count_init
+0284 6fe0c93d fetch 1,mem_device_flag
+0285 c0000289 beq mode_24g_device,p_mouse_multi_24g_led_blink_count_init
 
 p_mouse_multi_bt_led_blink_count_init:
-0282 6fe0ccd7 fetch 1,mem_mouse_multi_bt_led_blink_count_init
-0283 67e0ccd8 store 1,mem_mouse_multi_led_blink_count
-0284 20600000 rtn
+0286 6fe0ccd7 fetch 1,mem_mouse_multi_bt_led_blink_count_init
+0287 67e0ccd8 store 1,mem_mouse_multi_led_blink_count
+0288 20600000 rtn
 
 p_mouse_multi_24g_led_blink_count_init:
-0285 6fe0ccd6 fetch 1,mem_mouse_multi_24g_led_blink_count_init
-0286 67e0ccd8 store 1,mem_mouse_multi_led_blink_count
-0287 20600000 rtn
+0289 6fe0ccd6 fetch 1,mem_mouse_multi_24g_led_blink_count_init
+028a 67e0ccd8 store 1,mem_mouse_multi_led_blink_count
+028b 20600000 rtn
 
 p_mouse_multi_led_on_enable:
-0288 704c3000 jam 0,mem_mouse_bt_led_recon_diff_discover_flag
-0289 704c2201 jam 1,mem_mouse_multi_led_blink_enable	//disable flag
-028a 704c2400 jam multi_led_on,mem_mouse_multi_led_type
-028b 20600000 rtn
+028c 704c3000 jam 0,mem_mouse_bt_led_recon_diff_discover_flag
+028d 704c2201 jam 1,mem_mouse_multi_led_blink_enable	//disable flag
+028e 704c2400 jam multi_led_on,mem_mouse_multi_led_type
+028f 20600000 rtn
 
 p_mouse_led_multi_timer:
-028c 6fe0cc22 fetch 1,mem_mouse_multi_led_blink_enable
-028d 207a0000 rtn blank
-028e 6fe0cc24 fetch 1,mem_mouse_multi_led_type
-028f c000829a beq multi_led_blink,p_mouse_multi_led_type_blink
+0290 6fe0cc22 fetch 1,mem_mouse_multi_led_blink_enable
+0291 207a0000 rtn blank
+0292 6fe0cc24 fetch 1,mem_mouse_multi_led_type
+0293 c000829e beq multi_led_blink,p_mouse_multi_led_type_blink
 
 p_mouse_multi_led_type_on:
-0290 6fe0cc26 fetch 1,mem_mouse_multi_led_poweron_flag
-0291 243a0295 nbranch p_mouse_device_multi_led_poweron,blank
+0294 6fe0cc26 fetch 1,mem_mouse_multi_led_poweron_flag
+0295 243a0299 nbranch p_mouse_device_multi_led_poweron,blank
 
 p_mouse_multi_led_poweron_and_flag_off:
-0292 704c2600 jam 0,mem_mouse_multi_led_poweron_flag
-0293 704c2200 jam 0,mem_mouse_multi_led_blink_enable
-0294 202002bb branch p_mouse_device_multi_led_off+1		//skip led state
+0296 704c2600 jam 0,mem_mouse_multi_led_poweron_flag
+0297 704c2200 jam 0,mem_mouse_multi_led_blink_enable
+0298 202002bf branch p_mouse_device_multi_led_off+1		//skip led state
 
 p_mouse_device_multi_led_poweron:
-0295 6fe0cc28 fetch 1,mem_mouse_multi_led_powon_timer
-0296 203a0292 branch p_mouse_multi_led_poweron_and_flag_off,blank
-0297 1fe0ffff increase -1
-0298 67e0cc28 store 1,mem_mouse_multi_led_powon_timer
-0299 202002ad branch p_mouse_device_multi_led_on+1		//skip led state
+0299 6fe0cc28 fetch 1,mem_mouse_multi_led_powon_timer
+029a 203a0296 branch p_mouse_multi_led_poweron_and_flag_off,blank
+029b 1fe0ffff increase -1
+029c 67e0cc28 store 1,mem_mouse_multi_led_powon_timer
+029d 202002b1 branch p_mouse_device_multi_led_on+1		//skip led state
 
 p_mouse_multi_led_type_blink:
-029a 6fe0ccd5 fetch 1,mem_mouse_multi_led_blink_limit_flag
-029b 243a029f nbranch p_mouse_multi_led_blink_limit,blank		//blink limit
+029e 6fe0ccd5 fetch 1,mem_mouse_multi_led_blink_limit_flag
+029f 243a02a3 nbranch p_mouse_multi_led_blink_limit,blank		//blink limit
 
 p_mouse_multi_led_type_blink_next:
-029c da604c2d arg mem_mouse_multi_led_blink_timer,regc
-029d da4002a7 arg p_mouse_multi_led_type_blink_timeout,regb
-029e 202031fc branch timer_single_step
+02a0 da604c2d arg mem_mouse_multi_led_blink_timer,regc
+02a1 da4002ab arg p_mouse_multi_led_type_blink_timeout,regb
+02a2 202031fc branch timer_single_step
 
 p_mouse_multi_led_blink_limit:
-029f 6fe0ccd8 fetch 1,mem_mouse_multi_led_blink_count
-02a0 203a02ba branch p_mouse_device_multi_led_off, blank		//blink count =0
-02a1 2020029c branch p_mouse_multi_led_type_blink_next
+02a3 6fe0ccd8 fetch 1,mem_mouse_multi_led_blink_count
+02a4 203a02be branch p_mouse_device_multi_led_off, blank		//blink count =0
+02a5 202002a0 branch p_mouse_multi_led_type_blink_next
 
 p_mouse_multi_led_blink_count_decrease:
-02a2 6fe0ccd8 fetch 1,mem_mouse_multi_led_blink_count
-02a3 20628000 rtn zero		//avoid count=0, still decrease
-02a4 1fe0ffff increase -1
-02a5 67e0ccd8 store 1,mem_mouse_multi_led_blink_count
-02a6 20600000 rtn
+02a6 6fe0ccd8 fetch 1,mem_mouse_multi_led_blink_count
+02a7 20628000 rtn zero		//avoid count=0, still decrease
+02a8 1fe0ffff increase -1
+02a9 67e0ccd8 store 1,mem_mouse_multi_led_blink_count
+02aa 20600000 rtn
 
 p_mouse_multi_led_type_blink_timeout:
-02a7 6fe0ccd5 fetch 1,mem_mouse_multi_led_blink_limit_flag
-02a8 245a02a2 ncall p_mouse_multi_led_blink_count_decrease,blank
-02a9 20400265 call p_mouse_device_multi_led_blink_timer_init
-02aa 6fe0cc2f fetch 1,mem_mouse_multi_led_state
-02ab c00082ba beq on,p_mouse_device_multi_led_off
+02ab 6fe0ccd5 fetch 1,mem_mouse_multi_led_blink_limit_flag
+02ac 245a02a6 ncall p_mouse_multi_led_blink_count_decrease,blank
+02ad 20400269 call p_mouse_device_multi_led_blink_timer_init
+02ae 6fe0cc2f fetch 1,mem_mouse_multi_led_state
+02af c00082be beq on,p_mouse_device_multi_led_off
 
 p_mouse_device_multi_led_on:
-02ac 704c2f01 jam on,mem_mouse_multi_led_state
-02ad 6fe0c93d fetch 1,mem_device_flag
-02ae c00002b2 beq mode_24g_device,p_mouse_device_24g_led_on
-02af c00082b4 beq mode_bt_device1,p_mouse_device_bt1_led_on
-02b0 c00102b6 beq mode_bt_device2,p_mouse_device_bt2_led_on
-02b1 20600000 rtn
+02b0 704c2f01 jam on,mem_mouse_multi_led_state
+02b1 6fe0c93d fetch 1,mem_device_flag
+02b2 c00002b6 beq mode_24g_device,p_mouse_device_24g_led_on
+02b3 c00082b8 beq mode_bt_device1,p_mouse_device_bt1_led_on
+02b4 c00102ba beq mode_bt_device2,p_mouse_device_bt2_led_on
+02b5 20600000 rtn
 
 p_mouse_device_24g_led_on:
-02b2 6848cc29 fetcht 1,mem_mouse_1io2led_multi_24gled
-02b3 202002b7 branch p_mouse_device_led_on
+02b6 6848cc29 fetcht 1,mem_mouse_1io2led_multi_24gled
+02b7 202002bb branch p_mouse_device_led_on
 
 p_mouse_device_bt1_led_on:
-02b4 6848cc2a fetcht 1,mem_mouse_1io2led_multi_bt1led
-02b5 202002b7 branch p_mouse_device_led_on
+02b8 6848cc2a fetcht 1,mem_mouse_1io2led_multi_bt1led
+02b9 202002bb branch p_mouse_device_led_on
 
 p_mouse_device_bt2_led_on:
-02b6 6848cc2b fetcht 1,mem_mouse_1io2led_multi_bt2led
+02ba 6848cc2b fetcht 1,mem_mouse_1io2led_multi_bt2led
 
 p_mouse_device_led_on:
-02b7 18467cff sub temp,gpio_disable,null
-02b8 20628000 rtn zero
-02b9 2020610d branch gpio_out_active	//by mouse.dat config
+02bb 18467cff sub temp,gpio_disable,null
+02bc 20628000 rtn zero
+02bd 2020610d branch gpio_out_active	//by mouse.dat config
 
 p_mouse_device_multi_led_off:
-02ba 704c2f00 jam off,mem_mouse_multi_led_state
-02bb 6fe0c93d fetch 1,mem_device_flag
-02bc c00002c0 beq mode_24g_device,p_mouse_device_24g_led_off
-02bd c00082c2 beq mode_bt_device1,p_mouse_device_bt1_led_off
-02be c00102c4 beq mode_bt_device2,p_mouse_device_bt2_led_off
-02bf 20600000 rtn
+02be 704c2f00 jam off,mem_mouse_multi_led_state
+02bf 6fe0c93d fetch 1,mem_device_flag
+02c0 c00002c4 beq mode_24g_device,p_mouse_device_24g_led_off
+02c1 c00082c6 beq mode_bt_device1,p_mouse_device_bt1_led_off
+02c2 c00102c8 beq mode_bt_device2,p_mouse_device_bt2_led_off
+02c3 20600000 rtn
 
 p_mouse_device_24g_led_off:
-02c0 6848cc29 fetcht 1,mem_mouse_1io2led_multi_24gled
-02c1 202002c5 branch p_mouse_device_led_off
+02c4 6848cc29 fetcht 1,mem_mouse_1io2led_multi_24gled
+02c5 202002c9 branch p_mouse_device_led_off
 
 p_mouse_device_bt1_led_off:
-02c2 6848cc2a fetcht 1,mem_mouse_1io2led_multi_bt1led
-02c3 202002c5 branch p_mouse_device_led_off
+02c6 6848cc2a fetcht 1,mem_mouse_1io2led_multi_bt1led
+02c7 202002c9 branch p_mouse_device_led_off
 
 p_mouse_device_bt2_led_off:
-02c4 6848cc2b fetcht 1,mem_mouse_1io2led_multi_bt2led
+02c8 6848cc2b fetcht 1,mem_mouse_1io2led_multi_bt2led
 
 p_mouse_device_led_off:
 
 p_gpio_set_high_impedance:
-02c5 18467cff sub temp,gpio_disable,null
-02c6 20628000 rtn zero
-02c7 20206109 branch gpio_out_inactive
+02c9 18467cff sub temp,gpio_disable,null
+02ca 20628000 rtn zero
+02cb 20206109 branch gpio_out_inactive
 
 p_mouse_1io2led_all_off:
-02c8 204002c0 call p_mouse_device_24g_led_off
-02c9 204002c2 call p_mouse_device_bt1_led_off
-02ca 202002c4 branch p_mouse_device_bt2_led_off
+02cc 204002c4 call p_mouse_device_24g_led_off
+02cd 204002c6 call p_mouse_device_bt1_led_off
+02ce 202002c8 branch p_mouse_device_bt2_led_off
 
 p_mouse_store_information_delay_timer:
-02cb da6049c4 arg mem_store_information_delay_timer,regc
-02cc da4002ce arg p_mouse_store_device_info_check,regb
-02cd 202031fc branch timer_single_step
+02cf da6049c4 arg mem_store_information_delay_timer,regc
+02d0 da4002d2 arg p_mouse_store_device_info_check,regb
+02d1 202031fc branch timer_single_step
 
 p_mouse_store_device_info_check:
-02ce 6fe0c93d fetch 1,mem_device_flag
-02cf 67e0cd0b store 1,mem_device_flag_sotre_flash_temp
-02d0 20404631 call mouse_store_device_info
-02d1 6fe0cad6 fetch 1,mem_mouse_need_soft_reset
-02d2 207a0000 rtn blank
-02d3 204002d5 call p_mouse_compare_falsh_device_value
-02d4 202002e3 branch p_mouse_soft_reset
+02d2 6fe0c93d fetch 1,mem_device_flag
+02d3 67e0cd0b store 1,mem_device_flag_sotre_flash_temp
+02d4 20404631 call mouse_store_device_info
+02d5 6fe0cad6 fetch 1,mem_mouse_need_soft_reset
+02d6 207a0000 rtn blank
+02d7 204002d9 call p_mouse_compare_falsh_device_value
+02d8 202002e7 branch p_mouse_soft_reset
 
 p_mouse_compare_falsh_device_value:
-02d5 20404636 call mouse_load_flash_info_check
-02d6 6fe0c93d fetch 1,mem_device_flag
-02d7 6848cd0b fetcht 1,mem_device_flag_sotre_flash_temp
+02d9 20404636 call mouse_load_flash_info_check
+02da 6fe0c93d fetch 1,mem_device_flag
+02db 6848cd0b fetcht 1,mem_device_flag_sotre_flash_temp
 
 p_mouse_compare_falsh_device_value_loop:
-02d8 a841fe00 icompare 0xff,temp
-02d9 202082e3 branch p_mouse_soft_reset,true
-02da 6fe0cd0b fetch 1,mem_device_flag_sotre_flash_temp
-02db 67e0c93d store 1,mem_device_flag
-02dc 20404631 call mouse_store_device_info
-02dd 20404636 call mouse_load_flash_info_check
-02de 6fe0cd0c fetch 1,mem_compare_falsh_device_count
-02df 1fe0fe01 increase 1,pdata
-02e0 67e0cd0c store 1,mem_compare_falsh_device_count
-02e1 1fe67c03 sub pdata,3,null
-02e2 243a02d5 nbranch p_mouse_compare_falsh_device_value,blank
+02dc a841fe00 icompare 0xff,temp
+02dd 202082e7 branch p_mouse_soft_reset,true
+02de 6fe0cd0b fetch 1,mem_device_flag_sotre_flash_temp
+02df 67e0c93d store 1,mem_device_flag
+02e0 20404631 call mouse_store_device_info
+02e1 20404636 call mouse_load_flash_info_check
+02e2 6fe0cd0c fetch 1,mem_compare_falsh_device_count
+02e3 1fe0fe01 increase 1,pdata
+02e4 67e0cd0c store 1,mem_compare_falsh_device_count
+02e5 1fe67c03 sub pdata,3,null
+02e6 243a02d9 nbranch p_mouse_compare_falsh_device_value,blank
 
 p_mouse_soft_reset:
-02e3 20400052 call p_enable_rc_clock
-02e4 202046fe branch mouse_soft_reset
+02e7 20400055 call p_enable_rc_clock
+02e8 202046fe branch mouse_soft_reset
 
 p_mouse_store_device_info:
-02e5 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-02e6 c289c67f bbit1 mouse_enable_eeprom,mouse_store_eeprom_device_info
-02e7 20405daf call spid_init_flash
-02e8 2040464a call mouse_spid_flash_release_form_powerdown
-02e9 2040465f call mouse_flash_erase_sector
-02ea 20405db4 call spid_unlock_flash
-02eb 20204646 branch mouse_store_flash_device_info+3
+02e9 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+02ea c289c67f bbit1 mouse_enable_eeprom,mouse_store_eeprom_device_info
+02eb 20405daf call spid_init_flash
+02ec 2040464a call mouse_spid_flash_release_form_powerdown
+02ed 2040465f call mouse_flash_erase_sector
+02ee 20405db4 call spid_unlock_flash
+02ef 20204646 branch mouse_store_flash_device_info+3
 
 p_mouse_sensor_poweron:
-02ec 20403fa5 call mouse_sensor_spi_init
-02ed 6fe0c92c fetch 1,mem_config_sensor_type
-02ee c00582f3 beq ka8g2,p_mouse_ka8g2_sensor_init
-02ef 20400309 call p_mouse_sensor_reset
-02f0 da604ab4 arg mem_sensor_poweron_init,regc
-02f1 2040426b call mouse_sensor_wr_seq
-02f2 202003fb branch p_mouse_seting_sensor_type
+02f0 20403fa5 call mouse_sensor_spi_init
+02f1 6fe0c92c fetch 1,mem_config_sensor_type
+02f2 c00582f7 beq ka8g2,p_mouse_ka8g2_sensor_init
+02f3 2040030f call p_mouse_sensor_reset
+02f4 da604ab4 arg mem_sensor_poweron_init,regc
+02f5 2040426b call mouse_sensor_wr_seq
+02f6 2020040d branch p_mouse_seting_sensor_type
 
 p_mouse_ka8g2_sensor_init:
-02f3 2040030c call p_mouse_ka8g2_sensor_reset
-02f4 da604bf5 arg mem_ka8g2_sensor_poweron_init,regc
-02f5 2040426b call mouse_sensor_wr_seq
-02f6 202003fb branch p_mouse_seting_sensor_type
+02f7 20400312 call p_mouse_ka8g2_sensor_reset
+02f8 da604bf5 arg mem_ka8g2_sensor_poweron_init,regc
+02f9 2040426b call mouse_sensor_wr_seq
+02fa 2020040d branch p_mouse_seting_sensor_type
 
 p_mouse_sensor_powerdown:
-02f7 204041e7 call mouse_init_sunt
-02f8 20403fa5 call mouse_sensor_spi_init
-02f9 6fe0c92c fetch 1,mem_config_sensor_type
-02fa c00582fd beq ka8g2,p_mouse_ka8g2_sensor_powerdown
-02fb 58000806 setarg 0x0806
-02fc 20205d5e branch twspi_write
+02fb 204041e7 call mouse_init_sunt
+02fc 20403fa5 call mouse_sensor_spi_init
+02fd 6fe0c92c fetch 1,mem_config_sensor_type
+02fe c0058301 beq ka8g2,p_mouse_ka8g2_sensor_powerdown
+02ff 58000806 setarg 0x0806
+0300 20205d5e branch twspi_write
 
 p_mouse_ka8g2_sensor_powerdown:
-02fd 58001f06 setarg 0x1f06
-02fe 20205d5e branch twspi_write
+0301 58001f06 setarg 0x1f06
+0302 20205d5e branch twspi_write
 
 p_mouse_app_enter_hibernate:
-02ff 6fe0c92c fetch 1,mem_config_sensor_type
-0300 58000006 setarg pan_reg_config
-0301 20405d65 call twspi_read
-0302 c281be5d bbit1 3,mouse_app_enter_hibernate+3
-0303 20400309 call p_mouse_sensor_reset
-0304 204002f7 call p_mouse_sensor_powerdown
-0305 20203e5d branch mouse_app_enter_hibernate+3
+0303 6fe0c92c fetch 1,mem_config_sensor_type
+0304 58000006 setarg pan_reg_config
+0305 20405d65 call twspi_read
+0306 c281be5d bbit1 3,mouse_app_enter_hibernate+3
+0307 2040030f call p_mouse_sensor_reset
+0308 6fe0c4a6 fetch 1,mem_adc_power_flag
+0309 1fe17e02 and pdata,0x02,pdata
+030a 245a02fb ncall p_mouse_sensor_powerdown,blank
+030b 20203e5d branch mouse_app_enter_hibernate+3
 
 p_mouse_om16_enter_hibernate:
-0306 58000806 setarg 0x0806
-0307 20405d5e call twspi_write
-0308 20203e5d branch mouse_app_enter_hibernate+3
+030c 58000806 setarg 0x0806
+030d 20405d5e call twspi_write
+030e 20203e5d branch mouse_app_enter_hibernate+3
 
 p_mouse_sensor_reset:
-0309 6fe0c92c fetch 1,mem_config_sensor_type
-030a c005830c beq ka8g2,p_mouse_ka8g2_sensor_reset
-030b 20204272 branch mouse_sensor_reset
+030f 6fe0c92c fetch 1,mem_config_sensor_type
+0310 c0058312 beq ka8g2,p_mouse_ka8g2_sensor_reset
+0311 20204272 branch mouse_sensor_reset
 
 p_mouse_ka8g2_sensor_reset:
-030c 58009706 setarg 0x9706		// reset to factory settings
-030d 20405d5e call twspi_write
-030e 20002ee0 nop 12000
-030f 20600000 rtn
+0312 58009706 setarg 0x9706		// reset to factory settings
+0313 20405d5e call twspi_write
+0314 20002ee0 nop 12000
+0315 20600000 rtn
 
 p_mouse_setgpio_hibernate:
-0310 20404329 call mouse_set_sdio_high
-0311 20407f52 call clear_wake
-0312 204002c8 call p_mouse_1io2led_all_off
-0313 20404055 call mouse_before_hibernate_wheel_gpio_set
-0314 6848c914 fetcht 1,mem_matrix_public_gpio		// enable b4/b5/dpi wakeup
-0315 2040610d call gpio_out_active
-0316 6848c914 fetcht 1,mem_matrix_public_gpio
-0317 204060e6 call gpio_clr_wake
-0318 6fe0c924 fetch 1,mem_mouse_sensor_sdio_gpio
-0319 d840003f arg gpcfg_output_high,temp
-031a 2040612c call gpio_config_function_int
-031b 20403e80 call mouse_lpm_before_common
-031c 20403e72 call mouse_gpio_pu_idle
-031d d8400013 arg 19,temp
-031e 20403f96 call mouse_gpio_config_input_pu
-031f 20400323 call p_mouse_gpio_set_high_impedance
-0320 20400330 call p_mouse_adc_gpio_set_before_hibernate
-0321 20400337 call p_mouse_wheel_gpio_set_before_hibernate
-0322 20600000 rtn
+0316 20404329 call mouse_set_sdio_high
+0317 20407f52 call clear_wake
+0318 204002cc call p_mouse_1io2led_all_off
+0319 20404055 call mouse_before_hibernate_wheel_gpio_set
+031a 6848c914 fetcht 1,mem_matrix_public_gpio		// enable b4/b5/dpi wakeup
+031b 2040610d call gpio_out_active
+031c 6848c914 fetcht 1,mem_matrix_public_gpio
+031d 204060e6 call gpio_clr_wake
+031e 6fe0c924 fetch 1,mem_mouse_sensor_sdio_gpio
+031f d840003f arg gpcfg_output_high,temp
+0320 2040612c call gpio_config_function_int
+0321 20403e80 call mouse_lpm_before_common
+0322 20403e72 call mouse_gpio_pu_idle
+0323 d8400013 arg 19,temp
+0324 20403f96 call mouse_gpio_config_input_pu
+0325 20400333 call p_mouse_gpio_set_high_impedance
+0326 20400340 call p_mouse_adc_gpio_set_before_hibernate
+0327 20200347 branch p_mouse_wheel_gpio_set_before_hibernate
+
+p_mouse_before_hibernate:
+0328 6ff20138 fetch 4,core_lpm_ctrl
+0329 79207e1a set1 26,pdata
+032a 67f2004c store 4,core_lpm_reg
+032b 2040154c call lpm_write_ctrl
+032c 20406e62 call disable_authrom
+032d 2040495b call mouse_device_led_all_off
+032e 20404055 call mouse_before_hibernate_wheel_gpio_set
+032f 20403e6a call mouse_setgpio_hibernate
+0330 2040466d call mouse_flash_power_down
+0331 6848c4b8 fetcht 1,mem_spi_si_gpio
+0332 202060f7 branch gpio_config_input_without_wake
 
 p_mouse_gpio_set_high_impedance:
-0323 6fe1cbef fetch 3,mem_mouse_set_high_impedance_bit_set
-0324 67e1895c store 3,mem_pdatatemp
-0325 df200014 arg 20,loopcnt
-0326 d8400000 arg 0,temp
+0333 6fe1cbef fetch 3,mem_mouse_set_high_impedance_bit_set
+0334 67e1895c store 3,mem_pdatatemp
+0335 df200014 arg 20,loopcnt
+0336 d8400000 arg 0,temp
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-0327 6fe1895c fetch 3,mem_pdatatemp
-0328 2feffe00 isolate1 0,pdata
-0329 2040e121 call gpio_set_high_impedance,true
-032a 6fe1895c fetch 3,mem_pdatatemp
-032b 1fe37e00 rshift pdata,pdata
-032c 67e1895c store 3,mem_pdatatemp
-032d 18408401 increase 1,temp
-032e c2000327 loop p_mouse_gpio_set_high_impedance_bit_loop
-032f 20600000 rtn
+0337 6fe1895c fetch 3,mem_pdatatemp
+0338 2feffe00 isolate1 0,pdata
+0339 2040e121 call gpio_set_high_impedance,true
+033a 6fe1895c fetch 3,mem_pdatatemp
+033b 1fe37e00 rshift pdata,pdata
+033c 67e1895c store 3,mem_pdatatemp
+033d 18408401 increase 1,temp
+033e c2000337 loop p_mouse_gpio_set_high_impedance_bit_loop
+033f 20600000 rtn
 
 p_mouse_adc_gpio_set_before_hibernate:
-0330 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0331 c40a0000 rtnbit0 mouse_enable_adc
-0332 6fe0c901 fetch 1,mem_adc_config_flag_init
-0333 c1810000 rtnne adc_config_gpio
-0334 6fe0c900 fetch 1,mem_adc_channel_gpio
-0335 d84000c0 arg gpcfg_no_ie,temp
-0336 2020612c branch gpio_config_function_int
+0340 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0341 c40a0000 rtnbit0 mouse_enable_adc
+0342 6fe0c901 fetch 1,mem_adc_config_flag_init
+0343 c1810000 rtnne adc_config_gpio
+0344 6fe0c900 fetch 1,mem_adc_channel_gpio
+0345 d84000c0 arg gpcfg_no_ie,temp
+0346 2020612c branch gpio_config_function_int
 
 p_mouse_wheel_gpio_set_before_hibernate:
-0337 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0338 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel
+0347 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0348 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel
 
 p_mouse_wheel_clr_wakeup:
-0339 6848c917 fetcht 1,mem_whee_a_data_gpio
-033a 204060e6 call gpio_clr_wake
-033b 6848c918 fetcht 1,mem_whee_b_data_gpio
-033c 204060e6 call gpio_clr_wake
-033d 6fe0c917 fetch 1,mem_whee_a_data_gpio
-033e d8400080 arg gpcfg_pulldown,temp
-033f 2040612c call gpio_config_function_int
-0340 6fe0c918 fetch 1,mem_whee_b_data_gpio
-0341 d8400080 arg gpcfg_pulldown,temp
-0342 2020612c branch gpio_config_function_int
+0349 6848c917 fetcht 1,mem_whee_a_data_gpio
+034a 204060e6 call gpio_clr_wake
+034b 6848c918 fetcht 1,mem_whee_b_data_gpio
+034c 204060e6 call gpio_clr_wake
+034d 6fe0c917 fetch 1,mem_whee_a_data_gpio
+034e d8400080 arg gpcfg_pulldown,temp
+034f 2040612c call gpio_config_function_int
+0350 6fe0c918 fetch 1,mem_whee_b_data_gpio
+0351 d8400080 arg gpcfg_pulldown,temp
+0352 2020612c branch gpio_config_function_int
 
 p_mouse_lpm_before_common:
-0343 6848c917 fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
-0344 204060f4 call gpio_config_input
-0345 6848c918 fetcht 1,mem_whee_b_data_gpio
-0346 204060f4 call gpio_config_input
-0347 20403fc8 call mouse_wheel_check
-0348 6fe0c923 fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
-0349 d840003f arg gpcfg_output_high,temp
-034a 2040612c call gpio_config_function_int
-034b 20403e85 call mouse_lpm_before_common_next
-034c 6848c91f fetcht 1,mem_config_select_device_button_gpio
-034d 204060e6 call gpio_clr_wake
-034e 6848c91e fetcht 1,mem_mbutton_gpio
-034f 202060e6 branch gpio_clr_wake
+0353 6848c917 fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
+0354 204060f4 call gpio_config_input
+0355 6848c918 fetcht 1,mem_whee_b_data_gpio
+0356 204060f4 call gpio_config_input
+0357 20403fc8 call mouse_wheel_check
+0358 6fe0c923 fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
+0359 d840003f arg gpcfg_output_high,temp
+035a 2040612c call gpio_config_function_int
+035b 20203e85 branch mouse_lpm_before_common_next
 
 p_mouse_idle:
-0350 20400355 call p_mouse_low_voltage_led_no_enter_lpm
-0351 204079a1 call ui_check_paring_button
-0352 20400358 call p_mouse_dpi_check
-0353 20400387 call p_mouse_dpi_another_gpio_check
-0354 2020468f branch mouse_idle+4
+035c 20400361 call p_mouse_low_voltage_led_no_enter_lpm
+035d 204079a1 call ui_check_paring_button
+035e 20400364 call p_mouse_dpi_check
+035f 20400399 call p_mouse_dpi_another_gpio_check
+0360 2020468f branch mouse_idle+4
 
 p_mouse_low_voltage_led_no_enter_lpm:
-0355 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0356 c4020000 rtnbit0 mouse_low_voltage_flag
-0357 202049e0 branch mouse_low_voltage_led_no_enter_lpm+3
+0361 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0362 c4020000 rtnbit0 mouse_low_voltage_flag
+0363 202049e0 branch mouse_low_voltage_led_no_enter_lpm+3
 
 p_mouse_dpi_check:
-0358 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0359 c2974076 bbit1 mouse_enable_dpi_key_connect_adc,mouse_dpi_check_connect_adc
-035a 6fe0c913 fetch 1,mem_dpi_button_gpio
-035b c17f8000 rtneq gpio_disable
-035c da200000 arg 0,rega
-035d 704ba705 jam mouse_dpi_key,mem_mouse_key_temp
-035e 6848c913 fetcht 1,mem_dpi_button_gpio
-035f 20400361 call p_mouse_dpi_key_check
-0360 2020406f branch mouse_dpi_check_next
+0364 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0365 c2974076 bbit1 mouse_enable_dpi_key_connect_adc,mouse_dpi_check_connect_adc
+0366 6fe0c913 fetch 1,mem_dpi_button_gpio
+0367 c17f8000 rtneq gpio_disable
+0368 da200000 arg 0,rega
+0369 704ba705 jam mouse_dpi_key,mem_mouse_key_temp
+036a 6848c913 fetcht 1,mem_dpi_button_gpio
+036b 2040036d call p_mouse_dpi_key_check
+036c 2020406f branch mouse_dpi_check_next
 
 p_mouse_dpi_key_check:
-0361 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0362 c2964088 bbit1 mouse_enable_dpi_key_connect_gnd,mouse_dpi_key_connect_gnd
-0363 6fe0cba4 fetch 1,mem_mouse_dpikey_press_status
-0364 1fe22600 copy pdata,regc
-0365 6fe0c914 fetch 1,mem_matrix_public_gpio
-0366 c07f8368 beq gpio_disable,p_mouse_3io6key_dpi_check
-0367 2020407f branch mouse_dpi_key_check_next
+036d 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+036e c2964088 bbit1 mouse_enable_dpi_key_connect_gnd,mouse_dpi_key_connect_gnd
+036f 6fe0cba4 fetch 1,mem_mouse_dpikey_press_status
+0370 1fe22600 copy pdata,regc
+0371 6fe0c914 fetch 1,mem_matrix_public_gpio
+0372 c07f8374 beq gpio_disable,p_mouse_3io6key_dpi_check
+0373 2020407f branch mouse_dpi_key_check_next
 
 p_mouse_3io6key_dpi_check:
-0368 6fe0c913 fetch 1,mem_dpi_button_gpio
-0369 204006c0 call p_mouse_gpio_config_output_low
-036a 6848c913 fetcht 1,mem_dpi_button_gpio
-036b 202041d5 branch mouse_3io6key_check
+0374 6fe0c913 fetch 1,mem_dpi_button_gpio
+0375 20400729 call p_mouse_gpio_config_output_low
+0376 6848c913 fetcht 1,mem_dpi_button_gpio
+0377 202041d5 branch mouse_3io6key_check
 
 p_mouse_init_sunt:
-036c 20403fa5 call mouse_sensor_spi_init
-036d 20758000 rtn wake
+0378 20403fa5 call mouse_sensor_spi_init
+0379 20758000 rtn wake
 
 p_mouse_init_sensor_wakeup:
-036e 70807380 jam 0x80,0x8073
-036f 20404276 call mouse_sensor_poweron
+037a 70807380 jam 0x80,0x8073
+037b 20404276 call mouse_sensor_poweron
 
 p_mouse_init_sensor:
-0370 204041f5 call mouse_read_sensor_id
-0371 c0180381 beq p32xx_id1,p_mouse_init_p32xx_id2_judge
-0372 c018c257 beq p3065_id1,mouse_init_p3065
-0373 c02c0377 beq pka8g2_id1,p_mouse_ka8g2_id2_judge
-0374 204041f2 call mouse_twspi_reset
-0375 20001af4 nop 6900
-0376 20200370 branch p_mouse_init_sensor
+037c 204041f5 call mouse_read_sensor_id
+037d c018038e beq p32xx_id1,p_mouse_init_p32xx_id2_judge
+037e c0198394 beq p3230_id1,p_mouse_init_p3230_id2_judge
+037f c018c257 beq p3065_id1,mouse_init_p3065
+0380 c02c0384 beq pka8g2_id1,p_mouse_ka8g2_id2_judge
+0381 204041f2 call mouse_twspi_reset
+0382 20001af4 nop 6900
+0383 2020037c branch p_mouse_init_sensor
 
 p_mouse_ka8g2_id2_judge:
-0377 20404276 call mouse_sensor_poweron
-0378 6fe0c9c7 fetch 1,mem_sensor_id2
-0379 c02b837c beq ka5857_id2,p_mouse_ka5857_init_param
-037a c02cc264 beq pka8g2_id2,mouse_ka8g2_init_param
-037b 202041fc branch mouse_init_p32xx_id2_judge
+0384 20404276 call mouse_sensor_poweron
+0385 6fe0c9c7 fetch 1,mem_sensor_id2
+0386 c02b8389 beq ka5857_id2,p_mouse_ka5857_init_param
+0387 c02cc264 beq pka8g2_id2,mouse_ka8g2_init_param
+0388 202041fc branch mouse_init_p32xx_id2_judge
 
 p_mouse_ka5857_init_param:
-037c 70492c0c jam ka5857,mem_config_sensor_type
-037d da604cc2 arg mem_sensor_ka5857_init,regc
-037e 2040426b call mouse_sensor_wr_seq
-037f 20200380 branch p_mouse_dpi_config
+0389 70492c0c jam ka5857,mem_config_sensor_type
+038a da604cc2 arg mem_sensor_ka5857_init,regc
+038b 2040426b call mouse_sensor_wr_seq
+038c 2020038d branch p_mouse_dpi_config
 
 p_mouse_dpi_config:
-0380 202003fb branch p_mouse_seting_sensor_type
+038d 2020040d branch p_mouse_seting_sensor_type
 
 p_mouse_init_p32xx_id2_judge:
-0381 6fe0c9c7 fetch 1,mem_sensor_id2
-0382 c0010384 beq p3212_id2,p_mouse_p3220_init_param
-0383 202041fd branch mouse_init_p32xx_id2_judge+1
+038e 6fe0c9c7 fetch 1,mem_sensor_id2
+038f c0010391 beq p3212_id2,p_mouse_p3220_init_param
+0390 202041fd branch mouse_init_p32xx_id2_judge+1
 
 p_mouse_p3220_init_param:
-0384 70492c0e jam p3220,mem_config_sensor_type
-0385 da604d15 arg mem_sensor_p3220_init,regc
-0386 2020426b branch mouse_sensor_wr_seq
+0391 70492c0e jam p3220,mem_config_sensor_type
+0392 da604d15 arg mem_sensor_p3220_init,regc
+0393 2020426b branch mouse_sensor_wr_seq
+
+p_mouse_init_p3230_id2_judge:
+0394 6fe0c9c7 fetch 1,mem_sensor_id2
+0395 c1988000 rtnne p3230_id2
+
+p_mouse_p3230_init_param:
+0396 70492c0f jam p3230,mem_config_sensor_type
+0397 da604d45 arg mem_sensor_p3230_init,regc
+0398 2020426b branch mouse_sensor_wr_seq
 
 p_mouse_dpi_another_gpio_check:
-0387 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0388 c41e8000 rtnbit0 mouse_enable_double_dpi_key
-0389 6fe0cc1b fetch 1,mem_mouse_another_dpi_connect_vin_flag
-038a 243a0390 nbranch p_mouse_dpi_another_gpio_connect_vin_check,blank
+0399 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+039a c41e8000 rtnbit0 mouse_enable_double_dpi_key
+039b 6fe0cc1b fetch 1,mem_mouse_another_dpi_connect_vin_flag
+039c 243a03a2 nbranch p_mouse_dpi_another_gpio_connect_vin_check,blank
 
 p_mouse_dpi_another_gpio_connect_gnd_check:
-038b 6fe0cc1c fetch 1,mem_dpi_another_button_gpio
-038c 204006bd call p_mouse_gpio_config_output_high
-038d 204003a1 call p_mouse_dpi_another_check
-038e 6848cc1c fetcht 1,mem_dpi_another_button_gpio
-038f 20203f96 branch mouse_gpio_config_input_pu
+039d 6fe0cc1c fetch 1,mem_dpi_another_button_gpio
+039e 20400726 call p_mouse_gpio_config_output_high
+039f 204003b3 call p_mouse_dpi_another_check
+03a0 6848cc1c fetcht 1,mem_dpi_another_button_gpio
+03a1 20203f96 branch mouse_gpio_config_input_pu
 
 p_mouse_dpi_another_gpio_connect_vin_check:
-0390 6fe0cc1c fetch 1,mem_dpi_another_button_gpio
-0391 793ffe07 set0 gpio_active_bit,pdata
-0392 67e0cc1c store 1,mem_dpi_another_button_gpio
-0393 6fe0cc1c fetch 1,mem_dpi_another_button_gpio
-0394 204006c0 call p_mouse_gpio_config_output_low
-0395 704c2000 jam mouse_dpi_another_key,mem_mouse_key_temp_patch
-0396 6848cc1c fetcht 1,mem_dpi_another_button_gpio
-0397 6fe0cc1d fetch 1,mem_dpi_another_press_status
-0398 204003ba call p_mouse_check_key_connect_vin_new
-0399 204003a5 call p_mouse_dpi_another_state_check
-039a 6848cc1c fetcht 1,mem_dpi_another_button_gpio
-039b 20203f96 branch mouse_gpio_config_input_pu
+03a2 6fe0cc1c fetch 1,mem_dpi_another_button_gpio
+03a3 793ffe07 set0 gpio_active_bit,pdata
+03a4 67e0cc1c store 1,mem_dpi_another_button_gpio
+03a5 6fe0cc1c fetch 1,mem_dpi_another_button_gpio
+03a6 20400729 call p_mouse_gpio_config_output_low
+03a7 704c2000 jam mouse_dpi_another_key,mem_mouse_key_temp_patch
+03a8 6848cc1c fetcht 1,mem_dpi_another_button_gpio
+03a9 6fe0cc1d fetch 1,mem_dpi_another_press_status
+03aa 204003cc call p_mouse_check_key_connect_vin_new
+03ab 204003b7 call p_mouse_dpi_another_state_check
+03ac 6848cc1c fetcht 1,mem_dpi_another_button_gpio
+03ad 20203f96 branch mouse_gpio_config_input_pu
 
 p_mouse_dpi_another_down_new:
-039c 20403f96 call mouse_gpio_config_input_pu
-039d 6fe0cc1e fetch 1,mem_dpi_another_button_state
-039e c1008000 rtneq dpi_button_state_down
-039f 704c1e01 jam dpi_button_state_down,mem_dpi_another_button_state
-03a0 202040a9 branch mouse_dpi_process
+03ae 20403f96 call mouse_gpio_config_input_pu
+03af 6fe0cc1e fetch 1,mem_dpi_another_button_state
+03b0 c1008000 rtneq dpi_button_state_down
+03b1 704c1e01 jam dpi_button_state_down,mem_dpi_another_button_state
+03b2 202040a9 branch mouse_dpi_process
 
 p_mouse_dpi_another_check:
-03a1 704c2000 jam mouse_dpi_another_key,mem_mouse_key_temp_patch
-03a2 6848cc1c fetcht 1,mem_dpi_another_button_gpio
-03a3 6fe0cc1d fetch 1,mem_dpi_another_press_status
-03a4 204003b0 call p_mouse_check_key_connect_gnd_new
+03b3 704c2000 jam mouse_dpi_another_key,mem_mouse_key_temp_patch
+03b4 6848cc1c fetcht 1,mem_dpi_another_button_gpio
+03b5 6fe0cc1d fetch 1,mem_dpi_another_press_status
+03b6 204003c2 call p_mouse_check_key_connect_gnd_new
 
 p_mouse_dpi_another_state_check:
-03a5 67e0cc1d store 1,mem_dpi_another_press_status
-03a6 6fe0cc1f fetch 1,mem_dpi_another_button_down_enable
-03a7 203a03ac branch p_mouse_dpi_another_up,blank
+03b7 67e0cc1d store 1,mem_dpi_another_press_status
+03b8 6fe0cc1f fetch 1,mem_dpi_another_button_down_enable
+03b9 203a03be branch p_mouse_dpi_another_up,blank
 
 p_mouse_dpi_another_down:
-03a8 6fe0cc1e fetch 1,mem_dpi_another_button_state
-03a9 c1008000 rtneq dpi_button_state_down
-03aa 704c1e01 jam dpi_button_state_down,mem_dpi_another_button_state
-03ab 202040a9 branch mouse_dpi_process
+03ba 6fe0cc1e fetch 1,mem_dpi_another_button_state
+03bb c1008000 rtneq dpi_button_state_down
+03bc 704c1e01 jam dpi_button_state_down,mem_dpi_another_button_state
+03bd 202040a9 branch mouse_dpi_process
 
 p_mouse_dpi_another_up:
-03ac 6fe0cc1e fetch 1,mem_dpi_another_button_state
-03ad c1000000 rtneq dpi_button_state_up
-03ae 704c1e00 jam dpi_button_state_up,mem_dpi_another_button_state
-03af 20600000 rtn
+03be 6fe0cc1e fetch 1,mem_dpi_another_button_state
+03bf c1000000 rtneq dpi_button_state_up
+03c0 704c1e00 jam dpi_button_state_up,mem_dpi_another_button_state
+03c1 20600000 rtn
 
 p_mouse_check_key_connect_gnd_new:
-03b0 1fe3fe00 lshift pdata,pdata
-03b1 1fe22400 copy pdata,regb
-03b2 204060fd call gpio_get_bit
-03b3 7920a400 setflag true,0,regb
-03b4 1a417e07 and regb,0x07,pdata
-03b5 6848cc20 fetcht 1,mem_mouse_key_temp_patch
-03b6 18420e00 copy temp,queue
-03b7 c00383c5 beq 0x07,p_mouse_key_press		//  about 17~22ms three times
-03b8 c00003c7 beq 0x00,p_mouse_key_release
-03b9 20600000 rtn
+03c2 1fe3fe00 lshift pdata,pdata
+03c3 1fe22400 copy pdata,regb
+03c4 204060fd call gpio_get_bit
+03c5 7920a400 setflag true,0,regb
+03c6 1a417e07 and regb,0x07,pdata
+03c7 6848cc20 fetcht 1,mem_mouse_key_temp_patch
+03c8 18420e00 copy temp,queue
+03c9 c00383d7 beq 0x07,p_mouse_key_press		//  about 17~22ms three times
+03ca c00003d9 beq 0x00,p_mouse_key_release
+03cb 20600000 rtn
 
 p_mouse_check_key_connect_vin_new:
-03ba 1fe3fe00 lshift pdata,pdata
-03bb 1fe22400 copy pdata,regb
-03bc 20403f94 call mouse_gpio_config_input_pd
-03bd 204060fd call gpio_get_bit
-03be 7920a400 setflag true,0,regb
-03bf 1a417e07 and regb,0x07,pdata
-03c0 6848cc20 fetcht 1,mem_mouse_key_temp_patch
-03c1 18420e00 copy temp,queue
-03c2 c00383c5 beq 0x07,p_mouse_key_press		//  about 17~22ms three times
-03c3 c00003c7 beq 0x00,p_mouse_key_release
-03c4 20600000 rtn
+03cc 1fe3fe00 lshift pdata,pdata
+03cd 1fe22400 copy pdata,regb
+03ce 20403f94 call mouse_gpio_config_input_pd
+03cf 204060fd call gpio_get_bit
+03d0 7920a400 setflag true,0,regb
+03d1 1a417e07 and regb,0x07,pdata
+03d2 6848cc20 fetcht 1,mem_mouse_key_temp_patch
+03d3 18420e00 copy temp,queue
+03d4 c00383d7 beq 0x07,p_mouse_key_press		//  about 17~22ms three times
+03d5 c00003d9 beq 0x00,p_mouse_key_release
+03d6 20600000 rtn
 
 p_mouse_key_press:
-03c5 704c1f01 jam 1,mem_dpi_another_button_down_enable
-03c6 20600000 rtn
+03d7 704c1f01 jam 1,mem_dpi_another_button_down_enable
+03d8 20600000 rtn
 
 p_mouse_key_release:
-03c7 704c1f00 jam 0,mem_dpi_another_button_down_enable
-03c8 20600000 rtn
+03d9 704c1f00 jam 0,mem_dpi_another_button_down_enable
+03da 20600000 rtn
 
 p_mouse_dpi_process:
-03c9 204040b2 call mouse_dpi_ghost_check
-03ca 20740000 rtn user
-03cb 6fe0c997 fetch 1,mem_mouse_dpi
-03cc 1fe20400 copy pdata,temp
-03cd 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-03ce c29e83d5 bbit1 mouse_enable_double_dpi_key,p_mouse_double_dpi_check
-03cf 18427e00 copy temp,pdata
-03d0 1fe0fe01 increase 1,pdata
-03d1 1fe17e03 and pdata,0x03,pdata
+03db 204040b2 call mouse_dpi_ghost_check
+03dc 20740000 rtn user
+03dd 6fe0c997 fetch 1,mem_mouse_dpi
+03de 1fe20400 copy pdata,temp
+03df 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+03e0 c29e83e7 bbit1 mouse_enable_double_dpi_key,p_mouse_double_dpi_check
+03e1 18427e00 copy temp,pdata
+03e2 1fe0fe01 increase 1,pdata
+03e3 1fe17e03 and pdata,0x03,pdata
 
 p_mouse_dpi_store:
-03d2 67e0c997 store 1,mem_mouse_dpi
-03d3 204040d5 call mouse_seting_dpi
-03d4 2020462e branch mouse_store_device_info_delay
+03e4 67e0c997 store 1,mem_mouse_dpi
+03e5 204040d5 call mouse_seting_dpi
+03e6 2020462e branch mouse_store_device_info_delay
 
 p_mouse_double_dpi_check:
-03d5 6fe0cc1f fetch 1,mem_dpi_another_button_down_enable
-03d6 243a03f2 nbranch p_mouse_another_dpi_button_down,blank
+03e7 6fe0cc1f fetch 1,mem_dpi_another_button_down_enable
+03e8 243a0404 nbranch p_mouse_another_dpi_button_down,blank
 
 p_mouse_dpi_increase:
-03d7 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-03d8 c28e03e6 bbit1 mouse_enable_dpi_level_4,p_mouse_dpi_increase_level_4
-03d9 18427e00 copy temp,pdata
-03da c1008000 rtneq mouse_dpi_level2
+03e9 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+03ea c28e03f8 bbit1 mouse_enable_dpi_level_4,p_mouse_dpi_increase_level_4
+03eb 18427e00 copy temp,pdata
+03ec c1008000 rtneq mouse_dpi_level2
 
 p_mouse_dpi_increase_level:
-03db c00003e2 beq mouse_dpi_level1,p_mouse_dpi_level_3	//1600
-03dc c00103e0 beq mouse_dpi_level3,p_mouse_dpi_level_2 	//1200
-03dd 20600000 rtn
+03ed c00003f4 beq mouse_dpi_level1,p_mouse_dpi_level_3	//1600
+03ee c00103f2 beq mouse_dpi_level3,p_mouse_dpi_level_2 	//1200
+03ef 20600000 rtn
 
 p_mouse_dpi_level_1:
-03de 58000002 setarg 2
-03df 202003d2 branch p_mouse_dpi_store
+03f0 58000002 setarg 2
+03f1 202003e4 branch p_mouse_dpi_store
 
 p_mouse_dpi_level_2:
-03e0 58000000 setarg 0
-03e1 202003d2 branch p_mouse_dpi_store
+03f2 58000000 setarg 0
+03f3 202003e4 branch p_mouse_dpi_store
 
 p_mouse_dpi_level_3:
-03e2 58000001 setarg 1
-03e3 202003d2 branch p_mouse_dpi_store
+03f4 58000001 setarg 1
+03f5 202003e4 branch p_mouse_dpi_store
 
 p_mouse_dpi_level_4:
-03e4 58000003 setarg 3
-03e5 202003d2 branch p_mouse_dpi_store
+03f6 58000003 setarg 3
+03f7 202003e4 branch p_mouse_dpi_store
 
 p_mouse_dpi_increase_level_4:
-03e6 18427e00 copy temp,pdata			//0->1,2->3,3->0
-03e7 c1008000 rtneq mouse_dpi_level2
-03e8 c00003e2 beq mouse_dpi_level1,p_mouse_dpi_level_3
-03e9 c00103e4 beq mouse_dpi_level3,p_mouse_dpi_level_4
-03ea c00183e0 beq mouse_dpi_level4,p_mouse_dpi_level_2
-03eb 20600000 rtn
+03f8 18427e00 copy temp,pdata			//0->1,2->3,3->0
+03f9 c1008000 rtneq mouse_dpi_level2
+03fa c00003f4 beq mouse_dpi_level1,p_mouse_dpi_level_3
+03fb c00103f6 beq mouse_dpi_level3,p_mouse_dpi_level_4
+03fc c00183f2 beq mouse_dpi_level4,p_mouse_dpi_level_2
+03fd 20600000 rtn
 
 p_mouse_dpi_decrease_level_4:
-03ec 18427e00 copy temp,pdata			//0->3,1->0,3->2
-03ed c1010000 rtneq mouse_dpi_level3
-03ee c00003e4 beq mouse_dpi_level1,p_mouse_dpi_level_4
-03ef c00083e0 beq mouse_dpi_level2,p_mouse_dpi_level_2
-03f0 c00183de beq mouse_dpi_level4,p_mouse_dpi_level_1
-03f1 20600000 rtn
+03fe 18427e00 copy temp,pdata			//0->3,1->0,3->2
+03ff c1010000 rtneq mouse_dpi_level3
+0400 c00003f6 beq mouse_dpi_level1,p_mouse_dpi_level_4
+0401 c00083f2 beq mouse_dpi_level2,p_mouse_dpi_level_2
+0402 c00183f0 beq mouse_dpi_level4,p_mouse_dpi_level_1
+0403 20600000 rtn
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-03f2 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-03f3 c28e03ec bbit1 mouse_enable_dpi_level_4,p_mouse_dpi_decrease_level_4
-03f4 18427e00 copy temp,pdata
-03f5 c1010000 rtneq mouse_dpi_level3
+0404 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0405 c28e03fe bbit1 mouse_enable_dpi_level_4,p_mouse_dpi_decrease_level_4
+0406 18427e00 copy temp,pdata
+0407 c1010000 rtneq mouse_dpi_level3
 
 p_mouse_dpi_decrease_level:
-03f6 c00003de beq mouse_dpi_level1,p_mouse_dpi_level_1
-03f7 c00083e0 beq mouse_dpi_level2,p_mouse_dpi_level_2
-03f8 20600000 rtn
+0408 c00003f0 beq mouse_dpi_level1,p_mouse_dpi_level_1
+0409 c00083f2 beq mouse_dpi_level2,p_mouse_dpi_level_2
+040a 20600000 rtn
 
 p_mouse_seting_dpi:
-03f9 204040cf call mouse_setting_dpi_4_level
-03fa 2040041e call p_mouse_dpi_led_blink_delay
+040b 204040cf call mouse_setting_dpi_4_level
+040c 20400467 call p_mouse_dpi_led_blink_delay
 
 p_mouse_seting_sensor_type:
-03fb 6fe0c92c fetch 1,mem_config_sensor_type
-03fc c0070400 beq p3220,p_mouse_seting_3220_dpi
-03fd c00640fb beq ka5857,mouse_seting_3212_dpi
-03fe c001c0fb beq p3212,mouse_seting_3212_dpi
-03ff 202040da branch mouse_seting_sensor_type+2
+040d 6fe0c92c fetch 1,mem_config_sensor_type
+040e c0070413 beq p3220,p_mouse_seting_3220_dpi
+040f c0078431 beq p3230,p_mouse_seting_3230_dpi
+0410 c00640fb beq ka5857,mouse_seting_3212_dpi
+0411 c001c0fb beq p3212,mouse_seting_3212_dpi
+0412 202040da branch mouse_seting_sensor_type+2
 
 p_mouse_seting_3220_dpi:
-0400 6fe0c997 fetch 1,mem_mouse_dpi
-0401 c0000406 beq mouse_dpi_level1,p_mouse_p3220_set_cpi0		//1600
-0402 c000840a beq mouse_dpi_level2,p_mouse_p3220_set_cpi1		//3200
-0403 c001040e beq mouse_dpi_level3,p_mouse_p3220_set_cpi2		//4000
-0404 c0018412 beq mouse_dpi_level4,p_mouse_p3220_set_cpi3		//800
-0405 20600000 rtn
+0413 6fe0c997 fetch 1,mem_mouse_dpi
+0414 c0000419 beq mouse_dpi_level1,p_mouse_p3220_set_cpi0		//1600
+0415 c000841d beq mouse_dpi_level2,p_mouse_p3220_set_cpi1		//3200
+0416 c0010421 beq mouse_dpi_level3,p_mouse_p3220_set_cpi2		//4000
+0417 c0018425 beq mouse_dpi_level4,p_mouse_p3220_set_cpi3		//800
+0418 20600000 rtn
 
 p_mouse_p3220_set_cpi0:
-0406 6fe0cd3d fetch 1,mem_3220_dpi_0_x
-0407 20400416 call p_mouse_cpi_x_set
-0408 6fe0cd3e fetch 1,mem_3220_dpi_0_y
-0409 2020041a branch p_mouse_cpi_y_set
+0419 6fe0cd3d fetch 1,mem_3220_dpi_0_x
+041a 20400429 call p_mouse_cpi_x_set
+041b 6fe0cd3e fetch 1,mem_3220_dpi_0_y
+041c 2020042d branch p_mouse_cpi_y_set
 
 p_mouse_p3220_set_cpi1:
-040a 6fe0cd3f fetch 1,mem_3220_dpi_1_x
-040b 20400416 call p_mouse_cpi_x_set
-040c 6fe0cd40 fetch 1,mem_3220_dpi_1_y
-040d 2020041a branch p_mouse_cpi_y_set
+041d 6fe0cd3f fetch 1,mem_3220_dpi_1_x
+041e 20400429 call p_mouse_cpi_x_set
+041f 6fe0cd40 fetch 1,mem_3220_dpi_1_y
+0420 2020042d branch p_mouse_cpi_y_set
 
 p_mouse_p3220_set_cpi2:
-040e 6fe0cd41 fetch 1,mem_3220_dpi_2_x
-040f 20400416 call p_mouse_cpi_x_set
-0410 6fe0cd42 fetch 1,mem_3220_dpi_2_y
-0411 2020041a branch p_mouse_cpi_y_set
+0421 6fe0cd41 fetch 1,mem_3220_dpi_2_x
+0422 20400429 call p_mouse_cpi_x_set
+0423 6fe0cd42 fetch 1,mem_3220_dpi_2_y
+0424 2020042d branch p_mouse_cpi_y_set
 
 p_mouse_p3220_set_cpi3:
-0412 6fe0cd43 fetch 1,mem_3220_dpi_3_x
-0413 20400416 call p_mouse_cpi_x_set
-0414 6fe0cd44 fetch 1,mem_3220_dpi_3_y
-0415 2020041a branch p_mouse_cpi_y_set
+0425 6fe0cd43 fetch 1,mem_3220_dpi_3_x
+0426 20400429 call p_mouse_cpi_x_set
+0427 6fe0cd44 fetch 1,mem_3220_dpi_3_y
+0428 2020042d branch p_mouse_cpi_y_set
 
 p_mouse_cpi_x_set:
-0416 67e0c9e1 store 1,mem_mouse_cpi_count
-0417 1fed7e00 lshift8 pdata,pdata
-0418 1fe0fe0d add pdata,mouse_p3212_dpi_xaddress,pdata
-0419 20205d5e branch twspi_write
+0429 67e0c9e1 store 1,mem_mouse_cpi_count
+042a 1fed7e00 lshift8 pdata,pdata
+042b 1fe0fe0d add pdata,mouse_p3212_dpi_xaddress,pdata
+042c 20205d5e branch twspi_write
 
 p_mouse_cpi_y_set:
-041a 67e0c9e1 store 1,mem_mouse_cpi_count
-041b 1fed7e00 lshift8 pdata,pdata
-041c 1fe0fe0e add pdata,mouse_p3212_dpi_yaddress,pdata
-041d 20205d5e branch twspi_write
+042d 67e0c9e1 store 1,mem_mouse_cpi_count
+042e 1fed7e00 lshift8 pdata,pdata
+042f 1fe0fe0e add pdata,mouse_p3212_dpi_yaddress,pdata
+0430 20205d5e branch twspi_write
+
+p_mouse_seting_3230_dpi:
+0431 6fe0c997 fetch 1,mem_mouse_dpi
+0432 c0000437 beq mouse_dpi_level1,p_mouse_p3230_set_cpi0		//1600
+0433 c000843f beq mouse_dpi_level2,p_mouse_p3230_set_cpi1		//3200
+0434 c0010447 beq mouse_dpi_level3,p_mouse_p3230_set_cpi2		//4000
+0435 c001844f beq mouse_dpi_level4,p_mouse_p3230_set_cpi3		//800
+0436 20600000 rtn
+
+p_mouse_p3230_set_cpi0:
+0437 6fe0cda1 fetch 1,mem_3230_dpi_0_x
+0438 20400457 call p_mouse_3230_cpi_x_set
+0439 6fe0cda3 fetch 1,mem_3230_dpi_0_y
+043a 2040045b call p_mouse_3230_cpi_y_set
+043b 6fe0cda2 fetch 1,mem_3230_dpi_0_xh
+043c 2040045f call p_mouse_3230_cpi_xh_set
+043d 6fe0cda4 fetch 1,mem_3230_dpi_0_yh
+043e 20200463 branch p_mouse_3230_cpi_yh_set
+
+p_mouse_p3230_set_cpi1:
+043f 6fe0cda5 fetch 1,mem_3230_dpi_1_x
+0440 20400457 call p_mouse_3230_cpi_x_set
+0441 6fe0cda7 fetch 1,mem_3230_dpi_1_y
+0442 2040045b call p_mouse_3230_cpi_y_set
+0443 6fe0cda6 fetch 1,mem_3230_dpi_1_xh
+0444 2040045f call p_mouse_3230_cpi_xh_set
+0445 6fe0cda8 fetch 1,mem_3230_dpi_1_yh
+0446 20200463 branch p_mouse_3230_cpi_yh_set
+
+p_mouse_p3230_set_cpi2:
+0447 6fe0cda9 fetch 1,mem_3230_dpi_2_x
+0448 20400457 call p_mouse_3230_cpi_x_set
+0449 6fe0cdab fetch 1,mem_3230_dpi_2_y
+044a 2040045b call p_mouse_3230_cpi_y_set
+044b 6fe0cdaa fetch 1,mem_3230_dpi_2_xh
+044c 2040045f call p_mouse_3230_cpi_xh_set
+044d 6fe0cdac fetch 1,mem_3230_dpi_2_yh
+044e 20200463 branch p_mouse_3230_cpi_yh_set
+
+p_mouse_p3230_set_cpi3:
+044f 6fe0cdad fetch 1,mem_3230_dpi_3_x
+0450 20400457 call p_mouse_3230_cpi_x_set
+0451 6fe0cdaf fetch 1,mem_3230_dpi_3_y
+0452 2040045b call p_mouse_3230_cpi_y_set
+0453 6fe0cdae fetch 1,mem_3230_dpi_3_xh
+0454 2040045f call p_mouse_3230_cpi_xh_set
+0455 6fe0cdb0 fetch 1,mem_3230_dpi_3_yh
+0456 20200463 branch p_mouse_3230_cpi_yh_set
+
+p_mouse_3230_cpi_x_set:
+0457 67e0c9e1 store 1,mem_mouse_cpi_count
+0458 1fed7e00 lshift8 pdata,pdata
+0459 1fe0fe0c add pdata,mouse_3230_dpi_xaddress,pdata
+045a 20205d5e branch twspi_write
+
+p_mouse_3230_cpi_y_set:
+045b 67e0c9e1 store 1,mem_mouse_cpi_count
+045c 1fed7e00 lshift8 pdata,pdata
+045d 1fe0fe0d add pdata,mouse_3230_dpi_yaddress,pdata
+045e 20205d5e branch twspi_write
+
+p_mouse_3230_cpi_xh_set:
+045f 67e0c9e1 store 1,mem_mouse_cpi_count
+0460 1fed7e00 lshift8 pdata,pdata
+0461 1fe0fe1d add pdata,mouse_3230_dpi_xhaddress,pdata
+0462 20205d5e branch twspi_write
+
+p_mouse_3230_cpi_yh_set:
+0463 67e0c9e1 store 1,mem_mouse_cpi_count
+0464 1fed7e00 lshift8 pdata,pdata
+0465 1fe0fe1e add pdata,mouse_3230_dpi_yhaddress,pdata
+0466 20205d5e branch twspi_write
 
 p_mouse_dpi_led_blink_delay:
-041e 6fe0c928 fetch 1,mem_dpi_led_gpio
-041f c17f8000 rtneq gpio_disable
-0420 6fe14ad3 fetch 2,mem_mouse_discovery_timer
-0421 247a0000 nrtn blank
-0422 6fe14887 fetch 2,mem_24g_pair_timeout
-0423 247a0000 nrtn blank
-0424 6fe1488b fetch 2,mem_24g_reconn_timeout
-0425 247a0000 nrtn blank
-0426 6fe0cbb8 fetch 1,mem_mouse_device_poweron_timer_count
-0427 247a0000 nrtn blank
-0428 6fe0cbd2 fetch 1,mem_mouse_dpi_led_delay_count_init
-0429 203a042c branch p_mouse_dpi_led_blink_init_new,blank
-042a 67e0cbb9 store 1,mem_mouse_dpi_led_delay_count  //delay 1s led blink
-042b 20600000 rtn
+0467 6fe0c928 fetch 1,mem_dpi_led_gpio
+0468 c17f8000 rtneq gpio_disable
+0469 6fe14ad3 fetch 2,mem_mouse_discovery_timer
+046a 247a0000 nrtn blank
+046b 6fe14887 fetch 2,mem_24g_pair_timeout
+046c 247a0000 nrtn blank
+046d 6fe1488b fetch 2,mem_24g_reconn_timeout
+046e 247a0000 nrtn blank
+046f 6fe0cbb8 fetch 1,mem_mouse_device_poweron_timer_count
+0470 247a0000 nrtn blank
+0471 6fe0cbd2 fetch 1,mem_mouse_dpi_led_delay_count_init
+0472 203a0475 branch p_mouse_dpi_led_blink_init_new,blank
+0473 67e0cbb9 store 1,mem_mouse_dpi_led_delay_count  //delay 1s led blink
+0474 20600000 rtn
 
 p_mouse_dpi_led_blink_init_new:
-042c 6fe0c92c fetch 1,mem_config_sensor_type
-042d c007043b beq p3220,p_mouse_dpi_led_blink_init_new2
-042e c001843b beq p3212,p_mouse_dpi_led_blink_init_new2		//result:    level3: 1  2  3     level4: 2  3  4  1
-042f c005843b beq ka8g2,p_mouse_dpi_led_blink_init_new2	//result:    level3: 1  2  3     level4: 2  3  4  1
-0430 6848c997 fetcht 1,mem_mouse_dpi
-0431 18408402 increase 2,temp	// 2 3 4 (5)
+0475 6fe0c92c fetch 1,mem_config_sensor_type
+0476 c0070486 beq p3220,p_mouse_dpi_led_blink_init_new2
+0477 c0078486 beq p3230,p_mouse_dpi_led_blink_init_new2
+0478 c0018486 beq p3212,p_mouse_dpi_led_blink_init_new2		//result:    level3: 1  2  3     level4: 2  3  4  1
+0479 c0058486 beq ka8g2,p_mouse_dpi_led_blink_init_new2	//result:    level3: 1  2  3     level4: 2  3  4  1
+047a 6848c997 fetcht 1,mem_mouse_dpi
+047b 18408402 increase 2,temp	// 2 3 4 (5)
 
 p_mouse_dpi_led_blink_init_new1_next:
-0432 18467c03 sub temp,3,null
-0433 20410457 call p_mouse_dpi_led_blink_init_level_4,positive
-0434 2441045b ncall p_mouse_dpi_led_blink_count_clean,positive
-0435 18427e00 copy temp,pdata
-0436 9fe0fe00 iadd pdata,pdata
-0437 67e0cd0e store 1,mem_mouse_multi_dpi_led_blink_count
+047c 18467c03 sub temp,3,null
+047d 204104a2 call p_mouse_dpi_led_blink_init_level_4,positive
+047e 244104a6 ncall p_mouse_dpi_led_blink_count_clean,positive
+047f 18427e00 copy temp,pdata
+0480 9fe0fe00 iadd pdata,pdata
+0481 67e0cd0e store 1,mem_mouse_multi_dpi_led_blink_count
 
 p_mouse_multi_dpi_led_blink_enable:
-0438 704d0d01 jam 1,mem_mouse_multi_led_blink_type
-0439 2040043e call p_mouse_multi_dpi_led_blink_timer_init
-043a 20600000 rtn
+0482 704d0f00 jam off,mem_dpi_led_status
+0483 704d0d01 jam 1,mem_mouse_multi_led_blink_type
+0484 20400489 call p_mouse_multi_dpi_led_blink_timer_init
+0485 20600000 rtn
 
 p_mouse_dpi_led_blink_init_new2:
-043b 6848c997 fetcht 1,mem_mouse_dpi
-043c 18408401 increase 1,temp
-043d 20200432 branch p_mouse_dpi_led_blink_init_new1_next
+0486 6848c997 fetcht 1,mem_mouse_dpi
+0487 18408401 increase 1,temp
+0488 2020047c branch p_mouse_dpi_led_blink_init_new1_next
 
 p_mouse_multi_dpi_led_blink_timer_init:
-043e 6fe0cd11 fetch 1,mem_mosue_dpi_blink_timer_init
-043f 67e0cd10 store 1,mem_mosue_dpi_blink_timer
-0440 20600000 rtn
+0489 6fe0cd11 fetch 1,mem_mosue_dpi_blink_timer_init
+048a 67e0cd10 store 1,mem_mosue_dpi_blink_timer
+048b 20600000 rtn
 
 p_mouse_led_blink:
-0441 6fe0cd0d fetch 1,mem_mouse_multi_led_blink_type
-0442 207a0000 rtn blank
-0443 20400447 call p_mouse_led_blink_start
-0444 20600000 rtn
+048c 6fe0cd0d fetch 1,mem_mouse_multi_led_blink_type
+048d 207a0000 rtn blank
+048e 20400492 call p_mouse_led_blink_start
+048f 20600000 rtn
 
 p_mouse_dpi_flag_clean:
-0445 704d0d00 jam 0,mem_mouse_multi_led_blink_type
-0446 20600000 rtn
+0490 704d0d00 jam 0,mem_mouse_multi_led_blink_type
+0491 20600000 rtn
 
 p_mouse_led_blink_start:
-0447 da604d10 arg mem_mosue_dpi_blink_timer,regc
-0448 da40044a arg p_mouse_led_blink_event,regb
-0449 202031fc branch timer_single_step
+0492 da604d10 arg mem_mosue_dpi_blink_timer,regc
+0493 da400495 arg p_mouse_led_blink_event,regb
+0494 202031fc branch timer_single_step
 
 p_mouse_led_blink_event:
-044a 2040043e call p_mouse_multi_dpi_led_blink_timer_init
-044b 6fe0cd0e fetch 1,mem_mouse_multi_dpi_led_blink_count
-044c 1fe0ffff pincrease -1
-044d 20428445 call p_mouse_dpi_flag_clean,zero
-044e 67e0cd0e store 1,mem_mouse_multi_dpi_led_blink_count
-044f 6fe0cd0f fetch 1,mem_dpi_led_status
-0450 c0008454 beq on,p_mouse_dpi_led_blink_count_off
+0495 20400489 call p_mouse_multi_dpi_led_blink_timer_init
+0496 6fe0cd0e fetch 1,mem_mouse_multi_dpi_led_blink_count
+0497 1fe0ffff pincrease -1
+0498 20428490 call p_mouse_dpi_flag_clean,zero
+0499 67e0cd0e store 1,mem_mouse_multi_dpi_led_blink_count
+049a 6fe0cd0f fetch 1,mem_dpi_led_status
+049b c000849f beq on,p_mouse_dpi_led_blink_count_off
 
 p_mouse_dpi_led_blink_count_on:
-0451 704d0f01 jam on,mem_dpi_led_status
-0452 6848c928 fetcht 1,mem_dpi_led_gpio
-0453 202002b7 branch p_mouse_device_led_on
+049c 704d0f01 jam on,mem_dpi_led_status
+049d 6848c928 fetcht 1,mem_dpi_led_gpio
+049e 202002bb branch p_mouse_device_led_on
 
 p_mouse_dpi_led_blink_count_off:
-0454 704d0f00 jam off,mem_dpi_led_status
-0455 6848c928 fetcht 1,mem_dpi_led_gpio
-0456 202002c5 branch p_mouse_device_led_off
+049f 704d0f00 jam off,mem_dpi_led_status
+04a0 6848c928 fetcht 1,mem_dpi_led_gpio
+04a1 202002c9 branch p_mouse_device_led_off
 
 p_mouse_dpi_led_blink_init_level_4:
-0457 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0458 c40e0000 rtnbit0 mouse_enable_dpi_level_4
-0459 18408401 increase 1,temp  	// 2-->3   3-->4
-045a 20600000 rtn
+04a2 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+04a3 c40e0000 rtnbit0 mouse_enable_dpi_level_4
+04a4 18408401 increase 1,temp  	// 2-->3   3-->4
+04a5 20600000 rtn
 
 p_mouse_dpi_led_blink_count_clean:
-045b 184085fd increase -3,temp		// 4-->1  5-->2
-045c 20600000 rtn
+04a6 184085fd increase -3,temp		// 4-->1  5-->2
+04a7 20600000 rtn
 
 p_mouse_judge_current_mode_select_dpi_or_low_led:
-045d 6fe0c93d fetch 1,mem_device_flag
-045e c0000462 beq mode_24g_device,p_mouse_select_24g_led
-045f c000846a beq mode_bt_device1,p_mouse_select_bt1_led
-0460 c0010472 beq mode_bt_device2,p_mouse_select_bt2_led
-0461 20600000 rtn
+04a8 6fe0c93d fetch 1,mem_device_flag
+04a9 c00004ad beq mode_24g_device,p_mouse_select_24g_led
+04aa c00084b5 beq mode_bt_device1,p_mouse_select_bt1_led
+04ab c00104bd beq mode_bt_device2,p_mouse_select_bt2_led
+04ac 20600000 rtn
 
 p_mouse_select_24g_led:
-0462 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
-0463 c0000466 beq 0,p_mouse_24g_init_led_config
-0464 c0008468 beq 1,p_mouse_24g_1io2led_led_config
-0465 20600000 rtn
+04ad 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
+04ae c00004b1 beq 0,p_mouse_24g_init_led_config
+04af c00084b3 beq 1,p_mouse_24g_1io2led_led_config
+04b0 20600000 rtn
 
 p_mouse_24g_init_led_config:
-0466 6fe0c919 fetch 1,mem_config_device_24g_led_gpio
-0467 2020047a branch p_mouse_set_dpi_and_low_led_config
+04b1 6fe0c919 fetch 1,mem_config_device_24g_led_gpio
+04b2 202004c5 branch p_mouse_set_dpi_and_low_led_config
 
 p_mouse_24g_1io2led_led_config:
-0468 6fe0cc29 fetch 1,mem_mouse_1io2led_multi_24gled
-0469 2020047a branch p_mouse_set_dpi_and_low_led_config
+04b3 6fe0cc29 fetch 1,mem_mouse_1io2led_multi_24gled
+04b4 202004c5 branch p_mouse_set_dpi_and_low_led_config
 
 p_mouse_select_bt1_led:
-046a 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
-046b c000046e beq 0,p_mouse_bt1_init_led_config
-046c c0008470 beq 1,p_mouse_bt1_1io2led_led_config
-046d 20600000 rtn
+04b5 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
+04b6 c00004b9 beq 0,p_mouse_bt1_init_led_config
+04b7 c00084bb beq 1,p_mouse_bt1_1io2led_led_config
+04b8 20600000 rtn
 
 p_mouse_bt1_init_led_config:
-046e 6fe0c926 fetch 1,mem_config_device_bt1_led_gpio
-046f 2020047a branch p_mouse_set_dpi_and_low_led_config
+04b9 6fe0c926 fetch 1,mem_config_device_bt1_led_gpio
+04ba 202004c5 branch p_mouse_set_dpi_and_low_led_config
 
 p_mouse_bt1_1io2led_led_config:
-0470 6fe0cc2a fetch 1,mem_mouse_1io2led_multi_bt1led
-0471 2020047a branch p_mouse_set_dpi_and_low_led_config
+04bb 6fe0cc2a fetch 1,mem_mouse_1io2led_multi_bt1led
+04bc 202004c5 branch p_mouse_set_dpi_and_low_led_config
 
 p_mouse_select_bt2_led:
-0472 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
-0473 c0000476 beq 0,p_mouse_bt2_init_led_config
-0474 c0008478 beq 1,p_mouse_bt2_1io2led_led_config
-0475 20600000 rtn
+04bd 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
+04be c00004c1 beq 0,p_mouse_bt2_init_led_config
+04bf c00084c3 beq 1,p_mouse_bt2_1io2led_led_config
+04c0 20600000 rtn
 
 p_mouse_bt2_init_led_config:
-0476 6fe0c927 fetch 1,mem_config_device_bt2_led_gpio
-0477 2020047a branch p_mouse_set_dpi_and_low_led_config
+04c1 6fe0c927 fetch 1,mem_config_device_bt2_led_gpio
+04c2 202004c5 branch p_mouse_set_dpi_and_low_led_config
 
 p_mouse_bt2_1io2led_led_config:
-0478 6fe0cc2b fetch 1,mem_mouse_1io2led_multi_bt2led
-0479 2020047a branch p_mouse_set_dpi_and_low_led_config
+04c3 6fe0cc2b fetch 1,mem_mouse_1io2led_multi_bt2led
+04c4 202004c5 branch p_mouse_set_dpi_and_low_led_config
 
 p_mouse_set_dpi_and_low_led_config:
-047a 67e0c928 store 1,mem_dpi_led_gpio
-047b 20600000 rtn
+04c5 67e0c928 store 1,mem_dpi_led_gpio
+04c6 20600000 rtn
 
 p_mouse_low_power_timer:
-047c 6fe0ccd9 fetch 1,mem_low_power_led_flag
-047d 243a047f nbranch p_mouse_low_voltage_led_timer,blank
-047e 20600000 rtn
+04c7 6fe0ccd9 fetch 1,mem_low_power_led_flag
+04c8 243a04ca nbranch p_mouse_low_voltage_led_timer,blank
+04c9 20600000 rtn
 
 p_mouse_low_voltage_led_timer:
-047f 6fe14ad3 fetch 2,mem_mouse_discovery_timer
-0480 247a0000 nrtn blank
-0481 6fe14887 fetch 2,mem_24g_pair_timeout
-0482 247a0000 nrtn blank
-0483 6fe1488b fetch 2,mem_24g_reconn_timeout
-0484 247a0000 nrtn blank
-0485 6fe0cbb8 fetch 1,mem_mouse_device_poweron_timer_count
-0486 247a0000 nrtn blank
-0487 6fe0cd49 fetch 1,mem_mouse_low_power_off_timer
-0488 247a0000 nrtn blank
-0489 20404951 call mouse_check_dpi_blink
-048a 20740000 rtn user
-048b 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-048c c4020000 rtnbit0 mouse_low_voltage_flag
-048d 6fe0cd47 fetch 1,mem_adc_low_led_blank_count
-048e c00184a0 beq 3,p_mouse_adc_low_led_enable_timer
-048f 6fe0cd48 fetch 1,mem_adc_low_led_timer_count
-0490 1fe0fe01 increase 1,pdata
-0491 67e0cd48 store 1,mem_adc_low_led_timer_count
-0492 1fe67c0b sub pdata,11,null
-0493 24410497 ncall p_mouse_adc_low_volatage_led_timer_count_clean,positive
-0494 c001049c beq 2,p_mouse_low_voltage_led_on
-0495 c003849e beq 7,p_mouse_low_voltage_led_off
-0496 20600000 rtn
+04ca 6fe14ad3 fetch 2,mem_mouse_discovery_timer
+04cb 247a0000 nrtn blank
+04cc 6fe14887 fetch 2,mem_24g_pair_timeout
+04cd 247a0000 nrtn blank
+04ce 6fe1488b fetch 2,mem_24g_reconn_timeout
+04cf 247a0000 nrtn blank
+04d0 6fe0cbb8 fetch 1,mem_mouse_device_poweron_timer_count
+04d1 247a0000 nrtn blank
+04d2 6fe0cdb6 fetch 1,mem_mouse_low_power_off_timer
+04d3 247a0000 nrtn blank
+04d4 20404951 call mouse_check_dpi_blink
+04d5 20740000 rtn user
+04d6 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+04d7 c4020000 rtnbit0 mouse_low_voltage_flag
+04d8 6fe0cdb4 fetch 1,mem_adc_low_led_blank_count
+04d9 c00184eb beq 3,p_mouse_adc_low_led_enable_timer
+04da 6fe0cdb5 fetch 1,mem_adc_low_led_timer_count
+04db 1fe0fe01 increase 1,pdata
+04dc 67e0cdb5 store 1,mem_adc_low_led_timer_count
+04dd 1fe67c0b sub pdata,11,null
+04de 244104e2 ncall p_mouse_adc_low_volatage_led_timer_count_clean,positive
+04df c00104e7 beq 2,p_mouse_low_voltage_led_on
+04e0 c00384e9 beq 7,p_mouse_low_voltage_led_off
+04e1 20600000 rtn
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-0497 704d4801 jam 1,mem_adc_low_led_timer_count
-0498 6fe0cd47 fetch 1,mem_adc_low_led_blank_count
-0499 1fe0fe01 pincrease 1
-049a 67e0cd47 store 1,mem_adc_low_led_blank_count
-049b 2020049e branch p_mouse_low_voltage_led_off
+04e2 704db501 jam 1,mem_adc_low_led_timer_count
+04e3 6fe0cdb4 fetch 1,mem_adc_low_led_blank_count
+04e4 1fe0fe01 pincrease 1
+04e5 67e0cdb4 store 1,mem_adc_low_led_blank_count
+04e6 202004e9 branch p_mouse_low_voltage_led_off
 
 p_mouse_low_voltage_led_on:
-049c 6848c925 fetcht 1,mem_config_low_voltage_alarm_gpio
-049d 2020610d branch gpio_out_active
+04e7 6848c925 fetcht 1,mem_config_low_voltage_alarm_gpio
+04e8 2020610d branch gpio_out_active
 
 p_mouse_low_voltage_led_off:
-049e 6848c925 fetcht 1,mem_config_low_voltage_alarm_gpio
-049f 20206109 branch gpio_out_inactive
+04e9 6848c925 fetcht 1,mem_config_low_voltage_alarm_gpio
+04ea 20206109 branch gpio_out_inactive
 
 p_mouse_adc_low_led_enable_timer:
-04a0 6fe0cd46 fetch 1,mem_adc_low_led_enable_timer
-04a1 1fe0fe01 increase 1,pdata
-04a2 67e0cd46 store 1,mem_adc_low_led_enable_timer
-04a3 c18f0000 rtnne 0x1e
-04a4 704d4600 jam 0x00,mem_adc_low_led_enable_timer
-04a5 704d4700 jam 0x00,mem_adc_low_led_blank_count
-04a6 20600000 rtn
+04eb 6fe0cdb3 fetch 1,mem_adc_low_led_enable_timer
+04ec 1fe0fe01 increase 1,pdata
+04ed 67e0cdb3 store 1,mem_adc_low_led_enable_timer
+04ee c18f0000 rtnne 0x1e
+04ef 704db300 jam 0x00,mem_adc_low_led_enable_timer
+04f0 704db400 jam 0x00,mem_adc_low_led_blank_count
+04f1 20600000 rtn
 
 p_mouse_low_power_off_timer:
-04a7 6fe0cd49 fetch 1,mem_mouse_low_power_off_timer
-04a8 207a0000 rtn blank
-04a9 6fe0cd4a fetch 1,mem_mouse_low_power_off_led_blink_state
-04aa 79407e00 setflip 0,pdata
-04ab 67e0cd4a store 1,mem_mouse_low_power_off_led_blink_state
-04ac 205a049e call p_mouse_low_voltage_led_off,blank
-04ad 6fe0cd4a fetch 1,mem_mouse_low_power_off_led_blink_state
-04ae 245a049c ncall p_mouse_low_voltage_led_on,blank
-04af da604d49 arg mem_mouse_low_power_off_timer,regc
-04b0 da4004b2 arg p_mouse_low_power_off_timeout,regb
-04b1 202031fc branch timer_single_step
+04f2 6fe0cdb6 fetch 1,mem_mouse_low_power_off_timer
+04f3 207a0000 rtn blank
+04f4 6fe0cdb7 fetch 1,mem_mouse_low_power_off_led_blink_state
+04f5 79407e00 setflip 0,pdata
+04f6 67e0cdb7 store 1,mem_mouse_low_power_off_led_blink_state
+04f7 205a04e9 call p_mouse_low_voltage_led_off,blank
+04f8 6fe0cdb7 fetch 1,mem_mouse_low_power_off_led_blink_state
+04f9 245a04e7 ncall p_mouse_low_voltage_led_on,blank
+04fa da604db6 arg mem_mouse_low_power_off_timer,regc
+04fb da4004fd arg p_mouse_low_power_off_timeout,regb
+04fc 202031fc branch timer_single_step
 
 p_mouse_low_power_off_timeout:
-04b2 20203e5a branch mouse_app_enter_hibernate
+04fd 20203e5a branch mouse_app_enter_hibernate
 
 p_mouse_priority_bb_event:
-04b3 1a627e00 copy regc,pdata
-04b4 c01e04c5 beq bt_evt_24g_attempt_success,p_mouse_24g_attempt_success
-04b5 c01c84be beq bt_evt_24g_pairing_complete,p_mouse_24g_pairing_complete
-04b6 c01d04d6 beq bt_evt_24g_attempt_fail,p_mouse_24g_attempt_fail
-04b7 c019051d beq bt_evt_le_start_enc,p_mouse_le_ll_start_encryt
-04b8 c00a8533 beq bt_evt_le_disconnected,p_mouse_le_bb_disconnected
-04b9 c00a0538 beq bt_evt_le_connected,p_mouse_le_bb_event_connected
-04ba c0220524 beq bt_evt_le_parse_conn_param_accepted,p_mouse_le_parse_conn_param_accepted
-04bb c020052e beq bt_evt_le_parse_conn_papa_update_rsp,p_mouse_le_conn_param_update_rsp_recieved
-04bc c000853a beq bt_evt_bb_connected,p_mouse_bb_event_connected
-04bd 20204376 branch mouse_priority_bb_event+2
+04fe 1a627e00 copy regc,pdata
+04ff c01e0510 beq bt_evt_24g_attempt_success,p_mouse_24g_attempt_success
+0500 c01c8509 beq bt_evt_24g_pairing_complete,p_mouse_24g_pairing_complete
+0501 c01d0521 beq bt_evt_24g_attempt_fail,p_mouse_24g_attempt_fail
+0502 c0190568 beq bt_evt_le_start_enc,p_mouse_le_ll_start_encryt
+0503 c00a857e beq bt_evt_le_disconnected,p_mouse_le_bb_disconnected
+0504 c00a0583 beq bt_evt_le_connected,p_mouse_le_bb_event_connected
+0505 c022056f beq bt_evt_le_parse_conn_param_accepted,p_mouse_le_parse_conn_param_accepted
+0506 c0200579 beq bt_evt_le_parse_conn_papa_update_rsp,p_mouse_le_conn_param_update_rsp_recieved
+0507 c0008585 beq bt_evt_bb_connected,p_mouse_bb_event_connected
+0508 20204376 branch mouse_priority_bb_event+2
 
 p_mouse_24g_pairing_complete:
-04be 20400144 call p_mouse_soft_agc_disable
-04bf 204000d9 call p_mouse_fetch_normal_tx_power
-04c0 20404584 call mouse_no_data_timer_init
-04c1 d8e00001 arg mouse_24g_pairing_flag,queue
-04c2 20404732 call mouse_disable_function_flag
-04c3 20400271 call p_mouse_device_poweron_led_config
-04c4 20204898 branch mouse_24g_pairing_complete+2
+0509 20400148 call p_mouse_soft_agc_disable
+050a 204000dd call p_mouse_fetch_normal_tx_power
+050b 20404584 call mouse_no_data_timer_init
+050c d8e00001 arg mouse_24g_pairing_flag,queue
+050d 20404732 call mouse_disable_function_flag
+050e 20400275 call p_mouse_device_poweron_led_config
+050f 20204898 branch mouse_24g_pairing_complete+2
 
 p_mouse_24g_attempt_success:
-04c5 6fe2483f fetch 4,mem_24g_addr
-04c6 67e24895 store 4,mem_24g_receiver_addr
-04c7 67e24998 store 4,mem_mouse_24g_addr		// if need store 24g address to eeprom/flash,need get mem_24g_addr
-04c8 20402587 call g24_ch_syncword_crc8_init
-04c9 20400271 call p_mouse_device_poweron_led_config
-04ca 20404584 call mouse_no_data_timer_init
-04cb 2040430a call mouse_init_sensor_reset
-04cc 704abf00 jam 0,mem_mouse_long_mult_flag
-04cd 7048a500 jam 0,mem_24g_conn_sm
-04ce 70488f00 jam 0,mem_24g_reconn_type
-04cf 6fe24895 fetch 4,mem_24g_receiver_addr
-04d0 684a4891 fetcht 4,mem_24g_fast_conn_addr
-04d1 98467c00 isub temp,null
-04d2 20628000 rtn zero
-04d3 20400144 call p_mouse_soft_agc_disable
-04d4 204000d9 call p_mouse_fetch_normal_tx_power
-04d5 20204861 branch mouse_24g_first_store_reconn_info
+0510 6fe2483f fetch 4,mem_24g_addr
+0511 67e24895 store 4,mem_24g_receiver_addr
+0512 67e24998 store 4,mem_mouse_24g_addr		// if need store 24g address to eeprom/flash,need get mem_24g_addr
+0513 20402587 call g24_ch_syncword_crc8_init
+0514 20400275 call p_mouse_device_poweron_led_config
+0515 20404584 call mouse_no_data_timer_init
+0516 2040430a call mouse_init_sensor_reset
+0517 704abf00 jam 0,mem_mouse_long_mult_flag
+0518 7048a500 jam 0,mem_24g_conn_sm
+0519 70488f00 jam 0,mem_24g_reconn_type
+051a 6fe24895 fetch 4,mem_24g_receiver_addr
+051b 684a4891 fetcht 4,mem_24g_fast_conn_addr
+051c 98467c00 isub temp,null
+051d 20628000 rtn zero
+051e 20400148 call p_mouse_soft_agc_disable
+051f 204000dd call p_mouse_fetch_normal_tx_power
+0520 20204861 branch mouse_24g_first_store_reconn_info
 
 p_mouse_24g_attempt_fail:
-04d6 20400144 call p_mouse_soft_agc_disable
-04d7 204000d9 call p_mouse_fetch_normal_tx_power
-04d8 6fe0c8a9 fetch 1,mem_24g_attempt_fail_flag
-04d9 243a04df nbranch p_mouse_24g_hibernate_set,blank
-04da 6fe0c88f fetch 1,mem_24g_reconn_type
-04db c0010504 beq fast_conn_and_3_0_addr,p_mouse_24g_fast_conn_attempt_fail
-04dc c0020510 beq pair_and_3_0_addr,p_mouse_24g_auto_pair_attempt_fail
-04dd c0018518 beq receiver_and_3_0_addr,p_mouse_reconn_dongle_attempt_fail
-04de 20204878 branch mouse_24g_attempt_fail_enter_hibernate
+0521 20400148 call p_mouse_soft_agc_disable
+0522 204000dd call p_mouse_fetch_normal_tx_power
+0523 6fe0c8a9 fetch 1,mem_24g_attempt_fail_flag
+0524 243a052a nbranch p_mouse_24g_hibernate_set,blank
+0525 6fe0c88f fetch 1,mem_24g_reconn_type
+0526 c001054f beq fast_conn_and_3_0_addr,p_mouse_24g_fast_conn_attempt_fail
+0527 c002055b beq pair_and_3_0_addr,p_mouse_24g_auto_pair_attempt_fail
+0528 c0018563 beq receiver_and_3_0_addr,p_mouse_reconn_dongle_attempt_fail
+0529 20204878 branch mouse_24g_attempt_fail_enter_hibernate
 
 p_mouse_24g_hibernate_set:
-04df 7048a900 jam 0,mem_24g_attempt_fail_flag
-04e0 20402659 call g24_transmit_next_packet
-04e1 5fffffff setarg -1
-04e2 67e2485f store 4,mem_24g_enter_hibernate
-04e3 58000000 setarg 0
-04e4 67e3c8d4 store 7,mem_mouse_key
-04e5 704bf201 jam 1,mem_sensor_shutdown_flag
-04e6 202004ec branch p_g24_long_sleep
+052a 7048a900 jam 0,mem_24g_attempt_fail_flag
+052b 20402659 call g24_transmit_next_packet
+052c 5fffffff setarg -1
+052d 67e2485f store 4,mem_24g_enter_hibernate
+052e 58000000 setarg 0
+052f 67e3c8d4 store 7,mem_mouse_key
+0530 704bf201 jam 1,mem_sensor_shutdown_flag
+0531 20200537 branch p_g24_long_sleep
 
 p_g24_nodata_transmit:
-04e7 6fe0c8ab fetch 1,mem_24g_abort_pac
-04e8 205a04f6 call p_g24_send_abort_packet,blank
-04e9 6fe0c8c1 fetch 1,mem_24g_transmit_by_interrupt
-04ea c1008000 rtneq g24_tx_timer_int_enable
-04eb 204026a6 call g24_search_receiver
+0532 6fe0c8ab fetch 1,mem_24g_abort_pac
+0533 205a0541 call p_g24_send_abort_packet,blank
+0534 6fe0c8c1 fetch 1,mem_24g_transmit_by_interrupt
+0535 c1008000 rtneq g24_tx_timer_int_enable
+0536 204026a6 call g24_search_receiver
 
 p_g24_long_sleep:
-04ec 204026c2 call g24_lpm_wait
-04ed 24740000 nrtn user
-04ee 204026cb call g24_setgpio_lpm_before
-04ef 704c4e00 jam 0,mem_sleep_miss
-04f0 704d1401 jam 1,mem_long_sleep_flag
-04f1 204000c8 call p_send_time_long_wake
-04f2 6fe0cbf2 fetch 1,mem_sensor_shutdown_flag
-04f3 245a3e6a ncall mouse_setgpio_hibernate,blank
-04f4 6fe2485f fetch 4,mem_24g_enter_hibernate
-04f5 202026bf branch g24_long_sleep2
+0537 204026c2 call g24_lpm_wait
+0538 24740000 nrtn user
+0539 204026cb call g24_setgpio_lpm_before
+053a 704c4e00 jam 0,mem_sleep_miss
+053b 704d1401 jam 1,mem_long_sleep_flag
+053c 204000cc call p_send_time_long_wake
+053d 6fe0cbf2 fetch 1,mem_sensor_shutdown_flag
+053e 245a3e6a ncall mouse_setgpio_hibernate,blank
+053f 6fe2485f fetch 4,mem_24g_enter_hibernate
+0540 202026bf branch g24_long_sleep2
 
 p_g24_send_abort_packet:
-04f6 70483901 jam type_ms,mem_24g_data_type
-04f7 7048ab01 jam 1,mem_24g_abort_pac
-04f8 20402649 call g24_transmit_rf_ctrl_clear
-04f9 67e0c7c9 store 1,mem_24g_txbuf
-04fa 58000000 setarg 0
-04fb 67e3c7ca store 7,mem_24g_txbuf+1
-04fc 6fe248ad fetch 4,mem_24g_device_addr
-04fd 67e247d1 store 4,mem_24g_txbuf+8
-04fe 7048380c jam 12,mem_24g_datalen
-04ff 6fe0c839 fetch 1,mem_24g_data_type
-0500 79207e03 set1 bit_abort,pdata
-0501 67e0c839 store 1,mem_24g_data_type
-0502 20402247 call g24_transmit_prep
-0503 20200148 branch p_g24_transmit_start
+0541 70483901 jam type_ms,mem_24g_data_type
+0542 7048ab01 jam 1,mem_24g_abort_pac
+0543 20402649 call g24_transmit_rf_ctrl_clear
+0544 67e0c7c9 store 1,mem_24g_txbuf
+0545 58000000 setarg 0
+0546 67e3c7ca store 7,mem_24g_txbuf+1
+0547 6fe248ad fetch 4,mem_24g_device_addr
+0548 67e247d1 store 4,mem_24g_txbuf+8
+0549 7048380c jam 12,mem_24g_datalen
+054a 6fe0c839 fetch 1,mem_24g_data_type
+054b 79207e03 set1 bit_abort,pdata
+054c 67e0c839 store 1,mem_24g_data_type
+054d 20402247 call g24_transmit_prep
+054e 2020014c branch p_g24_transmit_start
 
 p_mouse_24g_fast_conn_attempt_fail:
-0504 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0505 c297c850 bbit1 mouse_enable_24g_first_auto_pairing,mouse_24g_start_auto_pair
-0506 c2984850 bbit1 mouse_enable_auto_24g_paring,mouse_24g_start_auto_pair
-0507 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired,mouse_24g_reconn_dongle_start
-0508 6fe24998 fetch 4,mem_mouse_24g_addr		// auto pair first time
-0509 684a4979 fetcht 4,mem_mouse_compare_addr_ff
-050a 98467c00 isub temp,null
-050b 2022850d branch p_mouse_24g_start_pair_mode,zero
-050c 20204845 branch mouse_24g_reconn_dongle_start
+054f 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0550 c297c850 bbit1 mouse_enable_24g_first_auto_pairing,mouse_24g_start_auto_pair
+0551 c2984850 bbit1 mouse_enable_auto_24g_paring,mouse_24g_start_auto_pair
+0552 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired,mouse_24g_reconn_dongle_start
+0553 6fe24998 fetch 4,mem_mouse_24g_addr		// auto pair first time
+0554 684a4979 fetcht 4,mem_mouse_compare_addr_ff
+0555 98467c00 isub temp,null
+0556 20228558 branch p_mouse_24g_start_pair_mode,zero
+0557 20204845 branch mouse_24g_reconn_dongle_start
 
 p_mouse_24g_start_pair_mode:
-050d 70488f00 jam 0,mem_24g_reconn_type
-050e 2040026d call p_mouse_24g_pair_led_blink_init
-050f 20204866 branch mouse_24g_start_pair_mode
+0558 70488f00 jam 0,mem_24g_reconn_type
+0559 20400271 call p_mouse_24g_pair_led_blink_init
+055a 20204866 branch mouse_24g_start_pair_mode
 
 p_mouse_24g_auto_pair_attempt_fail:
-0510 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0511 c317c878 bbit0 mouse_enable_24g_first_auto_pairing,mouse_24g_attempt_fail_enter_hibernate
-0512 6fe0cbc5 fetch 1,mem_device_number
-0513 c000c878 beq 1,mouse_24g_attempt_fail_enter_hibernate		//24g first mode and only 2.4g device
-0514 20204859 branch mouse_24g_first_bluetooth_reconnect
+055b 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+055c c317c878 bbit0 mouse_enable_24g_first_auto_pairing,mouse_24g_attempt_fail_enter_hibernate
+055d 6fe0cbc5 fetch 1,mem_device_number
+055e c000c878 beq 1,mouse_24g_attempt_fail_enter_hibernate		//24g first mode and only 2.4g device
+055f 20204859 branch mouse_24g_first_bluetooth_reconnect
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-0515 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0516 c31e4878 bbit0 mouse_enable_wheel_wake_up_cancel,mouse_24g_attempt_fail_enter_hibernate
-0517 202004df branch p_mouse_24g_hibernate_set
+0560 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0561 c31e4878 bbit0 mouse_enable_wheel_wake_up_cancel,mouse_24g_attempt_fail_enter_hibernate
+0562 2020052a branch p_mouse_24g_hibernate_set
 
 p_mouse_reconn_dongle_attempt_fail:
-0518 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0519 c317c878 bbit0 mouse_enable_24g_first_auto_pairing,mouse_24g_attempt_fail_enter_hibernate
-051a c289c878 bbit1 mouse_enable_eeprom,mouse_24g_attempt_fail_enter_hibernate
-051b c2894878 bbit1 mouse_enable_flash,mouse_24g_attempt_fail_enter_hibernate
-051c 20204851 branch mouse_24g_start_auto_pair+1
+0563 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0564 c317c878 bbit0 mouse_enable_24g_first_auto_pairing,mouse_24g_attempt_fail_enter_hibernate
+0565 c289c878 bbit1 mouse_enable_eeprom,mouse_24g_attempt_fail_enter_hibernate
+0566 c2894878 bbit1 mouse_enable_flash,mouse_24g_attempt_fail_enter_hibernate
+0567 20204851 branch mouse_24g_start_auto_pair+1
 
 p_mouse_le_ll_start_encryt:
-051d 6fe0cad8 fetch 1,mem_mouse_le_reconnect_flag
-051e c0008521 beq 1,p_mouse_le_ll_reconn_start_encryt
-051f 704b8714 jam 20,mem_le_start_encrypt_timer
-0520 202043b3 branch mouse_le_ll_enable_start_enc_flag
+0568 6fe0cad8 fetch 1,mem_mouse_le_reconnect_flag
+0569 c000856c beq 1,p_mouse_le_ll_reconn_start_encryt
+056a 704b8714 jam 20,mem_le_start_encrypt_timer
+056b 202043b3 branch mouse_le_ll_enable_start_enc_flag
 
 p_mouse_le_ll_reconn_start_encryt:
-0521 204043ac call mouse_updata_le_param
-0522 704b870a jam 10,mem_le_start_encrypt_timer
-0523 202043b3 branch mouse_le_ll_enable_start_enc_flag
+056c 204043ac call mouse_updata_le_param
+056d 704b870a jam 10,mem_le_start_encrypt_timer
+056e 202043b3 branch mouse_le_ll_enable_start_enc_flag
 
 p_mouse_le_parse_conn_param_accepted:
-0524 6fe082c1 fetch 1,mem_le_new_conninterval
-0525 1fe67c0c sub pdata,le_interval_15ms,null
-0526 242143c4 nbranch mouse_le_conn_param_lpm_disable,positive
-0527 6fe082c3 fetch 1,mem_le_new_connslavelatency
-0528 6848cb9b fetcht 1,mem_lpm_mult_init
-0529 98467c00 isub temp,null
-052a 202143da branch mouse_le_lpm_mult_reinit,positive
-052b 6fe082c3 fetch 1,mem_le_new_connslavelatency
-052c 67e0c177 store 1,mem_lpm_mult
-052d 202043c6 branch mouse_le_conn_param_lpm_enable
+056f 6fe082c1 fetch 1,mem_le_new_conninterval
+0570 1fe67c0c sub pdata,le_interval_15ms,null
+0571 242143c4 nbranch mouse_le_conn_param_lpm_disable,positive
+0572 6fe082c3 fetch 1,mem_le_new_connslavelatency
+0573 6848cb9b fetcht 1,mem_lpm_mult_init
+0574 98467c00 isub temp,null
+0575 202143da branch mouse_le_lpm_mult_reinit,positive
+0576 6fe082c3 fetch 1,mem_le_new_connslavelatency
+0577 67e0c177 store 1,mem_lpm_mult
+0578 202043c6 branch mouse_le_conn_param_lpm_enable
 
 p_mouse_le_conn_param_update_rsp_recieved:
-052e 6fe0ccbd fetch 1,mem_mouse_le_send_conn_param_update
-052f 247a0000 nrtn blank
-0530 704cbd01 jam 1,mem_mouse_le_send_conn_param_update
-0531 704cbe1e jam 30,mem_mouse_le_send_conn_param_update_timer
-0532 20600000 rtn
+0579 6fe0ccbd fetch 1,mem_mouse_le_send_conn_param_update
+057a 247a0000 nrtn blank
+057b 704cbd01 jam 1,mem_mouse_le_send_conn_param_update
+057c 704cbe1e jam 30,mem_mouse_le_send_conn_param_update_timer
+057d 20600000 rtn
 
 p_mouse_le_bb_disconnected:
-0533 58000000 setarg 0
-0534 67e0ccbd store 1,mem_mouse_le_send_conn_param_update
-0535 67e0ccbe store 1,mem_mouse_le_send_conn_param_update_timer
-0536 67e0cad7 store 1,mem_mouse_le_bb_connected_flag
-0537 202043a6 branch mouse_le_bb_disconnected+7
+057e 58000000 setarg 0
+057f 67e0ccbd store 1,mem_mouse_le_send_conn_param_update
+0580 67e0ccbe store 1,mem_mouse_le_send_conn_param_update_timer
+0581 67e0cad7 store 1,mem_mouse_le_bb_connected_flag
+0582 202043a6 branch mouse_le_bb_disconnected+7
 
 p_mouse_le_bb_event_connected:
-0538 20400271 call p_mouse_device_poweron_led_config
-0539 20204390 branch mouse_le_bb_event_connected
+0583 20400275 call p_mouse_device_poweron_led_config
+0584 20204390 branch mouse_le_bb_event_connected
 
 p_mouse_bb_event_connected:
-053a 20404584 call mouse_no_data_timer_init
-053b 20400271 call p_mouse_device_poweron_led_config
-053c 2020443a branch mouse_bb_event_connected
+0585 20404584 call mouse_no_data_timer_init
+0586 20400275 call p_mouse_device_poweron_led_config
+0587 2020443a branch mouse_bb_event_connected
 
 p_g24_dispatch:
-053d c513a3e1 bmark1 mark_24g_rxmode,g24_receive_dispatch
+0588 c513a3e1 bmark1 mark_24g_rxmode,g24_receive_dispatch
 
 p_g24_transmit_dispatch:
-053e c6930000 rtnmark0 mark_24g
-053f 6fe0c8a5 fetch 1,mem_24g_conn_sm
-0540 20202624 branch g24_transmit_dispatch+2
+0589 c6930000 rtnmark0 mark_24g
+058a 6fe0c8a5 fetch 1,mem_24g_conn_sm
+058b 20202624 branch g24_transmit_dispatch+2
 
 p_g24_transmit_by_interrupt:
-0541 204022a0 call g24_timer_check
-0542 2434053e nbranch p_g24_transmit_dispatch,user
-0543 204026e2 call g24_interval_calibrate
-0544 6fe148c2 fetch 2,mem_24g_transmit_by_interrupt_exit_count
-0545 1fe0fe01 increase 1,pdata
-0546 67e148c2 store 2,mem_24g_transmit_by_interrupt_exit_count
-0547 20202628 branch g24_transmit_no_interrupt
+058c 204022a0 call g24_timer_check
+058d 24340589 nbranch p_g24_transmit_dispatch,user
+058e 204026e2 call g24_interval_calibrate
+058f 6fe148c2 fetch 2,mem_24g_transmit_by_interrupt_exit_count
+0590 1fe0fe01 increase 1,pdata
+0591 67e148c2 store 2,mem_24g_transmit_by_interrupt_exit_count
+0592 20202628 branch g24_transmit_no_interrupt
 
 p_g24_pair_dispatch:
-0548 70488f00 jam default_24g_device,mem_24g_reconn_type
-0549 6fe14bfd fetch 2,mem_24g_pair_count
-054a 1fe0fe01 increase 1,pdata
-054b 67e14bfd store 2,mem_24g_pair_count
-054c 6fe0cbfd fetch 1,mem_24g_pair_count
-054d 1fe17eff and pdata,0xff,pdata
-054e c00022f7 beq 0,g24_pair_dispatch+1
-054f 20600000 rtn
+0593 70488f00 jam default_24g_device,mem_24g_reconn_type
+0594 6fe14bfd fetch 2,mem_24g_pair_count
+0595 1fe0fe01 increase 1,pdata
+0596 67e14bfd store 2,mem_24g_pair_count
+0597 6fe0cbfd fetch 1,mem_24g_pair_count
+0598 1fe17eff and pdata,0xff,pdata
+0599 c00022f7 beq 0,g24_pair_dispatch+1
+059a 20600000 rtn
 
 p_g24_reconn_dispatch:
-0550 6fe1488d fetch 2,mem_24g_reconn_count
-0551 d84001f8 arg 0x01f8,temp
-0552 98417e00 iand temp,pdata
-0553 203a0558 branch p_g24_reconn_dispatch_next,blank
-0554 6fe1488d fetch 2,mem_24g_reconn_count
-0555 1fe0fe01 increase 1,pdata
-0556 67e1488d store 2,mem_24g_reconn_count
-0557 20600000 rtn
+059b 6fe1488d fetch 2,mem_24g_reconn_count
+059c d84001f8 arg 0x01f8,temp
+059d 98417e00 iand temp,pdata
+059e 203a05a3 branch p_g24_reconn_dispatch_next,blank
+059f 6fe1488d fetch 2,mem_24g_reconn_count
+05a0 1fe0fe01 increase 1,pdata
+05a1 67e1488d store 2,mem_24g_reconn_count
+05a2 20600000 rtn
 
 p_g24_reconn_dispatch_next:
-0558 204025a3 call g24_reconn_data_prep
-0559 20402662 call g24_transmit_receive_ack
-055a 242c0571 nbranch p_g24_reconn_device_fail,sync
-055b 24378571 nbranch p_g24_reconn_device_fail,user3
-055c 20402679 call g24_ackpayload_parse
-055d 6fe2487b fetch 4,mem_24g_pair_addr
-055e 684a483f fetcht 4,mem_24g_addr
-055f 98467c00 isub temp,null
-0560 2022a2e4 branch g24_pair_start,zero
-0561 6fe248ad fetch 4,mem_24g_device_addr
-0562 684a483f fetcht 4,mem_24g_addr
-0563 98467c00 isub temp,null
-0564 2042856d call p_g24_store_receiver_addr,zero
-0565 6fe0c8a5 fetch 1,mem_24g_conn_sm
-0566 793ffe02 set0 state_24g_reconn,pdata
-0567 67e0c8a5 store 1,mem_24g_conn_sm
-0568 58000000 setarg 0
-0569 67e14887 store 2,mem_24g_pair_timeout
-056a 67e1488d store 2,mem_24g_reconn_count
-056b 67e1488b store 2,mem_24g_reconn_timeout
-056c 2020259e branch g24_reconn_attempt_success
+05a3 204025a3 call g24_reconn_data_prep
+05a4 20402662 call g24_transmit_receive_ack
+05a5 242c05bc nbranch p_g24_reconn_device_fail,sync
+05a6 243785bc nbranch p_g24_reconn_device_fail,user3
+05a7 20402679 call g24_ackpayload_parse
+05a8 6fe2487b fetch 4,mem_24g_pair_addr
+05a9 684a483f fetcht 4,mem_24g_addr
+05aa 98467c00 isub temp,null
+05ab 2022a2e4 branch g24_pair_start,zero
+05ac 6fe248ad fetch 4,mem_24g_device_addr
+05ad 684a483f fetcht 4,mem_24g_addr
+05ae 98467c00 isub temp,null
+05af 204285b8 call p_g24_store_receiver_addr,zero
+05b0 6fe0c8a5 fetch 1,mem_24g_conn_sm
+05b1 793ffe02 set0 state_24g_reconn,pdata
+05b2 67e0c8a5 store 1,mem_24g_conn_sm
+05b3 58000000 setarg 0
+05b4 67e14887 store 2,mem_24g_pair_timeout
+05b5 67e1488d store 2,mem_24g_reconn_count
+05b6 67e1488b store 2,mem_24g_reconn_timeout
+05b7 2020259e branch g24_reconn_attempt_success
 
 p_g24_store_receiver_addr:
-056d 6fe2480f fetch 4,mem_24g_rxpayload+2
-056e 207a0000 rtn blank
-056f 67e24895 store 4,mem_24g_receiver_addr
-0570 20202587 branch g24_ch_syncword_crc8_init
+05b8 6fe2480f fetch 4,mem_24g_rxpayload+2
+05b9 207a0000 rtn blank
+05ba 67e24895 store 4,mem_24g_receiver_addr
+05bb 20202587 branch g24_ch_syncword_crc8_init
 
 p_g24_reconn_device_fail:
-0571 6fe0c890 fetch 1,mem_24g_fast_conn_enable
-0572 203a2281 branch g24_ch,blank
-0573 6fe1488d fetch 2,mem_24g_reconn_count
-0574 1fe0fe01 increase 1,pdata
-0575 67e1488d store 2,mem_24g_reconn_count
-0576 2feffe09 isolate1 9,pdata
-0577 6fe0c88f fetch 1,mem_24g_reconn_type
-0578 c002057a beq pair_and_3_0_addr,p_g24_reconn_pair_and_3_0
-0579 202025b1 branch g24_reconn_device_fail+7
+05bc 6fe0c890 fetch 1,mem_24g_fast_conn_enable
+05bd 203a2281 branch g24_ch,blank
+05be 6fe1488d fetch 2,mem_24g_reconn_count
+05bf 1fe0fe01 increase 1,pdata
+05c0 67e1488d store 2,mem_24g_reconn_count
+05c1 2feffe09 isolate1 9,pdata
+05c2 6fe0c88f fetch 1,mem_24g_reconn_type
+05c3 c00205c5 beq pair_and_3_0_addr,p_g24_reconn_pair_and_3_0
+05c4 202025b1 branch g24_reconn_device_fail+7
 
 p_g24_reconn_pair_and_3_0:
-057a 2020a57e branch g24_reconn_device_3_0_addr,true
-057b 202022ef branch g24_pair_init_param
+05c5 2020a57e branch g24_reconn_device_3_0_addr,true
+05c6 202022ef branch g24_pair_init_param
 
 p_g24_lpm_wait:
-057c 6fe0cbbb fetch 1,mem_24g_device_led_status
-057d 243a7ec7 nbranch disable_user,blank
-057e 78347c00 enable user
-057f 20401436 call lpo_calibration
-0580 6fe1c174 fetch 3,mem_clks_per_lpo
-0581 203a7ec7 branch disable_user,blank
-0582 6fe0c099 fetch 1,mem_lpm_mode
-0583 203a7ec7 branch disable_user,blank
-0584 6fe0c8c1 fetch 1,mem_24g_transmit_by_interrupt
-0585 c000fec7 beq g24_tx_timer_int_enable,disable_user
-0586 20600000 rtn
+05c7 6fe0cbbb fetch 1,mem_24g_device_led_status
+05c8 243a7ec7 nbranch disable_user,blank
+05c9 78347c00 enable user
+05ca 20401436 call lpo_calibration
+05cb 6fe1c174 fetch 3,mem_clks_per_lpo
+05cc 203a7ec7 branch disable_user,blank
+05cd 6fe0c099 fetch 1,mem_lpm_mode
+05ce 203a7ec7 branch disable_user,blank
+05cf 6fe0c8c1 fetch 1,mem_24g_transmit_by_interrupt
+05d0 c000fec7 beq g24_tx_timer_int_enable,disable_user
+05d1 20600000 rtn
 
 p_mouse_start_discovery:
-0587 6fe1478f fetch 2,mem_ui_state_map
-0588 2feffe0b isolate1 ui_state_ble_adv,pdata
-0589 2040c5c1 call mouse_stop_le_adv,true		//reconnect adv
-058a 6fe1478f fetch 2,mem_ui_state_map
-058b 2feffe07 isolate1 ui_state_bt_reconnect,pdata
-058c 2040c362 call mouse_cancel_reconnect,true
-058d 58000000 setarg 0
-058e 67e14b03 store 2,mem_le_battery_level_updata_timer
-058f 20404354 call mouse_bluetooth_fast_conn_disable
-0590 6fe1478f fetch 2,mem_ui_state_map
-0591 c285859a bbit1 ui_state_ble_adv,p_mouse_start_discovery_norandom
-0592 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-0593 c304059a bbit0 mouse_enable_ble_random_addre,p_mouse_start_discovery_norandom
-0594 6849499c fetcht 2,mem_random_addr_increase_count
-0595 18408401 increase 1,temp
-0596 6049499c storet 2,mem_random_addr_increase_count
-0597 6049437b storet 2,mem_le_lap+1
-0598 180a7e00 random pdata					//random ble addr
-0599 67e0c37a store 1,mem_le_lap
+05d2 6fe1478f fetch 2,mem_ui_state_map
+05d3 2feffe0b isolate1 ui_state_ble_adv,pdata
+05d4 2040c5c1 call mouse_stop_le_adv,true		//reconnect adv
+05d5 6fe1478f fetch 2,mem_ui_state_map
+05d6 2feffe07 isolate1 ui_state_bt_reconnect,pdata
+05d7 2040c362 call mouse_cancel_reconnect,true
+05d8 58000000 setarg 0
+05d9 67e14b03 store 2,mem_le_battery_level_updata_timer
+05da 20404354 call mouse_bluetooth_fast_conn_disable
+05db 6fe1478f fetch 2,mem_ui_state_map
+05dc c28585e5 bbit1 ui_state_ble_adv,p_mouse_start_discovery_norandom
+05dd 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+05de c30405e5 bbit0 mouse_enable_ble_random_addre,p_mouse_start_discovery_norandom
+05df 6849499c fetcht 2,mem_random_addr_increase_count
+05e0 18408401 increase 1,temp
+05e1 6049499c storet 2,mem_random_addr_increase_count
+05e2 6049437b storet 2,mem_le_lap+1
+05e3 180a7e00 random pdata					//random ble addr
+05e4 67e0c37a store 1,mem_le_lap
 
 p_mouse_start_discovery_norandom:
-059a 6fe1cada fetch 3,mem_mouse_le_lap_temp
-059b 67e1c37d store 3,mem_le_lap+3
-059c 20403297 call app_lpm_mult_disable
-059d 6fe14794 fetch 2,mem_discovery_timeout
-059e 67e14ad3 store 2,mem_mouse_discovery_timer
-059f 7000bc06 jam 6,mem_connection_options
-05a0 58000000 setarg 0
-05a1 67e14ac3 store 2,mem_mouse_no_data_timer
-05a2 67e0cb88 store 1,mem_mouse_direct_timer
-05a3 67e0cad5 store 1,mem_mouse_bluetooth_reconnect_timeout
-05a4 67e0cbb8 store 1,mem_mouse_device_poweron_timer_count
-05a5 67e0cabd store 1,mem_mouse_clear_sensor_data_flag
-05a6 d8e00002 arg mouse_store_eeprom_flag,queue
-05a7 2040472e call mouse_enable_function_flag
-05a8 20404722 call mouse_bt_discovery_button_down_disable
-05a9 6fe0cbc4 fetch 1,mem_mouse_bluetooth_type
-05aa 2feffe01 isolate1 mode_4_mouse,pdata
-05ab 2040c41f call mouse_check_51cmd_adv,true
-05ac 6fe0cbc4 fetch 1,mem_mouse_bluetooth_type
-05ad 2feffe00 isolate1 mode_3_mouse,pdata
-05ae 2040f92f call check_51cmd_start_discovery,true
-05af 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
-05b0 243a05b2 nbranch p_mouse_1i02led_discovery_led,blank
-05b1 20204919 branch mouse_discover_setting_led_gpio
+05e5 6fe1cada fetch 3,mem_mouse_le_lap_temp
+05e6 67e1c37d store 3,mem_le_lap+3
+05e7 20403297 call app_lpm_mult_disable
+05e8 6fe14794 fetch 2,mem_discovery_timeout
+05e9 67e14ad3 store 2,mem_mouse_discovery_timer
+05ea 7000bc06 jam 6,mem_connection_options
+05eb 58000000 setarg 0
+05ec 67e14ac3 store 2,mem_mouse_no_data_timer
+05ed 67e0cb88 store 1,mem_mouse_direct_timer
+05ee 67e0cad5 store 1,mem_mouse_bluetooth_reconnect_timeout
+05ef 67e0cbb8 store 1,mem_mouse_device_poweron_timer_count
+05f0 67e0cabd store 1,mem_mouse_clear_sensor_data_flag
+05f1 d8e00002 arg mouse_store_eeprom_flag,queue
+05f2 2040472e call mouse_enable_function_flag
+05f3 20404722 call mouse_bt_discovery_button_down_disable
+05f4 6fe0cbc4 fetch 1,mem_mouse_bluetooth_type
+05f5 2feffe01 isolate1 mode_4_mouse,pdata
+05f6 2040c41f call mouse_check_51cmd_adv,true
+05f7 6fe0cbc4 fetch 1,mem_mouse_bluetooth_type
+05f8 2feffe00 isolate1 mode_3_mouse,pdata
+05f9 2040f92f call check_51cmd_start_discovery,true
+05fa 6fe0cc21 fetch 1,mem_mouse_1io2led_led_enable
+05fb 243a05fd nbranch p_mouse_1i02led_discovery_led,blank
+05fc 20204919 branch mouse_discover_setting_led_gpio
 
 p_mouse_1i02led_discovery_led:
-05b2 704c3000 jam 0,mem_mouse_bt_led_recon_diff_discover_flag
-05b3 2020027b branch p_mouse_multi_led_blink_enable
+05fd 704c3000 jam 0,mem_mouse_bt_led_recon_diff_discover_flag
+05fe 2020027f branch p_mouse_multi_led_blink_enable
 
 p_mouse_stop_discovery:
-05b4 58000000 setarg 0
-05b5 67e14ad3 store 2,mem_mouse_discovery_timer
-05b6 202045b7 branch mouse_stop_discovery+1
+05ff 58000000 setarg 0
+0600 67e14ad3 store 2,mem_mouse_discovery_timer
+0601 202045b7 branch mouse_stop_discovery+1
 
 p_ui_timer_check:
-05b7 6fe0cbf4 fetch 1,mem_power_on_flag
-05b8 245a78cc ncall ui_timer_init,blank
-05b9 704bf400 jam 0,mem_power_on_flag
-05ba 202078bc branch ui_timer_check+1
+0602 6fe0cbf4 fetch 1,mem_power_on_flag
+0603 245a78cc ncall ui_timer_init,blank
+0604 704bf400 jam 0,mem_power_on_flag
+0605 202078bc branch ui_timer_check+1
 
 p_hid_rx_process:
-05bb 6fe10315 fetch 2,mem_l2cap_payload_ptr
-05bc 1fe20c00 copy pdata,contr
-05bd efe08006 ifetch 1,contr
-05be 67e0c5f8 store 1,mem_l2cap_rcv_hidtype
-05bf 1fe1040f and pdata,0x0f,temp
-05c0 1ff1fe00 rshift4 pdata,pdata //hidtype
-05c1 c00485c3 beq hid_type_set_idle,p_hid_rx_process_handshake
-05c2 20204df1 branch hid_rx_process+7
+0606 6fe10315 fetch 2,mem_l2cap_payload_ptr
+0607 1fe20c00 copy pdata,contr
+0608 efe08006 ifetch 1,contr
+0609 67e0c5f8 store 1,mem_l2cap_rcv_hidtype
+060a 1fe1040f and pdata,0x0f,temp
+060b 1ff1fe00 rshift4 pdata,pdata //hidtype
+060c c004860e beq hid_type_set_idle,p_hid_rx_process_handshake
+060d 20204df1 branch hid_rx_process+7
 
 p_hid_rx_process_handshake:
-05c3 da200001 arg 1,rega//payload length
-05c4 20404e1e call hid_malloc_tx_buff
-05c5 6fe144df fetch 2,mem_hid_ctrl_remote_cid
-05c6 e7e10005 istore 2,contw
-05c7 58000000 setarg 0
-05c8 e7e08005 istore 1,contw
-05c9 70095001 jam 1,mem_ui_data_txbuff_length
-05ca 6fe0c4e5 fetch 1,mem_hid_control_state
-05cb 79207e06 set1 l2cap_channel_hid_handshake_done,pdata
-05cc 67e0c4e5 store 1,mem_hid_control_state
-05cd 70095b12 jam bt_evt_hid_handshake,mem_fifo_temp
-05ce 202078dc branch ui_ipc_send_event
+060e da200001 arg 1,rega//payload length
+060f 20404e1e call hid_malloc_tx_buff
+0610 6fe144df fetch 2,mem_hid_ctrl_remote_cid
+0611 e7e10005 istore 2,contw
+0612 58000000 setarg 0
+0613 e7e08005 istore 1,contw
+0614 70095001 jam 1,mem_ui_data_txbuff_length
+0615 6fe0c4e5 fetch 1,mem_hid_control_state
+0616 79207e06 set1 l2cap_channel_hid_handshake_done,pdata
+0617 67e0c4e5 store 1,mem_hid_control_state
+0618 70095b12 jam bt_evt_hid_handshake,mem_fifo_temp
+0619 202078dc branch ui_ipc_send_event
 
 p_send_lmp:
-05cf 78547c00 disable user
-05d0 20405a44 call lmo_fifo_process
-05d1 6fe08048 fetch 1,mem_lmp_to_send
-05d2 207a0000 rtn blank
-05d3 c283d78e bbit1 7,send_lmp_escape
+061a 78547c00 disable user
+061b 20405a44 call lmo_fifo_process
+061c 6fe08048 fetch 1,mem_lmp_to_send
+061d 207a0000 rtn blank
+061e c283d78e bbit1 7,send_lmp_escape
 
 p_send_lmp0:
-05d4 c00385d6 beq lmp_detach,p_send_lmp_detach
-05d5 2020575f branch send_lmp0
+061f c0038621 beq lmp_detach,p_send_lmp_detach
+0620 2020575f branch send_lmp0
 
 p_send_lmp_detach:
-05d6 204058bb call send_lmp_detach
-05d7 70007278 jam 120,mem_conn_timer
-05d8 20600000 rtn
+0621 204058bb call send_lmp_detach
+0622 70007278 jam 120,mem_conn_timer
+0623 20600000 rtn
 
 p_le_slave_match:
-05d9 6fe0c3dd fetch 1,mem_le_md_count
-05da 1fe0fe01 pincrease 1
-05db 67e0c3dd store 1,mem_le_md_count
-05dc c0061606 beq le_md_max_count,le_slave_cont
-05dd 204018c7 call le_acknowledge
-05de 20401916 call le_prepare_tx
-05df 6fe082bd fetch 1,mem_le_tx_phy
-05e0 20401637 call le_enable_phy_by_pdata
-05e1 204017e4 call le_transmit
-05e2 20201601 branch le_slave_match+10
+0624 6fe0c3dd fetch 1,mem_le_md_count
+0625 1fe0fe01 pincrease 1
+0626 67e0c3dd store 1,mem_le_md_count
+0627 c0061606 beq le_md_max_count,le_slave_cont
+0628 204018c7 call le_acknowledge
+0629 20401916 call le_prepare_tx
+062a 6fe082bd fetch 1,mem_le_tx_phy
+062b 20401637 call le_enable_phy_by_pdata
+062c 204017e4 call le_transmit
+062d 20201601 branch le_slave_match+10
 
 p_le_slave_unsync:
-05e3 20400e7c call end_of_packet
-05e4 2020160d branch le_slave_unsync+1
+062e 20400e7c call end_of_packet
+062f 2020160d branch le_slave_unsync+1
 
 p_le_parse_l2cap:
-05e5 efe10006 ifetch 2,contr
-05e6 c00205e8 beq le_l2cap_cid_att,p_le_parse_att
-05e7 20201990 branch le_parse_l2cap+10
+0630 efe10006 ifetch 2,contr
+0631 c0020633 beq le_l2cap_cid_att,p_le_parse_att
+0632 20201990 branch le_parse_l2cap+10
 
 p_le_parse_att:
-05e8 efe18006 ifetch 3,contr
-05e9 67e1c436 store 3,mem_le_att_opcode
-05ea c00505ed beq attop_read_request,p_le_parse_att_read_request
-05eb c00905fc beq attop_write_request,p_le_parse_att_write_request
-05ec 20201c7f branch le_parse_att+2
+0633 efe18006 ifetch 3,contr
+0634 67e1c436 store 3,mem_le_att_opcode
+0635 c0050638 beq attop_read_request,p_le_parse_att_read_request
+0636 c0090647 beq attop_write_request,p_le_parse_att_write_request
+0637 20201c7f branch le_parse_att+2
 
 p_le_parse_att_read_request:
-05ed 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
-05ee c31d9d93 bbit0 mouse_enable_le_battery_service_cancel,le_parse_att_read_request
-05ef 20401e39 call le_check_encrypt_state
-05f0 68494437 fetcht 2,mem_le_att_handle
-05f1 6fe0c3c0 fetch 1,mem_le_configuration
-05f2 c28185f7 bbit1 bit_ble_read_auth,p_le_send_att_read_response_check_auth
+0638 6fe44bbc fetch mouse_flag_len,mem_mouse_flag
+0639 c31d9d93 bbit0 mouse_enable_le_battery_service_cancel,le_parse_att_read_request
+063a 20401e39 call le_check_encrypt_state
+063b 68494437 fetcht 2,mem_le_att_handle
+063c 6fe0c3c0 fetch 1,mem_le_configuration
+063d c2818642 bbit1 bit_ble_read_auth,p_le_send_att_read_response_check_auth
 
 p_le_send_att_read_response:
-05f3 6fe14437 fetch 2,mem_le_att_handle
-05f4 c0181e74 beq 0x30,le_send_att_error_response_notfound
-05f5 68494437 fetcht 2,mem_le_att_handle
-05f6 20201d97 branch le_send_att_read_response
+063e 6fe14437 fetch 2,mem_le_att_handle
+063f c0181e74 beq 0x30,le_send_att_error_response_notfound
+0640 68494437 fetcht 2,mem_le_att_handle
+0641 20201d97 branch le_send_att_read_response
 
 p_le_send_att_read_response_check_auth:
-05f7 6fe143d1 fetch 2,mem_le_pairing_handle
-05f8 98467c00 isub temp,null
-05f9 242285f3 nbranch p_le_send_att_read_response,zero
-05fa 243405f3 nbranch p_le_send_att_read_response,user
-05fb 20201dbc branch le_send_att_read_response_error_insufficient_auth
+0642 6fe143d1 fetch 2,mem_le_pairing_handle
+0643 98467c00 isub temp,null
+0644 2422863e nbranch p_le_send_att_read_response,zero
+0645 2434063e nbranch p_le_send_att_read_response,user
+0646 20201dbc branch le_send_att_read_response_error_insufficient_auth
 
 p_le_parse_att_write_request:
-05fc 18c22200 copy contr,rega
-05fd 6fe143d4 fetch 2,mem_le_l2cap_size
-05fe 1fe0a5fd add pdata,-3,regb
-05ff 204019d1 call le_writeatt_cb
-0600 6fe0cad2 fetch 1,mem_mouse_bluetooth_fast_conn_flag
-0601 c07f9e1f beq 0xff,le_send_att_write_response_check_auth
-0602 6fe0cad8 fetch 1,mem_mouse_le_reconnect_flag
-0603 203a1e1f branch le_send_att_write_response_check_auth,blank
-0604 6fe0cb86 fetch 1,mem_le_connect_status_flag
-0605 c2809e1f bbit1 ll_start_enc_flag,le_send_att_write_response_check_auth
-0606 5800001a setarg 0x001a
-0607 68494437 fetcht 2,mem_le_att_handle
-0608 98467c00 isub temp,null
-0609 24229e1f nbranch le_send_att_write_response_check_auth,zero
-060a 20201dbc branch le_send_att_read_response_error_insufficient_auth
+0647 18c22200 copy contr,rega
+0648 6fe143d4 fetch 2,mem_le_l2cap_size
+0649 1fe0a5fd add pdata,-3,regb
+064a 204019d1 call le_writeatt_cb
+064b 6fe0cad2 fetch 1,mem_mouse_bluetooth_fast_conn_flag
+064c c07f9e1f beq 0xff,le_send_att_write_response_check_auth
+064d 6fe0cad8 fetch 1,mem_mouse_le_reconnect_flag
+064e 203a1e1f branch le_send_att_write_response_check_auth,blank
+064f 6fe0cb86 fetch 1,mem_le_connect_status_flag
+0650 c2809e1f bbit1 ll_start_enc_flag,le_send_att_write_response_check_auth
+0651 5800001a setarg 0x001a
+0652 68494437 fetcht 2,mem_le_att_handle
+0653 98467c00 isub temp,null
+0654 24229e1f nbranch le_send_att_write_response_check_auth,zero
+0655 20201dbc branch le_send_att_read_response_error_insufficient_auth
 
 p_power_ctrl_start:
-060b 6fe1478f fetch 2,mem_ui_state_map
-060c c3858000 rtnbit1 ui_state_ble_adv
-060d c3838000 rtnbit1 ui_state_bt_reconnect
-060e c3830000 rtnbit1 ui_state_bt_discovery
-060f 20400616 call p_rssi_sort
-0610 20400613 call p_rssi_average
-0611 6048c8cb storet 1,mem_rssi_avg_received
-0612 202026fd branch power_ctrl_rssi_avg_compare
+0656 6fe1478f fetch 2,mem_ui_state_map
+0657 c3858000 rtnbit1 ui_state_ble_adv
+0658 c3838000 rtnbit1 ui_state_bt_reconnect
+0659 c3830000 rtnbit1 ui_state_bt_discovery
+065a 20400661 call p_rssi_sort
+065b 2040065e call p_rssi_average
+065c 6048c8cb storet 1,mem_rssi_avg_received
+065d 202026fd branch power_ctrl_rssi_avg_compare
 
 p_rssi_average:
-0613 da204c99 arg mem_mouse_rssi_signal_buf_temp+4,rega
-0614 dfe0000a arg 10,pdata
-0615 202025d4 branch rssi_average+2
+065e da204c99 arg mem_mouse_rssi_signal_buf_temp+4,rega
+065f dfe0000a arg 10,pdata
+0660 202025d4 branch rssi_average+2
 
 p_rssi_sort:
-0616 2040061c call p_memcpy16
-0617 da404c95 arg mem_mouse_rssi_signal_buf_temp,regb
-0618 6fe0c881 fetch 1,mem_rssi_buff_index
-0619 1fe0fe01 increase 1,pdata
-061a 1fe27200 copy pdata,loopcnt
-061b 2020061f branch p_bubble_sort
+0661 20400667 call p_memcpy16
+0662 da404c95 arg mem_mouse_rssi_signal_buf_temp,regb
+0663 6fe0c881 fetch 1,mem_rssi_buff_index
+0664 1fe0fe01 increase 1,pdata
+0665 1fe27200 copy pdata,loopcnt
+0666 2020066a branch p_bubble_sort
 
 p_memcpy16:
-061c d8c04c85 arg mem_mouse_rssi_signal_buf_patch,contr
-061d d8a04c95 arg mem_mouse_rssi_signal_buf_temp,contw
-061e 20207d7f branch memcpy16
+0667 d8c04c85 arg mem_mouse_rssi_signal_buf_patch,contr
+0668 d8a04c95 arg mem_mouse_rssi_signal_buf_temp,contw
+0669 20207d7f branch memcpy16
 
 p_bubble_sort:
-061f 1f20f3ff increase -1,loopcnt
-0620 1f227e00 deposit loopcnt
-0621 207a0000 rtn blank
+066a 1f20f3ff increase -1,loopcnt
+066b 1f227e00 deposit loopcnt
+066c 207a0000 rtn blank
 
 p_external_loop:
-0622 1f222200 copy loopcnt,rega
-0623 1a20a3ff increase -1,rega
-0624 1a420c00 copy regb,contr
+066d 1f222200 copy loopcnt,rega
+066e 1a20a3ff increase -1,rega
+066f 1a420c00 copy regb,contr
 
 p_internal_loop:
-0625 efe08006 ifetch 1,contr
-0626 18c20a00 copy contr,contw
-0627 e8408006 ifetcht 1,contr
-0628 98467c00 isub temp,null
-0629 2040062f call p_sort_up
-062a 18c08dff increase -1,contr
-062b 1a20a3ff increase -1,rega
-062c 20210625 branch p_internal_loop,positive
-062d c2000622 loop p_external_loop
-062e 20600000 rtn
+0670 efe08006 ifetch 1,contr
+0671 18c20a00 copy contr,contw
+0672 e8408006 ifetcht 1,contr
+0673 98467c00 isub temp,null
+0674 2040067a call p_sort_up
+0675 18c08dff increase -1,contr
+0676 1a20a3ff increase -1,rega
+0677 20210670 branch p_internal_loop,positive
+0678 c200066d loop p_external_loop
+0679 20600000 rtn
 
 p_sort_up:
-062f 20410631 call p_exchange_data,positive
-0630 20600000 rtn
+067a 2041067c call p_exchange_data,positive
+067b 20600000 rtn
 
 p_exchange_data:
-0631 18a08bff increase -1,contw
-0632 e0408005 istoret 1,contw
-0633 e7e08005 istore 1,contw
-0634 20600000 rtn
+067c 18a08bff increase -1,contw
+067d e0408005 istoret 1,contw
+067e e7e08005 istore 1,contw
+067f 20600000 rtn
 
 p_mouse_adc_read_start:
-0635 6fe0cbbb fetch 1,mem_24g_device_led_status
-0636 247a0000 nrtn blank
-0637 7048fa00 jam 0,mem_adc_read_timer
-0638 20406166 call enable_adc
-0639 2040618d call vdd_calculate_by_mode
-063a 67e148ed store 2,mem_mouse_vdd_now_vol
-063b 6fe0c4a2 fetch 1,mem_adc_config_flag
-063c c0810643 bne adc_config_gpio, p_mouse_adc_data_process
-063d 684948ed fetcht 2,mem_mouse_vdd_now_vol	// bat= 1.5v, r = 200k, a = a*1.8
-063e 184ffe08 mul32 temp,8,pdata
-063f 1fe6fc0a div pdata,10
-0640 20407e61 call get_div_result
-0641 9840fe00 iadd temp,pdata
-0642 67e148ed store 2,mem_mouse_vdd_now_vol
+0680 6fe0cbbb fetch 1,mem_24g_device_led_status
+0681 247a0000 nrtn blank
+0682 7048fa00 jam 0,mem_adc_read_timer
+0683 20406166 call enable_adc
+0684 2040618d call vdd_calculate_by_mode
+0685 67e148ed store 2,mem_mouse_vdd_now_vol
+0686 6fe0c4a2 fetch 1,mem_adc_config_flag
+0687 c081068e bne adc_config_gpio, p_mouse_adc_data_process
+0688 684948ed fetcht 2,mem_mouse_vdd_now_vol	// bat= 1.5v, r = 200k, a = a*1.8
+0689 184ffe08 mul32 temp,8,pdata
+068a 1fe6fc0a div pdata,10
+068b 20407e61 call get_div_result
+068c 9840fe00 iadd temp,pdata
+068d 67e148ed store 2,mem_mouse_vdd_now_vol
 
 p_mouse_adc_data_process:
-0643 da2048e7 arg mem_mouse_vdd_calculate_set,rega
-0644 20403f1a call mouse_adc_bat_percent_lowpower_out
-0645 6fe0c4a6 fetch 1,mem_adc_power_flag
-0646 c2813f5c bbit1 2,mouse_adc_button_press
-0647 c2808649 bbit1 1,p_mouse_power_down
-0648 20203f0d branch mouse_adc_data_process+5
+068e da2048e7 arg mem_mouse_vdd_calculate_set,rega
+068f 20403f1a call mouse_adc_bat_percent_lowpower_out
+0690 6fe0c4a6 fetch 1,mem_adc_power_flag
+0691 c2813f5c bbit1 2,mouse_adc_button_press
+0692 c2808694 bbit1 1,p_mouse_power_down
+0693 20203f0d branch mouse_adc_data_process+5
 
 p_mouse_power_down:
-0649 6fe0cd49 fetch 1,mem_mouse_low_power_off_timer
-064a 247a0000 nrtn blank
-064b 704d490a jam 10,mem_mouse_low_power_off_timer
-064c 20600000 rtn
+0694 6fe0cdb6 fetch 1,mem_mouse_low_power_off_timer
+0695 247a0000 nrtn blank
+0696 704db60a jam 10,mem_mouse_low_power_off_timer
+0697 20600000 rtn
 
 p_mouse_motion:
-064d 78547c00 disable user
-064e 58000000 setarg 0
-064f 67e348d5 store 6,mem_mouse_x
-0650 20404280 call mouse_check_sensor_data
-0651 2040065f call p_mouse_data_zoom
-0652 58000089 setarg 0x0089
-0653 20405d5e call twspi_write
-0654 204003fb call p_mouse_seting_sensor_type
-0655 20403fbe call mouse_zwheel
-0656 20403fc3 call mouse_t_zwheel
-0657 20400689 call p_mouse_key
-0658 6fe0c8d4 fetch 1,mem_mouse_key
-0659 1fe17e1f and_into 0x1f,pdata
-065a 67e0c8d4 store 1,mem_mouse_key
-065b 24340681 nbranch p_mouse_low_power_led_delay_off,user
-065c 2040067e call p_mouse_work_state_flag
-065d 20400686 call p_mouse_drawing_optima
-065e 20204584 branch mouse_no_data_timer_init
-
-p_mouse_data_zoom:
-065f 6fe0c92c fetch 1,mem_config_sensor_type
-0660 c1818000 rtnne p3212
-0661 6fe0c997 fetch 1,mem_mouse_dpi
-0662 c1810000 rtnne mouse_dpi_level3
-0663 6fe148d5 fetch 2,mem_mouse_x
-0664 2040066a call p_mouse_zoom
-0665 67e148d5 store 2,mem_mouse_x
-0666 6fe148d7 fetch 2,mem_mouse_y
-0667 2040066a call p_mouse_zoom
-0668 67e148d7 store 2,mem_mouse_y
-0669 20600000 rtn
-
-p_mouse_zoom:
-066a c285866d bbit1 11,p_mouse_xy_inverse
-066b c3058671 bbit0 11,p_mouse_xy_zoom
-066c 20600000 rtn
-
-p_mouse_xy_inverse:
-066d 1fe67e00 sub pdata,0,pdata
-066e 20400671 call p_mouse_xy_zoom
-066f 1fe67e00 sub pdata,0,pdata
-0670 20600000 rtn
-
-p_mouse_xy_zoom:
-0671 1fe30400 rshift pdata,temp
-0672 9840fe00 iadd temp,pdata
-0673 793ffe0e set0 14,pdata
-0674 793ffe0f set0 15,pdata
-0675 67e14d12 store 2,mem_mouse_temp_data
-0676 6fe0cd13 fetch 1,mem_mouse_temp_data+1
-0677 1fe67c07 sub pdata,0x7,null
-0678 2441067b ncall p_mouse_xy_forward_overflow,positive
-0679 6fe14d12 fetch 2,mem_mouse_temp_data
-067a 20600000 rtn
-
-p_mouse_xy_forward_overflow:
-067b 580007ff setarg 0x7ff
-067c 67e14d12 store 2,mem_mouse_temp_data
-067d 20600000 rtn
+0698 78547c00 disable user
+0699 58000000 setarg 0
+069a 67e348d5 store 6,mem_mouse_x
+069b 204006a9 call p_mouse_check_sensor_data
+069c 58000089 setarg 0x0089
+069d 20405d5e call twspi_write
+069e 2040040d call p_mouse_seting_sensor_type
+069f 20403fbe call mouse_zwheel
+06a0 20403fc3 call mouse_t_zwheel
+06a1 204006f2 call p_mouse_key
+06a2 6fe0c8d4 fetch 1,mem_mouse_key
+06a3 1fe17e1f and_into 0x1f,pdata
+06a4 67e0c8d4 store 1,mem_mouse_key
+06a5 243406e9 nbranch p_mouse_low_power_led_delay_off,user
+06a6 204006e6 call p_mouse_work_state_flag
+06a7 204006ee call p_mouse_drawing_optima
+06a8 20204584 branch mouse_no_data_timer_init
+
+p_mouse_check_sensor_data:
+06a9 6fe0c4ae fetch 1,mem_spi_write_flash_sm
+06aa c1800000 rtnne flash_sm_no_buys
+06ab 6fe0c92c fetch 1,mem_config_sensor_type
+06ac c00786ae beq p3230,p_mem_sensor_16bit_motion_check
+06ad 20204283 branch mouse_check_sensor_data+3
+
+p_mem_sensor_16bit_motion_check:
+06ae 20404304 call mouse_clear_sensor_data
+06af 6fe0c915 fetch 1,mem_sensor_motion_gpio
+06b0 c07f86b4 beq gpio_disable,p_mouse_sensor_motion_1
+06b1 6848c915 fetcht 1,mem_sensor_motion_gpio
+06b2 204060fd call gpio_get_bit
+06b3 24608000 nrtn true
+
+p_mouse_sensor_motion_1:
+06b4 58000000 setarg pan_reg_pid_l
+06b5 20405d65 call twspi_read
+06b6 c099c1f2 bne p3230_id1,mouse_twspi_reset
+
+p_mouse_sensor_motion_2:
+06b7 58000002 setarg pan_reg_motion_staus
+06b8 20405d65 call twspi_read
+06b9 c4038000 rtnbit0 7
+06ba 67e0cdb1 store 1,mem_mouse_motion_staus
+06bb 204006c0 call p_mouse_read_data_x
+06bc 204006c7 call p_mouse_data_x_extsign_check
+06bd 204006d3 call p_mouse_read_data_y
+06be 204006da call p_mouse_data_y_extsign_check
+06bf 202042c6 branch mouse_set_sensor_data_angle
+
+p_mouse_read_data_x:
+06c0 dfe00003 arg pan_reg_delta_x,pdata
+06c1 20405d65 call twspi_read
+06c2 67e0c8d5 store 1,mem_mouse_x
+06c3 58000011 setarg pan_reg_dalta_x_high
+06c4 20405d65 call twspi_read
+06c5 67e0c8d6 store 1,mem_mouse_x+1
+06c6 20600000 rtn
+
+p_mouse_data_x_extsign_check:
+06c7 6fe0cdb1 fetch 1,mem_mouse_motion_staus
+06c8 c4018000 rtnbit0 3
+06c9 6fe148d5 fetch 2,mem_mouse_x
+06ca c28786d0 bbit1 15,p_mouse_data_x_inverse_set
+06cb c30786cd bbit0 15,p_mouse_data_x_forward_overflow
+06cc 20600000 rtn
+
+p_mouse_data_x_forward_overflow:
+06cd 58007fff setarg 0x7fff
+06ce 67e148d5 store 2,mem_mouse_x
+06cf 20600000 rtn
+
+p_mouse_data_x_inverse_set:
+06d0 58008000 setarg 0x8000
+06d1 67e148d5 store 2,mem_mouse_x
+06d2 20600000 rtn
+
+p_mouse_read_data_y:
+06d3 dfe00004 arg pan_reg_delta_y,pdata
+06d4 20405d65 call twspi_read
+06d5 67e0c8d7 store 1,mem_mouse_y
+06d6 58000012 setarg pan_reg_dalta_y_high
+06d7 20405d65 call twspi_read
+06d8 67e0c8d8 store 1,mem_mouse_y+1
+06d9 20600000 rtn
+
+p_mouse_data_y_extsign_check:
+06da 6fe0cdb1 fetch 1,mem_mouse_motion_staus
+06db c4020000 rtnbit0 4
+06dc 6fe148d7 fetch 2,mem_mouse_y
+06dd c28786e3 bbit1 15,p_mouse_data_y_inverse_set
+06de c30786e0 bbit0 15,p_mouse_data_y_forward_overflow
+06df 20600000 rtn
+
+p_mouse_data_y_forward_overflow:
+06e0 58007fff setarg 0x7fff
+06e1 67e148d7 store 2,mem_mouse_y
+06e2 20600000 rtn
+
+p_mouse_data_y_inverse_set:
+06e3 58008000 setarg 0x8000
+06e4 67e148d7 store 2,mem_mouse_y
+06e5 20600000 rtn
 
 p_mouse_work_state_flag:
-067e 704cd901 jam 1,mem_low_power_led_flag
-067f 704cda00 jam 0,mem_24g_low_power_stop_blink
-0680 20600000 rtn
+06e6 704cd901 jam 1,mem_low_power_led_flag
+06e7 704cda00 jam 0,mem_24g_low_power_stop_blink
+06e8 20600000 rtn
 
 p_mouse_low_power_led_delay_off:
-0681 20404766 call mouse_drawing_optima_init
-0682 6fe0ccda fetch 1,mem_24g_low_power_stop_blink
-0683 247a0000 nrtn blank
-0684 704cda64 jam 0x64,mem_24g_low_power_stop_blink
-0685 20600000 rtn
+06e9 20404766 call mouse_drawing_optima_init
+06ea 6fe0ccda fetch 1,mem_24g_low_power_stop_blink
+06eb 247a0000 nrtn blank
+06ec 704cda64 jam 0x64,mem_24g_low_power_stop_blink
+06ed 20600000 rtn
 
 p_mouse_drawing_optima:
-0686 6fe0c92c fetch 1,mem_config_sensor_type
-0687 c1018000 rtneq p3212
-0688 20204758 branch mouse_drawing_optima
+06ee 6fe0c92c fetch 1,mem_config_sensor_type
+06ef c1018000 rtneq p3212
+06f0 c1078000 rtneq p3230
+06f1 20204758 branch mouse_drawing_optima
 
 p_mouse_key:
-0689 2040068b call p_mouse_check_key_gpio
-068a 2020411d branch mouse_key+1
+06f2 204006f4 call p_mouse_check_key_gpio
+06f3 2020411d branch mouse_key+1
 
 p_mouse_check_key_gpio:
-068b 6fe0cbf2 fetch 1,mem_sensor_shutdown_flag
-068c 245a4161 ncall mouse_check_key_gpio_once,blank
-068d da200000 arg 0,rega
-068e 20400694 call p_mouse_check_lkey_gpio
-068f 20400699 call p_mouse_check_rkey_gpio
-0690 2040069e call p_mouse_check_mkey_gpio
-0691 204006a3 call p_mouse_check_bkkey_gpio
-0692 204006b0 call p_mouse_check_fwkey_gpio
-0693 2020415e branch mouse_check_key_gpio_next
+06f4 6fe0cbf2 fetch 1,mem_sensor_shutdown_flag
+06f5 245a4161 ncall mouse_check_key_gpio_once,blank
+06f6 da200000 arg 0,rega
+06f7 204006fd call p_mouse_check_lkey_gpio
+06f8 20400702 call p_mouse_check_rkey_gpio
+06f9 20400707 call p_mouse_check_mkey_gpio
+06fa 2040070c call p_mouse_check_bkkey_gpio
+06fb 20400719 call p_mouse_check_fwkey_gpio
+06fc 2020415e branch mouse_check_key_gpio_next
 
 p_mouse_check_lkey_gpio:
-0694 6fe0c91c fetch 1,mem_lbutton_gpio
-0695 204006bd call p_mouse_gpio_config_output_high
-0696 20404164 call mouse_check_lkey_gpio
-0697 6848c91c fetcht 1,mem_lbutton_gpio
-0698 20203f96 branch mouse_gpio_config_input_pu
+06fd 6fe0c91c fetch 1,mem_lbutton_gpio
+06fe 20400726 call p_mouse_gpio_config_output_high
+06ff 20404164 call mouse_check_lkey_gpio
+0700 6848c91c fetcht 1,mem_lbutton_gpio
+0701 20203f96 branch mouse_gpio_config_input_pu
 
 p_mouse_check_rkey_gpio:
-0699 6fe0c91d fetch 1,mem_rbutton_gpio
-069a 204006bd call p_mouse_gpio_config_output_high
-069b 2040416a call mouse_check_rkey_gpio
-069c 6848c91d fetcht 1,mem_rbutton_gpio
-069d 20203f96 branch mouse_gpio_config_input_pu
+0702 6fe0c91d fetch 1,mem_rbutton_gpio
+0703 20400726 call p_mouse_gpio_config_output_high
+0704 2040416a call mouse_check_rkey_gpio
+0705 6848c91d fetcht 1,mem_rbutton_gpio
+0706 20203f96 branch mouse_gpio_config_input_pu
 
 p_mouse_check_mkey_gpio:
-069e 6fe0c91e fetch 1,mem_mbutton_gpio
-069f 204006bd call p_mouse_gpio_config_output_high
-06a0 20404170 call mouse_check_mkey_gpio
-06a1 6848c91e fetcht 1,mem_mbutton_gpio
-06a2 20203f96 branch mouse_gpio_config_input_pu
+0707 6fe0c91e fetch 1,mem_mbutton_gpio
+0708 20400726 call p_mouse_gpio_config_output_high
+0709 20404170 call mouse_check_mkey_gpio
+070a 6848c91e fetcht 1,mem_mbutton_gpio
+070b 20203f96 branch mouse_gpio_config_input_pu
 
 p_mouse_check_bkkey_gpio:
-06a3 6fe0c911 fetch 1,mem_bk_button_gpio
-06a4 c17f8000 rtneq gpio_disable
-06a5 704ba703 jam mouse_bk_key,mem_mouse_key_temp
-06a6 6fe0cba2 fetch 1,mem_mouse_bkkey_press_status
-06a7 1fe22600 copy pdata,regc
-06a8 6848c911 fetcht 1,mem_bk_button_gpio
-06a9 6fe0c914 fetch 1,mem_matrix_public_gpio
-06aa c07f86ac beq gpio_disable,p_mouse_3io6key_bk_check
-06ab 2020417e branch mouse_check_bkkey_gpio_next
+070c 6fe0c911 fetch 1,mem_bk_button_gpio
+070d c17f8000 rtneq gpio_disable
+070e 704ba703 jam mouse_bk_key,mem_mouse_key_temp
+070f 6fe0cba2 fetch 1,mem_mouse_bkkey_press_status
+0710 1fe22600 copy pdata,regc
+0711 6848c911 fetcht 1,mem_bk_button_gpio
+0712 6fe0c914 fetch 1,mem_matrix_public_gpio
+0713 c07f8715 beq gpio_disable,p_mouse_3io6key_bk_check
+0714 2020417e branch mouse_check_bkkey_gpio_next
 
 p_mouse_3io6key_bk_check:
-06ac 6fe0c911 fetch 1,mem_bk_button_gpio
-06ad 204006c0 call p_mouse_gpio_config_output_low
-06ae 6848c911 fetcht 1,mem_bk_button_gpio
-06af 2020418b branch mouse_3io6key_bk_check
+0715 6fe0c911 fetch 1,mem_bk_button_gpio
+0716 20400729 call p_mouse_gpio_config_output_low
+0717 6848c911 fetcht 1,mem_bk_button_gpio
+0718 2020418b branch mouse_3io6key_bk_check
 
 p_mouse_check_fwkey_gpio:
-06b0 6fe0c912 fetch 1,mem_fw_button_gpio
-06b1 c17f8000 rtneq gpio_disable
-06b2 704ba704 jam mouse_fw_key,mem_mouse_key_temp
-06b3 6fe0cba3 fetch 1,mem_mouse_fwkey_press_status
-06b4 1fe22600 copy pdata,regc
-06b5 6848c912 fetcht 1,mem_fw_button_gpio
-06b6 6fe0c914 fetch 1,mem_matrix_public_gpio
-06b7 c07f86b9 beq gpio_disable,p_mouse_3io6key_fw_check
-06b8 20204197 branch mouse_check_fwkey_gpio_next
+0719 6fe0c912 fetch 1,mem_fw_button_gpio
+071a c17f8000 rtneq gpio_disable
+071b 704ba704 jam mouse_fw_key,mem_mouse_key_temp
+071c 6fe0cba3 fetch 1,mem_mouse_fwkey_press_status
+071d 1fe22600 copy pdata,regc
+071e 6848c912 fetcht 1,mem_fw_button_gpio
+071f 6fe0c914 fetch 1,mem_matrix_public_gpio
+0720 c07f8722 beq gpio_disable,p_mouse_3io6key_fw_check
+0721 20204197 branch mouse_check_fwkey_gpio_next
 
 p_mouse_3io6key_fw_check:
-06b9 6fe0c912 fetch 1,mem_fw_button_gpio
-06ba 204006c0 call p_mouse_gpio_config_output_low
-06bb 6848c912 fetcht 1,mem_fw_button_gpio
-06bc 202041a4 branch mouse_3io6key_fw_check
+0722 6fe0c912 fetch 1,mem_fw_button_gpio
+0723 20400729 call p_mouse_gpio_config_output_low
+0724 6848c912 fetcht 1,mem_fw_button_gpio
+0725 202041a4 branch mouse_3io6key_fw_check
 
 p_mouse_gpio_config_output_high:
-06bd c17f8000 rtneq gpio_disable
-06be d840003f arg gpcfg_output_high,temp
-06bf 2020612c branch gpio_config_function_int
+0726 c17f8000 rtneq gpio_disable
+0727 d840003f arg gpcfg_output_high,temp
+0728 2020612c branch gpio_config_function_int
 
 p_mouse_gpio_config_output_low:
-06c0 c17f8000 rtneq gpio_disable
-06c1 d840003e arg gpcfg_output_low,temp
-06c2 2020612c branch gpio_config_function_int
+0729 c17f8000 rtneq gpio_disable
+072a d840003e arg gpcfg_output_low,temp
+072b 2020612c branch gpio_config_function_int
               org 0x800 
 
 start:
@@ -22258,6 +22401,8 @@
 42c3 1fe17e0f and pdata,0x0f,pdata
 42c4 20404317 call mouse_data_extsign_bit3
 42c5 67e0c8d8 store 1,mem_mouse_y+1
+
+mouse_set_sensor_data_angle:
 42c6 6fe0c92d fetch 1,mem_config_sensor_angle
 42c7 c00042ed beq mouse_6clk_angle,mouse_motion_6clk_direction_dispose
 42c8 c000c2f5 beq mouse_9clk_angle,mouse_motion_9clk_direction_dispose
Index: program/app_mouse.prog
===================================================================
--- /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/program/app_mouse.prog	(revision 5545)
+++ /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/program/app_mouse.prog	(working copy)
@@ -2171,6 +2171,7 @@
 	and pdata,0x0f,pdata
 	call mouse_data_extsign_bit3
 	store 1,mem_mouse_y+1
+mouse_set_sensor_data_angle:
 	fetch 1,mem_config_sensor_angle
 	beq MOUSE_6CLK_ANGLE,mouse_motion_6clk_direction_dispose
 	beq MOUSE_9CLK_ANGLE,mouse_motion_9clk_direction_dispose
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/program/patch.prog	(revision 5545)
+++ /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/program/patch.prog	(working copy)
@@ -23,6 +23,7 @@
 	beq patch18_3,p_mouse_start_work
 	beq patch18_4,p_mouse_start_reconnect_device
 	beq patch18_6,p_mouse_app_enter_hibernate
+	beq patch18_7,p_mouse_before_hibernate
 	beq patch19_0,p_mouse_setgpio_hibernate
 	beq patch19_1,p_mouse_lpm_before_common
 	beq patch19_3,p_mouse_adc_read_start
@@ -93,6 +94,8 @@
 	call p_mouse_1io2led_all_off
 	call mouse_select_device_number
 	storet 1,mem_device_flag
+	jam MULTI_LED_ON,mem_mouse_multi_led_type
+	call p_mouse_device_multi_led_on
 p_mouse_store_device_number_before_reset:	
 	jam 0,mem_link_key_exists
 	call mouse_select_device_enable
@@ -195,6 +198,7 @@
 	jam 0x02,mem_24g_tx_phy
 	jam 0x02,mem_24g_rx_phy
 	call p_mouse_seting_sensor_type
+	jam 0x06,mem_store_information_delay_timer_init
 	call mouse_drawing_optima_init
 	call p_mouse_cb_fuction
 	call p_mouse_sensor_powerdown
@@ -1257,7 +1261,11 @@
 	call twspi_read
 	bbit1 3,mouse_app_enter_hibernate+3
 	call p_mouse_sensor_reset
-	call p_mouse_sensor_powerdown
+
+	fetch 1,mem_adc_power_flag
+	and pdata,0x02,pdata
+	ncall p_mouse_sensor_powerdown,blank
+	// call p_mouse_sensor_powerdown
 	branch mouse_app_enter_hibernate+3
 
 p_mouse_om16_enter_hibernate:
@@ -1275,11 +1283,6 @@
 	nop 12000
 	rtn
 
-// p_clear_wake:
-// 	setarg 0
-// 	set1 19,pdata	//enable ice low wakeup
-// 	store 8,mem_gpio_wakeup_low
-// 	rtn
 
 p_mouse_setgpio_hibernate:
 	call mouse_set_sdio_high
@@ -1303,9 +1306,20 @@
 	call mouse_gpio_config_input_pu
 	call p_mouse_gpio_set_high_impedance
 	call p_mouse_adc_gpio_set_before_hibernate
-	call p_mouse_wheel_gpio_set_before_hibernate
-	rtn
+	branch p_mouse_wheel_gpio_set_before_hibernate
 
+p_mouse_before_hibernate:
+	fetch 4,core_lpm_ctrl
+	set1 26,pdata
+	store 4,core_lpm_reg
+	call lpm_write_ctrl
+	call disable_authrom
+	call mouse_device_led_all_off
+	call mouse_before_hibernate_wheel_gpio_set
+	call mouse_setgpio_hibernate
+	call mouse_flash_power_down
+	fetcht 1,mem_spi_si_gpio
+	branch gpio_config_input_without_wake
 
 p_mouse_gpio_set_high_impedance:
 	fetch 3,mem_mouse_set_high_impedance_bit_set
@@ -1358,11 +1372,7 @@
 	fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
 	arg gpcfg_output_high,temp
  	call gpio_config_function_int
-	call mouse_lpm_before_common_next
-	fetcht 1,mem_config_select_device_button_gpio
-	call gpio_clr_wake
-	fetcht 1,mem_mbutton_gpio
-	branch gpio_clr_wake
+	branch mouse_lpm_before_common_next
 
 
 /////////////////////////////////////////////////dpi process start////////////////////////////////////////////
@@ -1412,6 +1422,7 @@
 p_mouse_init_sensor:
 	call mouse_read_sensor_id
 	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
+	beq P3230_ID1,p_mouse_init_p3230_id2_judge
 	beq P3065_ID1,mouse_init_p3065
 	beq PKA8G2_ID1,p_mouse_ka8g2_id2_judge
 	call mouse_twspi_reset
@@ -1443,6 +1454,13 @@
 	arg mem_sensor_P3220_init,regc
 	branch mouse_sensor_wr_seq
 
+p_mouse_init_p3230_id2_judge:
+	fetch 1,mem_sensor_id2
+	rtnne P3230_ID2
+p_mouse_p3230_init_param:
+	jam P3230,mem_config_sensor_type
+	arg mem_sensor_P3230_init,regc
+	branch mouse_sensor_wr_seq
 
 // p_delay_20ms:
 // 	arg 20,loopcnt
@@ -1621,6 +1639,7 @@
 	fetch 1,mem_config_sensor_type
 	// beq OM16,p_mouse_seting_om16_dpi
 	beq P3220,p_mouse_seting_3220_dpi
+	beq P3230,p_mouse_seting_3230_dpi
 	beq KA5857,mouse_seting_3212_dpi
 	beq P3212,mouse_seting_3212_dpi
 	branch mouse_seting_sensor_type+2
@@ -1664,6 +1683,74 @@
 	branch twspi_write
 
 
+p_mouse_seting_3230_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,p_mouse_p3230_set_cpi0		//1600
+	beq MOUSE_DPI_LEVEL2,p_mouse_p3230_set_cpi1		//3200
+	beq MOUSE_DPI_LEVEL3,p_mouse_p3230_set_cpi2		//4000
+	beq MOUSE_DPI_LEVEL4,p_mouse_p3230_set_cpi3		//800
+	rtn
+p_mouse_p3230_set_cpi0:		//1600
+	fetch 1,mem_3230_dpi_0_x
+	call p_mouse_3230_cpi_x_set
+	fetch 1,mem_3230_dpi_0_y
+	call p_mouse_3230_cpi_y_set
+	fetch 1,mem_3230_dpi_0_xh
+	call p_mouse_3230_cpi_xh_set
+	fetch 1,mem_3230_dpi_0_yh
+	branch p_mouse_3230_cpi_yh_set
+
+p_mouse_p3230_set_cpi1:		//3200
+	fetch 1,mem_3230_dpi_1_x
+	call p_mouse_3230_cpi_x_set
+	fetch 1,mem_3230_dpi_1_y
+	call p_mouse_3230_cpi_y_set
+	fetch 1,mem_3230_dpi_1_xh
+	call p_mouse_3230_cpi_xh_set
+	fetch 1,mem_3230_dpi_1_yh
+	branch p_mouse_3230_cpi_yh_set
+
+p_mouse_p3230_set_cpi2:		//4000
+	fetch 1,mem_3230_dpi_2_x
+	call p_mouse_3230_cpi_x_set
+	fetch 1,mem_3230_dpi_2_y
+	call p_mouse_3230_cpi_y_set
+	fetch 1,mem_3230_dpi_2_xh
+	call p_mouse_3230_cpi_xh_set
+	fetch 1,mem_3230_dpi_2_yh
+	branch p_mouse_3230_cpi_yh_set
+
+p_mouse_p3230_set_cpi3:		//800
+	fetch 1,mem_3230_dpi_3_x
+	call p_mouse_3230_cpi_x_set
+	fetch 1,mem_3230_dpi_3_y
+	call p_mouse_3230_cpi_y_set
+	fetch 1,mem_3230_dpi_3_xh
+	call p_mouse_3230_cpi_xh_set
+	fetch 1,mem_3230_dpi_3_yh
+	branch p_mouse_3230_cpi_yh_set
+
+p_mouse_3230_cpi_x_set:
+	store 1,mem_mouse_cpi_count
+	lshift8 pdata,pdata
+	add pdata,MOUSE_3230_DPI_XADDRESS,pdata
+  	branch twspi_write
+p_mouse_3230_cpi_y_set:
+	store 1,mem_mouse_cpi_count
+	lshift8 pdata,pdata
+	add pdata,MOUSE_3230_DPI_YADDRESS,pdata
+  	branch twspi_write
+p_mouse_3230_cpi_xh_set:
+	store 1,mem_mouse_cpi_count
+	lshift8 pdata,pdata
+	add pdata,MOUSE_3230_DPI_XHADDRESS,pdata
+  	branch twspi_write
+p_mouse_3230_cpi_yh_set:
+	store 1,mem_mouse_cpi_count
+	lshift8 pdata,pdata
+	add pdata,MOUSE_3230_DPI_YHADDRESS,pdata
+  	branch twspi_write
+
 // p_mouse_seting_om16_dpi:
 // 	fetch 1,mem_mouse_dpi
 // 	beq MOUSE_DPI_LEVEL1,p_mouse_om16_set_cpi0		//1200
@@ -1702,6 +1789,7 @@
 p_mouse_dpi_led_blink_init_new:
 	fetch 1,mem_config_sensor_type
 	beq P3220,p_mouse_dpi_led_blink_init_new2
+	beq P3230,p_mouse_dpi_led_blink_init_new2
 	beq P3212,p_mouse_dpi_led_blink_init_new2		//result:    level3: 1  2  3     level4: 2  3  4  1
 	beq KA8G2,p_mouse_dpi_led_blink_init_new2	//result:    level3: 1  2  3     level4: 2  3  4  1
 	fetcht 1,mem_mouse_dpi
@@ -1714,6 +1802,7 @@
 	iadd pdata,pdata
 	store 1,mem_mouse_multi_dpi_led_blink_count
 p_mouse_multi_dpi_led_blink_enable:
+	jam OFF,mem_dpi_led_status
 	jam 1,mem_mouse_multi_led_blink_type
 	call p_mouse_multi_dpi_led_blink_timer_init	
 	rtn 
@@ -2481,8 +2570,8 @@
 	disable user
 	setarg 0
 	store 6,mem_mouse_x
-	call mouse_check_sensor_data
-	call p_mouse_data_zoom
+	call p_mouse_check_sensor_data
+	// call p_mouse_data_zoom
 	setarg 0x0089			
 	call twspi_write
 	call p_mouse_seting_sensor_type
@@ -2497,41 +2586,83 @@
 	call p_mouse_drawing_optima
 	branch mouse_no_data_timer_init
 
-p_mouse_data_zoom:
+
+p_mouse_check_sensor_data:
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
 	fetch 1,mem_config_sensor_type
-	rtnne P3212
-	fetch 1,mem_mouse_dpi
-	rtnne MOUSE_DPI_LEVEL3
+	beq p3230,p_mem_sensor_16bit_motion_check
+	branch mouse_check_sensor_data+3
+
+
+p_mem_sensor_16bit_motion_check:
+	call mouse_clear_sensor_data
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,p_mouse_sensor_motion_1
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+p_mouse_sensor_motion_1:
+	setarg PAN_REG_PID_L
+	call twspi_read
+	bne P3230_ID1,mouse_twspi_reset
+p_mouse_sensor_motion_2:
+	setarg PAN_REG_MOTION_STAUS
+	call twspi_read
+	rtnbit0 7
+	store 1,mem_mouse_motion_staus
+	call p_mouse_read_data_x
+	call p_mouse_data_x_extsign_check
+	call p_mouse_read_data_y
+	call p_mouse_data_y_extsign_check
+	branch mouse_set_sensor_data_angle
+
+p_mouse_read_data_x:
+	arg PAN_REG_DELTA_X,pdata
+	call twspi_read
+	store 1,mem_mouse_x
+	setarg PAN_REG_DALTA_X_HIGH
+	call twspi_read
+	store 1,mem_mouse_x+1
+	rtn
+p_mouse_data_x_extsign_check:
+	fetch 1,mem_mouse_motion_staus
+	rtnbit0 3
 	fetch 2,mem_mouse_x
-	call p_mouse_zoom
+	bbit1 15,p_mouse_data_x_inverse_set
+	bbit0 15,p_mouse_data_x_forward_overflow
+	rtn
+p_mouse_data_x_forward_overflow:
+	setarg 0x7fff
 	store 2,mem_mouse_x
-	fetch 2,mem_mouse_y
-	call p_mouse_zoom
-	store 2,mem_mouse_y
 	rtn
-p_mouse_zoom:
-	bbit1 11,p_mouse_xy_inverse
-	bbit0 11,p_mouse_xy_zoom
+p_mouse_data_x_inverse_set:
+	setarg 0x8000
+	store 2,mem_mouse_x
 	rtn
-p_mouse_xy_inverse:
-	sub pdata,0,pdata
-	call p_mouse_xy_zoom
-	sub pdata,0,pdata
+
+p_mouse_read_data_y:
+	arg PAN_REG_DELTA_Y,pdata
+	call twspi_read
+	store 1,mem_mouse_y
+	setarg PAN_REG_DALTA_Y_HIGH
+	call twspi_read
+	store 1,mem_mouse_y+1
 	rtn
-p_mouse_xy_zoom:
-	rshift pdata,temp
-	iadd temp,pdata
-	set0 14,pdata
-	set0 15,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
+p_mouse_data_y_extsign_check:
+	fetch 1,mem_mouse_motion_staus
+	rtnbit0 4
+	fetch 2,mem_mouse_y
+	bbit1 15,p_mouse_data_y_inverse_set
+	bbit0 15,p_mouse_data_y_forward_overflow
+	rtn
+p_mouse_data_y_forward_overflow:
+	setarg 0x7fff
+	store 2,mem_mouse_y
+	rtn
+p_mouse_data_y_inverse_set:
+	setarg 0x8000
+	store 2,mem_mouse_y
 	rtn
 
 p_mouse_work_state_flag:
@@ -2549,6 +2680,7 @@
 p_mouse_drawing_optima:
 	fetch 1,mem_config_sensor_type
 	rtneq P3212
+	rtneq P3230
 	branch mouse_drawing_optima
 
 
Index: sched/mouse.dat
===================================================================
--- /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/sched/mouse.dat	(revision 5545)
+++ /YC1308AF/branch/mouse/ATS_Project/ATS_1066-F_196_2M/sched/mouse.dat	(working copy)
@@ -110,7 +110,7 @@
 mem_rssi_dis_max_ble_init:80
 
 mem_bk_button_gpio:07
-mem_fw_button_gpio:09
+mem_fw_button_gpio:0b
 mem_dpi_button_gpio:0a
 mem_dpi_another_button_gpio:ff
 mem_matrix_public_gpio:ff
@@ -125,18 +125,20 @@
 
 mem_lbutton_gpio:07
 mem_rbutton_gpio:0a
-mem_mbutton_gpio:09
-mem_config_select_device_button_gpio:00
+mem_mbutton_gpio:0b
+mem_config_select_device_button_gpio:0d
 mem_whee_ta_data_gpio:ff
 mem_whee_tb_data_gpio:ff
 mem_device_switch_gpio:ff
 mem_mouse_sensor_sclk_gpio:05
 mem_mouse_sensor_sdio_gpio:04
-mem_config_low_voltage_alarm_gpio:8b
+mem_config_low_voltage_alarm_gpio:09
 mem_config_device_bt2_led_gpio:ff
-mem_dpi_led_gpio:8b
+mem_dpi_led_gpio:09
 mem_firebutton_gpio:ff
 
+mem_spi_hold_gpio:ff
+
 mem_sensor_angle_default:02	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_sensor_angle_switch:02	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
 mem_config_sensor_dpi:00		#00--1200   01--1600
@@ -157,7 +159,7 @@
 mem_mouse_multi_24g_pair_led_blink_timer_init:02
 mem_mouse_multi_recon_led_blink_timer_init:05
 mem_mouse_multi_led_blink_timer_init:02
-mem_mouse_1io2led_multi_24gled:8d
+mem_mouse_1io2led_multi_24gled:80
 mem_mouse_1io2led_multi_bt1led:8e
 mem_mouse_1io2led_multi_bt2led:8f
 #1io2led multi end
@@ -218,7 +220,7 @@
 # mem_mouse_vdd_full_vol:d4 00		#4.0V
 # 00 00#81 00#mem_mouse_vdd_empty_vol  :2.6V
 # 8c 00#mem_mouse_vdd_low_vol   :2.8V
-mem_mouse_vdd_full_vol:b5 00		#4.0V
+mem_mouse_vdd_full_vol:ac 00		#4.0V
 6f 00#04 01#81 00#mem_mouse_vdd_empty_vol  :2.6V
 78 00#mem_mouse_vdd_low_vol   :2.8V
 
@@ -351,9 +353,19 @@
 64 6c   #4000
 14 16   #800
 
+mem_3230_dpi_set:
+e2 07   #1600 x
+3f 08   #1600 y
+c3 0f   #3200 x
+7e 10   #3200 y
+b4 13   #4000 x
+9d 14   #4000 y
+f1 03   #800 x
+1f 04   #800 y
+
 mem_sensor_P3220_init:
 09 5a
-26 34
+26 34   # switch to 2-wired SPI
 4b 00
 5c d4
 0d 1a
@@ -373,6 +385,54 @@
 09 00
 ff ff
 
+mem_sensor_P3230_init:
+7F 00
+09 5A
+30 00   # switch to 2-wired SPI
+0D 1A
+4E 00
+7F 01
+51 01
+55 54
+4E 02
+50 AA
+52 88
+53 AA
+66 0D
+7F 03
+00 06
+02 1B
+03 36
+29 02
+2A 47
+3B 45
+61 5B
+63 05
+01 09
+4A 04
+1B 80
+40 61
+41 76
+09 16
+0A 06
+05 30
+1A 24
+22 18
+2E 46
+4E 0C
+4F 0C
+56 4D
+45 04
+49 0C
+53 11
+54 44
+58 18
+7F 00
+4E 02
+05 31
+09 00
+ff ff
+
 mem_sensor_3212_init:
 09 5a
 26 34
