Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/format/app_mouse.format	(revision 844)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/format/app_mouse.format	(working copy)
@@ -453,6 +453,7 @@
 0x39 MOUSE_ENABLE_XY_OFFSET
 0x3a MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED
 0x3b MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
+0x3c MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
 
 //mouse dpi level
 0x00 MOUSE_DPI_LEVEL1
Index: format/regs.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/format/regs.format	(revision 844)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/format/regs.format	(working copy)
@@ -175,6 +175,7 @@
 	0x89f4 fpga_uart_rdata
 	0x89f5 fpga_uart_status
 
+	0x8921 core_rx_ctrl1
 	0x8a00 core_clkpll_ctrl0              
 	0x8a01 core_clkpll_ctrl1              
 	0x8a02 core_clkpll_ctrl2              
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/eeprom.dat	(revision 844)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/eeprom.dat	(working copy)
@@ -2,88 +2,112 @@
 02
 aa
 55
-52
-07
+46
+0c
 c2
 84
 00
-0f
+13
 c0
 00
 00
-15
+1b
+c0
+01
+80
+1f
+c0
+41
+80
+38
 c0
 45
 80
-4d
+6f
 c0
 4f
 80
-4b
+7c
 c0
 57
 00
-19
+7e
+c0
+58
+00
+63
 c0
 61
-80
-c8
+82
+0c
 c0
 63
-80
-67
+81
+31
 c0
 64
-80
-6b
+81
+35
 c0
 65
+01
+6c
+c0
+66
 00
-7a
+5f
 c0
 67
-00
-d7
+02
+1b
 c0
 68
-01
-40
+02
+84
 c0
 68
-81
-05
+82
+49
 c0
 6b
-00
-a7
+01
+9a
 c0
 6c
-81
-5d
+82
+a1
 20
 20
 13
 7c
 c0
 10
-81
-d2
+83
+0f
+c0
+19
+80
+3f
+c0
+1a
+00
+44
 c0
 43
-81
-cb
+83
+08
 c0
 6e
 81
-c4
+fc
 c0
 75
 00
-58
+fb
 c0
 71
-00
-c6
+01
+dd
 20
 20
 13
@@ -106,212 +130,324 @@
 04
 20
 40
-6d
-f3
+70
+6c
 20
 40
-00
-21
+75
+97
 20
 40
-00
-2d
+6e
+a7
 20
 40
-00
-29
+1b
+93
 20
 40
-41
-a7
+08
+3a
 20
-75
-80
-00
+40
+31
+08
 20
 40
+08
+92
+20
 40
-8e
+0b
+08
+20
+40
+0b
+7b
 20
+40
+08
+23
 20
-3b
-c5
+40
+21
+d3
+20
+40
+00
+2c
+20
+20
+08
+13
+20
+40
+14
+65
 6f
-e0
-cb
 e1
+c1
+74
 20
 7a
 00
 00
 6f
 e0
-c9
-13
-d8
-40
-00
-40
+c0
+99
 20
-40
-60
-93
+7a
+00
+00
 6f
 e0
-c9
-14
-d8
-40
-00
-40
-20
+c7
+64
 20
-60
-93
+3a
+00
+35
 6f
-f1
-01
+e0
+c6
+b9
 20
-79
-3f
-fe
-0e
-67
-f2
+7a
+00
+00
+6f
+e0
+c6
+ba
+24
+7a
+00
 00
-4c
-20
 20
-5c
-af
 20
-75
-80
+14
+ea
+70
+89
 00
+05
 20
-40
-26
-07
+00
+00
+02
+70
+89
+00
+00
+6f
+e0
+c0
+c5
+c0
+0c
+11
+68
+70
+8a
+87
+29
 20
-40
-22
-ff
 20
-40
-3f
-1e
+11
+7d
+da
 20
+09
+9e
+d8
 40
-3d
-13
+00
+0c
+58
+00
+00
+30
 20
 40
-00
-37
-68
-48
-c9
+5e
+63
 20
 20
-40
 60
+bf
+6a
 50
-20
-40
-00
-47
-20
-20
-3b
-f5
+8a
+12
+70
+8a
+12
+3d
+70
+8a
+11
+aa
+70
+8a
+0a
+0c
 6f
-e0
-c9
-24
+f0
+8a
+09
+79
+20
+7e
+07
 67
-e0
-c9
-28
-6f
-e0
-c9
+f0
+8a
+09
+70
+8a
+0b
+04
+20
+00
+00
+3c
+70
+8a
+16
+00
+70
+8a
 17
-c1
-7f
+06
+20
+40
+61
+1a
+67
+f0
+8a
+97
+70
+80
+dc
+03
+20
+00
+00
+3c
+6f
+f0
+80
+53
+79
+20
+7e
+07
+67
+f0
 80
+53
+20
 00
+03
+e8
 6f
-e0
-c9
-17
-d8
-40
+f1
+01
+50
+67
+e1
+44
+a2
+6f
+f0
+80
+53
+79
+3f
+fe
+07
+67
+f0
+80
+53
+70
+8a
+97
 00
-3e
+62
+50
+8a
+12
 20
-40
 60
-93
+00
+00
 6f
 e0
 cb
-f5
-d8
-40
+aa
+24
+7a
+00
 00
-3e
 20
 40
-60
-93
-68
-48
-c9
+00
+44
+20
+20
+3e
+bb
+6f
+e0
+83
+0d
 20
+7a
+00
+00
+1f
+e0
+ff
+ff
+67
+e0
+83
+0d
 20
 40
-3f
-56
-68
-48
-c9
+77
+c5
 20
+40
+31
+e3
 20
 40
-60
-59
-24
+31
+a4
+20
 40
-c2
+31
 aa
 20
-20
-3f
-54
-68
-48
-c9
-17
+40
+5c
+dc
+6f
+e1
+44
+6f
 20
 40
-60
-7f
-68
-48
-cb
-f5
+7e
+05
 20
 20
-60
-7f
-70
-00
-80
 00
-20
-20
-13
-b7
+63
 70
 8a
 8b
@@ -352,174 +488,130 @@
 8a
 83
 90
+70
+8a
+85
+00
+70
+89
+21
+40
 20
 20
 12
 5d
-20
-40
-26
-31
-24
-34
+70
 00
-99
+80
+00
+20
+20
+13
+b7
 20
 40
-26
-46
+6d
+f3
 20
 40
-26
-ee
-6f
-e0
-cb
-e1
-24
-3a
 00
-62
-6f
-e4
-48
-b0
-67
-e4
-48
-5c
-6f
-e1
-48
-c2
-67
-e1
-48
-c4
+91
 20
 40
-26
-bb
-24
-74
-00
 00
+89
 20
 40
-7f
-dc
-6f
-e1
-c8
-ad
-20
+41
+a7
 20
-26
-b8
-58
-00
+75
+80
 00
-06
 20
 40
-5b
-0d
-c2
-81
-be
-23
-20
-20
-3e
-21
+40
+8e
 20
 40
-42
-e9
+3d
+8a
 20
 40
-7f
-dc
+47
+28
 20
 40
+00
+b6
+20
 40
-15
-6f
-e0
-c9
-10
-c0
-7f
-80
-74
-68
-48
+42
+3c
+20
+20
+3b
 c9
-10
+6f
+f1
+01
 20
-40
-60
-69
+79
+3f
+fe
+0e
+67
+f2
+00
+4c
+20
+20
+5c
+af
 68
 48
 c9
-10
+17
 20
 40
 60
-42
+7f
 68
 48
 cb
 f5
 20
-40
-3f
-56
-6f
-e0
-c9
 20
-d8
-40
+60
+7f
+20
+75
+80
 00
-3f
 20
 40
-60
-93
+26
+07
 20
+40
+23
+0e
 20
-3e
-36
+40
+22
+ff
 20
 40
 3f
-88
-6f
-e0
-c9
-1f
-d8
+1e
+20
 40
-00
-3f
+3d
+13
 20
 40
-60
-93
-6f
-e0
-80
-a1
-79
-3f
-fe
-03
-67
-e0
-80
-a1
+00
+a0
 68
 48
 c9
@@ -527,3773 +619,2841 @@
 20
 40
 60
-42
+50
 20
 40
-5b
-04
-68
-48
-c9
-18
+00
+8d
 20
 40
-60
-36
-68
-48
-c9
-19
+00
+b0
+6f
+e4
+4b
+ab
+c3
+0c
+3b
+f5
 20
 40
-60
-36
-68
-48
+00
+b3
+20
+20
+3b
+f5
+6f
+e0
 c9
-1a
+24
+67
+e0
+c9
+28
+6f
+e0
+c9
+17
+c1
+7f
+80
+00
+6f
+e0
+c9
+17
+d8
+40
+00
+3e
 20
 40
 60
-36
-68
-48
-c9
-0d
+93
+6f
+e0
+cb
+f5
+d8
+40
+00
+3e
 20
 40
 60
-36
+93
 68
 48
 c9
-0e
+20
 20
 40
-60
-36
+3f
+56
 68
 48
 c9
-0f
 20
 20
+40
 60
-36
-70
-48
-a5
-00
-20
+59
+24
 40
-26
-52
-5f
-ff
-ff
-ff
-67
-e2
-48
-5c
+c2
+aa
+20
+20
+3f
+54
 58
 00
-00
-00
+e2
+90
 67
-e3
-c8
-d0
-70
-4b
 e1
-01
-20
-40
-42
-3c
-20
+c8
+ad
 20
+60
 00
-9f
-6f
-e0
+00
+58
+00
+17
+70
+67
+e1
 c8
-a7
+ad
 20
-5a
-26
-a7
-6f
-e0
-c8
-bd
-c1
+60
 00
-80
 00
-20
-40
-26
-9f
+58
+00
+00
+bb
+67
+e1
+48
+9b
+58
+00
+00
+d5
+67
+e1
+48
+9d
 20
 20
+3b
+d3
+c6
+93
+00
 00
-9f
 20
 40
-26
-bb
+3f
+70
 24
 74
 00
 00
 6f
+e4
+4b
+ab
+c3
+0a
+80
+c2
+6f
 e0
 cb
-e1
+8b
 24
-5a
-3e
-33
-6f
-e2
+3a
 48
-5c
-20
-40
-7d
-aa
-60
-4a
-41
-60
-20
-20
-14
-97
-1a
-62
-7e
-00
-c0
-1e
-00
-ae
-c0
-1c
-80
-ac
-c0
-1d
-00
-b5
-20
-20
-43
-36
+84
 20
 40
-45
-44
-20
-20
-48
-57
+42
+cb
 6f
-e2
-48
-3c
-67
-e2
-48
-91
-67
-e2
-49
-93
-20
-40
-25
-7e
-20
-40
-48
-c6
-20
-40
-45
-44
-20
-20
+e0
+c8
+36
+c2
+80
+80
+d1
+68
 48
-4e
+c7
+c7
 6f
 e0
 c8
-a5
-24
-3a
+d0
+98
+41
+fe
 00
-c3
-6f
+67
 e0
 c8
-8b
-c0
-01
-00
-ba
-20
-20
+d0
+68
 48
-37
+c7
+cc
 6f
-e4
-4b
-ab
-c2
-97
+e0
 c8
-11
-c2
+d5
 98
+40
+fe
+00
+67
+e0
+c8
+d5
+68
 48
-11
-c3
-1d
-48
-06
+c7
+cd
 6f
-e2
-49
-93
-68
-4a
-49
-74
+e0
+c8
+d6
 98
-46
-7c
+40
+fe
 00
-20
-22
+67
+e0
 c8
-27
-20
-20
-48
-06
-79
-3f
-80
-26
-70
-4b
-f3
-00
-20
-20
-01
-80
+d6
 70
 48
-8b
+36
+01
+da
+20
 00
+07
+da
+40
+48
+d0
 20
 20
-23
-41
+26
+e1
 6f
 e4
 4b
 ab
-c2
-97
-c8
-0a
+c4
+0b
+00
+00
 6f
 e0
-c9
-38
-c0
+ca
+ae
+20
+7a
 00
 00
-cd
-20
-20
-3d
-57
 6f
-e4
-4b
-ab
-c3
-08
-c8
-03
-20
-40
-3d
-65
-20
-34
-48
-06
-6f
-e4
-4b
-ab
-c2
-98
-48
-0c
-c3
-18
+e0
 c8
-0c
-20
-40
-41
-10
-1a
-21
-7e
-07
-20
+a7
 20
-47
-ff
-78
-54
-7c
-00
-58
-00
+7a
 00
 00
-67
-e3
-48
-d1
-20
-40
-42
-40
-20
-40
-40
-8e
-20
-40
-3f
-7e
-20
-40
-3f
-83
-20
-40
-01
-01
 6f
 e0
-c8
-d0
+cb
+a1
+1f
+e0
+fe
+01
 1f
 e1
 7e
-1f
+03
 67
 e0
-c8
-d0
+cb
+a1
 24
-34
+7a
+00
+00
+70
+4b
+a2
 00
+6f
+e0
+cb
+a2
+1f
+e0
+fe
+01
+67
+e0
+cb
+a2
+1f
 e6
+7c
+08
+24
+21
+00
+eb
 20
 40
-47
-1a
+25
+9a
 20
 40
+26
+5b
+24
+2c
 00
 f1
+24
+37
+80
+f1
 20
-20
-45
-44
+40
+48
+b5
 20
 40
-47
-28
+25
+97
 6f
-e1
-4b
-ef
+e0
+cb
+a3
 1f
 e0
 fe
 01
 67
-e1
-4b
-ef
-d8
-40
-02
-58
-98
-46
-7c
-00
-24
-62
-80
+e0
+cb
+a3
+c0
+08
 00
-58
+f3
+20
+60
 00
 00
+20
+40
+22
+cb
+20
+20
 00
-67
 e1
-4b
-ef
 70
 4b
-ea
-00
-20
-60
-00
+a3
 00
 6f
-e1
-4b
-f1
-1f
 e0
-fe
-01
-67
-e1
-4b
-f1
-d8
-40
-02
-58
-98
-46
-7c
-00
-24
-62
+cb
+a4
+c3
 80
 00
-58
-00
 00
+79
+20
+7e
 00
 67
-e1
-4b
-f1
-6f
 e0
 cb
-ea
-c1
-00
-80
-00
-70
-4b
-ea
-01
-70
-4b
-e9
-00
-70
+a4
+6f
+e1
 4b
-ec
-0b
-58
-00
-00
-00
+bc
 67
 e1
-4b
-ed
+4a
+b2
 20
-60
-00
-00
 20
-40
-41
-15
+42
+3c
 20
 40
+26
+31
+24
+34
 01
-0f
-1a
-22
-7e
-00
+8f
 20
+40
+01
+0a
 20
 40
-dd
-6f
+26
+ee
+6f
 e0
 cb
 e1
 24
-5a
-41
-21
-da
+3a
+01
+05
+6f
+e4
+48
+b0
+67
+e4
+48
+5c
+6f
+e1
+48
+c2
+67
+e1
+48
+c4
 20
+40
+26
+bb
+24
+74
 00
 00
 20
 40
-41
-24
+7f
+dc
+6f
+e1
+c8
+ad
 20
-40
-41
-2a
 20
-40
+26
+b8
+70
+48
+a6
+00
+69
+61
 01
-0c
-20
+5f
+34
+73
+02
+00
 20
-41
-1c
+40
+26
+5b
 6f
 e0
-cb
-f4
-24
-7a
-00
+c8
+2c
+c0
 00
-20
-20
-41
-30
-1a
+a6
+51
+24
+2c
+01
+22
+24
+37
+81
 22
-7e
-00
-c3
-80
-00
-00
-68
-48
-cb
-e2
 20
 40
-60
-50
-68
-48
-cb
-e2
+26
+72
 20
 40
-60
-59
+01
+15
 20
 20
-81
-1b
+26
+51
 6f
 e0
 cb
-e3
+e1
 24
-3a
+5a
 01
 19
+70
+4b
+e1
+00
 20
 60
 00
 00
-c0
-02
-01
-35
-20
-20
-01
-1b
 20
 40
-01
-38
+41
+aa
 6f
-e2
-4b
 e4
+4b
+ab
+c4
+1e
+00
+00
+6f
+e0
+c9
+13
 d8
 40
 00
-80
-98
 40
-84
-00
-1c
-42
-7e
-00
-98
-46
-7c
+20
+40
+60
+93
+6f
+e0
+c9
+14
+d8
+40
 00
+40
+20
+20
+60
+93
+6f
+e0
+c8
+a7
 24
-61
+7a
 00
 00
+6f
+e1
+48
+a3
+1f
+e0
+fe
+01
 67
-e2
-4b
-e4
+e1
+48
+a3
 6f
 e0
-cb
-e3
-c0
-00
+c8
+a4
+c2
+80
+a6
+79
+20
+40
+26
+7e
+20
+40
 01
-29
-c0
-00
-81
 2c
-c0
-01
-01
-2f
-c0
-01
-81
-32
 20
-60
-00
-00
-70
-4b
-e3
-01
-79
 20
-22
+26
+47
+6f
+e0
+c8
+a4
+1f
+e6
+7c
 00
 20
-60
-00
+61
 00
-70
-4b
-e3
-02
-79
-3f
-a2
 00
+df
 20
-60
-00
 00
-70
-4b
-e3
-03
-79
+28
 20
-22
-00
 20
-60
-00
-00
-70
-4b
-e3
-04
-79
-3f
-a2
-00
-20
-60
-00
-00
-70
-4b
-e3
+7d
+13
+58
 00
-79
-3f
-a2
 00
+06
 20
-60
-00
-00
-68
-4a
-4b
-e4
-1c
-42
-7e
-00
-98
-46
-7c
-00
-24
-41
-01
-3d
+40
+5b
+0d
+c2
+81
+be
+23
 20
-60
-00
-00
-58
-00
-00
-00
-67
-e2
-4b
-e4
 20
-60
-00
-00
+3e
+21
 20
 40
+42
+e9
+20
 40
-8f
+7f
+dc
 20
 40
-01
-4f
+40
+15
 6f
 e0
 c9
-27
+10
 c0
-01
+7f
 81
-4a
-c0
-05
-c0
-cf
+3e
+68
+48
+c9
+10
+20
+40
+60
+69
+68
+48
+c9
+10
+20
+40
+60
+42
+68
+48
+cb
+f5
+20
+40
+3f
+56
 6f
 e0
 c9
-92
-c0
+20
+d8
+40
 00
+3f
+20
+40
+60
+93
+d8
 40
-a4
-c0
 00
-c0
-a2
-c0
-01
+03
+20
 40
-a0
+3f
+56
 20
+40
+3e
+40
 20
 40
-a2
-6f
-e0
-c9
-92
-c0
-00
+60
+82
+d8
 40
-c6
-c0
 00
-c0
-c0
-c0
+13
+20
+40
+3f
+56
+20
+40
 01
+4c
+20
 40
-c4
+01
+59
+20
 20
+01
+60
+6f
+e1
+cb
+de
+67
+e1
+89
+5c
+df
 20
+00
+14
+d8
 40
-c0
+00
+00
 6f
+e1
+89
+5c
+2f
+ef
+fe
+00
+20
+40
 e0
-c9
-23
-c1
 7f
-80
-00
 6f
 e1
-4a
-c2
-24
-7a
-00
+89
+5c
+1f
+e3
+7e
 00
-6f
+67
 e1
-48
-83
-24
-7a
+89
+5c
+18
+40
+84
+01
+c2
+00
+01
+50
+20
+60
 00
 00
 6f
-e1
-48
-87
-24
-7a
+e4
+4b
+ab
+c4
+0a
 00
 00
 6f
 e0
-cb
-a7
-24
-7a
+c8
+fd
+c1
+81
 00
 00
 6f
 e0
-cb
-c1
+c8
+fc
+d8
+40
+00
+c0
 20
-3a
-01
-af
-67
-e0
-cb
-a8
 20
 60
-00
-00
-20
-40
-3e
-9b
+93
+6f
+e4
+4b
+ab
+c4
+1e
+00
+00
+68
+48
+c9
+13
 20
 40
-49
-56
+60
+42
+68
+48
+c9
+14
 20
 40
-23
-2b
-20
+60
+42
+6f
+e0
+c9
+13
+d8
 40
-25
-56
+00
+80
 20
 40
-47
-cd
-20
+60
+93
+6f
+e0
+c9
+14
+d8
 40
-48
-be
+00
+80
 20
-40
-01
-ac
 20
-40
-01
-76
+60
+93
+68
+48
+c9
+13
 20
 40
-01
-87
+60
+50
+68
+48
+c9
+14
 20
 40
-01
-96
+60
+50
 20
 40
+3f
+88
+6f
+e0
+c9
+1f
+d8
 40
-7c
+00
+3f
 20
 40
-44
-cc
+60
+93
+6f
+e0
+80
+a1
+79
+3f
+fe
+03
+67
+e0
+80
+a1
+68
+48
+c9
 20
-40
-44
-dc
 20
 40
-44
-ff
+60
+42
 20
 40
-45
+5b
 04
+68
+48
+c9
+18
 20
 40
-45
-12
+60
+36
+68
+48
+c9
+19
 20
 40
-45
-1f
+60
+36
+68
+48
+c9
+1a
 20
 40
-45
-15
+60
+36
+68
+48
+c9
+0d
 20
 40
-45
-2a
+60
+36
+68
+48
+c9
+0e
 20
 40
-45
-2d
+60
+36
+68
+48
+c9
+0f
 20
-40
-45
-32
 20
-40
-45
-35
+60
+36
+70
+48
+a5
+00
 20
 40
-40
-22
+26
+52
+5f
+ff
+ff
+ff
+67
+e2
+48
+5c
+58
+00
+00
+00
+67
+e3
+c8
+d0
+70
+4b
+e1
+01
 20
 40
-45
-47
+42
+3c
 20
 20
 01
-a4
+94
 6f
 e0
-cb
-e9
+c8
+a7
 20
-7a
+5a
+26
+a7
+6f
+e0
+c8
+bd
+c1
 00
+80
 00
-da
-60
-4b
-eb
-da
-40
-01
-7b
 20
-20
-31
-8a
+40
+26
+9f
 20
 40
-01
-90
+26
+bb
+24
+74
+00
+00
 6f
 e0
 cb
-f3
+e1
 24
-7a
-00
-00
-70
-4b
-f3
-00
+5a
+3e
+33
+6f
+e2
+48
+5c
 20
 20
-47
-e1
-70
-4b
-eb
-1e
-70
-4b
-e9
-01
-70
-4b
-f4
-01
-68
-48
-c9
-1a
-20
-40
-60
-69
-68
-48
-c9
+26
+b8
 1a
-20
-20
-60
-69
-6f
-e0
-cb
-e9
-24
-7a
-00
-00
-6f
-e0
-cb
-ec
-20
-7a
-00
+62
+7e
 00
 c0
 00
 81
-8f
-1f
-e0
-ff
-ff
-67
-e0
-cb
-ec
+a3
+c0
+1e
+01
+c5
+c0
+1c
+81
+c3
+c0
+1d
+01
+cc
+c0
+19
+01
+af
+c0
+22
+01
+b6
+c0
+0a
+81
+a5
 20
 20
-01
-82
-70
-4b
-ec
-00
-70
-4b
-f4
-00
-68
-48
-c9
-1a
+43
+36
 20
 40
-60
-65
-20
-00
-2e
-e0
-68
-48
-c9
-1a
+45
+44
 20
 20
-3f
-56
-6f
-e0
-cb
-ea
-24
-7a
+43
+fa
+58
 00
 00
-6f
-e0
-cb
-e9
-24
-7a
 00
+67
+e1
+4a
+f2
+70
+4a
+c6
 00
-6f
+58
+00
+00
+06
+67
 e1
-4b
-ed
-1f
-e0
-fe
-01
+43
+72
 67
 e1
+43
+74
+6f
+e4
 4b
-ed
-d8
-40
-02
+ab
+c2
+8d
+c3
+66
 58
-98
-46
-7c
 00
+00
+07
 20
-42
-81
-a1
 20
-60
-00
+43
+64
+6f
+e0
+ca
+c7
+c0
 00
+81
+b3
 70
 4b
-f3
-01
+76
+14
+20
+20
+43
+73
 20
 40
-00
-fe
+43
+6c
+70
+4b
+76
+05
 20
 20
-01
-80
+43
+73
 6f
 e0
-c9
-2a
+82
+c1
+1f
+e6
+7c
+0c
+24
+21
+43
+84
+67
+e1
+43
+72
+67
+e1
+43
+74
+6f
+e0
+82
 c3
-83
-80
-00
-da
-60
-4a
-b2
-da
-40
-01
-a9
 20
+3a
+43
+9a
+68
+48
+cb
+8a
+98
+46
+7c
+00
 20
-31
-91
+21
+43
+9a
 6f
 e0
-c9
-38
-c0
-00
-00
+82
 c3
+67
+e0
+cb
+8a
 20
 20
 43
-1b
-da
-60
-4b
-a8
-da
+86
+20
 40
-01
-af
+45
+44
 20
 20
-31
-8a
-6f
-e0
-c9
-27
-c0
-01
-c8
-f2
-c0
-05
-c8
-f2
-6f
-e0
-c9
-23
-67
-e0
-c9
-2f
+48
+57
 6f
-e1
-4b
-c2
+e2
+48
+3c
 67
-e1
-49
-30
+e2
+48
+91
 67
-e1
+e2
 49
-32
-da
+93
 20
-00
-00
-68
+40
+25
+7e
+20
+40
 48
-c9
-92
-18
+c6
+20
 40
-84
-02
-18
-46
-7c
-03
+45
+44
 20
-41
-01
-be
+20
+48
+4e
+6f
+e0
+c8
+a5
 24
-41
+3a
 01
-c2
+da
+6f
+e0
+c8
+8b
+c0
+01
+01
+d1
 20
 20
 48
-ff
+37
 6f
 e4
 4b
 ab
-c4
-0e
-00
+c2
+97
+c8
+11
+c2
+98
+48
+11
+c3
+1d
+48
+06
+6f
+e2
+49
+93
+68
+4a
+49
+74
+98
+46
+7c
 00
-18
-40
-84
-01
 20
-60
-00
-00
-18
-40
-85
-fd
+22
+c8
+27
 20
-60
-00
+20
+48
+06
+79
+3f
+80
+26
+70
+4b
+f3
 00
-6f
-e0
-cb
-e1
-24
-5a
-01
-c7
 20
 20
-21
-d2
+02
+c4
 70
-4b
-ea
-01
+48
+8b
+00
+20
 20
+23
+41
+6f
+e1
+48
+89
+d8
 40
 01
-cf
-79
-20
+f8
+98
+41
+7e
 00
-26
 20
-60
-00
-00
+3a
+01
+e7
 6f
+e1
+48
+89
+1f
 e0
-cb
-e8
-24
-5a
-78
-61
-70
-4b
-e8
-00
-20
-20
-78
-51
-70
-4b
-e9
-00
-70
-4b
-ec
-0b
+fe
+01
+67
+e1
+48
+89
 20
 60
 00
 00
-70
-44
-84
-77
 20
-20
-5c
-b6
-3d
-ad
-aa
-55
 40
-00
-00
+25
+9a
+20
 40
+26
+5b
+24
+2c
 01
+ed
+24
+37
+81
+ed
+20
+40
+26
+72
+20
+20
+25
+86
+6f
+e0
+c8
+8c
+20
+3a
+22
+cb
+6f
+e1
+48
+89
+1f
+e0
+fe
+01
+67
+e1
+48
+89
+6f
+e0
+c8
+8a
+2f
+ef
+fe
+01
+6f
+e0
+c8
+8b
+c0
 00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-08
-00
-80
-00
-40
-00
-00
-88
-46
-43
-02
-00
-00
-00
-00
-00
-00
-00
-00
+a5
+ad
+c0
+01
+25
+af
+c0
+01
+a5
+b1
+c0
 02
+01
+fa
+20
+20
+25
+6e
+20
+20
+a5
+75
+20
+20
+23
+39
+c6
+1a
 00
 00
+c5
+13
+a4
+0e
+c6
+93
 00
 00
-00
-00
-00
-00
-00
-00
-00
+6f
+e0
+c8
+a1
+c2
 80
+a3
+40
+c2
+81
+25
+80
+6f
+e0
+c8
+bd
+c0
 00
-00
-00
-00
-00
-00
-00
-00
-00
-00
+82
+05
+20
+20
+26
+21
 20
-04
-04
-00
-00
-aa
-55
-01
-00
-9a
 40
-08
-aa
-55
-03
-00
-7a
-41
-88
-13
-ce
-aa
-55
+22
+ea
+24
+34
 01
-00
-c5
+fe
+20
 40
-18
-aa
-55
+26
+db
+6f
+e1
+48
+be
+1f
+e0
+fe
 01
+67
+e1
+48
+be
+20
+20
+26
+21
+6f
+e4
+4b
+ab
+c2
+97
+c8
+0a
+6f
+e0
+c9
+38
+c0
 00
-ef
-41
-ff
-aa
-55
 02
-00
-ca
+11
+20
+20
+3d
+57
+6f
+e4
+4b
+ab
+c3
+08
+c8
+03
+20
+40
+3d
+65
+20
+34
+48
+06
+6f
+e4
+4b
+ab
+c2
+98
+48
+0c
+c3
+18
+c8
+0c
+20
 40
-ef
 41
-aa
-55
-01
+10
+1a
+21
+7e
+07
+20
+20
+47
+ff
+78
+54
+7c
 00
-7d
-41
-70
-aa
-55
-01
+58
 00
-d0
-44
 00
-aa
-55
-01
 00
-ea
-41
-ff
-aa
-55
-01
-00
-ee
-41
-00
-aa
-55
-08
-00
-ab
-4b
-04
-08
-4a
-00
-00
-00
-02
-07
-aa
-55
-0c
-00
-fe
+67
+e3
 48
-b0
-04
-58
+d1
+20
+40
+42
+40
+20
+40
+40
+8e
+20
+40
+3f
+7e
+20
+40
+3f
+83
+20
+40
 02
-64
-64
-94
-85
-90
-63
-75
-80
-aa
-55
+45
+6f
+e0
+c8
+d0
+1f
+e1
+7e
+1f
+67
+e0
+c8
+d0
+24
+34
+02
+2a
+20
+40
+47
 1a
-00
-0d
-49
-0c
-0d
-0b
-08
-ff
-ff
-04
-05
-ff
-ff
-13
-0b
-0d
-0c
-ff
-ff
-ff
-ff
-07
-06
-ff
-ff
-ff
+20
+40
 02
+35
+20
+20
+45
+44
+20
+40
+47
+28
+6f
+e1
+4b
+ef
+1f
+e0
+fe
 01
+67
+e1
+4b
+ef
+d8
+40
+02
+58
+98
+46
+7c
 00
-aa
-55
-01
+24
+62
+80
 00
 58
-0b
-ff
-aa
-55
-01
-00
-f5
-4b
-03
-aa
-55
-01
 00
-e2
-4b
-0a
-aa
-55
-01
 00
-f7
-4b
-08
-aa
-55
-01
 00
-f6
+67
+e1
 4b
-02
-aa
-55
-12
-00
-cc
+ef
+70
 4b
+ea
 00
-05
-00
-04
+20
+60
 00
 00
+6f
+e1
+4b
+f1
+1f
+e0
+fe
+01
+67
+e1
+4b
+f1
+d8
+40
+02
+58
+98
+46
+7c
 00
+24
+62
+80
 00
+58
 00
 00
 00
+67
+e1
+4b
+f1
+6f
+e0
+cb
+ea
+c1
 00
+80
 00
+70
+4b
+ea
+01
+70
+4b
+e9
 00
+70
+4b
+ec
+0b
+58
 00
 00
 00
+67
+e1
+4b
+ed
+20
+60
 00
-aa
-55
-01
 00
-99
+20
+40
+41
+15
+20
 40
-01
-aa
-55
 02
+53
+1a
+22
+7e
 00
-b3
-4b
-00
-01
-aa
-55
-08
+20
+20
+40
+dd
+6f
+e0
+cb
+e1
+24
+5a
+41
+21
+da
+20
 00
-38
-49
 00
-34
-ff
-ff
-ff
-ff
-ff
-ff
-aa
-55
-07
+20
+40
+41
+24
+20
+40
+41
+2a
+20
+40
+02
+50
+20
+20
+41
+1c
+6f
+e0
+cb
+f4
+24
+7a
 00
-56
-49
-34
-ff
-ff
-ff
-ff
-ff
-ff
-aa
-55
-17
 00
-73
-49
-33
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-aa
-55
-13
+20
+20
+41
+30
+1a
+22
+7e
+00
+c3
+80
 00
-b5
-4b
 00
+68
+48
+cb
+e2
+20
 40
-0a
 60
-06
-05
-00
-64
-00
-70
-17
-14
-0a
-90
-01
-e8
-03
-90
-01
-aa
-55
+50
+68
+48
+cb
+e2
+20
+40
+60
+59
+20
+20
+82
+5f
+6f
+e0
+cb
+e3
+24
+3a
 02
+5d
+20
+60
 00
-ca
-4b
-07
-06
-aa
-55
-01
 00
 c0
-49
 02
-aa
-55
-01
-00
-fd
-48
 02
-aa
-55
-01
-00
-a1
-44
-05
-aa
-55
-06
+79
+20
+20
+02
+5f
+20
+40
+02
+7c
+6f
+e2
+4b
+e4
+d8
+40
 00
-e3
-48
-96
+80
+98
+40
+84
 00
-5a
+1c
+42
+7e
 00
-64
+98
+46
+7c
 00
-aa
-55
-0a
+24
+61
 00
-eb
-48
-10
 00
-52
+67
+e2
+4b
+e4
+6f
+e0
+cb
+e3
+c0
 00
-35
+02
+6d
+c0
 00
-21
+82
+70
+c0
+01
+02
+73
+c0
+01
+82
+76
+20
+60
 00
-25
 00
-aa
-55
+70
+4b
+e3
 01
+79
+20
+22
 00
-f7
-48
-0a
-aa
-55
-02
+20
+60
 00
-c8
-4b
-64
 00
-aa
-55
-03
-00
-de
+70
 4b
+e3
+02
+79
+3f
+a2
 00
+20
+60
 00
 00
-aa
-55
-01
-00
-ab
-4a
-ff
-aa
-55
-01
-00
-e8
+70
 4b
-01
-aa
-55
-01
+e3
+03
+79
+20
+22
 00
-77
-41
 20
-aa
-55
-01
+60
 00
-8a
+00
+70
 4b
+e3
+04
+79
+3f
+a2
+00
 20
-aa
-55
-01
+60
 00
-7d
-44
-06
-aa
-55
-06
 00
-a8
-40
-15
-a0
-c8
-12
-23
-51
-aa
-55
-0c
+70
+4b
+e3
+00
+79
+3f
+a2
 00
-fc
-45
-0b
-42
-54
-33
-2e
-30
 20
-4d
-6f
-75
-73
-65
-aa
-55
-05
+60
 00
-55
-44
-0e
 00
-01
+68
+4a
+4b
+e4
+1c
+42
+7e
 00
-02
-aa
-55
-01
+98
+46
+7c
 00
+24
 41
-46
-0a
-aa
-55
-01
+02
+81
+20
+60
 00
-64
-47
-01
-aa
-55
-01
 00
-78
-46
+58
 00
-aa
-55
-01
 00
-5f
-41
 00
-aa
-55
-03
+67
+e2
+4b
+e4
+20
+60
 00
-65
-47
-03
 00
-04
-aa
-55
+20
+40
+40
+8f
+20
+40
+02
+93
+6f
+e0
+c9
+27
+c0
 01
-00
+82
 8e
-47
-01
-aa
-55
-01
+c0
+05
+c0
+cf
+6f
+e0
+c9
+92
+c0
 00
-d8
 40
+a4
+c0
+00
+c0
+a2
+c0
 01
-aa
-55
-0c
+40
+a0
+20
+20
+40
+a2
+6f
+e0
+c9
+92
+c0
 00
-e7
-43
-1f
-02
+40
+c6
+c0
+00
+c0
+c0
+c0
 01
-05
-03
-03
-12
-18
-03
-19
-c2
-03
-aa
-55
-14
+40
+c4
+20
+20
+40
+c0
+6f
+e0
+c9
+23
+c1
+7f
+80
 00
-d2
+6f
+e1
 4a
-06
-ff
-06
+c2
+24
+7a
 00
-03
 00
-80
-0c
-09
-42
-54
-35
-2e
-32
-20
-4d
 6f
-75
-73
-65
-aa
-55
-0e
+e1
+48
+83
+24
+7a
 00
-07
-44
-1f
-0c
-09
-42
-54
-35
-2e
-32
-20
-4d
-6f
-75
-73
-65
-aa
-55
-0c
 00
-f7
-42
-0b
-42
-54
-35
-2e
-32
-20
-4d
 6f
-75
-73
-65
-aa
-55
-08
+e1
+48
+87
+24
+7a
 00
-72
-43
-07
 00
-07
+6f
+e0
+cb
+a7
+24
+7a
+00
 00
+6f
+e0
+cb
+c1
+20
+3a
+02
+f3
+67
+e0
+cb
+a8
 20
+60
 00
-2c
-01
-aa
-55
-06
 00
+20
+40
+3e
+9b
+20
+40
+49
+56
+20
+40
+23
+2b
+20
+40
+25
+56
+20
+40
+47
+cd
+20
+40
+48
+be
+20
+40
+02
+f0
+20
+40
+02
+ba
+20
+40
+02
+cb
+20
+40
+02
+da
+20
+40
+40
+7c
+20
+40
+44
 cc
-4a
-03
-12
-18
+20
+40
+44
+dc
+20
+40
+44
 ff
-00
-00
-aa
-55
+20
+40
+45
 04
+20
+40
+45
+12
+20
+40
+45
+1f
+20
+40
+45
+15
+20
+40
+45
+2a
+20
+40
+45
+2d
+20
+40
+45
+32
+20
+40
+45
+35
+20
+40
+40
+22
+20
+40
+45
+47
+20
+20
+02
+e8
+6f
+e0
+cb
+e9
+20
+7a
 00
-28
-44
 00
+da
+60
+4b
+eb
+da
+40
+02
+bf
+20
+20
+31
+8a
+20
+40
+02
+d4
+6f
+e0
+cb
+f3
+24
+7a
 00
 00
+70
+4b
+f3
 00
-aa
-55
+20
+20
+47
+e1
+70
+4b
+eb
+1e
+70
+4b
+e9
 01
-00
-32
-44
-07
-aa
-55
-08
-00
-4c
-44
-fb
-00
-48
-08
-fb
-00
+70
+4b
+f4
+01
+68
 48
-08
-aa
-55
-06
-00
+c9
+1a
+20
+40
+60
+69
+68
+48
+c9
+1a
+20
+20
+60
+69
+6f
+e0
+cb
+e9
+24
 7a
-43
-8e
-b1
-3a
-0e
-8e
-ed
-aa
-55
-02
 00
-e7
-4a
-15
 00
-aa
-55
-02
+6f
+e0
+cb
+ec
+20
+7a
 00
-57
-43
-19
 00
-aa
-55
-06
+c0
 00
-e9
-4a
-1d
+82
+d3
+1f
+e0
+ff
+ff
+67
+e0
+cb
+ec
+20
+20
+02
+c6
+70
+4b
+ec
 00
-21
+70
+4b
+f4
 00
-30
+68
+48
+c9
+1a
+20
+40
+60
+65
+20
 00
-aa
-55
-02
+2e
+e0
+68
+48
+c9
+1a
+20
+20
+3f
+56
+6f
+e0
+cb
+ea
+24
+7a
 00
-d1
-43
-2d
 00
-aa
-55
-01
+6f
+e0
+cb
+e9
+24
+7a
 00
-f0
-4a
-96
-aa
-55
-01
 00
-86
-44
-ff
-aa
-55
+6f
+e1
+4b
+ed
+1f
+e0
+fe
 01
+67
+e1
+4b
+ed
+d8
+40
+02
+58
+98
+46
+7c
 00
-90
-47
-ff
-aa
-55
-01
+20
+42
+82
+e5
+20
+60
 00
-8f
-47
-1e
-aa
-55
-0c
 00
-d0
-49
-03
-04
+70
+4b
+f3
 01
+20
+40
 02
+42
 20
+20
+02
+c4
+6f
+e0
+c9
 2a
-3f
-15
-06
-0c
-10
-04
-aa
-55
-a2
-00
-df
-49
-09
-5a
-26
-34
-19
-04
-09
+c3
+83
+80
 00
-ff
-ff
-09
-5a
-0d
-f0
-1d
-e3
-7d
-d2
-ff
-ff
-09
-5a
-0d
-10
-1d
+da
+60
+4a
+b2
+da
+40
+02
 ed
-7d
-80
-ff
-ff
-1b
-35
-28
-b4
-29
-46
-2a
-96
-2b
-8c
-2c
-6e
-2d
-64
+20
+20
+31
+91
+6f
+e0
+c9
 38
-5f
-39
-0f
-3a
-32
-3b
-47
-42
-10
-ff
-ff
-54
-2e
-55
+c0
+00
+01
+da
+20
+20
+43
+1b
+da
+60
+4b
+a8
+da
+40
+02
+f3
+20
+20
+31
+8a
+6f
+e0
+c9
+27
+c0
+01
+c8
 f2
-61
-f4
-63
-70
-75
-52
-76
-41
-77
-ed
-78
+c0
+05
+c8
+f2
+6f
+e0
+c9
 23
-79
+67
+e0
+c9
+2f
+6f
+e1
+4b
+c2
+67
+e1
+49
+30
+67
+e1
+49
+32
+da
+20
+00
+00
+68
+48
+c9
+92
+18
+40
+84
+02
+18
 46
-7a
-e5
 7c
+03
+20
+41
+03
+02
+24
+41
+03
+06
+20
+20
 48
-7e
-77
-7f
-01
-0b
-00
-7f
-00
-09
-00
-ff
 ff
-09
-5a
-ff
-27
+6f
+e4
+4b
 ab
+c4
+0e
+00
+00
+18
 40
-be
-d1
-a0
-41
-a1
-12
-a5
 84
-a7
-ff
-b5
-d0
-b6
+01
+20
+60
 00
-ff
 00
-09
+18
+40
+85
+fd
+20
+60
 00
-ff
-ff
-09
+00
+6f
+e0
+cb
+e8
+24
 5a
-0d
-10
-0e
-c5
-5b
-9a
-10
-38
-11
-42
-28
-28
-41
-23
-49
-39
-4a
-b0
+78
+61
+70
 4b
-a0
-4c
-90
-4d
+e8
+00
+20
+20
+78
+51
 70
-09
+4b
+e9
 00
-ff
-ff
-09
-5a
-06
-02
-09
-69
-0d
-48
-0e
-9f
-0f
-ba
-09
+70
+4b
+ec
+0b
+20
+60
 00
-ff
-ff
+00
+70
+44
+84
+77
+20
+20
+5c
+b6
+35
+8d
 aa
 55
-08
+40
 00
-a3
-4a
-09
-5a
-0b
-f3
+00
+40
 09
 00
-ff
-ff
-aa
-55
-02
 00
-8d
-44
-2d
-49
-aa
-55
-01
 00
-8c
-44
-01
-aa
-55
-01
 00
-65
-48
-01
-aa
-55
-01
 00
-64
-48
-01
-aa
-55
-01
 00
-36
-48
-01
-aa
-55
+00
+00
+00
+00
+00
+00
+00
+00
+00
+08
+08
+00
+80
+00
+40
 01
 00
-a8
-48
-06
-aa
-55
+88
+56
+43
 02
 00
-38
-48
-c0
-12
-aa
-55
-03
 00
-54
-48
-19
-19
-1c
-aa
-55
-10
 00
-40
-48
 00
-13
-2c
-42
-06
-15
-36
-48
-0f
-1a
-3a
-4c
-11
-23
-31
-4d
-aa
-55
-01
 00
-5b
-48
 00
-aa
-55
-05
 00
-77
-48
-20
-15
-10
-05
-4e
-aa
-55
-05
 00
-8c
-48
-01
-0f
-0f
-0f
-0f
-aa
-55
-06
+02
 00
-ad
-48
-0c
-f8
+18
 00
 00
-77
+00
+00
+00
+00
+00
+00
+00
+80
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+20
+04
+04
+00
+00
+aa
+55
 01
+00
+9a
+40
+08
 aa
 55
 03
 00
-5c
-48
+7a
+41
+88
+13
+ce
+aa
+55
+01
 00
-48
-60
+c5
+40
+18
 aa
 55
 01
 00
-7d
-48
-07
+ef
+41
+ff
 aa
 55
 02
 00
-99
-48
-b5
-4a
+ca
+40
+ef
+41
 aa
 55
 01
 00
-ca
-48
-32
+7d
+41
+70
 aa
 55
-02
+01
 00
-c2
-48
-14
+d0
+44
 00
 aa
 55
-02
-00
-c0
-48
-50
+01
 00
+ea
+41
+ff
 aa
 55
-03
+01
 00
-b8
-48
+ee
+41
 00
-a6
-0e
 aa
 55
-03
+08
 00
-b8
-49
+ab
+4b
+04
+08
+4a
 00
-50
 00
-aa
-55
-02
 00
-79
-44
-80
-1f
+02
+07
 aa
 55
-01
+0c
 00
-83
-44
+fe
+48
+b0
+04
+58
+02
+64
+64
+94
+85
+90
+63
+75
 80
 aa
 55
-01
+1a
 00
-e8
-41
-01
-55
-aa
-aa
-55
-3a
-63
-11
-27
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+0d
+49
+0d
+0c
+0b
+08
 ff
 ff
+04
+05
 ff
 ff
 ff
+0b
+0d
+0c
 ff
 ff
 ff
 ff
+07
+06
 ff
 ff
 ff
+02
+02
+00
+aa
+55
+01
+00
+58
+0b
 ff
+aa
+55
+01
+00
+f5
+4b
+03
+aa
+55
+01
+00
+e2
+4b
+0a
+aa
+55
+01
+00
+f7
+4b
+08
+aa
+55
+01
+00
+f6
+4b
+02
+aa
+55
+12
+00
+cc
+4b
+00
+05
+00
+04
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+01
+00
+99
+40
+01
+aa
+55
+02
+00
+b3
+4b
+00
+01
+aa
+55
+08
+00
+38
+49
+00
+34
 ff
 ff
 ff
 ff
 ff
 ff
+aa
+55
+07
+00
+56
+49
+34
 ff
 ff
 ff
 ff
 ff
 ff
+aa
+55
+17
+00
+73
+49
+33
 ff
 ff
 ff
@@ -4316,32 +3476,872 @@
 ff
 ff
 ff
+aa
+55
+13
+00
+b5
+4b
+00
+40
+0a
+60
+06
+05
+00
+64
+00
+70
+17
+14
+0a
+90
+01
+e8
+03
+90
+01
+aa
+55
+02
+00
+ca
+4b
+07
+06
+aa
+55
+01
+00
+c0
+49
+02
+aa
+55
+01
+00
+fd
+48
+02
+aa
+55
+01
+00
+a1
+44
+05
+aa
+55
+06
+00
+e3
+48
+96
+00
+5a
+00
+64
+00
+aa
+55
+0a
+00
+eb
+48
+10
+00
+52
+00
+35
+00
+21
+00
+25
+00
+aa
+55
+01
+00
+f7
+48
+0a
+aa
+55
+02
+00
+c8
+4b
+64
+00
+aa
+55
+03
+00
+de
+4b
+00
+00
+00
+aa
+55
+01
+00
+ab
+4a
 ff
+aa
+55
+01
+00
+e8
+4b
+01
+aa
+55
+01
+00
+77
+41
+20
+aa
+55
+01
+00
+8a
+4b
+20
+aa
+55
+01
+00
+7d
+44
+06
+aa
+55
+06
+00
+a8
+40
+19
+a0
+c8
+12
+23
+51
+aa
+55
+0c
+00
+fc
+45
+0b
+42
+54
+33
+2e
+30
+20
+4d
+6f
+75
+73
+65
+aa
+55
+05
+00
+55
+44
+0e
+00
+01
+00
+02
+aa
+55
+01
+00
+41
+46
+0a
+aa
+55
+01
+00
+64
+47
+01
+aa
+55
+01
+00
+78
+46
+00
+aa
+55
+01
+00
+5f
+41
+00
+aa
+55
+03
+00
+65
+47
+03
+00
+04
+aa
+55
+01
+00
+8e
+47
+01
+aa
+55
+01
+00
+d8
+40
+01
+aa
+55
+0c
+00
+e7
+43
+1f
+02
+01
+05
+03
+03
+12
+18
+03
+19
+c2
+03
+aa
+55
+14
+00
+d2
+4a
+06
 ff
+06
+00
+03
+00
+80
+0c
+09
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
+aa
+55
+0e
+00
+07
+44
+1f
+0c
+09
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
+aa
+55
+0c
+00
+f7
+42
+0b
+42
+54
+35
+2e
+32
+20
+4d
+6f
+75
+73
+65
+aa
+55
+08
+00
+72
+43
+07
+00
+07
+00
+20
+00
+2c
+01
+aa
+55
+06
+00
+cc
+4a
+03
+12
+18
 ff
+00
+00
+aa
+55
+04
+00
+28
+44
+00
+00
+00
+00
+aa
+55
+01
+00
+32
+44
+07
+aa
+55
+08
+00
+4c
+44
+fb
+00
+48
+08
+fb
+00
+48
+08
+aa
+55
+06
+00
+7a
+43
+8e
+b1
+3a
+0e
+8e
+ed
+aa
+55
+02
+00
+e7
+4a
+15
+00
+aa
+55
+02
+00
+57
+43
+19
+00
+aa
+55
+06
+00
+e9
+4a
+1d
+00
+21
+00
+30
+00
+aa
+55
+02
+00
+d1
+43
+2d
+00
+aa
+55
+01
+00
+f0
+4a
+96
+aa
+55
+01
+00
+86
+44
 ff
+aa
+55
+01
+00
+90
+47
 ff
+aa
+55
+01
+00
+8f
+47
+1e
+aa
+55
+0c
+00
+d0
+49
+03
+04
+01
+02
+20
+2a
+3f
+15
+06
+0c
+10
+04
+aa
+55
+a2
+00
+df
+49
+09
+5a
+26
+34
+19
+04
+09
+00
 ff
 ff
+09
+5a
+0d
+f0
+1d
+e3
+7d
+d2
 ff
 ff
+09
+5a
+0d
+10
+1d
+ed
+7d
+80
 ff
 ff
+1b
+35
+28
+b4
+29
+46
+2a
+96
+2b
+8c
+2c
+6e
+2d
+64
+38
+5f
+39
+0f
+3a
+32
+3b
+47
+42
+10
 ff
 ff
+54
+2e
+55
+f2
+61
+f4
+63
+70
+75
+52
+76
+41
+77
+ed
+78
+23
+79
+46
+7a
+e5
+7c
+48
+7e
+77
+7f
+01
+0b
+00
+7f
+00
+09
+00
 ff
 ff
+09
+5a
 ff
+27
+ab
+40
+be
+d1
+a0
+41
+a1
+12
+a5
+84
+a7
 ff
+b5
+d0
+b6
+00
 ff
+00
+09
+00
 ff
 ff
+09
+5a
+0d
+10
+0e
+c5
+5b
+9a
+10
+38
+11
+42
+28
+28
+41
+23
+49
+39
+4a
+b0
+4b
+a0
+4c
+90
+4d
+70
+09
+00
 ff
 ff
+09
+5a
+06
+02
+09
+69
+0d
+48
+0e
+9f
+0f
+ba
+09
+00
 ff
 ff
+aa
+55
+08
+00
+a3
+4a
+09
+5a
+0b
+f3
+09
+00
 ff
 ff
+aa
+55
+02
+00
+8d
+44
+2d
+49
+aa
+55
+01
+00
+8c
+44
+01
+aa
+55
+01
+00
+65
+48
+01
+aa
+55
+01
+00
+64
+48
+01
+aa
+55
+01
+00
+36
+48
+01
+aa
+55
+01
+00
+a8
+48
+06
+aa
+55
+02
+00
+38
+48
+c0
+12
+aa
+55
+03
+00
+54
+48
+19
+19
+1c
+aa
+55
+10
+00
+40
+48
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+5b
+48
+00
+aa
+55
+05
+00
+77
+48
+20
+15
+10
+05
+4e
+aa
+55
+05
+00
+8c
+48
+01
+0f
+0f
+0f
+0f
+aa
+55
+06
+00
+ad
+48
+0c
+f8
+00
+00
+77
+01
+aa
+55
+03
+00
+5c
+48
+00
+48
+60
+aa
+55
+01
+00
+7d
+48
+07
+aa
+55
+02
+00
+99
+48
+b5
+4a
+aa
+55
+01
+00
+ca
+48
+80
+aa
+55
+02
+00
+c2
+48
+14
+00
+aa
+55
+02
+00
+c0
+48
+50
+00
+aa
+55
+03
+00
+b8
+48
+00
+a6
+0e
+aa
+55
+03
+00
+b8
+49
+00
+50
+00
+aa
+55
+02
+00
+79
+44
+80
+1f
+aa
+55
+01
+00
+83
+44
+80
+aa
+55
+01
+00
+e8
+41
+01
+55
+aa
+aa
+55
+b2
+64
+29
+3a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-e6
-3b
+63
+a0
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/program.lis	(revision 844)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/output/program.lis	(working copy)
@@ -1,619 +1,1018 @@
               include "bt_format "
               org 0x0000
-0000 c284000f bbit1 8 ,pf_patch_ext 
-0001 c0000015 beq patch00_0 ,p_soft_reset 
-0002 c045804d beq patch11_3 ,p_initialize_radio_cont 
-0003 c04f804b beq patch13_7 ,p_init_param 
-0004 c0570019 beq patch15_6 ,p_app_init 
-0005 c06180c8 beq patch18_3 ,p_mouse_start_work 
-0006 c0638067 beq patch18_7 ,p_mouse_app_enter_hibernate 
-0007 c064806b beq patch19_1 ,p_mouse_setgpio_hibernate 
-0008 c065007a beq patch19_2 ,p_mouse_lpm_before_common 
-0009 c06700d7 beq patch19_6 ,p_mouse_motion 
-000a c0680140 beq patch1a_0 ,p_mouse_seting_dpi 
-000b c0688105 beq patch1a_1 ,p_mouse_check_key_gpio 
-000c c06b00a7 beq patch1a_6 ,p_mouse_priority_bb_event 
-000d c06c815d beq patch1b_1 ,p_mouse_bb_event_timer 
-000e 2020137c branch loop 
+0000 c2840013 bbit1 8 ,pf_patch_ext 
+0001 c000001b beq patch00_0 ,p_soft_reset 
+0002 c001801f beq patch00_3 ,p_main_loop 
+0003 c0418038 beq patch10_3 ,p_set_sync_on 
+0004 c045806f beq patch11_3 ,p_initialize_radio_cont 
+0005 c04f807c beq patch13_7 ,p_init_param 
+0006 c057007e beq patch15_6 ,p_app_init 
+0007 c0580063 beq patch16_0 ,p_app_evt_100ms_loop 
+0008 c061820c beq patch18_3 ,p_mouse_start_work 
+0009 c0638131 beq patch18_7 ,p_mouse_app_enter_hibernate 
+000a c0648135 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000b c065016c beq patch19_2 ,p_mouse_lpm_before_common 
+000c c066005f beq patch19_4 ,p_mouse_adc_read_start 
+000d c067021b beq patch19_6 ,p_mouse_motion 
+000e c0680284 beq patch1a_0 ,p_mouse_seting_dpi 
+000f c0688249 beq patch1a_1 ,p_mouse_check_key_gpio 
+0010 c06b019a beq patch1a_6 ,p_mouse_priority_bb_event 
+0011 c06c82a1 beq patch1b_1 ,p_mouse_bb_event_timer 
+0012 2020137c branch loop 
 
 pf_patch_ext:
-000f c01081d2 beq patch24_1 ,p_spid_init 
-0010 c04381cb beq patch30_7 ,p_ui_timer_check 
-0011 c06e81c4 beq patch3b_5 ,p_g24_dispatch 
-0012 c0750058 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0013 c07100c6 beq patch3c_2 ,p_g24_pair_dispatch 
-0014 2020137c branch loop 
+0013 c010830f beq patch24_1 ,p_spid_init 
+0014 c019803f beq patch26_3 ,p_adc_init_data 
+0015 c01a0044 beq patch26_4 ,p_enable_adc 
+0016 c0438308 beq patch30_7 ,p_ui_timer_check 
+0017 c06e81fc beq patch3b_5 ,p_g24_dispatch 
+0018 c07500fb beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0019 c07101dd beq patch3c_2 ,p_g24_pair_dispatch 
+001a 2020137c branch loop 
 
 p_soft_reset:
-0015 20800000 clear_stack 
-0016 204030f3 call app_param_init 
-0017 20403bfd call mouse_xtal_init 
-0018 20200804 branch soft_reset + 3 
+001b 20800000 clear_stack 
+001c 204030f3 call app_param_init 
+001d 20403bfd call mouse_xtal_init 
+001e 20200804 branch soft_reset + 3 
+
+p_main_loop:
+001f 2040706c call sp_calc_sequence 
+0020 20407597 call sp_calc_sequence_256 
+0021 20406ea7 call sp_calc_sequence_256_check 
+0022 20401b93 call le_advertising_dispatch + 1 
+0023 2040083a call idle_dispatch 
+0024 20403108 call app_process_idle + 1 
+0025 20400892 call inquiry_dispatch + 1 
+0026 20400b08 call inquiry_scan_dispatch + 1 
+0027 20400b7b call page_scan_dispatch + 1 
+0028 20400823 call connection_dispatch + 1 
+0029 204021d3 call g24_dispatch + 2 
+002a 2040002c call p_lpm_dispatch 
+002b 20200813 branch main_loop 
+
+p_lpm_dispatch:
+002c 20401465 call lpo_calibration 
+002d 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+002e 207a0000 rtn blank 
+002f 6fe0c099 fetch 1 ,mem_lpm_mode 
+0030 207a0000 rtn blank 
+0031 6fe0c764 fetch 1 ,mem_ssp_enable 
+0032 203a0035 branch p_lpm_dispatch_next ,blank 
+0033 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
+0034 207a0000 rtn blank 
+
+p_lpm_dispatch_next:
+0035 6fe0c6ba fetch 1 ,mem_sc_calc 
+0036 247a0000 nrtn blank 
+0037 202014ea branch lpm_dispatch_next + 3 
+
+p_set_sync_on:
+0038 70890005 jam 0x5 ,modem_en 
+0039 20000002 nop 2 
+003a 70890000 jam 0x0 ,modem_en 
+003b 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+003c c00c1168 beq xtal_24m ,set_sync_on_24m 
+
+p_set_sync_on_16m:
+003d 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+003e 2020117d branch set_sync_on_16m 
+
+p_adc_init_data:
+003f da20099e arg mem_temp_block2 ,rega 
+0040 d840000c arg 12 ,temp 
+0041 58000030 setarg efuse_offset_adc_param 
+0042 20405e63 call efuse_read_data 
+0043 202060bf branch adc_init_data + 6 
+
+p_enable_adc:
+0044 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0045 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+0046 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+0047 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+0048 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+0049 79207e07 set1 7 ,pdata 
+004a 67f08a09 store 1 ,core_clkpll_cfg6 
+004b 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+004c 2000003c nop 60 
+004d 708a1600 jam 0 ,core_syn_en 
+004e 708a1706 jam 6 ,core_rx_en0 
+004f 2040611a call read_adc_mode 
+0050 67f08a97 store 1 ,core_gpadc_ctrl 
+0051 7080dc03 jam 0x03 ,core_sum_ctrl 
+0052 2000003c nop 60 
+0053 6ff08053 fetch 1 ,core_sum_en 
+0054 79207e07 set1 7 ,pdata 
+0055 67f08053 store 1 ,core_sum_en 
+0056 200003e8 nop 1000 
+0057 6ff10150 fetch 2 ,core_adc_sum 
+0058 67e144a2 store 2 ,mem_adc_current_value 
+0059 6ff08053 fetch 1 ,core_sum_en 
+005a 793ffe07 set0 7 ,pdata 
+005b 67f08053 store 1 ,core_sum_en 
+005c 708a9700 jam 0 ,core_gpadc_ctrl 
+005d 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+005e 20600000 rtn 
+
+p_mouse_adc_read_start:
+005f 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0060 247a0000 nrtn blank 
+0061 20400044 call p_enable_adc 
+0062 20203ebb branch mouse_adc_read_start + 3 
+
+p_app_evt_100ms_loop:
+0063 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+0064 207a0000 rtn blank 
+0065 1fe0ffff increase -1 ,pdata 
+0066 67e0830d store 1 ,mem_app_evt_timer_count 
+0067 204077c5 call ui_button_polling 
+0068 204031e3 call app_lpm_wake_auto_lock_timer 
+0069 204031a4 call app_unsniff_delay_timer 
+006a 204031aa call app_discovery_timer 
+006b 20405cdc call flash_write_spi_sm_timer 
+006c 6fe1446f fetch 2 ,mem_cb_event_timer 
+006d 20407e05 call callback_func 
+006e 20200063 branch p_app_evt_100ms_loop 
+
+p_initialize_radio_cont:
+006f 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0070 2040126a call initialize_syn_afc_cfg1 
+0071 20401271 call initialize_rf_ldo_cfg1 
+0072 20401277 call initialize_rc_cal 
+0073 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0074 708a0305 jam 5 ,core_clkpll_cfg0 
+0075 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0076 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0077 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0078 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0079 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+007a 70892140 jam 0x40 ,core_rx_ctrl1 
+007b 2020125d branch initialize_radio_cont + 8 
+
+p_init_param:
+007c 70008000 jam 0 ,mem_lmo_tid2 
+007d 202013b7 branch init_param_next + 1 
 
 p_app_init:
 
 p_mouse_init:
-0019 20406df3 call enable_authrom 
-001a 20400021 call p_mouse_wheel_set_wakeup 
-001b 2040002d call p_mouse_setting_config 
-001c 20400029 call p_lpm_write_ice_disable 
-001d 204041a7 call mouse_init_sunt 
-001e 20758000 rtn wake 
-001f 2040408e call mouse_dpi_config 
-0020 20203bc5 branch mouse_init + 4 
-
-p_mouse_wheel_set_wakeup:
-0021 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0022 207a0000 rtn blank 
-0023 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-0024 d8400040 arg gpcfg_pullup ,temp 
-0025 20406093 call gpio_config_function_int 
-0026 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-0027 d8400040 arg gpcfg_pullup ,temp 
-0028 20206093 branch gpio_config_function_int 
+007e 20406df3 call enable_authrom 
+007f 20400091 call p_mouse_setting_config 
+0080 20400089 call p_lpm_write_ice_disable 
+0081 204041a7 call mouse_init_sunt 
+0082 20758000 rtn wake 
+0083 2040408e call mouse_dpi_config 
+0084 20403d8a call mouse_usb_check_enable 
+0085 20404728 call mouse_drawing_optima_init 
+0086 204000b6 call p_mouse_cb_fuction 
+0087 2040423c call mouse_sensor_powerdown 
+0088 20203bc9 branch mouse_init + 8 
 
 p_lpm_write_ice_disable:
-0029 6ff10120 fetch 2 ,core_ucode_flag 
-002a 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
-002b 67f2004c store 4 ,core_lpm_reg 
-002c 20205caf branch lpm_write2_ctrl_option 
+0089 6ff10120 fetch 2 ,core_ucode_flag 
+008a 793ffe0e set0 lpmreg_ice_mode_bit ,pdata 
+008b 67f2004c store 4 ,core_lpm_reg 
+008c 20205caf branch lpm_write2_ctrl_option 
+
+p_ice_gpio_set_float:
+008d 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+008e 2040607f call gpio_set_high_impedance 
+008f 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0090 2020607f branch gpio_set_high_impedance 
 
 p_mouse_setting_config:
-002d 20758000 rtn wake 
-002e 20402607 call g24_transmit_init 
-002f 204022ff call g24_chmap_param_init 
-0030 20403f1e call mouse_gpio_init 
-0031 20403d13 call mouse_param_init 
-0032 20400037 call p_mouse_sensor_set_angle 
-0033 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0034 20406050 call gpio_config_input 
-0035 20400047 call p_ice_gpio_set_float 
-0036 20203bf5 branch mouse_setting_config_next 
+0091 20758000 rtn wake 
+0092 20402607 call g24_transmit_init 
+0093 2040230e call g24_chamap_param_update 
+0094 204022ff call g24_chmap_param_init 
+0095 20403f1e call mouse_gpio_init 
+0096 20403d13 call mouse_param_init 
+0097 204000a0 call p_mouse_sensor_set_angle 
+0098 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0099 20406050 call gpio_config_input 
+009a 2040008d call p_ice_gpio_set_float 
+009b 204000b0 call p_g24_short_sleep_set_8ms 
+009c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+009d c30c3bf5 bbit0 mouse_enable_24g_250hz ,mouse_setting_config_next 
+009e 204000b3 call p_g24_short_sleep_set_4ms 
+009f 20203bf5 branch mouse_setting_config_next 
 
 p_mouse_sensor_set_angle:
-0037 6fe0c924 fetch 1 ,mem_sensor_angle_default 
-0038 67e0c928 store 1 ,mem_config_sensor_angle 
-0039 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-003a c17f8000 rtneq gpio_disable 
-003b 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-003c d840003e arg gpcfg_output_low ,temp 
-003d 20406093 call gpio_config_function_int 
-003e 6fe0cbf5 fetch 1 ,mem_mouse_reuse_2ice_gpio 
-003f d840003e arg gpcfg_output_low ,temp 
-0040 20406093 call gpio_config_function_int 
-0041 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0042 20403f56 call mouse_gpio_config_input_pu 
-0043 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0044 20406059 call gpio_get_bit 
-0045 2440c2aa ncall mouse_sensor_switch_angle ,true 
-0046 20203f54 branch mouse_gpio_config_input_pd 
-
-p_ice_gpio_set_float:
-0047 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-0048 2040607f call gpio_set_high_impedance 
-0049 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-004a 2020607f branch gpio_set_high_impedance 
-
-p_init_param:
-004b 70008000 jam 0 ,mem_lmo_tid2 
-004c 202013b7 branch init_param_next + 1 
+00a0 6fe0c924 fetch 1 ,mem_sensor_angle_default 
+00a1 67e0c928 store 1 ,mem_config_sensor_angle 
+00a2 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+00a3 c17f8000 rtneq gpio_disable 
+00a4 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+00a5 d840003e arg gpcfg_output_low ,temp 
+00a6 20406093 call gpio_config_function_int 
+00a7 6fe0cbf5 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+00a8 d840003e arg gpcfg_output_low ,temp 
+00a9 20406093 call gpio_config_function_int 
+00aa 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+00ab 20403f56 call mouse_gpio_config_input_pu 
+00ac 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+00ad 20406059 call gpio_get_bit 
+00ae 2440c2aa ncall mouse_sensor_switch_angle ,true 
+00af 20203f54 branch mouse_gpio_config_input_pd 
+
+p_g24_short_sleep_set_8ms:
+00b0 5800e290 setarg 58000 
+00b1 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+00b2 20600000 rtn 
+
+p_g24_short_sleep_set_4ms:
+00b3 58001770 setarg 6000 
+00b4 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+00b5 20600000 rtn 
+
+p_mouse_cb_fuction:
+00b6 580000bb setarg p_mouse_24g_package_data 
+00b7 67e1489b store 2 ,mem_cb_24g_transmit_data 
+00b8 580000d5 setarg p_mouse_24g_search_dongle 
+00b9 67e1489d store 2 ,mem_cb_24g_search_receiver 
+00ba 20203bd3 branch mouse_cb_fuction + 4 
+
+p_mouse_24g_package_data:
+00bb c6930000 rtnmark0 mark_24g 
+00bc 20403f70 call mouse_motion 
+00bd 24740000 nrtn user 
+00be 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00bf c30a80c2 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+00c0 6fe0cb8b fetch 1 ,mem_customer_key 
+00c1 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+
+p_mouse_24g_mouse_package_data:
+00c2 204042cb call mouse_data_xy_release 
+00c3 6fe0c836 fetch 1 ,mem_24g_data_type 
+00c4 c28080d1 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+00c5 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+00c6 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00c7 9841fe00 ior temp ,pdata 
+00c8 67e0c8d0 store 1 ,mem_mouse_key 
+00c9 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+00ca 6fe0c8d5 fetch 1 ,mem_mouse_z 
+00cb 9840fe00 iadd temp ,pdata 
+00cc 67e0c8d5 store 1 ,mem_mouse_z 
+00cd 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+00ce 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+00cf 9840fe00 iadd temp ,pdata 
+00d0 67e0c8d6 store 1 ,mem_mouse_tz 
+
+p_mouse_24g_mouse_package_data_now:
+00d1 70483601 jam type_ms ,mem_24g_data_type 
+00d2 da200007 arg 7 ,rega 
+00d3 da4048d0 arg mem_mouse_key ,regb 
+00d4 202026e1 branch g24_transmit_by_interrupt_enable 
+
+p_mouse_24g_search_dongle:
+00d5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00d6 c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
+00d7 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
+00d8 207a0000 rtn blank 
+00d9 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+00da 207a0000 rtn blank 
+00db 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
+00dc 1fe0fe01 increase 1 ,pdata 
+00dd 1fe17e03 and_into 3 ,pdata 
+00de 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
+00df 247a0000 nrtn blank 
+00e0 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
+
+p_mouse_24g_search_dongle_loop:
+00e1 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
+00e2 1fe0fe01 increase 1 ,pdata 
+00e3 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
+00e4 1fe67c08 sub pdata ,g24_ch_number ,null 
+00e5 242100eb nbranch p_mouse_24g_search_dongle_loop_end ,positive 
+00e6 2040259a call g24_reconn_data_prep 
+00e7 2040265b call g24_transmit_receive_ack 
+00e8 242c00f1 nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
+00e9 243780f1 nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
+00ea 204048b5 call mouse_24g_search_dongle_success 
+
+p_mouse_24g_search_dongle_loop_end:
+00eb 20402597 call g24_txbuf_clear 
+00ec 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
+00ed 1fe0fe01 increase 1 ,pdata 
+00ee 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
+00ef c00800f3 beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
+00f0 20600000 rtn 
 
-p_initialize_radio_cont:
-004d 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-004e 2040126a call initialize_syn_afc_cfg1 
-004f 20401271 call initialize_rf_ldo_cfg1 
-0050 20401277 call initialize_rc_cal 
-0051 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0052 708a0305 jam 5 ,core_clkpll_cfg0 
-0053 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0054 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0055 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0056 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0057 2020125d branch initialize_radio_cont + 8 
+p_mouse_24g_search_dongle_loop_retry:
+00f1 204022cb call g24_ch 
+00f2 202000e1 branch p_mouse_24g_search_dongle_loop 
+
+p_mouse_24g_search_dongle_check:
+00f3 704ba300 jam 0 ,mem_mouse_search_dongle_count 
+00f4 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
+00f5 c3800000 rtnbit1 g24_disconn_state 
+00f6 79207e00 set1 g24_disconn_state ,pdata 
+00f7 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
+00f8 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+00f9 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+00fa 2020423c branch mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
-0058 20402631 call g24_txdata_prep 
-0059 24340099 nbranch p_g24_nodata_transmit ,user 
+00fb 20402631 call g24_txdata_prep 
+00fc 2434018f nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-005a 20402646 call g24_transmit_process 
-005b 204026ee call power_ctrl_start 
-005c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-005d 243a0062 nbranch p_g24_short_sleep ,blank 
-005e 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-005f 67e4485c store 8 ,mem_24g_enter_hibernate 
-0060 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-0061 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+00fd 2040010a call p_g24_transmit_process 
+00fe 204026ee call power_ctrl_start 
+00ff 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0100 243a0105 nbranch p_g24_short_sleep ,blank 
+0101 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+0102 67e4485c store 8 ,mem_24g_enter_hibernate 
+0103 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0104 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-0062 204026bb call g24_lpm_wait 
-0063 24740000 nrtn user 
-0064 20407fdc call clear_wake 
-0065 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0066 202026b8 branch g24_long_sleep2 
+0105 204026bb call g24_lpm_wait 
+0106 24740000 nrtn user 
+0107 20407fdc call clear_wake 
+0108 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0109 202026b8 branch g24_long_sleep2 
+
+p_g24_transmit_process:
+010a 7048a600 jam 0 ,mem_24g_retry 
+
+p_g24_transmit_loop:
+010b 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+010c 34730200 until clkn_rt ,meet 
+010d 2040265b call g24_transmit_receive_ack 
+010e 6fe0c82c fetch 1 ,mem_24g_no_ack 
+010f c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+0110 242c0122 nbranch p_g24_retransmit ,sync 
+0111 24378122 nbranch p_g24_retransmit ,user3 
+0112 20402672 call g24_ackpayload_parse 
+0113 20400115 call p_mouse_wakeup_24g 
+0114 20202651 branch g24_transmit_no_ack 
+
+p_mouse_wakeup_24g:
+0115 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0116 245a0119 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
+0117 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0118 20600000 rtn 
+
+p_mouse_wakeup_24g_from_long_sleep:
+0119 204041aa call mouse_init_sensor_wakeup 
+011a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+011b c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+
+p_mouse_wheel_set_wakeup:
+011c 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+011d d8400040 arg gpcfg_pullup ,temp 
+011e 20406093 call gpio_config_function_int 
+011f 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+0120 d8400040 arg gpcfg_pullup ,temp 
+0121 20206093 branch gpio_config_function_int 
+
+p_g24_retransmit:
+0122 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0123 247a0000 nrtn blank 
+0124 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+0125 1fe0fe01 increase 1 ,pdata 
+0126 67e148a3 store 2 ,mem_24g_txfail_cnt 
+0127 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0128 c280a679 bbit1 1 ,g24_tx_attempt_fail 
+0129 2040267e call g24_transmit_hop_process 
+012a 2040012c call p_delay_40ms 
+012b 20202647 branch g24_transmit_loop 
+
+p_delay_40ms:
+012c 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+012d 1fe67c00 sub pdata ,0x00 ,null 
+012e 20610000 rtn positive 
+012f df200028 arg 40 ,loopcnt 
+0130 20207d13 branch delay_ms_wait 
 
 p_mouse_app_enter_hibernate:
-0067 58000006 setarg pan_reg_config 
-0068 20405b0d call twspi_read 
-0069 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-006a 20203e21 branch mouse_app_enter_hibernate + 1 
+0131 58000006 setarg pan_reg_config 
+0132 20405b0d call twspi_read 
+0133 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+0134 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_setgpio_hibernate:
-006b 204042e9 call mouse_set_sdio_high 
-006c 20407fdc call clear_wake 
-006d 20404015 call mouse_before_hibernate_wheel_gpio_set 
-006e 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-006f c07f8074 beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
-0070 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0071 20406069 call gpio_out_active 
-0072 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0073 20406042 call gpio_clr_wake 
+0135 204042e9 call mouse_set_sdio_high 
+0136 20407fdc call clear_wake 
+0137 20404015 call mouse_before_hibernate_wheel_gpio_set 
+0138 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0139 c07f813e beq gpio_disable ,p_mouse_setgpio_hibernate_skip_public_gpio 
+013a 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+013b 20406069 call gpio_out_active 
+013c 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+013d 20406042 call gpio_clr_wake 
 
 p_mouse_setgpio_hibernate_skip_public_gpio:
-0074 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0075 20403f56 call mouse_gpio_config_input_pu 
-0076 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0077 d840003f arg gpcfg_output_high ,temp 
-0078 20406093 call gpio_config_function_int 
-0079 20203e36 branch mouse_setgpio_hibernate + 3 
+013e 6848cbf5 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+013f 20403f56 call mouse_gpio_config_input_pu 
+0140 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0141 d840003f arg gpcfg_output_high ,temp 
+0142 20406093 call gpio_config_function_int 
+0143 d8400003 arg 3 ,temp 
+0144 20403f56 call mouse_gpio_config_input_pu 
+0145 20403e40 call mouse_lpm_before_common 
+0146 20406082 call gpio_pd_idle 
+0147 d8400013 arg 19 ,temp 
+0148 20403f56 call mouse_gpio_config_input_pu 
+0149 2040014c call p_mouse_gpio_set_high_impedance 
+014a 20400159 call p_mouse_adc_gpio_set_before_hibernate 
+014b 20200160 branch p_mouse_wheel_gpio_set_before_hibernate 
+
+p_mouse_gpio_set_high_impedance:
+014c 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+014d 67e1895c store 3 ,mem_pdatatemp 
+014e df200014 arg 20 ,loopcnt 
+014f d8400000 arg 0 ,temp 
+
+p_mouse_gpio_set_high_impedance_bit_loop:
+0150 6fe1895c fetch 3 ,mem_pdatatemp 
+0151 2feffe00 isolate1 0 ,pdata 
+0152 2040e07f call gpio_set_high_impedance ,true 
+0153 6fe1895c fetch 3 ,mem_pdatatemp 
+0154 1fe37e00 rshift pdata ,pdata 
+0155 67e1895c store 3 ,mem_pdatatemp 
+0156 18408401 increase 1 ,temp 
+0157 c2000150 loop p_mouse_gpio_set_high_impedance_bit_loop 
+0158 20600000 rtn 
+
+p_mouse_adc_gpio_set_before_hibernate:
+0159 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+015a c40a0000 rtnbit0 mouse_enable_adc 
+015b 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
+015c c1810000 rtnne adc_config_gpio 
+015d 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
+015e d84000c0 arg gpcfg_no_ie ,temp 
+015f 20206093 branch gpio_config_function_int 
+
+p_mouse_wheel_gpio_set_before_hibernate:
+0160 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0161 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+
+p_mouse_wheel_clr_wakeup:
+0162 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0163 20406042 call gpio_clr_wake 
+0164 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+0165 20406042 call gpio_clr_wake 
+0166 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+0167 d8400080 arg gpcfg_pulldown ,temp 
+0168 20406093 call gpio_config_function_int 
+0169 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+016a d8400080 arg gpcfg_pulldown ,temp 
+016b 20206093 branch gpio_config_function_int 
 
 p_mouse_lpm_before_common:
-007a 20403f88 call mouse_wheel_check 
-007b 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-007c d840003f arg gpcfg_output_high ,temp 
-007d 20406093 call gpio_config_function_int 
-007e 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
-007f 793ffe03 set0 3 ,pdata 
-0080 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
-0081 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0082 20406042 call gpio_clr_wake 
-0083 20405b04 call twspi_disable 
-0084 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0085 20406036 call gpio_set_wake 
-0086 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0087 20406036 call gpio_set_wake 
-0088 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0089 20406036 call gpio_set_wake 
-008a 6848c90d fetcht 1 ,mem_bk_button_gpio 
-008b 20406036 call gpio_set_wake 
-008c 6848c90e fetcht 1 ,mem_fw_button_gpio 
-008d 20406036 call gpio_set_wake 
-008e 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-008f 20206036 branch gpio_set_wake 
+016c 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+016d 20406050 call gpio_config_input 
+016e 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+016f 20406050 call gpio_config_input 
+0170 20403f88 call mouse_wheel_check 
+0171 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0172 d840003f arg gpcfg_output_high ,temp 
+0173 20406093 call gpio_config_function_int 
+0174 6fe080a1 fetch 1 ,mem_gpio_wakeup_low + 2 
+0175 793ffe03 set0 3 ,pdata 
+0176 67e080a1 store 1 ,mem_gpio_wakeup_low + 2 
+0177 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0178 20406042 call gpio_clr_wake 
+0179 20405b04 call twspi_disable 
+017a 6848c918 fetcht 1 ,mem_lbutton_gpio 
+017b 20406036 call gpio_set_wake 
+017c 6848c919 fetcht 1 ,mem_rbutton_gpio 
+017d 20406036 call gpio_set_wake 
+017e 6848c91a fetcht 1 ,mem_mbutton_gpio 
+017f 20406036 call gpio_set_wake 
+0180 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0181 20406036 call gpio_set_wake 
+0182 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0183 20406036 call gpio_set_wake 
+0184 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+0185 20206036 branch gpio_set_wake 
 
 p_mouse_24g_hibernate_set:
-0090 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-0091 20402652 call g24_transmit_next_packet 
-0092 5fffffff setarg -1 
-0093 67e2485c store 4 ,mem_24g_enter_hibernate 
-0094 58000000 setarg 0 
-0095 67e3c8d0 store 7 ,mem_mouse_key 
-0096 704be101 jam 1 ,mem_sensor_shutdown_flag 
-0097 2040423c call mouse_sensor_powerdown 
-0098 2020009f branch p_g24_long_sleep 
+0186 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+0187 20402652 call g24_transmit_next_packet 
+0188 5fffffff setarg -1 
+0189 67e2485c store 4 ,mem_24g_enter_hibernate 
+018a 58000000 setarg 0 
+018b 67e3c8d0 store 7 ,mem_mouse_key 
+018c 704be101 jam 1 ,mem_sensor_shutdown_flag 
+018d 2040423c call mouse_sensor_powerdown 
+018e 20200194 branch p_g24_long_sleep 
 
 p_g24_nodata_transmit:
-0099 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-009a 205a26a7 call g24_send_abort_packet ,blank 
-009b 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-009c c1008000 rtneq g24_tx_timer_int_enable 
-009d 2040269f call g24_search_receiver 
-009e 2020009f branch p_g24_long_sleep 
+018f 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0190 205a26a7 call g24_send_abort_packet ,blank 
+0191 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0192 c1008000 rtneq g24_tx_timer_int_enable 
+0193 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-009f 204026bb call g24_lpm_wait 
-00a0 24740000 nrtn user 
-00a1 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-00a2 245a3e33 ncall mouse_setgpio_hibernate ,blank 
-00a3 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
-00a4 20407daa call clk2lpo 
-00a5 604a4160 storet 4 ,mem_sleep_counter 
-00a6 20201497 branch lpm_sleep 
+0194 204026bb call g24_lpm_wait 
+0195 24740000 nrtn user 
+0196 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0197 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+0198 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+0199 202026b8 branch g24_long_sleep2 
 
 p_mouse_priority_bb_event:
-00a7 1a627e00 copy regc ,pdata 
-00a8 c01e00ae beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00a9 c01c80ac beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-00aa c01d00b5 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00ab 20204336 branch mouse_priority_bb_event + 2 
+019a 1a627e00 copy regc ,pdata 
+019b c00081a3 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+019c c01e01c5 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+019d c01c81c3 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+019e c01d01cc beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+019f c01901af beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+01a0 c02201b6 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+01a1 c00a81a5 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+01a2 20204336 branch mouse_priority_bb_event + 2 
+
+p_mouse_bb_event_connected:
+01a3 20404544 call mouse_no_data_timer_init 
+01a4 202043fa branch mouse_bb_event_connected 
+
+p_mouse_le_bb_disconnected:
+01a5 58000000 setarg 0 
+01a6 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+01a7 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
+01a8 58000006 setarg le_interval_7_5ms 
+01a9 67e14372 store 2 ,mem_le_interval_min 
+01aa 67e14374 store 2 ,mem_le_interval_min + 2 
+01ab 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01ac c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
+01ad 58000007 setarg le_interval_8_75ms 
+01ae 20204364 branch mouse_le_bb_disconnected_next 
+
+p_mouse_le_ll_start_encryt:
+01af 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+01b0 c00081b3 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+01b1 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+01b2 20204373 branch mouse_le_ll_enable_start_enc_flag 
+
+p_mouse_le_ll_reconn_start_encryt:
+01b3 2040436c call mouse_updata_le_param 
+01b4 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+01b5 20204373 branch mouse_le_ll_enable_start_enc_flag 
+
+p_mouse_le_parse_conn_param_accepted:
+01b6 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+01b7 1fe67c0c sub pdata ,le_interval_15ms ,null 
+01b8 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+01b9 67e14372 store 2 ,mem_le_interval_min 
+01ba 67e14374 store 2 ,mem_le_interval_min + 2 
+01bb 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+01bc 203a439a branch mouse_le_lpm_mult_reinit ,blank 
+01bd 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+01be 98467c00 isub temp ,null 
+01bf 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+01c0 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+01c1 67e0cb8a store 1 ,mem_lpm_mult_init 
+01c2 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_pairing_complete:
-00ac 20404544 call mouse_no_data_timer_init 
-00ad 20204857 branch mouse_24g_pairing_complete 
+01c3 20404544 call mouse_no_data_timer_init 
+01c4 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-00ae 6fe2483c fetch 4 ,mem_24g_addr 
-00af 67e24891 store 4 ,mem_24g_receiver_addr 
-00b0 67e24993 store 4 ,mem_mouse_24g_addr 
-00b1 2040257e call g24_ch_syncword_crc8_init 
-00b2 204048c6 call mouse_device_poweron_timer_init 
-00b3 20404544 call mouse_no_data_timer_init 
-00b4 2020484e branch mouse_24g_attempt_success 
+01c5 6fe2483c fetch 4 ,mem_24g_addr 
+01c6 67e24891 store 4 ,mem_24g_receiver_addr 
+01c7 67e24993 store 4 ,mem_mouse_24g_addr 
+01c8 2040257e call g24_ch_syncword_crc8_init 
+01c9 204048c6 call mouse_device_poweron_timer_init 
+01ca 20404544 call mouse_no_data_timer_init 
+01cb 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-00b5 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-00b6 243a00c3 nbranch p_mouse_24g_enter_hibernate ,blank 
-00b7 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-00b8 c00100ba beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-00b9 20204837 branch mouse_24g_attempt_fail + 4 
+01cc 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+01cd 243a01da nbranch p_mouse_24g_enter_hibernate ,blank 
+01ce 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+01cf c00101d1 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+01d0 20204837 branch mouse_24g_attempt_fail + 4 
 
 p_mouse_24g_fast_conn_attempt_fail:
-00ba 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00bb c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-00bc c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-00bd c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-00be 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-00bf 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-00c0 98467c00 isub temp ,null 
-00c1 2022c827 branch mouse_24g_start_pair_mode ,zero 
-00c2 20204806 branch mouse_24g_reconn_dongle_start 
+01d1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01d2 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+01d3 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+01d4 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+01d5 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+01d6 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+01d7 98467c00 isub temp ,null 
+01d8 2022c827 branch mouse_24g_start_pair_mode ,zero 
+01d9 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_enter_hibernate:
-00c3 793f8026 set0 mark_24g ,mark 
-00c4 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
-00c5 20200180 branch p_mouse_rgb_led_off_time_init 
+01da 793f8026 set0 mark_24g ,mark 
+01db 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
+01dc 202002c4 branch p_mouse_rgb_led_off_time_init 
 
 p_g24_pair_dispatch:
-00c6 70488b00 jam default_24g_device ,mem_24g_reconn_type 
-00c7 20202341 branch g24_pair_dispatch + 1 
+01dd 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+01de 20202341 branch g24_pair_dispatch + 1 
+
+p_g24_reconn_dispatch:
+01df 6fe14889 fetch 2 ,mem_24g_reconn_count 
+01e0 d84001f8 arg 0x01f8 ,temp 
+01e1 98417e00 iand temp ,pdata 
+01e2 203a01e7 branch p_g24_reconn_dispatch_next ,blank 
+01e3 6fe14889 fetch 2 ,mem_24g_reconn_count 
+01e4 1fe0fe01 increase 1 ,pdata 
+01e5 67e14889 store 2 ,mem_24g_reconn_count 
+01e6 20600000 rtn 
+
+p_g24_reconn_dispatch_next:
+01e7 2040259a call g24_reconn_data_prep 
+01e8 2040265b call g24_transmit_receive_ack 
+01e9 242c01ed nbranch p_g24_reconn_device_fail ,sync 
+01ea 243781ed nbranch p_g24_reconn_device_fail ,user3 
+01eb 20402672 call g24_ackpayload_parse 
+01ec 20202586 branch g24_reconn_receiver_succ 
+
+p_g24_reconn_device_fail:
+01ed 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
+01ee 203a22cb branch g24_ch ,blank 
+01ef 6fe14889 fetch 2 ,mem_24g_reconn_count 
+01f0 1fe0fe01 increase 1 ,pdata 
+01f1 67e14889 store 2 ,mem_24g_reconn_count 
+01f2 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
+01f3 2feffe01 isolate1 1 ,pdata 
+01f4 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+01f5 c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
+01f6 c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
+01f7 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+01f8 c00201fa beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+01f9 2020256e branch g24_reconn_receiver_addr 
+
+p_g24_reconn_pair_and_3_0:
+01fa 2020a575 branch g24_reconn_device_3_0_addr ,true 
+01fb 20202339 branch g24_pair_init_param 
+
+p_g24_dispatch:
+01fc c61a0000 rtnmark1 mark_adc_enable 
+01fd c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+
+p_g24_transmit_dispatch:
+01fe c6930000 rtnmark0 mark_24g 
+01ff 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+0200 c280a340 bbit1 state_24g_pair ,g24_pair_dispatch 
+0201 c2812580 bbit1 state_24g_reconn ,g24_reconn_dispatch 
+0202 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0203 c0008205 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
+0204 20202621 branch g24_transmit_no_interrupt 
+
+p_g24_transmit_by_interrupt:
+0205 204022ea call g24_timer_check 
+0206 243401fe nbranch p_g24_transmit_dispatch ,user 
+0207 204026db call g24_interval_calibrate 
+0208 6fe148be fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0209 1fe0fe01 increase 1 ,pdata 
+020a 67e148be store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+020b 20202621 branch g24_transmit_no_interrupt 
 
 p_mouse_start_work:
-00c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00c9 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-00ca 6fe0c938 fetch 1 ,mem_device_flag 
-00cb c00000cd beq mode_24g_device ,p_mouse_24g_start_mode 
-00cc 20203d57 branch mouse_start_work + 5 
+020c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+020d c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+020e 6fe0c938 fetch 1 ,mem_device_flag 
+020f c0000211 beq mode_24g_device ,p_mouse_24g_start_mode 
+0210 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-00cd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ce c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-00cf 20403d65 call mouse_wakeup_from_power_check 
-00d0 20344806 branch mouse_24g_reconn_dongle_start ,user 
-00d1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00d2 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-00d3 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-00d4 20404110 call mouse_key_check_once 
-00d5 1a217e07 and rega ,0x07 ,pdata 
-00d6 202047ff branch mouse_24g_start_mode + 9 
+0211 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0212 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0213 20403d65 call mouse_wakeup_from_power_check 
+0214 20344806 branch mouse_24g_reconn_dongle_start ,user 
+0215 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0216 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0217 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0218 20404110 call mouse_key_check_once 
+0219 1a217e07 and rega ,0x07 ,pdata 
+021a 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_motion:
-00d7 78547c00 disable user 
-00d8 58000000 setarg 0 
-00d9 67e348d1 store 6 ,mem_mouse_x 
-00da 20404240 call mouse_check_sensor_data 
-00db 2040408e call mouse_dpi_config 
-00dc 20403f7e call mouse_zwheel 
-00dd 20403f83 call mouse_t_zwheel 
-00de 20400101 call p_mouse_key 
-00df 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00e0 1fe17e1f and_into 0x1f ,pdata 
-00e1 67e0c8d0 store 1 ,mem_mouse_key 
-00e2 243400e6 nbranch p_mouse_motion_nodata ,user 
-00e3 2040471a call mouse_drawing_optima 
-00e4 204000f1 call p_mouse_rgb_led_on_check 
-00e5 20204544 branch mouse_no_data_timer_init 
+021b 78547c00 disable user 
+021c 58000000 setarg 0 
+021d 67e348d1 store 6 ,mem_mouse_x 
+021e 20404240 call mouse_check_sensor_data 
+021f 2040408e call mouse_dpi_config 
+0220 20403f7e call mouse_zwheel 
+0221 20403f83 call mouse_t_zwheel 
+0222 20400245 call p_mouse_key 
+0223 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0224 1fe17e1f and_into 0x1f ,pdata 
+0225 67e0c8d0 store 1 ,mem_mouse_key 
+0226 2434022a nbranch p_mouse_motion_nodata ,user 
+0227 2040471a call mouse_drawing_optima 
+0228 20400235 call p_mouse_rgb_led_on_check 
+0229 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-00e6 20404728 call mouse_drawing_optima_init 
-00e7 6fe14bef fetch 2 ,mem_rgb_led_off_check_count 
-00e8 1fe0fe01 increase 1 ,pdata 
-00e9 67e14bef store 2 ,mem_rgb_led_off_check_count 
-00ea d8400258 arg 0x0258 ,temp 
-00eb 98467c00 isub temp ,null 
-00ec 24628000 nrtn zero 
-00ed 58000000 setarg 0 
-00ee 67e14bef store 2 ,mem_rgb_led_off_check_count 
-00ef 704bea00 jam off ,mem_rgb_led_on_enable 
-00f0 20600000 rtn 
+022a 20404728 call mouse_drawing_optima_init 
+022b 6fe14bef fetch 2 ,mem_rgb_led_off_check_count 
+022c 1fe0fe01 increase 1 ,pdata 
+022d 67e14bef store 2 ,mem_rgb_led_off_check_count 
+022e d8400258 arg 0x0258 ,temp 
+022f 98467c00 isub temp ,null 
+0230 24628000 nrtn zero 
+0231 58000000 setarg 0 
+0232 67e14bef store 2 ,mem_rgb_led_off_check_count 
+0233 704bea00 jam off ,mem_rgb_led_on_enable 
+0234 20600000 rtn 
 
 p_mouse_rgb_led_on_check:
-00f1 6fe14bf1 fetch 2 ,mem_rgb_led_on_check_count 
-00f2 1fe0fe01 increase 1 ,pdata 
-00f3 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
-00f4 d8400258 arg 0x0258 ,temp 
-00f5 98467c00 isub temp ,null 
-00f6 24628000 nrtn zero 
-00f7 58000000 setarg 0 
-00f8 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
-00f9 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
-00fa c1008000 rtneq on 
-00fb 704bea01 jam on ,mem_rgb_led_on_enable 
-00fc 704be900 jam off ,mem_rgb_led_off_enable 
-00fd 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
+0235 6fe14bf1 fetch 2 ,mem_rgb_led_on_check_count 
+0236 1fe0fe01 increase 1 ,pdata 
+0237 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
+0238 d8400258 arg 0x0258 ,temp 
+0239 98467c00 isub temp ,null 
+023a 24628000 nrtn zero 
+023b 58000000 setarg 0 
+023c 67e14bf1 store 2 ,mem_rgb_led_on_check_count 
+023d 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
+023e c1008000 rtneq on 
+023f 704bea01 jam on ,mem_rgb_led_on_enable 
+0240 704be900 jam off ,mem_rgb_led_off_enable 
+0241 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
 
 p_mouse_rgb_led_on_timer_init:
-00fe 58000000 setarg 0 
-00ff 67e14bed store 2 ,mem_rgb_led_on_timer 
-0100 20600000 rtn 
+0242 58000000 setarg 0 
+0243 67e14bed store 2 ,mem_rgb_led_on_timer 
+0244 20600000 rtn 
 
 p_mouse_key:
-0101 20404115 call mouse_check_key_gpio 
-0102 2040010f call p_mouse_check_firekey_gpio 
-0103 1a227e00 copy rega ,pdata 
-0104 202040dd branch mouse_key + 1 
+0245 20404115 call mouse_check_key_gpio 
+0246 20400253 call p_mouse_check_firekey_gpio 
+0247 1a227e00 copy rega ,pdata 
+0248 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0105 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0106 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0107 da200000 arg 0 ,rega 
-0108 20404124 call mouse_check_lkey_gpio 
-0109 2040412a call mouse_check_rkey_gpio 
-010a 2040010c call p_mouse_check_mkey_gpio 
-010b 2020411c branch mouse_check_key_gpio_next 
+0249 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+024a 245a4121 ncall mouse_check_key_gpio_once ,blank 
+024b da200000 arg 0 ,rega 
+024c 20404124 call mouse_check_lkey_gpio 
+024d 2040412a call mouse_check_rkey_gpio 
+024e 20400250 call p_mouse_check_mkey_gpio 
+024f 2020411c branch mouse_check_key_gpio_next 
 
 p_mouse_check_mkey_gpio:
-010c 6fe0cbf4 fetch 1 ,mem_mbutton_function_disable 
-010d 247a0000 nrtn blank 
-010e 20204130 branch mouse_check_mkey_gpio 
+0250 6fe0cbf4 fetch 1 ,mem_mbutton_function_disable 
+0251 247a0000 nrtn blank 
+0252 20204130 branch mouse_check_mkey_gpio 
 
 p_mouse_check_firekey_gpio:
-010f 1a227e00 copy rega ,pdata 
-0110 c3800000 rtnbit1 0 
-0111 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
-0112 20406050 call gpio_config_input 
-0113 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
-0114 20406059 call gpio_get_bit 
-0115 2020811b branch p_fire_key_press ,true 
-0116 6fe0cbe3 fetch 1 ,mem_fire_key_status 
-0117 243a0119 nbranch p_fire_key_process ,blank 
-0118 20600000 rtn 
+0253 1a227e00 copy rega ,pdata 
+0254 c3800000 rtnbit1 0 
+0255 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
+0256 20406050 call gpio_config_input 
+0257 6848cbe2 fetcht 1 ,mem_firebutton_gpio 
+0258 20406059 call gpio_get_bit 
+0259 2020825f branch p_fire_key_press ,true 
+025a 6fe0cbe3 fetch 1 ,mem_fire_key_status 
+025b 243a025d nbranch p_fire_key_process ,blank 
+025c 20600000 rtn 
 
 p_fire_key_process:
-0119 c0020135 beq 4 ,p_fire_key_process_end 
-011a 2020011b branch p_fire_key_press 
+025d c0020279 beq 4 ,p_fire_key_process_end 
+025e 2020025f branch p_fire_key_press 
 
 p_fire_key_press:
-011b 20400138 call p_firekey_clkn_bt_timer_check 
-011c 6fe24be4 fetch 4 ,mem_fire_key_delay 
-011d d8400080 arg 0x80 ,temp 
-011e 98408400 iadd temp ,temp 
-011f 1c427e00 copy clkn_bt ,pdata 
-0120 98467c00 isub temp ,null 
-0121 24610000 nrtn positive 
-0122 67e24be4 store 4 ,mem_fire_key_delay 
-0123 6fe0cbe3 fetch 1 ,mem_fire_key_status 
-0124 c0000129 beq 0 ,p_fire_key_process_start 
-0125 c000812c beq 1 ,p_fire_key_process_release1 
-0126 c001012f beq 2 ,p_fire_key_process_start2 
-0127 c0018132 beq 3 ,p_fire_key_process_release2 
-0128 20600000 rtn 
+025f 2040027c call p_firekey_clkn_bt_timer_check 
+0260 6fe24be4 fetch 4 ,mem_fire_key_delay 
+0261 d8400080 arg 0x80 ,temp 
+0262 98408400 iadd temp ,temp 
+0263 1c427e00 copy clkn_bt ,pdata 
+0264 98467c00 isub temp ,null 
+0265 24610000 nrtn positive 
+0266 67e24be4 store 4 ,mem_fire_key_delay 
+0267 6fe0cbe3 fetch 1 ,mem_fire_key_status 
+0268 c000026d beq 0 ,p_fire_key_process_start 
+0269 c0008270 beq 1 ,p_fire_key_process_release1 
+026a c0010273 beq 2 ,p_fire_key_process_start2 
+026b c0018276 beq 3 ,p_fire_key_process_release2 
+026c 20600000 rtn 
 
 p_fire_key_process_start:
-0129 704be301 jam 1 ,mem_fire_key_status 
-012a 79202200 set1 0 ,rega 
-012b 20600000 rtn 
+026d 704be301 jam 1 ,mem_fire_key_status 
+026e 79202200 set1 0 ,rega 
+026f 20600000 rtn 
 
 p_fire_key_process_release1:
-012c 704be302 jam 2 ,mem_fire_key_status 
-012d 793fa200 set0 0 ,rega 
-012e 20600000 rtn 
+0270 704be302 jam 2 ,mem_fire_key_status 
+0271 793fa200 set0 0 ,rega 
+0272 20600000 rtn 
 
 p_fire_key_process_start2:
-012f 704be303 jam 3 ,mem_fire_key_status 
-0130 79202200 set1 0 ,rega 
-0131 20600000 rtn 
+0273 704be303 jam 3 ,mem_fire_key_status 
+0274 79202200 set1 0 ,rega 
+0275 20600000 rtn 
 
 p_fire_key_process_release2:
-0132 704be304 jam 4 ,mem_fire_key_status 
-0133 793fa200 set0 0 ,rega 
-0134 20600000 rtn 
+0276 704be304 jam 4 ,mem_fire_key_status 
+0277 793fa200 set0 0 ,rega 
+0278 20600000 rtn 
 
 p_fire_key_process_end:
-0135 704be300 jam 0 ,mem_fire_key_status 
-0136 793fa200 set0 0 ,rega 
-0137 20600000 rtn 
+0279 704be300 jam 0 ,mem_fire_key_status 
+027a 793fa200 set0 0 ,rega 
+027b 20600000 rtn 
 
 p_firekey_clkn_bt_timer_check:
-0138 684a4be4 fetcht 4 ,mem_fire_key_delay 
-0139 1c427e00 copy clkn_bt ,pdata 
-013a 98467c00 isub temp ,null 
-013b 2441013d ncall p_firekey_clkn_bt_timer_timeout ,positive 
-013c 20600000 rtn 
+027c 684a4be4 fetcht 4 ,mem_fire_key_delay 
+027d 1c427e00 copy clkn_bt ,pdata 
+027e 98467c00 isub temp ,null 
+027f 24410281 ncall p_firekey_clkn_bt_timer_timeout ,positive 
+0280 20600000 rtn 
 
 p_firekey_clkn_bt_timer_timeout:
-013d 58000000 setarg 0 
-013e 67e24be4 store 4 ,mem_fire_key_delay 
-013f 20600000 rtn 
+0281 58000000 setarg 0 
+0282 67e24be4 store 4 ,mem_fire_key_delay 
+0283 20600000 rtn 
 
 p_mouse_seting_dpi:
-0140 2040408f call mouse_setting_dpi_4_level 
-0141 2040014f call p_mouse_dpi_led_blink_delay 
+0284 2040408f call mouse_setting_dpi_4_level 
+0285 20400293 call p_mouse_dpi_led_blink_delay 
 
 p_mouse_seting_sensor_type:
-0142 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0143 c001814a beq p3212 ,p_mouse_seting_3212_dpi 
-0144 c005c0cf beq ka8g2 ,mouse_seting_ka8g2_dpi 
-0145 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0146 c00040a4 beq mouse_dpi_level1 ,mouse_set_cpi2 
-0147 c000c0a2 beq mouse_dpi_level2 ,mouse_set_cpi0 
-0148 c00140a0 beq mouse_dpi_level3 ,mouse_set_cpi1 
-0149 202040a2 branch mouse_set_cpi0 
+0286 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0287 c001828e beq p3212 ,p_mouse_seting_3212_dpi 
+0288 c005c0cf beq ka8g2 ,mouse_seting_ka8g2_dpi 
+0289 6fe0c992 fetch 1 ,mem_mouse_dpi 
+028a c00040a4 beq mouse_dpi_level1 ,mouse_set_cpi2 
+028b c000c0a2 beq mouse_dpi_level2 ,mouse_set_cpi0 
+028c c00140a0 beq mouse_dpi_level3 ,mouse_set_cpi1 
+028d 202040a2 branch mouse_set_cpi0 
 
 p_mouse_seting_3212_dpi:
-014a 6fe0c992 fetch 1 ,mem_mouse_dpi 
-014b c00040c6 beq mouse_dpi_level1 ,mouse_set_p3212_cpi3 
-014c c000c0c0 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
-014d c00140c4 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
-014e 202040c0 branch mouse_set_p3212_cpi1 
+028e 6fe0c992 fetch 1 ,mem_mouse_dpi 
+028f c00040c6 beq mouse_dpi_level1 ,mouse_set_p3212_cpi3 
+0290 c000c0c0 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
+0291 c00140c4 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
+0292 202040c0 branch mouse_set_p3212_cpi1 
 
 p_mouse_dpi_led_blink_delay:
-014f 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0150 c17f8000 rtneq gpio_disable 
-0151 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0152 247a0000 nrtn blank 
-0153 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0154 247a0000 nrtn blank 
-0155 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0156 247a0000 nrtn blank 
-0157 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-0158 247a0000 nrtn blank 
-0159 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-015a 203a01af branch p_mouse_dpi_led_blink_init ,blank 
-015b 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-015c 20600000 rtn 
+0293 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0294 c17f8000 rtneq gpio_disable 
+0295 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0296 247a0000 nrtn blank 
+0297 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0298 247a0000 nrtn blank 
+0299 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+029a 247a0000 nrtn blank 
+029b 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+029c 247a0000 nrtn blank 
+029d 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+029e 203a02f3 branch p_mouse_dpi_led_blink_init ,blank 
+029f 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+02a0 20600000 rtn 
 
 p_mouse_bb_event_timer:
-015d 20403e9b call mouse_adc_read 
-015e 20404956 call mouse_low_voltage_led_timer 
-015f 2040232b call g24_pair_timeout_timer 
-0160 20402556 call g24_reconn_timeout_timer 
-0161 204047cd call mouse_24g_long_sleep_param_update_timer 
-0162 204048be call mouse_device_poweron_timer 
-0163 204001ac call p_mouse_dpi_led_blink_delay_timer 
-0164 20400176 call p_mouse_rgb_led_off_enable_timer 
-0165 20400187 call p_mouse_rgb_led_on_enable_timer 
-0166 20400196 call p_mouse_rgb_led_on_timer 
-0167 2040407c call mouse_dpi_key_check_long_press 
-0168 204044cc call mouse_bt_discovery_check 
-0169 204044dc call mouse_commbination_key_process 
-016a 204044ff call mouse_check_discovery_timeout_timer 
-016b 20404504 call mouse_check_direct_timeout_timer 
-016c 20404512 call mouse_le_enable_att_list_timer 
-016d 2040451f call mouse_le_battery_updata_timer 
-016e 20404515 call mouse_le_send_smp_security_request_timer 
-016f 2040452a call mouse_check_hid_handshake_timer 
-0170 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-0171 20404532 call mouse_check_reconnect_delay_long_sleep 
-0172 20404535 call mouse_current_mult_update_timer 
-0173 20404022 call mouse_wheel_trigger_timer 
-0174 20404547 call mouse_store_information_delay_timer 
-0175 202001a4 branch p_mouse_check_no_data_timeout_timer 
+02a1 20403e9b call mouse_adc_read 
+02a2 20404956 call mouse_low_voltage_led_timer 
+02a3 2040232b call g24_pair_timeout_timer 
+02a4 20402556 call g24_reconn_timeout_timer 
+02a5 204047cd call mouse_24g_long_sleep_param_update_timer 
+02a6 204048be call mouse_device_poweron_timer 
+02a7 204002f0 call p_mouse_dpi_led_blink_delay_timer 
+02a8 204002ba call p_mouse_rgb_led_off_enable_timer 
+02a9 204002cb call p_mouse_rgb_led_on_enable_timer 
+02aa 204002da call p_mouse_rgb_led_on_timer 
+02ab 2040407c call mouse_dpi_key_check_long_press 
+02ac 204044cc call mouse_bt_discovery_check 
+02ad 204044dc call mouse_commbination_key_process 
+02ae 204044ff call mouse_check_discovery_timeout_timer 
+02af 20404504 call mouse_check_direct_timeout_timer 
+02b0 20404512 call mouse_le_enable_att_list_timer 
+02b1 2040451f call mouse_le_battery_updata_timer 
+02b2 20404515 call mouse_le_send_smp_security_request_timer 
+02b3 2040452a call mouse_check_hid_handshake_timer 
+02b4 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+02b5 20404532 call mouse_check_reconnect_delay_long_sleep 
+02b6 20404535 call mouse_current_mult_update_timer 
+02b7 20404022 call mouse_wheel_trigger_timer 
+02b8 20404547 call mouse_store_information_delay_timer 
+02b9 202002e8 branch p_mouse_check_no_data_timeout_timer 
 
 p_mouse_rgb_led_off_enable_timer:
-0176 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
-0177 207a0000 rtn blank 
-0178 da604beb arg mem_rgb_led_off_enable_timer ,regc 
-0179 da40017b arg p_mouse_rgb_led_off_timeout ,regb 
-017a 2020318a branch timer_single_step 
+02ba 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
+02bb 207a0000 rtn blank 
+02bc da604beb arg mem_rgb_led_off_enable_timer ,regc 
+02bd da4002bf arg p_mouse_rgb_led_off_timeout ,regb 
+02be 2020318a branch timer_single_step 
 
 p_mouse_rgb_led_off_timeout:
-017b 20400190 call p_mouse_mbutton_function_enable 
-017c 6fe0cbf3 fetch 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
-017d 247a0000 nrtn blank 
-017e 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
-017f 202047e1 branch mouse_24g_hibernate_set 
+02bf 204002d4 call p_mouse_mbutton_function_enable 
+02c0 6fe0cbf3 fetch 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
+02c1 247a0000 nrtn blank 
+02c2 704bf300 jam 0 ,mem_rgb_led_on_continue_1min_timeout_flag 
+02c3 202047e1 branch mouse_24g_hibernate_set 
 
 p_mouse_rgb_led_off_time_init:
-0180 704beb1e jam 0x1e ,mem_rgb_led_off_enable_timer 
-0181 704be901 jam on ,mem_rgb_led_off_enable 
+02c4 704beb1e jam 0x1e ,mem_rgb_led_off_enable_timer 
+02c5 704be901 jam on ,mem_rgb_led_off_enable 
 
 p_mouse_mbutton_function_disable:
-0182 704bf401 jam on ,mem_mbutton_function_disable 
-0183 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0184 20406069 call gpio_config_output 
-0185 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0186 20206069 branch gpio_out_active 
+02c6 704bf401 jam on ,mem_mbutton_function_disable 
+02c7 6848c91a fetcht 1 ,mem_mbutton_gpio 
+02c8 20406069 call gpio_config_output 
+02c9 6848c91a fetcht 1 ,mem_mbutton_gpio 
+02ca 20206069 branch gpio_out_active 
 
 p_mouse_rgb_led_on_enable_timer:
-0187 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
-0188 247a0000 nrtn blank 
-0189 6fe0cbec fetch 1 ,mem_rgb_led_on_enable_timer 
-018a 207a0000 rtn blank 
-018b c000818f beq 1 ,p_mouse_rgb_led_enable_timeout 
-018c 1fe0ffff increase -1 ,pdata 
-018d 67e0cbec store 1 ,mem_rgb_led_on_enable_timer 
-018e 20200182 branch p_mouse_mbutton_function_disable 
+02cb 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
+02cc 247a0000 nrtn blank 
+02cd 6fe0cbec fetch 1 ,mem_rgb_led_on_enable_timer 
+02ce 207a0000 rtn blank 
+02cf c00082d3 beq 1 ,p_mouse_rgb_led_enable_timeout 
+02d0 1fe0ffff increase -1 ,pdata 
+02d1 67e0cbec store 1 ,mem_rgb_led_on_enable_timer 
+02d2 202002c6 branch p_mouse_mbutton_function_disable 
 
 p_mouse_rgb_led_enable_timeout:
-018f 704bec00 jam 0 ,mem_rgb_led_on_enable_timer 
+02d3 704bec00 jam 0 ,mem_rgb_led_on_enable_timer 
 
 p_mouse_mbutton_function_enable:
-0190 704bf400 jam off ,mem_mbutton_function_disable 
-0191 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0192 20406065 call gpio_out_inactive 
-0193 20002ee0 nop 12000 
-0194 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0195 20203f56 branch mouse_gpio_config_input_pu 
+02d4 704bf400 jam off ,mem_mbutton_function_disable 
+02d5 6848c91a fetcht 1 ,mem_mbutton_gpio 
+02d6 20406065 call gpio_out_inactive 
+02d7 20002ee0 nop 12000 
+02d8 6848c91a fetcht 1 ,mem_mbutton_gpio 
+02d9 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_rgb_led_on_timer:
-0196 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
-0197 247a0000 nrtn blank 
-0198 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
-0199 247a0000 nrtn blank 
+02da 6fe0cbea fetch 1 ,mem_rgb_led_on_enable 
+02db 247a0000 nrtn blank 
+02dc 6fe0cbe9 fetch 1 ,mem_rgb_led_off_enable 
+02dd 247a0000 nrtn blank 
 
 p_mouse_rgb_led_on:
-019a 6fe14bed fetch 2 ,mem_rgb_led_on_timer 
-019b 1fe0fe01 increase 1 ,pdata 
-019c 67e14bed store 2 ,mem_rgb_led_on_timer 
-019d d8400258 arg 0x0258 ,temp 
-019e 98467c00 isub temp ,null 
-019f 204281a1 call p_mouse_rgb_led_on_continue_1min ,zero 
-01a0 20600000 rtn 
+02de 6fe14bed fetch 2 ,mem_rgb_led_on_timer 
+02df 1fe0fe01 increase 1 ,pdata 
+02e0 67e14bed store 2 ,mem_rgb_led_on_timer 
+02e1 d8400258 arg 0x0258 ,temp 
+02e2 98467c00 isub temp ,null 
+02e3 204282e5 call p_mouse_rgb_led_on_continue_1min ,zero 
+02e4 20600000 rtn 
 
 p_mouse_rgb_led_on_continue_1min:
-01a1 704bf301 jam 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
-01a2 204000fe call p_mouse_rgb_led_on_timer_init 
-01a3 20200180 branch p_mouse_rgb_led_off_time_init 
+02e5 704bf301 jam 1 ,mem_rgb_led_on_continue_1min_timeout_flag 
+02e6 20400242 call p_mouse_rgb_led_on_timer_init 
+02e7 202002c4 branch p_mouse_rgb_led_off_time_init 
 
 p_mouse_check_no_data_timeout_timer:
-01a4 6fe0c92a fetch 1 ,mem_usb_addr 
-01a5 c3838000 rtnbit1 7 
-01a6 da604ab2 arg mem_mouse_no_data_timer ,regc 
-01a7 da4001a9 arg p_mouse_check_no_data_timeout ,regb 
-01a8 20203191 branch timer_single_step_2b 
+02e8 6fe0c92a fetch 1 ,mem_usb_addr 
+02e9 c3838000 rtnbit1 7 
+02ea da604ab2 arg mem_mouse_no_data_timer ,regc 
+02eb da4002ed arg p_mouse_check_no_data_timeout ,regb 
+02ec 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-01a9 6fe0c938 fetch 1 ,mem_device_flag 
-01aa c00000c3 beq mode_24g_device ,p_mouse_24g_enter_hibernate 
-01ab 2020431b branch mouse_disconnect 
+02ed 6fe0c938 fetch 1 ,mem_device_flag 
+02ee c00001da beq mode_24g_device ,p_mouse_24g_enter_hibernate 
+02ef 2020431b branch mouse_disconnect 
 
 p_mouse_dpi_led_blink_delay_timer:
-01ac da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-01ad da4001af arg p_mouse_dpi_led_blink_init ,regb 
-01ae 2020318a branch timer_single_step 
+02f0 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+02f1 da4002f3 arg p_mouse_dpi_led_blink_init ,regb 
+02f2 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-01af 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01b0 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-01b1 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-01b2 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-01b3 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-01b4 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-01b5 67e14930 store 2 ,mem_mouse_on_time 
-01b6 67e14932 store 2 ,mem_mouse_off_time 
-01b7 da200000 arg 0 ,rega 
-01b8 6848c992 fetcht 1 ,mem_mouse_dpi 
-01b9 18408402 increase 2 ,temp 
-01ba 18467c03 sub temp ,3 ,null 
-01bb 204101be call p_mouse_dpi_led_blink_init_level_4 ,positive 
-01bc 244101c2 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-01bd 202048ff branch mouse_dpi_led_blink_init_end 
+02f3 6fe0c927 fetch 1 ,mem_config_sensor_type 
+02f4 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+02f5 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+02f6 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+02f7 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+02f8 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+02f9 67e14930 store 2 ,mem_mouse_on_time 
+02fa 67e14932 store 2 ,mem_mouse_off_time 
+02fb da200000 arg 0 ,rega 
+02fc 6848c992 fetcht 1 ,mem_mouse_dpi 
+02fd 18408402 increase 2 ,temp 
+02fe 18467c03 sub temp ,3 ,null 
+02ff 20410302 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0300 24410306 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0301 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-01be 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01bf c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-01c0 18408401 increase 1 ,temp 
-01c1 20600000 rtn 
+0302 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0303 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0304 18408401 increase 1 ,temp 
+0305 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-01c2 184085fd increase -3 ,temp 
-01c3 20600000 rtn 
-
-p_g24_dispatch:
-01c4 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-01c5 245a01c7 ncall p_mouse_enable_g24_mark ,blank 
-01c6 202021d2 branch g24_dispatch + 1 
-
-p_mouse_enable_g24_mark:
-01c7 704bea01 jam on ,mem_rgb_led_on_enable 
-01c8 204001cf call p_mouse_rgb_led_on_enable_timer_init 
-01c9 79200026 set1 mark_24g ,mark 
-01ca 20600000 rtn 
+0306 184085fd increase -3 ,temp 
+0307 20600000 rtn 
 
 p_ui_timer_check:
-01cb 6fe0cbe8 fetch 1 ,mem_power_on_flag 
-01cc 245a7861 ncall ui_timer_init ,blank 
-01cd 704be800 jam 0 ,mem_power_on_flag 
-01ce 20207851 branch ui_timer_check + 1 
+0308 6fe0cbe8 fetch 1 ,mem_power_on_flag 
+0309 245a7861 ncall ui_timer_init ,blank 
+030a 704be800 jam 0 ,mem_power_on_flag 
+030b 20207851 branch ui_timer_check + 1 
 
 p_mouse_rgb_led_on_enable_timer_init:
-01cf 704be900 jam off ,mem_rgb_led_off_enable 
-01d0 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
-01d1 20600000 rtn 
+030c 704be900 jam off ,mem_rgb_led_off_enable 
+030d 704bec0b jam 11 ,mem_rgb_led_on_enable_timer 
+030e 20600000 rtn 
 
 p_spid_init:
-01d2 70448477 jam 0x77 ,mem_spi_init_clk 
-01d3 20205cb6 branch spid_init_common 
+030f 70448477 jam 0x77 ,mem_spi_init_clk 
+0310 20205cb6 branch spid_init_common 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/program/patch.prog	(revision 844)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/program/patch.prog	(working copy)
@@ -1,13 +1,17 @@
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
+	beq patch00_3,p_main_loop
+	beq patch10_3,p_set_sync_on
 	beq patch11_3,p_initialize_radio_cont	
 	beq patch13_7,p_init_param
 	beq patch15_6,p_app_init
+	beq patch16_0,p_app_evt_100ms_loop
 	beq patch18_3,p_mouse_start_work
 	beq patch18_7,p_mouse_app_enter_hibernate
 	beq patch19_1,p_mouse_setgpio_hibernate
 	beq patch19_2,p_mouse_lpm_before_common
+	beq patch19_4,p_mouse_adc_read_start
 	beq patch19_6,p_mouse_motion
 //	beq patch19_7,p_mouse_dpi_process
 	beq patch1a_0,p_mouse_seting_dpi
@@ -18,6 +22,8 @@
 
 pf_patch_ext:
 	beq patch24_1,p_spid_init
+	beq patch26_3,p_adc_init_data
+	beq patch26_4,p_enable_adc
 	beq patch30_7,p_ui_timer_check	
 	beq patch3b_5,p_g24_dispatch
 	beq patch3d_2,p_g24_transmit_no_interrupt
@@ -31,38 +37,180 @@
 	branch soft_reset+3
 
 
+/////////////////////////////////// adc//////////////////////////////////////
+p_main_loop:
+ifdef SIMPLE_PAIRING
+	call sp_calc_sequence
+endif
+ifdef SECURE_CONNECTION
+	call sp_calc_sequence_256
+endif
+ifdef SIMPLE_PAIRING
+ifdef SECURE_CONNECTION
+	call sp_calc_sequence_256_check
+endif
+endif
+	call le_advertising_dispatch+1
+	call idle_dispatch
+	call app_process_idle+1
+	call inquiry_dispatch+1
+	call inquiry_scan_dispatch+1
+	call page_scan_dispatch+1
+	call connection_dispatch+1
+	call g24_dispatch+2
+	call p_lpm_dispatch
+	branch main_loop
+	
+p_lpm_dispatch:
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	fetch 1,mem_ssp_enable
+	branch p_lpm_dispatch_next,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+p_lpm_dispatch_next:
+	fetch 1,mem_sc_calc
+	nrtn blank	
+	branch lpm_dispatch_next+3
+
+p_set_sync_on:
+	jam 0x5,modem_en
+	nop 2
+	jam 0x0,modem_en					/* if called from tx or rx */
+	fetch 1,mem_fcomp_div
+	beq XTAL_24M,set_sync_on_24m
+p_set_sync_on_16m:
+	jam 0x29,core_syn_afc_cfg1
+	branch set_sync_on_16m	
+
+p_adc_init_data:
+	arg mem_temp_block2,rega
+	arg 12,temp
+	setarg EFUSE_OFFSET_ADC_PARAM
+	call efuse_read_data
+	branch adc_init_data+6
+
+p_enable_adc:	
+	fetchr regb,1,core_rf_ldo_cfg6
+	jam 0x3d,core_rf_ldo_cfg6
+	jam 0xaa,core_rf_ldo_cfg5
+	jam 0x0c,core_rf_ldo_en0
+	fetch 1,core_clkpll_cfg6
+	set1 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x04,core_rf_ldo_en1
+	nop 60
+	jam 0,core_syn_en
+	jam 6,core_rx_en0
+	call read_adc_mode
+	store 1,core_gpadc_ctrl
+//	jam 0x07,core_gpadc_ctrl
+	jam 0x03,core_sum_ctrl
+	nop 60
+	fetch 1,core_sum_en
+	set1 7,pdata
+	store 1,core_sum_en
+	nop 1000
+	fetch 2,core_adc_sum
+	store 2,mem_adc_current_value
+	fetch 1,core_sum_en
+	set0 7,pdata
+	store 1,core_sum_en
+	jam 0,core_gpadc_ctrl
+	
+	storer regb,1,core_rf_ldo_cfg6
+	rtn
+
+
+p_mouse_adc_read_start:
+	fetch 1,mem_24g_device_led_status
+	nrtn blank
+	call p_enable_adc
+	branch mouse_adc_read_start+3
+
+p_app_evt_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	call ui_button_polling
+	call app_lpm_wake_auto_lock_timer
+	call app_unsniff_delay_timer
+	call app_discovery_timer
+	call flash_write_spi_sm_timer
+ifdef SPI2	
+	call flash_write_spi2_sm_timer
+endif	
+//	call adc_wait_timer
+	fetch 2,mem_cb_event_timer
+	call callback_func
+	branch p_app_evt_100ms_loop
+
+/////////////////////////////////// adc//////////////////////////////////////
+
+
+p_initialize_radio_cont:
+
+	jam 0xe6,core_syn_aac_cfg1
+
+	call initialize_syn_afc_cfg1
+	call initialize_rf_ldo_cfg1
+	call initialize_rc_cal
+
+	jam 0x09,core_rx_bq_cfg0
+
+	jam 5,core_clkpll_cfg0
+	jam 0x94,core_rx_iqadc_cfg
+
+	jam 0x0b,core_rf_ldo_cfg2
+	jam 0x05,core_rf_ldo_cfg3
+	jam 0x90,core_syn_pfd_lkd_cfg
+
+	jam 0x00,core_syn_loopdiv_dsm_cfg
+	jam 0x40,core_rx_ctrl1
+
+	branch initialize_radio_cont+8
+
+
+
+p_init_param:
+	jam 0,mem_lmo_tid2			// classic can't reconnect
+	branch init_param_next+1
+
+/////////////////////////////////// g24 250Hz use lpm//////////////////////////////////////
 p_app_init:
 p_mouse_init:
 	call enable_authrom
-	call p_mouse_wheel_set_wakeup
 	call p_mouse_setting_config
 	call p_lpm_write_ice_disable
 	call mouse_init_sunt
 	rtn wake
 	call mouse_dpi_config
-	branch mouse_init+4
-
-p_mouse_wheel_set_wakeup:
-	fetch 1,mem_sensor_shutdown_flag
-	rtn blank
-	fetch 1,mem_whee_a_data_gpio
-	arg gpcfg_pullup,temp
- 	call gpio_config_function_int
-	fetch 1,mem_whee_b_data_gpio
-	arg gpcfg_pullup,temp
- 	branch gpio_config_function_int
+	call mouse_usb_check_enable
+	call mouse_drawing_optima_init
+	call p_mouse_cb_fuction
+	call mouse_sensor_powerdown
+	branch mouse_init+8
 
 p_lpm_write_ice_disable:
 	fetch 2,core_ucode_flag
 	set0 lpmreg_ice_mode_bit,pdata
 	store 4,core_lpm_reg
 	branch lpm_write2_ctrl_option
-
-
+	
+p_ice_gpio_set_float:
+ 	fetcht 1,mem_select_sensor_angle_gpio
+	call gpio_set_high_impedance
+	fetcht 1,mem_mouse_reuse_2ice_gpio
+	branch gpio_set_high_impedance	
+	
 p_mouse_setting_config:
 	rtn wake
 	call g24_transmit_init
-//	call g24_chamap_param_update
+	call g24_chamap_param_update
 	call g24_chmap_param_init
 	call mouse_gpio_init
 	call mouse_param_init
@@ -70,9 +218,11 @@
 	call p_mouse_sensor_set_angle
 	fetcht 1,mem_mouse_sensor_sdio_gpio
 	call gpio_config_input
-
 	call p_ice_gpio_set_float
-	
+	call p_g24_short_sleep_set_8ms
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G_250Hz,mouse_setting_config_next
+	call p_g24_short_sleep_set_4ms
 	branch mouse_setting_config_next
 
 p_mouse_sensor_set_angle:
@@ -94,36 +244,105 @@
 	call gpio_get_bit
 	ncall mouse_sensor_switch_angle,true
 	branch mouse_gpio_config_input_pd	
+	
 
-p_ice_gpio_set_float:
- 	fetcht 1,mem_select_sensor_angle_gpio
-	call gpio_set_high_impedance
-	fetcht 1,mem_mouse_reuse_2ice_gpio
-	branch gpio_set_high_impedance
- 	
-p_init_param:
-	jam 0,mem_lmo_tid2			// classic can't reconnect
-	branch init_param_next+1
+p_g24_short_sleep_set_8ms:
+	setarg 58000
+	store 3,mem_24g_short_sleep_set
+	rtn
+p_g24_short_sleep_set_4ms:
+	setarg 6000
+	store 3,mem_24g_short_sleep_set
+	rtn
 
-p_initialize_radio_cont:
-	jam 0xe6,core_syn_aac_cfg1
-	call initialize_syn_afc_cfg1
-	call initialize_rf_ldo_cfg1
-	call initialize_rc_cal
-	jam 0x09,core_rx_bq_cfg0
-	jam 5,core_clkpll_cfg0
-	jam 0x94,core_rx_iqadc_cfg
-	jam 0x0b,core_rf_ldo_cfg2
-	jam 0x05,core_rf_ldo_cfg3
-	jam 0x90,core_syn_pfd_lkd_cfg
-	branch initialize_radio_cont+8
+p_mouse_cb_fuction:
+	setarg p_mouse_24g_package_data
+	store 2,mem_cb_24g_transmit_data
+	setarg p_mouse_24g_search_dongle
+	store 2,mem_cb_24g_search_receiver
+	branch mouse_cb_fuction+4
+
+p_mouse_24g_package_data:		// 250Hz
+	rtnmark0 mark_24g
+	call mouse_motion
+	nrtn user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,p_mouse_24g_mouse_package_data
+	fetch 1,mem_customer_key
+	nbranch mouse_24g_keyboard_package_data,blank
+p_mouse_24g_mouse_package_data:
+	call mouse_data_xy_release
+	fetch 1,mem_24g_data_type
+	bbit1 1,p_mouse_24g_mouse_package_data_now	// last package is keyboard data
+	fetcht 1,mem_24g_txbuf+1
+	fetch 1,mem_mouse_key
+	ior temp,pdata
+	store 1,mem_mouse_key
+	fetcht 1,mem_24g_txbuf+6
+	fetch 1,mem_mouse_z
+	iadd temp,pdata
+	store 1,mem_mouse_z
+	fetcht 1,mem_24g_txbuf+7
+	fetch 1,mem_mouse_tz
+	iadd temp,pdata
+	store 1,mem_mouse_tz	
+p_mouse_24g_mouse_package_data_now:	
+	jam TYPE_MS,mem_24g_data_type
+	arg 7,rega	//length
+	arg mem_mouse_key,regb //tx buff
+	branch g24_transmit_by_interrupt_enable
 
+p_mouse_24g_search_dongle:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G_SEARCH_DONGLE
+	fetch 1,mem_mouse_long_mult_flag
+	rtn blank
+	fetch 1,mem_24g_abort_pac
+	rtn blank
+	fetch 1,mem_mouse_search_dongle_interval
+	increase 1,pdata
+	and_into 3,pdata
+	store 1,mem_mouse_search_dongle_interval
+	nrtn blank	//400ms
+	jam 0,mem_mouse_search_dongle_ch
+p_mouse_24g_search_dongle_loop:
+	fetch 1,mem_mouse_search_dongle_ch
+	increase 1,pdata
+	store 1,mem_mouse_search_dongle_ch
+	sub pdata,G24_CH_NUMBER,null
+	nbranch p_mouse_24g_search_dongle_loop_end,positive
+	call g24_reconn_data_prep
+	call g24_transmit_receive_ack
+	nbranch p_mouse_24g_search_dongle_loop_retry,sync
+	nbranch p_mouse_24g_search_dongle_loop_retry,user3
+	call mouse_24g_search_dongle_success
+p_mouse_24g_search_dongle_loop_end:
+	call g24_txbuf_clear
+	fetch 1,mem_mouse_search_dongle_count
+	increase 1,pdata
+	store 1,mem_mouse_search_dongle_count
+	beq G24_CH_POLL_COUNT,p_mouse_24g_search_dongle_check
+	rtn	
+
+p_mouse_24g_search_dongle_loop_retry:
+	call g24_ch
+	branch p_mouse_24g_search_dongle_loop
+
+p_mouse_24g_search_dongle_check:
+	jam 0,mem_mouse_search_dongle_count
+	fetch 1,mem_mouse_search_dongle_action
+	rtnbit1 G24_DISCONN_STATE
+	set1 G24_DISCONN_STATE,pdata
+	store 1,mem_mouse_search_dongle_action
+	fetch 2,mem_mouse_24g_search_dongle_time_init		
+	store 2,mem_mouse_no_data_timer
+	branch mouse_sensor_powerdown
 
 p_g24_transmit_no_interrupt:
 	call g24_txdata_prep
 	nbranch p_g24_nodata_transmit,user
 p_g24_transmit_start:
-	call g24_transmit_process
+	call p_g24_transmit_process
 	call power_ctrl_start
 	fetch 1,mem_sensor_shutdown_flag
 	nbranch p_g24_short_sleep,blank
@@ -137,6 +356,59 @@
 	call clear_wake
 	fetch 3,mem_24g_short_sleep_set
 	branch g24_long_sleep2
+
+p_g24_transmit_process:
+	jam 0,mem_24g_retry
+p_g24_transmit_loop:
+	fetchr timeup,2,mem_param_rx_setup
+	until clkn_rt,meet
+	call g24_transmit_receive_ack
+	fetch 1,mem_24g_no_ack	//tx noack
+	beq no_ack_24g,g24_transmit_no_ack
+	nbranch p_g24_retransmit,sync
+	nbranch p_g24_retransmit,user3
+	call g24_ackpayload_parse
+	call p_mouse_wakeup_24g
+	branch g24_transmit_no_ack
+
+p_mouse_wakeup_24g:
+	fetch 1,mem_sensor_shutdown_flag
+	ncall p_mouse_wakeup_24g_from_long_sleep,blank
+	jam 0,mem_sensor_shutdown_flag
+	rtn	
+	
+p_mouse_wakeup_24g_from_long_sleep:
+	call mouse_init_sensor_wakeup
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
+p_mouse_wheel_set_wakeup:
+	fetch 1,mem_whee_a_data_gpio
+	arg gpcfg_pullup,temp
+ 	call gpio_config_function_int
+	fetch 1,mem_whee_b_data_gpio
+	arg gpcfg_pullup,temp
+ 	branch gpio_config_function_int
+
+p_g24_retransmit:	
+	fetch 1,mem_24g_abort_pac
+	nrtn blank
+	fetch 2,mem_24g_txfail_cnt
+	increase 1,pdata
+	store 2,mem_24g_txfail_cnt	
+	fetch 1,mem_24g_txfail_cnt+1
+	bbit1 1,g24_tx_attempt_fail
+	call g24_transmit_hop_process
+	call p_delay_40ms
+	branch g24_transmit_loop
+
+p_delay_40ms:
+	fetch 1,mem_24g_txfail_cnt+1
+	sub pdata,0x00,null
+	rtn positive
+	arg 40,loopcnt
+	branch delay_ms_wait
+		
+/////////////////////////////////// g24 250Hz use lpm//////////////////////////////////////
 	
 p_mouse_app_enter_hibernate:	// 1.3mA hibernate after sensroe reset
 	setarg PAN_REG_CONFIG
@@ -160,13 +432,62 @@
 	fetch 1,mem_mouse_sensor_sdio_gpio
 	arg gpcfg_output_high,temp
 	call gpio_config_function_int
-	branch mouse_setgpio_hibernate+3
+	arg 3,temp
+	call mouse_gpio_config_input_pu
+	call mouse_lpm_before_common
+	call gpio_pd_idle
+	arg 19,temp
+	call mouse_gpio_config_input_pu
+	call p_mouse_gpio_set_high_impedance
+	call p_mouse_adc_gpio_set_before_hibernate
+	branch p_mouse_wheel_gpio_set_before_hibernate
+	
+p_mouse_gpio_set_high_impedance:
+	fetch 3,mem_mouse_set_high_impedance_bit_set
+	store 3,mem_pdatatemp
+	arg 20,loopcnt
+	arg 0,temp
+p_mouse_gpio_set_high_impedance_bit_loop:	
+	fetch 3,mem_pdatatemp
+	isolate1 0,pdata
+	call gpio_set_high_impedance,true
+	fetch 3,mem_pdatatemp
+	rshift pdata,pdata
+	store 3,mem_pdatatemp
+	increase 1,temp
+	loop p_mouse_gpio_set_high_impedance_bit_loop
+	rtn
+
+p_mouse_adc_gpio_set_before_hibernate:	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+	fetch 1,mem_adc_config_flag_init
+	rtnne ADC_CONFIG_GPIO
+	fetch 1,mem_adc_channel_gpio	
+	arg gpcfg_no_ie,temp
+ 	branch gpio_config_function_int
+
+p_mouse_wheel_gpio_set_before_hibernate:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
+p_mouse_wheel_clr_wakeup:
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_clr_wake
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_clr_wake
+		
+	fetch 1,mem_whee_a_data_gpio
+	arg gpcfg_pulldown,temp
+	call gpio_config_function_int
+	fetch 1,mem_whee_b_data_gpio
+	arg gpcfg_pulldown,temp
+	branch gpio_config_function_int
 
 p_mouse_lpm_before_common:
-//	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
-//	call gpio_config_input
-//	fetcht 1,mem_whee_b_data_gpio
-//	call gpio_config_input
+	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
+	call gpio_config_input
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_config_input
 	
 	call mouse_wheel_check
 	fetch 1,mem_mouse_sensor_sclk_gpio	// set sclk high
@@ -214,29 +535,71 @@
 	fetch 1,mem_24g_transmit_by_interrupt
 	rtneq G24_TX_TIMER_INT_ENABLE
 	call g24_search_receiver
-	branch p_g24_long_sleep
-
-
 p_g24_long_sleep:
 	call g24_lpm_wait
 	nrtn user
 	fetch 1,mem_sensor_shutdown_flag
 	ncall mouse_setgpio_hibernate,blank
 	fetch 4,mem_24g_enter_hibernate
-	call clk2lpo
-	storet 4,mem_sleep_counter
-  	branch lpm_sleep
+	branch g24_long_sleep2
+	
 p_mouse_priority_bb_event:
 	copy regc,pdata
+	beq BT_EVT_BB_CONNECTED,p_mouse_bb_event_connected
 	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
 	beq BT_EVT_24G_PAIRING_COMPLETE,p_mouse_24g_pairing_complete
 	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
+	beq BT_EVT_LE_START_ENC,p_mouse_le_ll_start_encryt
+	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,p_mouse_le_parse_conn_param_accepted
+	beq BT_EVT_LE_DISCONNECTED,p_mouse_le_bb_disconnected
 	branch mouse_priority_bb_event+2
 
+p_mouse_bb_event_connected:
+	call mouse_no_data_timer_init
+	branch mouse_bb_event_connected
+	
+p_mouse_le_bb_disconnected:
+	setarg 0
+	store 2,mem_le_battery_level_updata_timer
+	jam 0,mem_mouse_le_bb_connected_flag
+	setarg LE_INTERVAL_7_5MS
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_BT_125Hz,mouse_le_bb_disconnected_next+2
+	setarg LE_INTERVAL_8_75MS
+	branch mouse_le_bb_disconnected_next
+
+p_mouse_le_ll_start_encryt:
+	fetch 1,mem_mouse_le_reconnect_flag
+	beq 1,p_mouse_le_ll_reconn_start_encryt
+	jam 20,mem_le_start_encrypt_timer
+	branch mouse_le_ll_enable_start_enc_flag
+p_mouse_le_ll_reconn_start_encryt:
+	call mouse_updata_le_param
+	jam 5,mem_le_start_encrypt_timer
+	branch mouse_le_ll_enable_start_enc_flag
+
+p_mouse_le_parse_conn_param_accepted:
+	fetch 1,mem_le_new_conninterval
+	sub pdata,LE_INTERVAL_15MS,null
+	nbranch mouse_le_conn_param_lpm_disable,positive
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+	fetch 1,mem_le_new_connslavelatency
+	branch mouse_le_lpm_mult_reinit,blank
+	fetcht 1,mem_lpm_mult_init
+	isub temp,null
+	branch mouse_le_lpm_mult_reinit,positive
+	fetch 1,mem_le_new_connslavelatency
+	store 1,mem_lpm_mult_init						// mouse_le_lpm_mult_reinit function will reinit mem_lpm_mult
+	branch mouse_le_conn_param_lpm_enable
+
 
 p_mouse_24g_pairing_complete:
 	call mouse_no_data_timer_init
 	branch mouse_24g_pairing_complete
+
 p_mouse_24g_attempt_success:
 	fetch 4,mem_24g_addr
 	store 4,mem_24g_receiver_addr
@@ -274,6 +637,62 @@
 	jam DEFAULT_24G_DEVICE,mem_24g_reconn_type
 	branch g24_pair_dispatch+1
 
+p_g24_reconn_dispatch:
+	fetch 2,mem_24g_reconn_count
+	arg 0x01f8,temp
+	iand temp,pdata
+	branch p_g24_reconn_dispatch_next,blank
+	fetch 2,mem_24g_reconn_count
+	increase 1,pdata
+	store 2,mem_24g_reconn_count
+	rtn
+p_g24_reconn_dispatch_next:
+	call g24_reconn_data_prep
+	call g24_transmit_receive_ack
+	nbranch p_g24_reconn_device_fail,sync
+	nbranch p_g24_reconn_device_fail,user3
+	call g24_ackpayload_parse
+	branch g24_reconn_receiver_succ
+	
+p_g24_reconn_device_fail:
+	fetch 1,mem_24g_fast_conn_enable
+	branch g24_ch,blank
+	fetch 2,mem_24g_reconn_count
+	increase 1,pdata
+	store 2,mem_24g_reconn_count
+	fetch 1,mem_24g_reconn_count+1
+	isolate1 1,pdata	// each 8 times switch
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_RECEIVER,g24_reconn_fast_conn_and_receiver
+	beq FAST_CONN_AND_3_0_ADDR,g24_reconn_fast_conn_and_3_0
+	beq RECEIVER_AND_3_0_ADDR,g24_reconn_receiver_and_3_0
+	beq PAIR_AND_3_0_ADDR,p_g24_reconn_pair_and_3_0
+	branch g24_reconn_receiver_addr
+
+p_g24_reconn_pair_and_3_0:
+	branch g24_reconn_device_3_0_addr,true
+	branch g24_pair_init_param
+
+p_g24_dispatch:
+	rtnmark1 mark_adc_enable
+	bmark1 mark_24g_rxmode,g24_receive_dispatch
+p_g24_transmit_dispatch:
+	rtnmark0 mark_24g
+	fetch 1,mem_24g_conn_sm
+	bbit1 STATE_24G_PAIR,g24_pair_dispatch
+	bbit1 STATE_24G_RECONN,g24_reconn_dispatch
+	fetch 1,mem_24g_transmit_by_interrupt
+	beq G24_TX_TIMER_INT_ENABLE,p_g24_transmit_by_interrupt
+	branch g24_transmit_no_interrupt
+
+p_g24_transmit_by_interrupt:
+	call g24_timer_check
+	nbranch p_g24_transmit_dispatch,user
+	call g24_interval_calibrate
+	fetch 2,mem_24g_transmit_by_interrupt_exit_count
+	increase 1,pdata
+	store 2,mem_24g_transmit_by_interrupt_exit_count
+	branch g24_transmit_no_interrupt
 
 p_mouse_start_work:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -663,16 +1082,7 @@
 /////////////////////////////////////////////////////////////////////////////////////////////////
 
 
-p_g24_dispatch:
-	fetch 1,mem_sensor_shutdown_flag
-	ncall p_mouse_enable_g24_mark,blank
-	branch g24_dispatch+1
 
-p_mouse_enable_g24_mark:
-	jam ON,mem_rgb_led_on_enable
-	call p_mouse_rgb_led_on_enable_timer_init
-	set1 mark_24g,mark
-	rtn
 
 p_ui_timer_check:		// 100ms timer will return 4 or 5 times when power on
 	fetch 1,mem_power_on_flag
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/sched/mouse.dat	(revision 844)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/TW-GY05_Only2.4G/sched/mouse.dat	(working copy)
@@ -85,6 +85,7 @@
 #bit1 MOUSE_ENABLE_XY_OFFSET
 #bit2 MOUSE_ENABLE_24G_AUTO_PAIR_NERVER_BEEN_PAIRED
 #bit3 MOUSE_ENABLE_LE_BATTERY_SERVICE_CANCEL
+#bit4 MOUSE_ENABLE_WHEEL_WAKE_UP_CANCEL
 
 
 mem_mouse_flag:
@@ -130,7 +131,7 @@
 mem_whee_b_data_gpio:05
 mem_config_device_24g_led_gpio:ff#03
 mem_config_device_bt1_led_gpio:ff
-mem_select_sensor_angle_gpio:13
+mem_select_sensor_angle_gpio:ff
 
 mem_lbutton_gpio:0b
 mem_rbutton_gpio:0d
@@ -146,7 +147,7 @@
 mem_dpi_led_gpio:ff#03
 
 mem_sensor_angle_default:02	#00--6CLK   01--9CLK   02--12CLK   03--3CLK
-mem_sensor_angle_switch:01	#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
 
 
@@ -229,7 +230,7 @@
 mem_lpm_mult_init:20
 
 mem_app_connection_options:06
-mem_lap:15 a0 c8 12 23 51
+mem_lap:19 a0 c8 12 23 51
 mem_local_name_length:
 'BT3.0 Mouse
 mem_sniff_param_interval:
@@ -460,7 +461,7 @@
 mem_24g_enter_hibernate:00 48 60
 mem_rssi_buff_index:07
 mem_rssi_signal_buf_ptr:mem_mouse_rssi_signal_buf
-mem_power_ctrl_pac_succ_cnt_init:32
+mem_power_ctrl_pac_succ_cnt_init:80
 mem_24g_long_sleep_param_update_timer_init:14 00
 mem_24g_transmit_by_interrupt_exit_count_init:50 00
 
