Index: format/app_mouse.format
===================================================================
--- /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/format/app_mouse.format	(revision 3912)
+++ /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/format/app_mouse.format	(working copy)
@@ -327,6 +327,10 @@
 2 mem_mouse_vdd_empty_vinvol
 2 mem_mouse_vdd_low_vinvol
 2 mem_mouse_vdd_vin_now_vol
+
+2 mem_mouse_powerdown_sensor_timeout
+2 mem_mouse_powerdown_sensor_timer
+1 mem_mouse_power_down_flag
 )
 
 (
Index: output/flash.dat
===================================================================
--- /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/output/flash.dat	(revision 3912)
+++ /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-96
+5e
 14
 20
 20
@@ -11,7 +11,7 @@
 20
 40
 01
-bc
+c0
 68
 00
 c1
@@ -19,11 +19,11 @@
 60
 00
 ce
-f6
+fb
 20
 40
 04
-a0
+92
 68
 00
 c6
@@ -62,8 +62,8 @@
 80
 20
 20
-05
 04
+f6
 58
 00
 01
@@ -75,7 +75,7 @@
 58
 00
 04
-29
+1b
 60
 01
 41
@@ -91,7 +91,7 @@
 58
 00
 02
-37
+3b
 60
 01
 41
@@ -99,7 +99,7 @@
 58
 00
 01
-da
+de
 60
 01
 41
@@ -107,7 +107,7 @@
 58
 00
 02
-49
+4d
 60
 01
 41
@@ -115,7 +115,7 @@
 58
 00
 02
-52
+56
 60
 01
 41
@@ -131,7 +131,7 @@
 60
 01
 4f
-82
+87
 24
 55
 80
@@ -143,7 +143,7 @@
 20
 40
 02
-4f
+53
 68
 00
 c7
@@ -163,7 +163,7 @@
 20
 20
 03
-12
+03
 58
 00
 01
@@ -171,7 +171,7 @@
 60
 01
 4f
-82
+87
 20
 60
 00
@@ -263,7 +263,7 @@
 c2
 84
 00
-4e
+4f
 c0
 00
 80
@@ -274,12 +274,12 @@
 67
 c0
 42
-85
-02
+84
+f4
 c0
 44
 84
-d5
+c7
 c0
 50
 80
@@ -295,23 +295,27 @@
 c0
 71
 83
-14
+05
+c0
+72
+01
+e1
 c0
 73
 03
-38
+29
 c0
 75
 03
-9b
+8d
 c0
 75
 83
-9e
+90
 c0
 76
 03
-a4
+96
 20
 20
 2a
@@ -319,59 +323,55 @@
 c0
 1c
 83
-aa
+9c
 c0
 21
 83
-b2
+a4
 c0
 25
 03
-b8
+aa
 c0
 2b
 83
-bb
+ad
 c0
 2c
 83
-bd
+af
 c0
 31
 83
-bf
+b1
 c0
 33
 03
-ee
+e0
 c0
 33
-84
-05
+83
+f7
 c0
 35
 04
-15
+07
 c0
 3b
 84
-1f
+11
 c0
 46
 04
-2b
+1d
 c0
 46
 84
-37
-c0
-50
-02
-cb
+29
 c0
 7d
 04
-3e
+30
 20
 20
 2a
@@ -567,11 +567,11 @@
 68
 08
 ce
-fa
+ff
 58
 00
 4f
-01
+06
 98
 40
 8a
@@ -595,7 +595,7 @@
 60
 08
 ce
-fa
+ff
 20
 60
 00
@@ -667,7 +667,7 @@
 68
 00
 cf
-7f
+84
 c0
 00
 ff
@@ -811,7 +811,7 @@
 1f
 e1
 7e
-be
+bf
 60
 00
 80
@@ -831,7 +831,7 @@
 20
 20
 03
-14
+05
 70
 89
 5b
@@ -911,7 +911,7 @@
 68
 00
 ce
-f6
+fb
 60
 00
 c1
@@ -926,8 +926,8 @@
 23
 20
 20
-05
 04
+f6
 da
 20
 43
@@ -975,7 +975,7 @@
 68
 03
 4f
-84
+89
 60
 03
 44
@@ -1034,8 +1034,8 @@
 11
 20
 40
-03
-0a
+02
+fb
 68
 00
 c6
@@ -1063,7 +1063,7 @@
 20
 20
 03
-10
+01
 ea
 61
 00
@@ -1094,8 +1094,8 @@
 09
 20
 40
-03
-0a
+02
+fb
 20
 20
 40
@@ -1199,7 +1199,7 @@
 60
 02
 4e
-67
+6c
 20
 40
 01
@@ -1435,7 +1435,7 @@
 60
 02
 4e
-67
+6c
 20
 60
 00
@@ -1667,7 +1667,7 @@
 20
 5a
 01
-d7
+db
 68
 02
 46
@@ -1683,7 +1683,7 @@
 c0
 00
 81
-b8
+b9
 20
 40
 3f
@@ -1695,7 +1695,11 @@
 20
 40
 01
-d2
+bd
+20
+40
+01
+d6
 68
 00
 cd
@@ -1703,7 +1707,7 @@
 c0
 00
 81
-ad
+ae
 da
 20
 46
@@ -1715,7 +1719,7 @@
 20
 54
 01
-c1
+c5
 20
 60
 00
@@ -1779,7 +1783,19 @@
 20
 20
 01
-b2
+b3
+70
+41
+72
+08
+70
+4d
+41
+1e
+20
+60
+00
+00
 70
 47
 a2
@@ -1827,7 +1843,7 @@
 20
 34
 01
-c9
+cd
 20
 60
 00
@@ -1907,15 +1923,15 @@
 20
 40
 02
-22
+26
 20
 20
 01
-dd
+e1
 20
 40
 01
-e0
+e4
 20
 40
 3f
@@ -1987,11 +2003,11 @@
 c0
 00
 81
-f4
+f8
 c0
 01
 01
-f8
+fc
 68
 00
 c6
@@ -1999,7 +2015,7 @@
 c2
 83
 82
-04
+08
 20
 60
 00
@@ -2010,12 +2026,12 @@
 b7
 c0
 00
-01
-fc
+02
+00
 c0
 01
-81
-fe
+82
+02
 20
 60
 00
@@ -2027,11 +2043,11 @@
 c0
 00
 02
-00
+04
 c0
 01
 82
-02
+06
 20
 60
 00
@@ -2083,19 +2099,19 @@
 c0
 00
 02
-0c
+10
 c0
 00
 82
-0f
+13
 c0
 01
 02
-12
+16
 c0
 01
 82
-15
+19
 20
 60
 00
@@ -2107,7 +2123,7 @@
 c0
 01
 82
-18
+1c
 20
 60
 00
@@ -2119,7 +2135,7 @@
 c0
 00
 02
-18
+1c
 20
 60
 00
@@ -2131,7 +2147,7 @@
 c0
 01
 82
-1d
+21
 20
 60
 00
@@ -2143,7 +2159,7 @@
 c0
 00
 02
-1d
+21
 20
 60
 00
@@ -2195,7 +2211,7 @@
 20
 40
 03
-74
+66
 68
 08
 c6
@@ -2203,7 +2219,7 @@
 20
 40
 03
-79
+6b
 68
 08
 c6
@@ -2215,11 +2231,11 @@
 20
 20
 82
-35
+39
 20
 40
 03
-74
+66
 68
 00
 c6
@@ -2259,7 +2275,7 @@
 20
 40
 04
-90
+82
 20
 20
 3d
@@ -2267,7 +2283,7 @@
 20
 40
 03
-74
+66
 20
 20
 3d
@@ -2279,23 +2295,23 @@
 c0
 0a
 02
-3e
+42
 c0
 0a
 82
-40
+44
 c0
 14
 82
-43
+47
 c0
 19
 02
-45
+49
 c0
 20
 02
-47
+4b
 20
 20
 41
@@ -2306,20 +2322,20 @@
 d0
 20
 20
-05
 04
+f6
 20
 40
 02
-4c
+50
 70
 11
 c5
 a2
 20
 20
-05
 04
+f6
 70
 0a
 99
@@ -2334,28 +2350,28 @@
 b3
 20
 20
-05
 04
+f6
 70
 11
 c5
 a1
 20
 20
-05
 04
+f6
 20
 40
 02
-4c
+50
 70
 11
 c5
 a4
 20
 20
-05
 04
+f6
 68
 00
 cc
@@ -2383,19 +2399,19 @@
 20
 40
 02
-94
+ad
 20
 40
 02
-f3
+e4
 20
 40
 02
-73
+8c
 20
 40
 02
-83
+9c
 20
 40
 42
@@ -2407,43 +2423,103 @@
 20
 40
 02
-60
+73
 20
 40
 02
-5d
+70
 20
 40
 02
-6b
+79
 20
 40
 02
-66
+84
+20
+40
+02
+7f
+20
+40
+02
+63
 20
 20
 04
-56
+48
 da
 60
-46
-c6
+4d
+bb
 da
 40
-3d
-60
+02
+66
 20
 20
 33
-6d
-da
+74
+68
+00
+cd
+bd
+24
+7a
+00
+00
+70
+4d
+bd
+01
+20
+20
+02
+53
+68
+01
+4d
+b9
+60
+01
+4d
+bb
+68
+00
+cd
+bd
+20
+7a
+00
+00
+70
+4d
+bd
+00
+20
+20
+00
+fd
+da
+60
+46
+c6
+da
+40
+3d
+60
+20
+20
+33
+6d
+da
 60
 46
 ae
 da
 40
 02
-63
+76
 20
 20
 33
@@ -2463,11 +2539,35 @@
 da
 60
 4d
+41
+da
+40
+02
+7c
+20
+20
+33
+6d
+68
+00
+c7
+c7
+60
+00
+c1
+72
+20
+60
+00
+00
+da
+60
+4d
 aa
 da
 40
 02
-69
+82
 20
 20
 33
@@ -2495,7 +2595,7 @@
 da
 40
 02
-70
+89
 20
 20
 33
@@ -2519,7 +2619,7 @@
 da
 40
 02
-76
+8f
 20
 20
 33
@@ -2539,7 +2639,7 @@
 da
 40
 02
-7b
+94
 20
 20
 33
@@ -2579,19 +2679,19 @@
 20
 40
 03
-53
+45
 c0
 03
 02
-86
+9f
 20
 20
 02
-8b
+a4
 20
 40
 02
-78
+91
 68
 00
 c6
@@ -2643,7 +2743,7 @@
 20
 20
 04
-90
+82
 68
 01
 4d
@@ -2654,6 +2754,14 @@
 00
 68
 00
+c9
+e1
+24
+7a
+00
+00
+68
+00
 c6
 ce
 1f
@@ -2669,8 +2777,12 @@
 7c
 0a
 20
-21
-02
+61
+00
+00
+20
+40
+68
 a8
 70
 46
@@ -2679,31 +2791,43 @@
 20
 40
 02
-af
-da
+cf
 20
-47
-09
-68
+40
+69
 08
-c6
-ea
-20
+1f
+ef
+fe
+03
+d8
 40
-68
-1d
-24
+00
+0f
+98
+46
+7e
+00
+1f
+e6
+7c
+64
 20
-82
-a2
+41
+02
+cc
+60
+01
+47
+0f
 da
 20
-4d
-b1
+47
+09
 20
 40
 02
-e6
+d7
 68
 00
 c2
@@ -2715,7 +2839,7 @@
 c3
 00
 02
-bb
+c7
 70
 4c
 d8
@@ -2724,82 +2848,6 @@
 20
 43
 e7
-70
-42
-2d
-00
-20
-40
-02
-c0
-20
-40
-69
-08
-68
-09
-4d
-af
-98
-40
-84
-00
-60
-09
-4d
-af
-20
-60
-00
-00
-70
-42
-2d
-02
-20
-40
-02
-c0
-20
-40
-69
-08
-60
-01
-47
-0f
-68
-01
-4d
-af
-1f
-e6
-fc
-0a
-20
-40
-7f
-86
-18
-07
-fe
-00
-60
-01
-4d
-b7
-58
-00
-00
-00
-60
-01
-4d
-af
-20
-60
-00
-00
 20
 40
 43
@@ -2819,19 +2867,19 @@
 20
 20
 04
-84
-68
+76
+d8
+40
+00
+05
+98
+46
+7e
 00
-c2
-2d
-c0
-01
-02
-c3
-20
 20
-68
-ec
+60
+00
+00
 68
 10
 80
@@ -2864,114 +2912,6 @@
 60
 00
 00
-68
-00
-c2
-2d
-c0
-81
-69
-0a
-68
-01
-42
-23
-68
-09
-42
-1d
-da
-60
-01
-f4
-98
-46
-22
-00
-68
-01
-42
-2f
-98
-46
-7e
-00
-24
-21
-02
-dd
-d8
-40
-01
-f4
-98
-4f
-a4
-00
-1a
-62
-7e
-00
-9a
-2f
-fe
-00
-9a
-40
-fe
-00
-9a
-26
-fc
-00
-20
-40
-7f
-86
-18
-07
-fe
-00
-20
-60
-00
-00
-18
-42
-7e
-00
-d8
-40
-01
-f4
-98
-46
-7e
-00
-68
-09
-42
-2b
-98
-4f
-a4
-00
-1a
-62
-7e
-00
-9a
-2f
-fe
-00
-9a
-46
-7e
-00
-20
-20
-02
-d9
 ea
 24
 00
@@ -3055,7 +2995,7 @@
 20
 22
 84
-84
+76
 1f
 e0
 fe
@@ -3094,8 +3034,8 @@
 0a
 24
 41
-03
-08
+02
+f9
 1f
 e6
 7c
@@ -3103,11 +3043,11 @@
 20
 21
 04
-76
+68
 20
 20
 04
-84
+76
 70
 46
 cf
@@ -3147,7 +3087,7 @@
 c0
 ff
 83
-14
+05
 68
 00
 c6
@@ -3163,15 +3103,15 @@
 c0
 02
 03
-31
+22
 c0
 03
 03
-24
+15
 c0
 2d
 03
-24
+15
 68
 00
 c7
@@ -3183,7 +3123,7 @@
 20
 42
 83
-1f
+10
 68
 00
 c7
@@ -3191,7 +3131,7 @@
 c0
 00
 03
-21
+12
 c0
 01
 bd
@@ -3231,7 +3171,7 @@
 20
 42
 83
-1f
+10
 68
 00
 c7
@@ -3239,11 +3179,11 @@
 c0
 00
 03
-2d
+1e
 c0
 01
 83
-2f
+20
 68
 00
 cd
@@ -3263,7 +3203,7 @@
 20
 20
 03
-2b
+1c
 68
 00
 cd
@@ -3271,7 +3211,7 @@
 20
 20
 03
-2b
+1c
 68
 00
 c7
@@ -3283,7 +3223,7 @@
 20
 42
 83
-1f
+10
 68
 00
 c7
@@ -3327,23 +3267,27 @@
 20
 40
 03
-51
+43
 20
 40
 03
-46
+38
 20
 40
 03
-7f
+71
 24
 34
 03
-44
+36
 20
 40
 03
-4a
+3c
+20
+40
+02
+6a
 20
 20
 3f
@@ -3403,7 +3347,7 @@
 20
 40
 03
-53
+45
 20
 20
 40
@@ -3415,7 +3359,7 @@
 20
 40
 03
-56
+48
 20
 20
 40
@@ -3427,7 +3371,7 @@
 20
 40
 03
-74
+66
 68
 08
 c6
@@ -3447,7 +3391,7 @@
 20
 40
 03
-74
+66
 68
 08
 c6
@@ -3467,7 +3411,7 @@
 20
 40
 03
-74
+66
 68
 08
 c6
@@ -3487,7 +3431,7 @@
 20
 40
 03
-74
+66
 68
 08
 c6
@@ -3495,7 +3439,7 @@
 20
 40
 03
-79
+6b
 68
 08
 c6
@@ -3511,7 +3455,7 @@
 20
 40
 03
-74
+66
 68
 08
 cd
@@ -3519,7 +3463,7 @@
 20
 40
 03
-74
+66
 68
 08
 c6
@@ -3527,7 +3471,7 @@
 20
 40
 03
-79
+6b
 68
 08
 c6
@@ -3559,7 +3503,7 @@
 20
 20
 03
-7d
+6f
 79
 3f
 84
@@ -3591,7 +3535,7 @@
 20
 40
 03
-91
+83
 20
 40
 40
@@ -3599,7 +3543,7 @@
 20
 40
 03
-8b
+7d
 1a
 22
 7e
@@ -3663,7 +3607,7 @@
 20
 40
 03
-74
+66
 da
 20
 00
@@ -3675,7 +3619,7 @@
 20
 40
 03
-79
+6b
 68
 08
 cd
@@ -3691,7 +3635,7 @@
 20
 40
 03
-74
+66
 20
 20
 40
@@ -3706,16 +3650,16 @@
 81
 20
 20
-05
 04
+f6
 70
 11
 c5
 50
 20
 20
-05
 04
+f6
 d8
 a0
 43
@@ -3735,7 +3679,7 @@
 20
 40
 04
-7e
+70
 58
 00
 00
@@ -3783,7 +3727,7 @@
 20
 40
 04
-a9
+9b
 20
 20
 53
@@ -3830,16 +3774,16 @@
 40
 20
 20
-05
 04
+f6
 70
 11
 c5
 41
 20
 20
-05
 04
+f6
 68
 00
 84
@@ -3847,11 +3791,11 @@
 c2
 82
 83
-de
+d0
 20
 40
 04
-a3
+95
 68
 00
 c7
@@ -3859,7 +3803,7 @@
 24
 3a
 03
-c9
+bb
 68
 00
 84
@@ -3867,7 +3811,7 @@
 c3
 02
 03
-cd
+bf
 68
 00
 82
@@ -3875,7 +3819,7 @@
 20
 3a
 03
-cd
+bf
 20
 20
 56
@@ -3903,7 +3847,7 @@
 c0
 82
 83
-d0
+c2
 70
 47
 8e
@@ -3915,7 +3859,7 @@
 20
 5a
 01
-c5
+c9
 20
 20
 56
@@ -3967,11 +3911,11 @@
 20
 40
 03
-d3
+c5
 68
 00
 cf
-78
+7d
 1f
 e6
 7c
@@ -3979,11 +3923,11 @@
 24
 41
 04
-a7
+99
 68
 00
 cf
-78
+7d
 c1
 00
 00
@@ -3995,7 +3939,7 @@
 60
 00
 cf
-78
+7d
 20
 60
 00
@@ -4083,7 +4027,7 @@
 c0
 01
 83
-fd
+ef
 20
 20
 56
@@ -4094,8 +4038,8 @@
 db
 c0
 00
-84
-00
+83
+f2
 20
 20
 5c
@@ -4126,12 +4070,12 @@
 00
 c0
 02
-04
-09
+03
+fb
 c0
 03
-04
-0d
+03
+ff
 20
 20
 56
@@ -4143,7 +4087,7 @@
 20
 40
 03
-e7
+d9
 20
 40
 7e
@@ -4159,11 +4103,11 @@
 c0
 00
 84
-11
+03
 c0
 02
 84
-13
+05
 20
 20
 5a
@@ -4182,8 +4126,8 @@
 82
 20
 20
-05
 04
+f6
 68
 00
 80
@@ -4231,7 +4175,7 @@
 20
 37
 04
-22
+14
 24
 36
 d8
@@ -4270,8 +4214,8 @@
 42
 20
 20
-05
 04
+f6
 68
 10
 80
@@ -4311,7 +4255,7 @@
 20
 40
 04
-38
+2a
 60
 18
 80
@@ -4367,15 +4311,15 @@
 c0
 0f
 84
-49
+3b
 c0
 10
 04
-4c
+3e
 c0
 09
 04
-46
+38
 20
 20
 7d
@@ -4403,7 +4347,7 @@
 20
 20
 04
-4e
+40
 70
 01
 85
@@ -4459,11 +4403,11 @@
 c0
 00
 04
-5c
+4e
 c0
 00
 84
-66
+58
 20
 60
 00
@@ -4471,7 +4415,7 @@
 20
 40
 04
-76
+68
 68
 00
 cd
@@ -4495,7 +4439,7 @@
 20
 42
 84
-64
+56
 20
 60
 00
@@ -4507,7 +4451,7 @@
 20
 20
 04
-84
+76
 68
 00
 cd
@@ -4539,7 +4483,7 @@
 20
 3a
 04
-72
+64
 68
 00
 cd
@@ -4555,7 +4499,7 @@
 20
 3a
 04
-82
+74
 68
 00
 cd
@@ -4563,11 +4507,11 @@
 c0
 00
 84
-84
+76
 c0
 00
 04
-76
+68
 20
 60
 00
@@ -4583,15 +4527,15 @@
 c0
 00
 84
-7c
+6e
 c0
 01
 04
-7b
+6d
 20
 20
 04
-7d
+6f
 20
 20
 44
@@ -4635,7 +4579,7 @@
 24
 3a
 04
-88
+7a
 70
 4d
 00
@@ -4687,7 +4631,7 @@
 20
 20
 04
-9c
+8e
 70
 4d
 0a
@@ -4742,11 +4686,11 @@
 00
 70
 4f
-7b
+80
 01
 70
 4f
-78
+7d
 00
 20
 60
@@ -4755,7 +4699,7 @@
 68
 00
 cf
-78
+7d
 1f
 e0
 fe
@@ -4763,14 +4707,14 @@
 60
 00
 cf
-78
+7d
 20
 60
 00
 00
 70
 4f
-78
+7d
 03
 20
 60
@@ -4795,7 +4739,7 @@
 da
 20
 4f
-01
+06
 20
 40
 00
@@ -4803,7 +4747,7 @@
 60
 08
 cf
-79
+7e
 58
 00
 00
@@ -4811,7 +4755,7 @@
 c5
 13
 04
-b3
+a5
 58
 00
 00
@@ -4823,11 +4767,11 @@
 24
 21
 04
-cb
+bd
 68
 00
 cf
-78
+7d
 1f
 e6
 7c
@@ -4835,15 +4779,15 @@
 24
 21
 04
-bb
+ad
 68
 00
 cf
-78
+7d
 c0
 00
 04
-cc
+be
 20
 60
 00
@@ -4851,19 +4795,19 @@
 68
 00
 cf
-78
+7d
 c1
 90
 00
 00
 70
 4f
-78
+7d
 00
 68
 08
 cf
-79
+7e
 58
 00
 00
@@ -4871,7 +4815,7 @@
 c5
 13
 04
-c2
+b4
 58
 00
 00
@@ -4887,11 +4831,11 @@
 68
 00
 cf
-7b
+80
 c0
 00
 04
-d3
+c5
 1f
 e0
 ff
@@ -4899,11 +4843,11 @@
 60
 00
 cf
-7b
+80
 c0
 00
 04
-d3
+c5
 70
 41
 de
@@ -4914,16 +4858,16 @@
 00
 70
 4f
-78
+7d
 00
 68
 00
 cf
-7b
+80
 c0
 01
 04
-d1
+c3
 1f
 e0
 fe
@@ -4931,11 +4875,11 @@
 60
 00
 cf
-7b
+80
 c0
 00
 84
-c9
+bb
 70
 41
 de
@@ -5019,19 +4963,19 @@
 c0
 01
 04
-ed
+df
 c0
 02
 04
-f5
+e7
 c0
 10
 04
-ff
+f1
 20
 40
 04
-fa
+ec
 70
 89
 55
@@ -5083,7 +5027,7 @@
 20
 40
 04
-fa
+ec
 70
 89
 55
@@ -5159,7 +5103,7 @@
 20
 22
 85
-23
+15
 60
 08
 cd
@@ -5235,7 +5179,7 @@
 24
 22
 85
-14
+06
 20
 40
 01
@@ -5272,8 +5216,8 @@
 20
 00
 01
-6e
-80
+2f
+22
 aa
 55
 08
@@ -5355,7 +5299,7 @@
 55
 01
 00
-7c
+81
 4f
 00
 aa
@@ -5434,7 +5378,7 @@
 00
 1c
 40
-48
+58
 1c
 aa
 55
@@ -5461,13 +5405,6 @@
 55
 01
 00
-34
-40
-01
-aa
-55
-01
-00
 3f
 40
 04
@@ -5772,6 +5709,14 @@
 ff
 aa
 55
+02
+00
+b9
+4d
+70
+17
+aa
+55
 01
 00
 1f
@@ -5833,23 +5778,11 @@
 00
 09
 47
-87
-03
-0f
-03
-37
-03
-aa
-55
-06
-00
-b1
-4d
-00
+96
 00
-eb
+5a
 00
-f8
+6e
 00
 aa
 55
@@ -6588,35 +6521,35 @@
 55
 01
 00
-85
+8a
 4e
 01
 aa
 55
 01
 00
-40
+45
 4e
 01
 aa
 55
 01
 00
-84
+89
 4e
 04
 aa
 55
 01
 00
-7b
+80
 4e
 00
 aa
 55
 02
 00
-42
+47
 4e
 c0
 12
@@ -6624,7 +6557,7 @@
 55
 03
 00
-64
+69
 4e
 19
 19
@@ -6633,7 +6566,7 @@
 55
 10
 00
-50
+55
 4e
 00
 13
@@ -6655,14 +6588,14 @@
 55
 01
 00
-4f
+54
 4e
 ff
 aa
 55
 04
 00
-4b
+50
 4e
 20
 15
@@ -6672,7 +6605,7 @@
 55
 06
 00
-84
+89
 4f
 0f
 0f
@@ -6700,7 +6633,7 @@
 55
 03
 00
-6e
+73
 4e
 80
 4f
@@ -6711,7 +6644,7 @@
 00
 8d
 4d
-01
+02
 00
 aa
 55
@@ -6855,15 +6788,15 @@
 00
 30
 4d
-d8
+95
 28
 00
 55
 aa
 aa
 55
-f3
-53
+fb
+51
 ff
 20
 20
@@ -6907,8 +6840,12 @@
 14
 20
 40
+02
+6a
+20
+40
 01
-bc
+c0
 20
 20
 41
@@ -7117,10 +7054,6 @@
 00
 00
 00
-00
-00
-00
-00
 20
 20
 00
@@ -7460,7 +7393,7 @@
 20
 40
 02
-43
+47
 70
 46
 c6
@@ -7484,7 +7417,7 @@
 20
 40
 04
-90
+82
 70
 4c
 da
@@ -7696,7 +7629,7 @@
 20
 40
 02
-43
+47
 70
 47
 c6
@@ -7740,7 +7673,7 @@
 20
 5a
 02
-91
+aa
 70
 4d
 ae
@@ -7772,7 +7705,7 @@
 20
 40
 01
-bc
+c0
 20
 40
 58
@@ -7808,7 +7741,7 @@
 20
 40
 04
-82
+74
 20
 40
 01
@@ -8236,7 +8169,7 @@
 20
 40
 03
-9c
+8e
 20
 40
 01
@@ -9064,7 +8997,7 @@
 20
 20
 04
-98
+8a
 70
 47
 a1
@@ -9088,7 +9021,7 @@
 20
 40
 03
-a0
+92
 20
 20
 7d
@@ -9712,7 +9645,7 @@
 20
 40
 04
-93
+85
 70
 47
 a1
@@ -9764,7 +9697,7 @@
 20
 40
 03
-a0
+92
 20
 20
 7d
@@ -9848,7 +9781,7 @@
 20
 20
 02
-4f
+53
 18
 00
 7e
@@ -10000,7 +9933,7 @@
 c2
 85
 02
-8b
+a4
 20
 20
 41
@@ -10032,7 +9965,7 @@
 20
 40
 03
-53
+45
 20
 60
 80
@@ -10453,5 +10386,5 @@
 55
 00
 00
-87
-9c
+44
+85
Index: output/memmap.format
===================================================================
--- /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/output/memmap.format	(revision 3912)
+++ /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/output/memmap.format	(working copy)
@@ -1850,126 +1850,129 @@
 0x4db3 mem_mouse_vdd_empty_vinvol
 0x4db5 mem_mouse_vdd_low_vinvol
 0x4db7 mem_mouse_vdd_vin_now_vol
-0x4db9 mem_24g_rxbuf
-0x4ddb mem_24g_txbuf
-0x4dfb mem_24g_txpayload
-0x4e1d mem_24g_rxpayload
-0x4e3d mem_24g_rxdata_length
-0x4e3e mem_24g_pid
-0x4e3f mem_24g_datalen
-0x4e40 mem_24g_data_type
-0x4e41 mem_24g_txlen
-0x4e42 mem_24g_rx_window
-0x4e44 mem_24g_ensure
-0x4e45 mem_24g_txfail_cnt
-0x4e47 mem_24g_get_ack_fail
-0x4e48 mem_24g_retry
-0x4e49 mem_24g_ch
-0x4e4a mem_24g_current_ch_number
-0x4e4b mem_24g_paring_addr
-0x4e4f mem_24g_pairing_sm
-0x4e50 mem_24g_ch_map1
-0x4e54 mem_24g_ch_map2
-0x4e58 mem_24g_ch_map3
-0x4e5c mem_24g_ch_map4
-0x4e60 mem_24g_tx_btclk
-0x4e64 mem_24g_interval
-0x4e65 mem_24g_interval_min
-0x4e66 mem_24g_interval_max
-0x4e67 mem_24g_addr
-0x4e6b mem_24g_abort_pac
-0x4e6c mem_24g_check_dongle_times
-0x4e6e mem_24g_enter_hibernate
-0x4e76 mem_24g_device_addr
-0x4e7a mem_24g_pac_index
-0x4e7b mem_24g_no_ack
-0x4e7c mem_24g_sta_crc
-0x4e7f mem_24g_last_crc
-0x4e82 mem_24g_sta_pid
-0x4e83 mem_24g_last_pid
-0x4e84 mem_24g_max_retry
-0x4e85 mem_24g_mode
-0x4e86 mem_24g_rxdata_temp
-0x4ea8 mem_24g_rx_addr
-0x4eac mem_dongle_mode_init
-0x4ead mem_dongle_work_mode
-0x4eae mem_dongle_ms_bind_step
-0x4eaf mem_dongle_kb_bind_step
-0x4eb0 mem_dongle_bind_device_status
-0x4eb1 mem_24g_bind_payload
-0x4eb9 mem_24g_abort_packet
-0x4eba mem_24g_rf_laststa
-0x4ebb mem_24g_hop_btclk
-0x4ebf mem_24g_hop_interval
-0x4ec0 mem_24g_mode_switch
-0x4ec1 mem_24g_ackpayload_enable
-0x4ec2 mem_24g_hop_packet
-0x4ec3 mem_24g_pair_mode
-0x4ec4 mem_24g_nodata_timer_enable
-0x4ec5 mem_24g_time_slice
-0x4ec6 mem_24g_kb_data_sta_data
-0x4ece mem_24g_kb_data_last_data
-0x4ed6 mem_24g_kb_multikey_sta_data
-0x4ed9 mem_24g_kb_multikey_last_data
-0x4edc mem_24g_kb_blank_data_enable
-0x4edd mem_24g_kb_mul_blank_data_enable
-0x4ede mem_24g_ms_blank_data_enable
-0x4edf mem_24g_kb_addr
-0x4ee3 mem_24g_ms_addr
-0x4ee7 mem_24g_dg_last_ch
-0x4ee8 mem_24g_dg_ch_number
-0x4ee9 mem_24g_dg_config_ch_once
-0x4eea mem_24g_kb_last_ch
-0x4eeb mem_24g_kb_ch_number
-0x4eec mem_24g_kb_config_ch_once
-0x4eed mem_24g_ms_last_ch
-0x4eee mem_24g_ms_ch_number
-0x4eef mem_24g_ms_config_ch_once
-0x4ef0 mem_24g_syncword
-0x4ef2 mem_24g_syncword_crc8
-0x4ef3 mem_24g_get_syncword_crc8
-0x4ef4 mem_24g_ota_sta_pid
-0x4ef6 mem_tx_power_temp
-0x4ef7 mem_rssi_hex
-0x4ef8 mem_rssi_noise_avg
-0x4ef9 mem_rssi_noise_index
-0x4efa mem_rssi_signal_index
-0x4efb mem_rssi_noise_dg_avg
-0x4efc mem_rssi_noise_kb_avg
-0x4efd mem_rssi_noise_ms_avg
-0x4efe mem_rssi_noise_dg_index
-0x4eff mem_rssi_noise_kb_index
-0x4f00 mem_rssi_noise_ms_index
-0x4f01 mem_rssi_signal_buf
-0x4f09 mem_queue_ele_num
-0x4f0a mem_queue_read
-0x4f0c mem_queue_write
-0x4f0e mem_queue_start
-0x4f0e mem_data_ele0
-0x4f2e mem_data_ele1
-0x4f4e mem_data_ele2
-0x4f6e mem_queue_end
-0x4f6e mem_queue_temp
-0x4f70 mem_cb_24g_data
-0x4f72 mem_24g_hop_fastly_cnt
-0x4f73 mem_24g_hop_pac_retry
-0x4f74 mem_24g_rf_hop_ch
-0x4f75 mem_24g_rf_last_sta
-0x4f76 mem_24g_rf_work_stage
-0x4f77 mem_24g_sync_cnt
-0x4f78 mem_power_ctrl_pac_succ_cnt
-0x4f79 mem_rssi_avg_received
-0x4f7a mem_rssi_hex_received
-0x4f7b mem_power_ctrl_level
-0x4f7c mem_seqi
-0x4f7d mem_24g_auto_paring_switch
-0x4f7e mem_24g_paccnt
-0x4f7f mem_24g_transmit_by_interrupt
-0x4f80 mem_24g_transmit_by_interrupt_exit_count
-0x4f82 mem_24g_transmit_by_interrupt_exit_count_init
-0x4f84 mem_24g_allpowerful_addr
-0x4f8a mem_24g_stop_g24_mode
-0x4f8b mem_24g_stop_g24_mode_timeout
-0x4f8d mem_24g_pair_current_ch_num
-0x4f8e mem_24g_powerful_current_ch_num
-0x4f8f mem_24g_conn_sm
+0x4db9 mem_mouse_powerdown_sensor_timeout
+0x4dbb mem_mouse_powerdown_sensor_timer
+0x4dbd mem_mouse_power_down_flag
+0x4dbe mem_24g_rxbuf
+0x4de0 mem_24g_txbuf
+0x4e00 mem_24g_txpayload
+0x4e22 mem_24g_rxpayload
+0x4e42 mem_24g_rxdata_length
+0x4e43 mem_24g_pid
+0x4e44 mem_24g_datalen
+0x4e45 mem_24g_data_type
+0x4e46 mem_24g_txlen
+0x4e47 mem_24g_rx_window
+0x4e49 mem_24g_ensure
+0x4e4a mem_24g_txfail_cnt
+0x4e4c mem_24g_get_ack_fail
+0x4e4d mem_24g_retry
+0x4e4e mem_24g_ch
+0x4e4f mem_24g_current_ch_number
+0x4e50 mem_24g_paring_addr
+0x4e54 mem_24g_pairing_sm
+0x4e55 mem_24g_ch_map1
+0x4e59 mem_24g_ch_map2
+0x4e5d mem_24g_ch_map3
+0x4e61 mem_24g_ch_map4
+0x4e65 mem_24g_tx_btclk
+0x4e69 mem_24g_interval
+0x4e6a mem_24g_interval_min
+0x4e6b mem_24g_interval_max
+0x4e6c mem_24g_addr
+0x4e70 mem_24g_abort_pac
+0x4e71 mem_24g_check_dongle_times
+0x4e73 mem_24g_enter_hibernate
+0x4e7b mem_24g_device_addr
+0x4e7f mem_24g_pac_index
+0x4e80 mem_24g_no_ack
+0x4e81 mem_24g_sta_crc
+0x4e84 mem_24g_last_crc
+0x4e87 mem_24g_sta_pid
+0x4e88 mem_24g_last_pid
+0x4e89 mem_24g_max_retry
+0x4e8a mem_24g_mode
+0x4e8b mem_24g_rxdata_temp
+0x4ead mem_24g_rx_addr
+0x4eb1 mem_dongle_mode_init
+0x4eb2 mem_dongle_work_mode
+0x4eb3 mem_dongle_ms_bind_step
+0x4eb4 mem_dongle_kb_bind_step
+0x4eb5 mem_dongle_bind_device_status
+0x4eb6 mem_24g_bind_payload
+0x4ebe mem_24g_abort_packet
+0x4ebf mem_24g_rf_laststa
+0x4ec0 mem_24g_hop_btclk
+0x4ec4 mem_24g_hop_interval
+0x4ec5 mem_24g_mode_switch
+0x4ec6 mem_24g_ackpayload_enable
+0x4ec7 mem_24g_hop_packet
+0x4ec8 mem_24g_pair_mode
+0x4ec9 mem_24g_nodata_timer_enable
+0x4eca mem_24g_time_slice
+0x4ecb mem_24g_kb_data_sta_data
+0x4ed3 mem_24g_kb_data_last_data
+0x4edb mem_24g_kb_multikey_sta_data
+0x4ede mem_24g_kb_multikey_last_data
+0x4ee1 mem_24g_kb_blank_data_enable
+0x4ee2 mem_24g_kb_mul_blank_data_enable
+0x4ee3 mem_24g_ms_blank_data_enable
+0x4ee4 mem_24g_kb_addr
+0x4ee8 mem_24g_ms_addr
+0x4eec mem_24g_dg_last_ch
+0x4eed mem_24g_dg_ch_number
+0x4eee mem_24g_dg_config_ch_once
+0x4eef mem_24g_kb_last_ch
+0x4ef0 mem_24g_kb_ch_number
+0x4ef1 mem_24g_kb_config_ch_once
+0x4ef2 mem_24g_ms_last_ch
+0x4ef3 mem_24g_ms_ch_number
+0x4ef4 mem_24g_ms_config_ch_once
+0x4ef5 mem_24g_syncword
+0x4ef7 mem_24g_syncword_crc8
+0x4ef8 mem_24g_get_syncword_crc8
+0x4ef9 mem_24g_ota_sta_pid
+0x4efb mem_tx_power_temp
+0x4efc mem_rssi_hex
+0x4efd mem_rssi_noise_avg
+0x4efe mem_rssi_noise_index
+0x4eff mem_rssi_signal_index
+0x4f00 mem_rssi_noise_dg_avg
+0x4f01 mem_rssi_noise_kb_avg
+0x4f02 mem_rssi_noise_ms_avg
+0x4f03 mem_rssi_noise_dg_index
+0x4f04 mem_rssi_noise_kb_index
+0x4f05 mem_rssi_noise_ms_index
+0x4f06 mem_rssi_signal_buf
+0x4f0e mem_queue_ele_num
+0x4f0f mem_queue_read
+0x4f11 mem_queue_write
+0x4f13 mem_queue_start
+0x4f13 mem_data_ele0
+0x4f33 mem_data_ele1
+0x4f53 mem_data_ele2
+0x4f73 mem_queue_end
+0x4f73 mem_queue_temp
+0x4f75 mem_cb_24g_data
+0x4f77 mem_24g_hop_fastly_cnt
+0x4f78 mem_24g_hop_pac_retry
+0x4f79 mem_24g_rf_hop_ch
+0x4f7a mem_24g_rf_last_sta
+0x4f7b mem_24g_rf_work_stage
+0x4f7c mem_24g_sync_cnt
+0x4f7d mem_power_ctrl_pac_succ_cnt
+0x4f7e mem_rssi_avg_received
+0x4f7f mem_rssi_hex_received
+0x4f80 mem_power_ctrl_level
+0x4f81 mem_seqi
+0x4f82 mem_24g_auto_paring_switch
+0x4f83 mem_24g_paccnt
+0x4f84 mem_24g_transmit_by_interrupt
+0x4f85 mem_24g_transmit_by_interrupt_exit_count
+0x4f87 mem_24g_transmit_by_interrupt_exit_count_init
+0x4f89 mem_24g_allpowerful_addr
+0x4f8f mem_24g_stop_g24_mode
+0x4f90 mem_24g_stop_g24_mode_timeout
+0x4f92 mem_24g_pair_current_ch_num
+0x4f93 mem_24g_powerful_current_ch_num
+0x4f94 mem_24g_conn_sm
Index: output/program.lis
===================================================================
--- /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/output/program.lis	(revision 3912)
+++ /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/output/program.lis	(working copy)
@@ -7,10 +7,10 @@
 p_zcode:
 
 p_wake_from_power:
-0001 204001bc call p_mouse_data_init 
+0001 204001c0 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
-0003 6000cef6 store 1 ,mem_tx_power_temp 
-0004 204004a0 call power_ctrl_pac_succ_cnt_init 
+0003 6000cefb store 1 ,mem_tx_power_temp 
+0004 20400492 call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000cd20 store 1 ,mem_select_ui_button_count 
 0007 6800cd0c fetch 1 ,mem_bt_ui_button_timeout 
@@ -22,42 +22,42 @@
 
 p_mouse_setting_config:
 000d 7011c580 jam zcode_80 ,mem_zcode_temp_param0 
-000e 20200504 branch p_zcode_entrance 
+000e 202004f6 branch p_zcode_entrance 
 
 p_mouse_cb_fuction:
 000f 58000197 setarg p_mouse_le 
 0010 600141ef store 2 ,mem_cb_le_process 
-0011 58000429 setarg p_le_mouse_bb_event_connect_complete 
+0011 5800041b setarg p_le_mouse_bb_event_connect_complete 
 0012 600141f9 store 2 ,mem_cb_att_write 
 0013 58000095 setarg p_mouse_before_lpm 
 0014 600141ed store 2 ,mem_cb_before_lpm 
-0015 58000237 setarg p_mouse_priority_bb_event 
+0015 5800023b setarg p_mouse_priority_bb_event 
 0016 600141f5 store 2 ,mem_cb_bb_event_process 
-0017 580001da setarg p_mouse_idle 
+0017 580001de setarg p_mouse_idle 
 0018 600141f3 store 2 ,mem_cb_idle_process 
-0019 58000249 setarg p_mouse_before_hibernate 
+0019 5800024d setarg p_mouse_before_hibernate 
 001a 600141eb store 2 ,mem_cb_before_hibernate 
-001b 58000252 setarg p_mouse_bb_event_timer 
+001b 58000256 setarg p_mouse_bb_event_timer 
 001c 600141fd store 2 ,mem_cb_event_timer 
 001d 20600000 rtn 
 
 p_mouse_wakeup_from_power:
 001e 58000019 setarg 25 
-001f 60014f82 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+001f 60014f87 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 0020 24558028 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
 0021 204000f5 call p_mouse_init_sunt 
-0022 2040024f call p_mouse_sensor_powerdown 
+0022 20400253 call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
 0023 6800c71f fetch 1 ,mem_reconn_times_init 
 0024 6000c71e store 1 ,mem_reconn_times 
 0025 6800c241 fetch 1 ,mem_power_on_flag 
 0026 c3810000 rtnbit1 2 
-0027 20200312 branch p_mouse_dpi_config_default 
+0027 20200303 branch p_mouse_dpi_config_default 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
 0028 58000177 setarg 375 
-0029 60014f82 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0029 60014f87 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 002a 20600000 rtn 
 002b 20000001 nop 1 
 002c 20000001 nop 1 
@@ -82,36 +82,36 @@
 003f 20000001 nop 1 
 
 p_patch_array:
-0040 c284004e bbit1 8 ,pf_patch_ext 
+0040 c284004f bbit1 8 ,pf_patch_ext 
 0041 c000805d beq patch00_1 ,p_soft_reset_1 
 0042 c0010067 beq patch00_2 ,p_soft_reset_2 
-0043 c0428502 beq patch10_5 ,p_shutdown_radio 
-0044 c04484d5 beq patch11_1 ,p_set_freq_tx 
+0043 c04284f4 beq patch10_5 ,p_shutdown_radio 
+0044 c04484c7 beq patch11_1 ,p_set_freq_tx 
 0045 c0508070 beq patch14_1 ,p_init_param 
 0046 c0588075 beq patch16_1 ,p_lpm_check_wake_lock 
 0047 c06200cf beq patch18_4 ,p_device_init 
-0048 c0718314 beq patch1c_3 ,p_mouse_seting_dpi 
-0049 c0730338 beq patch1c_6 ,p_mouse_motion 
-004a c075039b beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-004b c075839e beq patch1d_3 ,p_mouse_start_discovery 
-004c c07603a4 beq patch1d_4 ,p_mouse_stop_discovery 
-004d 20202a8e branch loop 
+0048 c0718305 beq patch1c_3 ,p_mouse_seting_dpi 
+0049 c07201e1 beq patch1c_4 ,p_mouse_wheel_check 
+004a c0730329 beq patch1c_6 ,p_mouse_motion 
+004b c075038d beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+004c c0758390 beq patch1d_3 ,p_mouse_start_discovery 
+004d c0760396 beq patch1d_4 ,p_mouse_stop_discovery 
+004e 20202a8e branch loop 
 
 pf_patch_ext:
-004e c01c83aa beq patch27_1 ,p_le_slave_match 
-004f c02183b2 beq patch28_3 ,p_le_next_adv_channel 
-0050 c02503b8 beq patch29_2 ,p_le_receive_skip 
-0051 c02b83bb beq patch2a_7 ,p_le_update_param 
-0052 c02c83bd beq patch2b_1 ,p_le_update_channel_map 
-0053 c03183bf beq patch2c_3 ,p_le_prepare_tx 
-0054 c03303ee beq patch2c_6 ,p_le_parse 
-0055 c0338405 beq patch2c_7 ,p_le_parse_l2cap 
-0056 c0350415 beq patch2d_2 ,p_le_adv_not_match 
-0057 c03b841f beq patch2e_7 ,p_le_lpm_setmult 
-0058 c046042b beq patch31_4 ,p_twspi_reset 
-0059 c0468437 beq patch31_5 ,p_spid_init 
-005a c05002cb beq patch34_0 ,p_vdd_calculate_by_mode 
-005b c07d043e beq patch3f_2 ,p_check_51cmd_once_continue 
+004f c01c839c beq patch27_1 ,p_le_slave_match 
+0050 c02183a4 beq patch28_3 ,p_le_next_adv_channel 
+0051 c02503aa beq patch29_2 ,p_le_receive_skip 
+0052 c02b83ad beq patch2a_7 ,p_le_update_param 
+0053 c02c83af beq patch2b_1 ,p_le_update_channel_map 
+0054 c03183b1 beq patch2c_3 ,p_le_prepare_tx 
+0055 c03303e0 beq patch2c_6 ,p_le_parse 
+0056 c03383f7 beq patch2c_7 ,p_le_parse_l2cap 
+0057 c0350407 beq patch2d_2 ,p_le_adv_not_match 
+0058 c03b8411 beq patch2e_7 ,p_le_lpm_setmult 
+0059 c046041d beq patch31_4 ,p_twspi_reset 
+005a c0468429 beq patch31_5 ,p_spid_init 
+005b c07d0430 beq patch3f_2 ,p_check_51cmd_once_continue 
 005c 20202a8e branch loop 
 
 p_soft_reset_1:
@@ -176,14 +176,14 @@
 
 p_rssi_signal:
 008b 1fe22200 copy pdata ,rega 
-008c 6808cefa fetcht 1 ,mem_rssi_signal_index 
-008d 58004f01 setarg mem_rssi_signal_buf 
+008c 6808ceff fetcht 1 ,mem_rssi_signal_index 
+008d 58004f06 setarg mem_rssi_signal_buf 
 008e 98408a00 iadd temp ,contw 
 008f 1a227e00 copy rega ,pdata 
 0090 e0a08000 istore 1 ,contw 
 0091 18408401 increase 1 ,temp 
 0092 18410407 and_into rssi_buf_len_signal ,temp 
-0093 6008cefa storet 1 ,mem_rssi_signal_index 
+0093 6008ceff storet 1 ,mem_rssi_signal_index 
 0094 20600000 rtn 
 
 p_mouse_before_lpm:
@@ -207,7 +207,7 @@
 00a2 203a7fe9 branch disable_user ,blank 
 00a3 6800c091 fetch 1 ,mem_lpm_mode 
 00a4 203a7fe9 branch disable_user ,blank 
-00a5 6800cf7f fetch 1 ,mem_24g_transmit_by_interrupt 
+00a5 6800cf84 fetch 1 ,mem_24g_transmit_by_interrupt 
 00a6 c000ffe9 beq g24_tx_timer_int_enable ,disable_user 
 
 p_mouse_setgpio_lpm:
@@ -249,14 +249,14 @@
 00c6 1fe17edf and pdata ,0xdf ,pdata 
 00c7 600080a1 store 1 ,mem_gpio_wakeup_low 
 00c8 680080a4 fetch 1 ,mem_gpio_wakeup_low + 3 
-00c9 1fe17ebe and pdata ,0xbe ,pdata 
+00c9 1fe17ebf and pdata ,0xbf ,pdata 
 00ca 600080a4 store 1 ,mem_gpio_wakeup_low + 3 
 00cb 20600000 rtn 
 
 p_mouse_set_sdio_high:
 00cc 6800ccd9 fetch 1 ,mem_mouse_init_sensor_reset_flag 
 00cd 207a0000 rtn blank 
-00ce 20200314 branch p_mouse_seting_sensor_type 
+00ce 20200305 branch p_mouse_seting_sensor_type 
 
 p_device_init:
 00cf 70895b86 jam 0x86 ,0x895b 
@@ -284,13 +284,13 @@
 00e1 20600000 rtn 
 
 p_mouse_tx_power_init:
-00e2 6800cef6 fetch 1 ,mem_tx_power_temp 
+00e2 6800cefb fetch 1 ,mem_tx_power_temp 
 00e3 6000c1de store 1 ,mem_tx_power 
 00e4 20600000 rtn 
 
 p_mouse4_0_check_reconn_target:
 00e5 7011c523 jam zcode_23 ,mem_zcode_temp_param0 
-00e6 20200504 branch p_zcode_entrance 
+00e6 202004f6 branch p_zcode_entrance 
 
 p_le_check_adv_flag:
 00e7 da204370 arg mem_le_adv_data ,rega 
@@ -310,7 +310,7 @@
 p_mouse_fast_conn_init:
 00f0 704d8cff jam 0xff ,mem_mouse_fast_conn_flag 
 00f1 70421034 jam 0x34 ,mem_xrecord_mode 
-00f2 68034f84 fetch 6 ,mem_24g_allpowerful_addr 
+00f2 68034f89 fetch 6 ,mem_24g_allpowerful_addr 
 00f3 600344a0 store 6 ,mem_le_lap 
 00f4 20600000 rtn 
 
@@ -333,7 +333,7 @@
 0100 20206411 branch spi_ncs_disable 
 
 p_mouse_init_p32xx_id2_judge:
-0101 2040030a call p_mouse_sensor_poweron 
+0101 204002fb call p_mouse_sensor_poweron 
 0102 6800c6de fetch 1 ,mem_sensor_id2 
 0103 c02d0105 beq p_mx8650 ,p_mouse_mx8650_init_param 
 0104 202040e1 branch mouse_init_p32xx_id2_judge + 1 
@@ -342,7 +342,7 @@
 0105 7046e007 jam mx8650 ,mem_config_sensor_type 
 0106 da604d47 arg mem_sensor_8650_init ,regc 
 0107 20400109 call p_sensor_wr_seq 
-0108 20200310 branch p_mouse_dpi_config 
+0108 20200301 branch p_mouse_dpi_config 
 
 p_sensor_wr_seq:
 0109 ea610000 ifetch 2 ,regc 
@@ -354,7 +354,7 @@
 010f 20200109 branch p_sensor_wr_seq 
 
 p_mouse_p3065_init_param:
-0110 2040030a call p_mouse_sensor_poweron 
+0110 204002fb call p_mouse_sensor_poweron 
 0111 202040ea branch mouse_p3065_init_param 
 
 p_spid_init_flash:
@@ -384,7 +384,7 @@
 0127 2040441c call mouse_ble_init_address 
 0128 68024d26 fetch 4 ,mem_mouse_24g_addr_init 
 0129 6002477b store 4 ,mem_mouse_24g_addr 
-012a 60024e67 store 4 ,mem_24g_addr 
+012a 60024e6c store 4 ,mem_24g_addr 
 
 p_mouse_store_flash_device_info:
 012b 2040016f call p_flash_release_deep_power_down 
@@ -463,7 +463,7 @@
 0162 20400178 call p_mouse_load_dpi_from_flash 
 0163 2040431a call mouse_select_reconn_device 
 0164 6802477b fetch 4 ,mem_mouse_24g_addr 
-0165 60024e67 store 4 ,mem_24g_addr 
+0165 60024e6c store 4 ,mem_24g_addr 
 0166 20600000 rtn 
 
 p_flash_deep_power_down:
@@ -547,1280 +547,1268 @@
 
 p_mouse_le_next:
 019e 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-019f 205a01d7 call p_mouse_clear_sensor_data ,blank 
+019f 205a01db call p_mouse_clear_sensor_data ,blank 
 01a0 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
 01a1 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
 01a2 6800cda9 fetch 1 ,mem_customer_bt_start_send_empty_packet 
-01a3 c00081b8 beq 1 ,p_mouse_le_release_customer_data 
+01a3 c00081b9 beq 1 ,p_mouse_le_release_customer_data 
 01a4 20403f97 call mouse_motion 
 01a5 24740000 nrtn user 
-01a6 204001d2 call p_mouse_wheel_trigger 
-01a7 6800cda8 fetch 1 ,mem_customer_data_trigger 
-01a8 c00081ad beq 1 ,p_mouse_le_send_customer_packet 
+01a6 204001bd call p_mouse_le_current_mult_update 
+01a7 204001d6 call p_mouse_wheel_trigger 
+01a8 6800cda8 fetch 1 ,mem_customer_data_trigger 
+01a9 c00081ae beq 1 ,p_mouse_le_send_customer_packet 
 
 p_mouse_data_push:
-01a9 da20469a arg mem_mouse_key ,rega 
-01aa 20407e3d call queue_push 
-01ab 205401c1 call p_mouse_queue_increase ,user 
-01ac 20600000 rtn 
+01aa da20469a arg mem_mouse_key ,rega 
+01ab 20407e3d call queue_push 
+01ac 205401c5 call p_mouse_queue_increase ,user 
+01ad 20600000 rtn 
 
 p_mouse_le_send_customer_packet:
-01ad 6800cd93 fetch 1 ,mem_customer_key 
-01ae 207a0000 rtn blank 
-01af 704daa01 jam 1 ,mem_customer_bt_send_empty_packet_timer 
-01b0 68044d96 fetch 8 ,mem_customer_key_press + 1 
-01b1 60040a9a store 8 ,mem_pdatatemp 
+01ae 6800cd93 fetch 1 ,mem_customer_key 
+01af 207a0000 rtn blank 
+01b0 704daa01 jam 1 ,mem_customer_bt_send_empty_packet_timer 
+01b1 68044d96 fetch 8 ,mem_customer_key_press + 1 
+01b2 60040a9a store 8 ,mem_pdatatemp 
 
 p_mouse_fill_customer_data_le:
-01b2 da200008 arg 8 ,rega 
-01b3 d8400019 arg 0x19 ,temp 
-01b4 20405a64 call le_att_malloc_tx_notify 
-01b5 68040a9a fetch 8 ,mem_pdatatemp 
-01b6 e0a40000 istore 8 ,contw 
-01b7 20600000 rtn 
+01b3 da200008 arg 8 ,rega 
+01b4 d8400019 arg 0x19 ,temp 
+01b5 20405a64 call le_att_malloc_tx_notify 
+01b6 68040a9a fetch 8 ,mem_pdatatemp 
+01b7 e0a40000 istore 8 ,contw 
+01b8 20600000 rtn 
 
 p_mouse_le_release_customer_data:
-01b8 704da900 jam 0 ,mem_customer_bt_start_send_empty_packet 
-01b9 68044d9f fetch 8 ,mem_customer_key_release + 1 
-01ba 60040a9a store 8 ,mem_pdatatemp 
-01bb 202001b2 branch p_mouse_fill_customer_data_le 
+01b9 704da900 jam 0 ,mem_customer_bt_start_send_empty_packet 
+01ba 68044d9f fetch 8 ,mem_customer_key_release + 1 
+01bb 60040a9a store 8 ,mem_pdatatemp 
+01bc 202001b3 branch p_mouse_fill_customer_data_le 
+
+p_mouse_le_current_mult_update:
+01bd 70417208 jam 8 ,mem_lpm_mult 
+01be 704d411e jam 30 ,mem_mouse_le_current_mult_timer 
+01bf 20600000 rtn 
 
 p_mouse_data_init:
-01bc 7047a207 jam 7 ,mem_mouse_data_queue 
-01bd 7047a304 jam 4 ,mem_mouse_data_queue + 1 
-01be 580047a2 setarg mem_mouse_data_queue 
-01bf 60014218 store 2 ,mem_queue_ptr 
-01c0 20207e38 branch queue_init 
+01c0 7047a207 jam 7 ,mem_mouse_data_queue 
+01c1 7047a304 jam 4 ,mem_mouse_data_queue + 1 
+01c2 580047a2 setarg mem_mouse_data_queue 
+01c3 60014218 store 2 ,mem_queue_ptr 
+01c4 20207e38 branch queue_init 
 
 p_mouse_queue_increase:
-01c1 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-01c2 1fe0fe01 increase 1 ,pdata 
-01c3 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-01c4 20600000 rtn 
+01c5 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+01c6 1fe0fe01 increase 1 ,pdata 
+01c7 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+01c8 20600000 rtn 
 
 p_mouse_data_pull:
-01c5 da20469a arg mem_mouse_key ,rega 
-01c6 20407e54 call queue_pop 
-01c7 203401c9 branch p_mouse_fill_data_le ,user 
-01c8 20600000 rtn 
+01c9 da20469a arg mem_mouse_key ,rega 
+01ca 20407e54 call queue_pop 
+01cb 203401cd branch p_mouse_fill_data_le ,user 
+01cc 20600000 rtn 
 
 p_mouse_fill_data_le:
-01c9 20405652 call le_clear_md 
-01ca 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-01cb 1fe67c01 sub pdata ,1 ,null 
-01cc 24415650 ncall le_set_md ,positive 
-01cd 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-01ce 207a0000 rtn blank 
-01cf 1fe0ffff increase -1 ,pdata 
-01d0 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-01d1 20203f90 branch mouse_fill_data_le 
+01cd 20405652 call le_clear_md 
+01ce 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+01cf 1fe67c01 sub pdata ,1 ,null 
+01d0 24415650 ncall le_set_md ,positive 
+01d1 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+01d2 207a0000 rtn blank 
+01d3 1fe0ffff increase -1 ,pdata 
+01d4 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+01d5 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-01d2 6801469f fetch 2 ,mem_mouse_z 
-01d3 207a0000 rtn blank 
-01d4 7049e101 jam 1 ,mem_mouse_wheel_trigger 
-01d5 7049e20a jam 10 ,mem_mouse_wheel_trigger_timer 
-01d6 20600000 rtn 
+01d6 6801469f fetch 2 ,mem_mouse_z 
+01d7 207a0000 rtn blank 
+01d8 7049e101 jam 1 ,mem_mouse_wheel_trigger 
+01d9 7049e20a jam 10 ,mem_mouse_wheel_trigger_timer 
+01da 20600000 rtn 
 
 p_mouse_clear_sensor_data:
-01d7 70479e01 jam 1 ,mem_mouse_clear_sensor_data_flag 
-01d8 20405814 call le_set_config_more_data 
-01d9 202000fd branch p_mouse_init_sensor_reset 
+01db 70479e01 jam 1 ,mem_mouse_clear_sensor_data_flag 
+01dc 20405814 call le_set_config_more_data 
+01dd 202000fd branch p_mouse_init_sensor_reset 
 
 p_mouse_idle:
-01da 20407e34 call ui_check_paring_button 
-01db 20400222 call p_mouse_dpi_check 
-01dc 202001dd branch p_mouse_wheel_check 
+01de 20407e34 call ui_check_paring_button 
+01df 20400226 call p_mouse_dpi_check 
+01e0 202001e1 branch p_mouse_wheel_check 
 
 p_mouse_wheel_check:
-01dd 204001e0 call p_mouse_t_wheel_scan 
-01de 20403f36 call mouse_wheel_scan 
-01df 20203ee3 branch mouse_wheel_check + 3 
+01e1 204001e4 call p_mouse_t_wheel_scan 
+01e2 20403f36 call mouse_wheel_scan 
+01e3 20203ee3 branch mouse_wheel_check + 3 
 
 p_mouse_t_wheel_scan:
-01e0 68108078 hfetch 1 ,core_gpio_pu0 
-01e1 79207e05 set1 5 ,pdata 
-01e2 60108078 hstore 1 ,core_gpio_pu0 
-01e3 6810807b hfetch 1 ,core_gpio_pu3 
-01e4 79207e06 set1 6 ,pdata 
-01e5 6010807b hstore 1 ,core_gpio_pu3 
-01e6 da200000 arg 0 ,rega 
-01e7 6808c6ea fetcht 1 ,mem_whee_ta_data_gpio 
-01e8 2040681d call gpio_get_bit 
-01e9 7920a200 setflag true ,0 ,rega 
-01ea 6808c6eb fetcht 1 ,mem_whee_tb_data_gpio 
-01eb 2040681d call gpio_get_bit 
-01ec 7920a201 setflag true ,1 ,rega 
-01ed 1a227e00 copy rega ,pdata 
-01ee 6000c6b8 store 1 ,mem_wheel_tb_new_pinlevel 
-01ef c00081f4 beq 0x01 ,p_mouse_t_wheel_scan_judge1 
-01f0 c00101f8 beq 0x02 ,p_mouse_t_wheel_scan_judge2 
-01f1 6800c6b9 fetch 1 ,mem_wheel_tog 
-01f2 c2838204 bbit1 7 ,p_mouse_t_wheel_scan_judge3 
-01f3 20600000 rtn 
-
-p_mouse_t_wheel_scan_judge1:
-01f4 6800c6b7 fetch 1 ,mem_wheel_tb_old_pinlevel 
-01f5 c00001fc beq 0 ,p_mouse_t_wheel_scan_judge11 
-01f6 c00181fe beq 3 ,p_mouse_t_wheel_scan_judge12 
+01e4 68108078 hfetch 1 ,core_gpio_pu0 
+01e5 79207e05 set1 5 ,pdata 
+01e6 60108078 hstore 1 ,core_gpio_pu0 
+01e7 6810807b hfetch 1 ,core_gpio_pu3 
+01e8 79207e06 set1 6 ,pdata 
+01e9 6010807b hstore 1 ,core_gpio_pu3 
+01ea da200000 arg 0 ,rega 
+01eb 6808c6ea fetcht 1 ,mem_whee_ta_data_gpio 
+01ec 2040681d call gpio_get_bit 
+01ed 7920a200 setflag true ,0 ,rega 
+01ee 6808c6eb fetcht 1 ,mem_whee_tb_data_gpio 
+01ef 2040681d call gpio_get_bit 
+01f0 7920a201 setflag true ,1 ,rega 
+01f1 1a227e00 copy rega ,pdata 
+01f2 6000c6b8 store 1 ,mem_wheel_tb_new_pinlevel 
+01f3 c00081f8 beq 0x01 ,p_mouse_t_wheel_scan_judge1 
+01f4 c00101fc beq 0x02 ,p_mouse_t_wheel_scan_judge2 
+01f5 6800c6b9 fetch 1 ,mem_wheel_tog 
+01f6 c2838208 bbit1 7 ,p_mouse_t_wheel_scan_judge3 
 01f7 20600000 rtn 
 
-p_mouse_t_wheel_scan_judge2:
+p_mouse_t_wheel_scan_judge1:
 01f8 6800c6b7 fetch 1 ,mem_wheel_tb_old_pinlevel 
-01f9 c0000200 beq 0 ,p_mouse_t_wheel_scan_judge21 
-01fa c0018202 beq 3 ,p_mouse_t_wheel_scan_judge22 
+01f9 c0000200 beq 0 ,p_mouse_t_wheel_scan_judge11 
+01fa c0018202 beq 3 ,p_mouse_t_wheel_scan_judge12 
 01fb 20600000 rtn 
 
+p_mouse_t_wheel_scan_judge2:
+01fc 6800c6b7 fetch 1 ,mem_wheel_tb_old_pinlevel 
+01fd c0000204 beq 0 ,p_mouse_t_wheel_scan_judge21 
+01fe c0018206 beq 3 ,p_mouse_t_wheel_scan_judge22 
+01ff 20600000 rtn 
+
 p_mouse_t_wheel_scan_judge11:
-01fc 7046b982 jam 0x82 ,mem_wheel_tog 
-01fd 20600000 rtn 
+0200 7046b982 jam 0x82 ,mem_wheel_tog 
+0201 20600000 rtn 
 
 p_mouse_t_wheel_scan_judge12:
-01fe 7046b981 jam 0x81 ,mem_wheel_tog 
-01ff 20600000 rtn 
+0202 7046b981 jam 0x81 ,mem_wheel_tog 
+0203 20600000 rtn 
 
 p_mouse_t_wheel_scan_judge21:
-0200 7046b980 jam 0x80 ,mem_wheel_tog 
-0201 20600000 rtn 
+0204 7046b980 jam 0x80 ,mem_wheel_tog 
+0205 20600000 rtn 
 
 p_mouse_t_wheel_scan_judge22:
-0202 7046b983 jam 0x83 ,mem_wheel_tog 
-0203 20600000 rtn 
+0206 7046b983 jam 0x83 ,mem_wheel_tog 
+0207 20600000 rtn 
 
 p_mouse_t_wheel_scan_judge3:
-0204 6800c6b9 fetch 1 ,mem_wheel_tog 
-0205 793ffe07 set0 7 ,pdata 
-0206 6000c6b9 store 1 ,mem_wheel_tog 
-0207 c000020c beq 0 ,p_mouse_t_wheel_scan_judge30 
-0208 c000820f beq 1 ,p_mouse_t_wheel_scan_judge31 
-0209 c0010212 beq 2 ,p_mouse_t_wheel_scan_judge32 
-020a c0018215 beq 3 ,p_mouse_t_wheel_scan_judge33 
-020b 20600000 rtn 
+0208 6800c6b9 fetch 1 ,mem_wheel_tog 
+0209 793ffe07 set0 7 ,pdata 
+020a 6000c6b9 store 1 ,mem_wheel_tog 
+020b c0000210 beq 0 ,p_mouse_t_wheel_scan_judge30 
+020c c0008213 beq 1 ,p_mouse_t_wheel_scan_judge31 
+020d c0010216 beq 2 ,p_mouse_t_wheel_scan_judge32 
+020e c0018219 beq 3 ,p_mouse_t_wheel_scan_judge33 
+020f 20600000 rtn 
 
 p_mouse_t_wheel_scan_judge30:
-020c 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
-020d c0018218 beq 3 ,p_mouse_wheel_t_forward 
-020e 20600000 rtn 
+0210 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0211 c001821c beq 3 ,p_mouse_wheel_t_forward 
+0212 20600000 rtn 
 
 p_mouse_t_wheel_scan_judge31:
-020f 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
-0210 c0000218 beq 0 ,p_mouse_wheel_t_forward 
-0211 20600000 rtn 
+0213 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0214 c000021c beq 0 ,p_mouse_wheel_t_forward 
+0215 20600000 rtn 
 
 p_mouse_t_wheel_scan_judge32:
-0212 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
-0213 c001821d beq 3 ,p_mouse_wheel_t_back 
-0214 20600000 rtn 
+0216 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0217 c0018221 beq 3 ,p_mouse_wheel_t_back 
+0218 20600000 rtn 
 
 p_mouse_t_wheel_scan_judge33:
-0215 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
-0216 c000021d beq 0 ,p_mouse_wheel_t_back 
-0217 20600000 rtn 
+0219 6800c6b8 fetch 1 ,mem_wheel_tb_new_pinlevel 
+021a c0000221 beq 0 ,p_mouse_wheel_t_back 
+021b 20600000 rtn 
 
 p_mouse_wheel_t_forward:
-0218 7046bc00 jam 0 ,mem_mouse_tz_data_count1 
-0219 6800c6ba fetch 1 ,mem_mouse_tz_data 
-021a 1fe0fe01 increase 1 ,pdata 
-021b 6000c6ba store 1 ,mem_mouse_tz_data 
-021c 20600000 rtn 
+021c 7046bc00 jam 0 ,mem_mouse_tz_data_count1 
+021d 6800c6ba fetch 1 ,mem_mouse_tz_data 
+021e 1fe0fe01 increase 1 ,pdata 
+021f 6000c6ba store 1 ,mem_mouse_tz_data 
+0220 20600000 rtn 
 
 p_mouse_wheel_t_back:
-021d 7046bb00 jam 0 ,mem_mouse_tz_data_count 
-021e 6800c6ba fetch 1 ,mem_mouse_tz_data 
-021f 1fe0ffff increase -1 ,pdata 
-0220 6000c6ba store 1 ,mem_mouse_tz_data 
-0221 20600000 rtn 
+0221 7046bb00 jam 0 ,mem_mouse_tz_data_count 
+0222 6800c6ba fetch 1 ,mem_mouse_tz_data 
+0223 1fe0ffff increase -1 ,pdata 
+0224 6000c6ba store 1 ,mem_mouse_tz_data 
+0225 20600000 rtn 
 
 p_mouse_dpi_check:
-0222 6808cd91 fetcht 1 ,mem_mouse_comm_gpio 
-0223 20400374 call p_gpio_set_input_pu 
-0224 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0225 20400379 call p_gpio_set_input_pd 
-0226 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0227 2040681d call gpio_get_bit 
-0228 20208235 branch p_mouse_dpi_up ,true 
-0229 20400374 call p_gpio_set_input_pu 
+0226 6808cd91 fetcht 1 ,mem_mouse_comm_gpio 
+0227 20400366 call p_gpio_set_input_pu 
+0228 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+0229 2040036b call p_gpio_set_input_pd 
+022a 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+022b 2040681d call gpio_get_bit 
+022c 20208239 branch p_mouse_dpi_up ,true 
+022d 20400366 call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
-022a 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-022b c1000000 rtneq dpi_button_state_down 
-022c 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-022d 6800c77a fetch 1 ,mem_mouse_dpi 
-022e 1fe0fe01 increase 1 ,pdata 
-022f 1fe17e03 and pdata ,0x03 ,pdata 
-0230 6000c77a store 1 ,mem_mouse_dpi 
-0231 1fe0fe03 increase 3 ,pdata 
-0232 6000cd07 store 1 ,mem_mouse_multi_led_blink_count 
-0233 20400490 call p_mouse_dpi_multi_led_blink 
-0234 20203d7e branch mouse_seting_dpi 
+022e 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+022f c1000000 rtneq dpi_button_state_down 
+0230 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0231 6800c77a fetch 1 ,mem_mouse_dpi 
+0232 1fe0fe01 increase 1 ,pdata 
+0233 1fe17e03 and pdata ,0x03 ,pdata 
+0234 6000c77a store 1 ,mem_mouse_dpi 
+0235 1fe0fe03 increase 3 ,pdata 
+0236 6000cd07 store 1 ,mem_mouse_multi_led_blink_count 
+0237 20400482 call p_mouse_dpi_multi_led_blink 
+0238 20203d7e branch mouse_seting_dpi 
 
 p_mouse_dpi_up:
-0235 20400374 call p_gpio_set_input_pu 
-0236 20203d62 branch mouse_dpi_up 
+0239 20400366 call p_gpio_set_input_pu 
+023a 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-0237 1a627e00 copy regc ,pdata 
-0238 c00a023e beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0239 c00a8240 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-023a c0148243 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-023b c0190245 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-023c c0200247 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-023d 2020417d branch mouse_priority_bb_event + 1 
+023b 1a627e00 copy regc ,pdata 
+023c c00a0242 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+023d c00a8244 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+023e c0148247 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+023f c0190249 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0240 c020024b beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0241 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-023e 7011c5d0 jam zcode_d0 ,mem_zcode_temp_param0 
-023f 20200504 branch p_zcode_entrance 
+0242 7011c5d0 jam zcode_d0 ,mem_zcode_temp_param0 
+0243 202004f6 branch p_zcode_entrance 
 
 p_mouse_le_bb_disconnected:
-0240 2040024c call p_mouse_sensor_powerdown_check 
-0241 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0242 20200504 branch p_zcode_entrance 
+0244 20400250 call p_mouse_sensor_powerdown_check 
+0245 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
+0246 202004f6 branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-0243 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-0244 20207d8f branch ui_ipc_send_cmd 
+0247 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0248 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-0245 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
-0246 20200504 branch p_zcode_entrance 
+0249 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
+024a 202004f6 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0247 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
-0248 20200504 branch p_zcode_entrance 
+024b 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
+024c 202004f6 branch p_zcode_entrance 
 
 p_mouse_before_hibernate:
-0249 2040024c call p_mouse_sensor_powerdown_check 
-024a 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
-024b 20200504 branch p_zcode_entrance 
+024d 20400250 call p_mouse_sensor_powerdown_check 
+024e 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
+024f 202004f6 branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
-024c 6800ccd9 fetch 1 ,mem_mouse_init_sensor_reset_flag 
-024d 207a0000 rtn blank 
-024e 704cd900 jam 0 ,mem_mouse_init_sensor_reset_flag 
+0250 6800ccd9 fetch 1 ,mem_mouse_init_sensor_reset_flag 
+0251 207a0000 rtn blank 
+0252 704cd900 jam 0 ,mem_mouse_init_sensor_reset_flag 
 
 p_mouse_sensor_powerdown:
-024f 204000f5 call p_mouse_init_sunt 
-0250 58000806 setarg 0x0806 
-0251 20206413 branch twspi_write 
+0253 204000f5 call p_mouse_init_sunt 
+0254 58000806 setarg 0x0806 
+0255 20206413 branch twspi_write 
 
 p_mouse_bb_event_timer:
-0252 20400294 call p_mouse_adc_read 
-0253 204002f3 call p_mouse_low_voltage_led_timer 
-0254 20400273 call p_mouse_wheel_trigger_timer 
-0255 20400283 call p_mouse_select_device_by_button 
-0256 20404234 call mouse_check_discovery_timeout_timer 
-0257 2040423a call mouse_check_no_data_timeout_timer 
-0258 20400260 call p_mouse_check_direct_timeout_timer 
-0259 2040025d call p_mouse_le_enable_att_list_timer 
-025a 2040026b call p_le_send_smp_security_request_timer 
-025b 20400266 call p_mouse_customer_bt_send_empty_packet_timer 
-025c 20200456 branch p_mouse_multi_led_blink_timer 
+0256 204002ad call p_mouse_adc_read 
+0257 204002e4 call p_mouse_low_voltage_led_timer 
+0258 2040028c call p_mouse_wheel_trigger_timer 
+0259 2040029c call p_mouse_select_device_by_button 
+025a 20404234 call mouse_check_discovery_timeout_timer 
+025b 2040423a call mouse_check_no_data_timeout_timer 
+025c 20400273 call p_mouse_check_direct_timeout_timer 
+025d 20400270 call p_mouse_le_enable_att_list_timer 
+025e 20400279 call p_mouse_le_current_mult_update_timer 
+025f 20400284 call p_le_send_smp_security_request_timer 
+0260 2040027f call p_mouse_customer_bt_send_empty_packet_timer 
+0261 20400263 call p_mouse_powerdown_sensor_timer 
+0262 20200448 branch p_mouse_multi_led_blink_timer 
+
+p_mouse_powerdown_sensor_timer:
+0263 da604dbb arg mem_mouse_powerdown_sensor_timer ,regc 
+0264 da400266 arg p_mouse_powerdown_sensor_timeout ,regb 
+0265 20203374 branch timer_single_step_2b 
+
+p_mouse_powerdown_sensor_timeout:
+0266 6800cdbd fetch 1 ,mem_mouse_power_down_flag 
+0267 247a0000 nrtn blank 
+0268 704dbd01 jam 1 ,mem_mouse_power_down_flag 
+0269 20200253 branch p_mouse_sensor_powerdown 
+
+p_mouse_powerdown_sensor_timer_init:
+026a 68014db9 fetch 2 ,mem_mouse_powerdown_sensor_timeout 
+026b 60014dbb store 2 ,mem_mouse_powerdown_sensor_timer 
+026c 6800cdbd fetch 1 ,mem_mouse_power_down_flag 
+026d 207a0000 rtn blank 
+026e 704dbd00 jam 0 ,mem_mouse_power_down_flag 
+026f 202000fd branch p_mouse_init_sensor_reset 
 
 p_mouse_le_enable_att_list_timer:
-025d da6046c6 arg mem_le_start_encrypt_timer ,regc 
-025e da403d60 arg mouse_le_write_enable ,regb 
-025f 2020336d branch timer_single_step 
+0270 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+0271 da403d60 arg mouse_le_write_enable ,regb 
+0272 2020336d branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-0260 da6046ae arg mem_mouse_direct_timer ,regc 
-0261 da400263 arg p_mouse_check_direct_timeout ,regb 
-0262 20203374 branch timer_single_step_2b 
+0273 da6046ae arg mem_mouse_direct_timer ,regc 
+0274 da400276 arg p_mouse_check_direct_timeout ,regb 
+0275 20203374 branch timer_single_step_2b 
 
 p_mouse_check_direct_timeout:
-0263 6800cd0a fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0264 247a0000 nrtn blank 
-0265 20204266 branch mouse_check_direct_timeout 
+0276 6800cd0a fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0277 247a0000 nrtn blank 
+0278 20204266 branch mouse_check_direct_timeout 
+
+p_mouse_le_current_mult_update_timer:
+0279 da604d41 arg mem_mouse_le_current_mult_timer ,regc 
+027a da40027c arg p_mouse_le_current_mult_reinit ,regb 
+027b 2020336d branch timer_single_step 
+
+p_mouse_le_current_mult_reinit:
+027c 6800c7c7 fetch 1 ,mem_lpm_mult_init 
+027d 6000c172 store 1 ,mem_lpm_mult 
+027e 20600000 rtn 
 
 p_mouse_customer_bt_send_empty_packet_timer:
-0266 da604daa arg mem_customer_bt_send_empty_packet_timer ,regc 
-0267 da400269 arg p_mouse_customer_empty_packet ,regb 
-0268 2020336d branch timer_single_step 
+027f da604daa arg mem_customer_bt_send_empty_packet_timer ,regc 
+0280 da400282 arg p_mouse_customer_empty_packet ,regb 
+0281 2020336d branch timer_single_step 
 
 p_mouse_customer_empty_packet:
-0269 704da901 jam 1 ,mem_customer_bt_start_send_empty_packet 
-026a 20600000 rtn 
+0282 704da901 jam 1 ,mem_customer_bt_start_send_empty_packet 
+0283 20600000 rtn 
 
 p_le_send_smp_security_request_timer:
-026b 6800cd43 fetch 1 ,mem_mouse_le_bb_connected_flag 
-026c 207a0000 rtn blank 
-026d da604d44 arg mem_mouse_send_secutiry_request_timer ,regc 
-026e da400270 arg p_le_pairing_sm_start_check ,regb 
-026f 2020336d branch timer_single_step 
+0284 6800cd43 fetch 1 ,mem_mouse_le_bb_connected_flag 
+0285 207a0000 rtn blank 
+0286 da604d44 arg mem_mouse_send_secutiry_request_timer ,regc 
+0287 da400289 arg p_le_pairing_sm_start_check ,regb 
+0288 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-0270 6800cd45 fetch 1 ,mem_le_send_security_request_flag 
-0271 247a0000 nrtn blank 
-0272 20205bf5 branch le_pairing_sm_start 
+0289 6800cd45 fetch 1 ,mem_le_send_security_request_flag 
+028a 247a0000 nrtn blank 
+028b 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_wheel_trigger_timer:
-0273 da6049e2 arg mem_mouse_wheel_trigger_timer ,regc 
-0274 da400276 arg p_mouse_wheel_trigger_disable ,regb 
-0275 2020336d branch timer_single_step 
+028c da6049e2 arg mem_mouse_wheel_trigger_timer ,regc 
+028d da40028f arg p_mouse_wheel_trigger_disable ,regb 
+028e 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-0276 7049e100 jam 0 ,mem_mouse_wheel_trigger 
-0277 20600000 rtn 
+028f 7049e100 jam 0 ,mem_mouse_wheel_trigger 
+0290 20600000 rtn 
 
 p_mouse_bt_discovery_timer:
-0278 da604d20 arg mem_select_ui_button_count ,regc 
-0279 da40027b arg p_mouse_long_button_bt_discovery ,regb 
-027a 2020336d branch timer_single_step 
+0291 da604d20 arg mem_select_ui_button_count ,regc 
+0292 da400294 arg p_mouse_long_button_bt_discovery ,regb 
+0293 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-027b 704dae01 jam on ,mem_select_device_button_statue_bt_discovery 
-027c 68014682 fetch 2 ,mem_ui_state_map 
-027d 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-027e 2040c2d4 call mouse_stop_le_adv ,true 
-027f 68014682 fetch 2 ,mem_ui_state_map 
-0280 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-0281 2040c392 call mouse_cancel_reconnect ,true 
-0282 202043b8 branch mouse_long_button_bt_discovry 
+0294 704dae01 jam on ,mem_select_device_button_statue_bt_discovery 
+0295 68014682 fetch 2 ,mem_ui_state_map 
+0296 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0297 2040c2d4 call mouse_stop_le_adv ,true 
+0298 68014682 fetch 2 ,mem_ui_state_map 
+0299 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+029a 2040c392 call mouse_cancel_reconnect ,true 
+029b 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_select_device_by_button:
-0283 20400353 call p_mouse_check_key_gpio 
-0284 c0030286 beq mouse_rm_button ,p_mouse_select_device_button_down 
-0285 2020028b branch p_mouse_select_device_button_up 
+029c 20400345 call p_mouse_check_key_gpio 
+029d c003029f beq mouse_rm_button ,p_mouse_select_device_button_down 
+029e 202002a4 branch p_mouse_select_device_button_up 
 
 p_mouse_select_device_button_down:
-0286 20400278 call p_mouse_bt_discovery_timer 
-0287 6800c6d9 fetch 1 ,mem_select_device_button_statue 
-0288 c1000000 rtneq pb_button_state_down 
-0289 7046d900 jam pb_button_state_down ,mem_select_device_button_statue 
-028a 20600000 rtn 
+029f 20400291 call p_mouse_bt_discovery_timer 
+02a0 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+02a1 c1000000 rtneq pb_button_state_down 
+02a2 7046d900 jam pb_button_state_down ,mem_select_device_button_statue 
+02a3 20600000 rtn 
 
 p_mouse_select_device_button_up:
-028b 6800c6d9 fetch 1 ,mem_select_device_button_statue 
-028c c1008000 rtneq pb_button_state_up 
-028d 6800c685 fetch 1 ,mem_ui_button_timeout 
-028e 6000cd20 store 1 ,mem_select_ui_button_count 
-028f 7046d901 jam pb_button_state_up ,mem_select_device_button_statue 
-0290 20600000 rtn 
+02a4 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+02a5 c1008000 rtneq pb_button_state_up 
+02a6 6800c685 fetch 1 ,mem_ui_button_timeout 
+02a7 6000cd20 store 1 ,mem_select_ui_button_count 
+02a8 7046d901 jam pb_button_state_up ,mem_select_device_button_statue 
+02a9 20600000 rtn 
 
 p_mouse_le_bb_disconnected_led_blink_set:
-0291 704d9201 jam 1 ,mem_mouse_connected_state 
-0292 704d070a jam 10 ,mem_mouse_multi_led_blink_count 
-0293 20200490 branch p_mouse_dpi_multi_led_blink 
+02aa 704d9201 jam 1 ,mem_mouse_connected_state 
+02ab 704d070a jam 10 ,mem_mouse_multi_led_blink_count 
+02ac 20200482 branch p_mouse_dpi_multi_led_blink 
 
 p_mouse_adc_read:
-0294 68014d07 fetch 2 ,mem_mouse_multi_led_blink_count 
-0295 247a0000 nrtn blank 
-0296 6800c6ce fetch 1 ,mem_adc_read_timer 
-0297 1fe0fe01 increase 1 ,pdata 
-0298 6000c6ce store 1 ,mem_adc_read_timer 
-0299 1fe67c0a sub pdata ,10 ,null 
-029a 202102a8 branch p_mouse_adc_read_vinlpm ,positive 
-029b 7046ce00 jam 0 ,mem_adc_read_timer 
-029c 204002af call p_mouse_adc_read_set 
-029d da204709 arg mem_mouse_vdd_calculate_set ,rega 
-029e 6808c6ea fetcht 1 ,mem_whee_ta_data_gpio 
-029f 2040681d call gpio_get_bit 
-02a0 242082a2 nbranch p_mouse_adc_read_next ,true 
-02a1 da204db1 arg mem_mouse_vdd_vinvol ,rega 
-
-p_mouse_adc_read_next:
-02a2 204002e6 call p_adc_bat_percent_lowpower_out 
-02a3 6800c231 fetch 1 ,mem_adc_power_flag 
-02a4 c280b40a bbit1 1 ,app_enter_hibernate 
-02a5 c30002bb bbit0 0 ,p_mouse_adc_no_low_voltage 
-02a6 704cd801 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-02a7 202043e7 branch mouse_adc_low_voltage 
-
-p_mouse_adc_read_vinlpm:
-02a8 70422d00 jam adc_config_vinlpm ,mem_adc_config_flag 
-02a9 204002c0 call p_adc_set_mode 
-02aa 20406908 call vdd_calculate_by_mode 
-02ab 68094daf fetcht 2 ,mem_mouse_vdd_vin_now_vol_sum 
-02ac 98408400 iadd temp ,temp 
-02ad 60094daf storet 2 ,mem_mouse_vdd_vin_now_vol_sum 
-02ae 20600000 rtn 
-
-p_mouse_adc_read_set:
-02af 70422d02 jam adc_config_gpio ,mem_adc_config_flag 
-02b0 204002c0 call p_adc_set_mode 
-02b1 20406908 call vdd_calculate_by_mode 
-02b2 6001470f store 2 ,mem_mouse_vdd_now_vol 
-02b3 68014daf fetch 2 ,mem_mouse_vdd_vin_now_vol_sum 
-02b4 1fe6fc0a div pdata ,10 
-02b5 20407f86 call wait_div_end 
-02b6 1807fe00 quotient pdata 
-02b7 60014db7 store 2 ,mem_mouse_vdd_vin_now_vol 
-02b8 58000000 setarg 0 
-02b9 60014daf store 2 ,mem_mouse_vdd_vin_now_vol_sum 
-02ba 20600000 rtn 
+02ad 68014d07 fetch 2 ,mem_mouse_multi_led_blink_count 
+02ae 247a0000 nrtn blank 
+02af 6800c9e1 fetch 1 ,mem_mouse_wheel_trigger 
+02b0 247a0000 nrtn blank 
+02b1 6800c6ce fetch 1 ,mem_adc_read_timer 
+02b2 1fe0fe01 increase 1 ,pdata 
+02b3 6000c6ce store 1 ,mem_adc_read_timer 
+02b4 1fe67c0a sub pdata ,10 ,null 
+02b5 20610000 rtn positive 
+02b6 204068a8 call adc_init_data 
+02b7 7046ce00 jam 0 ,mem_adc_read_timer 
+02b8 204002cf call p_adc_set_mode 
+02b9 20406908 call vdd_calculate_by_mode 
+02ba 1feffe03 mul32 pdata ,3 ,pdata 
+02bb d840000f arg 0x0f ,temp 
+02bc 98467e00 isub temp ,pdata 
+02bd 1fe67c64 sub pdata ,0x64 ,null 
+02be 204102cc call p_mouse_vdd_decrease ,positive 
+02bf 6001470f store 2 ,mem_mouse_vdd_now_vol 
+02c0 da204709 arg mem_mouse_vdd_calculate_set ,rega 
+02c1 204002d7 call p_adc_bat_percent_lowpower_out 
+02c2 6800c231 fetch 1 ,mem_adc_power_flag 
+02c3 c280b40a bbit1 1 ,app_enter_hibernate 
+02c4 c30002c7 bbit0 0 ,p_mouse_adc_no_low_voltage 
+02c5 704cd801 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+02c6 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-02bb 204043e9 call mouse_adc_no_low_voltage 
-02bc 6800ccd8 fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-02bd 207a0000 rtn blank 
-02be 704cd800 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-02bf 20200484 branch p_mouse_multi_led_off 
+02c7 204043e9 call mouse_adc_no_low_voltage 
+02c8 6800ccd8 fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+02c9 207a0000 rtn blank 
+02ca 704cd800 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+02cb 20200476 branch p_mouse_multi_led_off 
+
+p_mouse_vdd_decrease:
+02cc d8400005 arg 0x05 ,temp 
+02cd 98467e00 isub temp ,pdata 
+02ce 20600000 rtn 
 
 p_adc_set_mode:
-02c0 6800c22d fetch 1 ,mem_adc_config_flag 
-02c1 c00102c3 beq adc_config_gpio ,p_adc_check_gpio 
-02c2 202068ec branch adc_set_mode + 1 
 
 p_adc_check_gpio:
-02c3 68108078 hfetch 1 ,core_gpio_pu0 
-02c4 793ffe05 set0 5 ,pdata 
-02c5 60108078 hstore 1 ,core_gpio_pu0 
-02c6 204068f4 call adc_check_gpio 
-02c7 68108078 hfetch 1 ,core_gpio_pu0 
-02c8 79207e05 set1 5 ,pdata 
-02c9 60108078 hstore 1 ,core_gpio_pu0 
-02ca 20600000 rtn 
-
-p_vdd_calculate_by_mode:
-02cb 6800c22d fetch 1 ,mem_adc_config_flag 
-02cc c081690a bne adc_config_gpio ,vdd_calculate_by_mode + 2 
-02cd 68014223 fetch 2 ,mem_1v_adc_io_data 
-02ce 6809421d fetcht 2 ,mem_0_5_adc_io_data 
-02cf da6001f4 arg 500 ,regc 
-02d0 98462200 isub temp ,rega 
-02d1 6801422f fetch 2 ,mem_adc_current_value 
-02d2 98467e00 isub temp ,pdata 
-02d3 242102dd nbranch p_vdd_calculate1 ,positive 
-02d4 d84001f4 arg 500 ,temp 
-02d5 984fa400 imul32 temp ,regb 
-02d6 1a627e00 copy regc ,pdata 
-02d7 9a2ffe00 imul32 rega ,pdata 
-02d8 9a40fe00 iadd regb ,pdata 
-
-p_vdd_calculate2:
-02d9 9a26fc00 idiv rega 
-02da 20407f86 call wait_div_end 
-02db 1807fe00 quotient pdata 
-02dc 20600000 rtn 
-
-p_vdd_calculate1:
-02dd 18427e00 copy temp ,pdata 
-02de d84001f4 arg 500 ,temp 
-02df 98467e00 isub temp ,pdata 
-02e0 6809422b fetcht 2 ,mem_reference_voltage 
-02e1 984fa400 imul32 temp ,regb 
-02e2 1a627e00 copy regc ,pdata 
-02e3 9a2ffe00 imul32 rega ,pdata 
-02e4 9a467e00 isub regb ,pdata 
-02e5 202002d9 branch p_vdd_calculate2 
+02cf 68108078 hfetch 1 ,core_gpio_pu0 
+02d0 793ffe05 set0 5 ,pdata 
+02d1 60108078 hstore 1 ,core_gpio_pu0 
+02d2 204068f4 call adc_check_gpio 
+02d3 68108078 hfetch 1 ,core_gpio_pu0 
+02d4 79207e05 set1 5 ,pdata 
+02d5 60108078 hstore 1 ,core_gpio_pu0 
+02d6 20600000 rtn 
 
 p_adc_bat_percent_lowpower_out:
-02e6 ea240000 ifetch 8 ,rega 
-02e7 60040a9a store 8 ,mem_pdatatemp 
-02e8 68090a9c fetcht 2 ,mem_pdatatemp + 2 
-02e9 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-02ea 98467c00 isub temp ,null 
-02eb 24216944 nbranch adc_set_no_power_flag ,positive 
-02ec 68090a9e fetcht 2 ,mem_pdatatemp + 4 
-02ed 98467c00 isub temp ,null 
-02ee 24216940 nbranch adc_set_low_power_flag ,positive 
+02d7 ea240000 ifetch 8 ,rega 
+02d8 60040a9a store 8 ,mem_pdatatemp 
+02d9 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+02da 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+02db 98467c00 isub temp ,null 
+02dc 24216944 nbranch adc_set_no_power_flag ,positive 
+02dd 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+02de 98467c00 isub temp ,null 
+02df 24216940 nbranch adc_set_low_power_flag ,positive 
 
 p_adc_clear_low_power_flag:
-02ef 6800c231 fetch 1 ,mem_adc_power_flag 
-02f0 793ffe00 set0 0 ,pdata 
-02f1 6000c231 store 1 ,mem_adc_power_flag 
-02f2 20600000 rtn 
+02e0 6800c231 fetch 1 ,mem_adc_power_flag 
+02e1 793ffe00 set0 0 ,pdata 
+02e2 6000c231 store 1 ,mem_adc_power_flag 
+02e3 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-02f3 68014d07 fetch 2 ,mem_mouse_multi_led_blink_count 
-02f4 247a0000 nrtn blank 
-02f5 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-02f6 c4020000 rtnbit0 mouse_low_voltage_flag 
-02f7 68014dab fetch 2 ,mem_mouse_low_led_timer 
-02f8 d8400050 arg 0x0050 ,temp 
-02f9 98467c00 isub temp ,null 
-02fa 20228484 branch p_mouse_multi_led_off ,zero 
-02fb 1fe0fe01 increase 1 ,pdata 
-02fc 60014dab store 2 ,mem_mouse_low_led_timer 
-02fd 68014682 fetch 2 ,mem_ui_state_map 
-02fe c3858000 rtnbit1 ui_state_ble_adv 
-02ff c3830000 rtnbit1 ui_state_bt_discovery 
-0300 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0301 1fe0fe01 pincrease 1 
-0302 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
-0303 1fe67c0a sub pdata ,10 ,null 
-0304 24410308 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-0305 1fe67c05 sub pdata ,5 ,null 
-0306 20210476 branch p_mouse_multi_led_on ,positive 
-0307 20200484 branch p_mouse_multi_led_off 
+02e4 68014d07 fetch 2 ,mem_mouse_multi_led_blink_count 
+02e5 247a0000 nrtn blank 
+02e6 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+02e7 c4020000 rtnbit0 mouse_low_voltage_flag 
+02e8 68014dab fetch 2 ,mem_mouse_low_led_timer 
+02e9 d8400050 arg 0x0050 ,temp 
+02ea 98467c00 isub temp ,null 
+02eb 20228476 branch p_mouse_multi_led_off ,zero 
+02ec 1fe0fe01 increase 1 ,pdata 
+02ed 60014dab store 2 ,mem_mouse_low_led_timer 
+02ee 68014682 fetch 2 ,mem_ui_state_map 
+02ef c3858000 rtnbit1 ui_state_ble_adv 
+02f0 c3830000 rtnbit1 ui_state_bt_discovery 
+02f1 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+02f2 1fe0fe01 pincrease 1 
+02f3 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
+02f4 1fe67c0a sub pdata ,10 ,null 
+02f5 244102f9 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+02f6 1fe67c05 sub pdata ,5 ,null 
+02f7 20210468 branch p_mouse_multi_led_on ,positive 
+02f8 20200476 branch p_mouse_multi_led_off 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-0308 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
-0309 20600000 rtn 
+02f9 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+02fa 20600000 rtn 
 
 p_mouse_sensor_poweron:
-030a 2040013a call p_mouse_spi_init 
-030b 58008006 setarg 0x8006 
-030c 20406413 call twspi_write 
-030d 20002ee0 nop 12000 
-030e da604d6f arg mem_sensor_poweron_init ,regc 
-030f 20400109 call p_sensor_wr_seq 
+02fb 2040013a call p_mouse_spi_init 
+02fc 58008006 setarg 0x8006 
+02fd 20406413 call twspi_write 
+02fe 20002ee0 nop 12000 
+02ff da604d6f arg mem_sensor_poweron_init ,regc 
+0300 20400109 call p_sensor_wr_seq 
 
 p_mouse_dpi_config:
-0310 6800c77a fetch 1 ,mem_mouse_dpi 
-0311 c0ff8314 bne 0xff ,p_mouse_seting_dpi 
+0301 6800c77a fetch 1 ,mem_mouse_dpi 
+0302 c0ff8305 bne 0xff ,p_mouse_seting_dpi 
 
 p_mouse_dpi_config_default:
-0312 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0313 6000c77a store 1 ,mem_mouse_dpi 
+0303 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+0304 6000c77a store 1 ,mem_mouse_dpi 
 
 p_mouse_seting_dpi:
 
 p_mouse_seting_sensor_type:
-0314 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0315 c0020331 beq p3212 ,p_mouse_seting_3212_dpi 
-0316 c0030324 beq p3065_xy ,p_mouse_seting_3065xy_dpi 
-0317 c02d0324 beq p_mx8650 ,p_mouse_seting_3065xy_dpi 
+0305 6800c6e0 fetch 1 ,mem_config_sensor_type 
+0306 c0020322 beq p3212 ,p_mouse_seting_3212_dpi 
+0307 c0030315 beq p3065_xy ,p_mouse_seting_3065xy_dpi 
+0308 c02d0315 beq p_mx8650 ,p_mouse_seting_3065xy_dpi 
 
 p_mouse_seting_3205_dpi:
-0318 6800c77a fetch 1 ,mem_mouse_dpi 
-0319 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-031a 2042831f call p_mouse_3205_dpi_recount ,zero 
-031b 6800c77a fetch 1 ,mem_mouse_dpi 
-031c c0000321 beq mouse_dpi_level1 ,p_mouse_3205_set_cpi1 
-031d c001bd8c beq mouse_dpi_level4 ,mouse_set_cpi3 
-031e 20203d88 branch mouse_set_cpi2 
+0309 6800c77a fetch 1 ,mem_mouse_dpi 
+030a 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+030b 20428310 call p_mouse_3205_dpi_recount ,zero 
+030c 6800c77a fetch 1 ,mem_mouse_dpi 
+030d c0000312 beq mouse_dpi_level1 ,p_mouse_3205_set_cpi1 
+030e c001bd8c beq mouse_dpi_level4 ,mouse_set_cpi3 
+030f 20203d88 branch mouse_set_cpi2 
 
 p_mouse_3205_dpi_recount:
-031f 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-0320 20600000 rtn 
+0310 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0311 20600000 rtn 
 
 p_mouse_3205_set_cpi1:
-0321 6800c77f fetch 1 ,mem_320x_dpi_1 
-0322 1fe0ffff increase -1 ,pdata 
-0323 20203dbe branch mouse_p3205_dpi 
+0312 6800c77f fetch 1 ,mem_320x_dpi_1 
+0313 1fe0ffff increase -1 ,pdata 
+0314 20203dbe branch mouse_p3205_dpi 
 
 p_mouse_seting_3065xy_dpi:
-0324 6800c77a fetch 1 ,mem_mouse_dpi 
-0325 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0326 2042831f call p_mouse_3205_dpi_recount ,zero 
-0327 6800c77a fetch 1 ,mem_mouse_dpi 
-0328 c000032d beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
-0329 c001832f beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
+0315 6800c77a fetch 1 ,mem_mouse_dpi 
+0316 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+0317 20428310 call p_mouse_3205_dpi_recount ,zero 
+0318 6800c77a fetch 1 ,mem_mouse_dpi 
+0319 c000031e beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
+031a c0018320 beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
 
 p_mouse_3065xy_set_cpi3:
-032a 6800cd15 fetch 1 ,mem_3065xy_dpi_3 
+031b 6800cd15 fetch 1 ,mem_3065xy_dpi_3 
 
 p_mouse_dpi_store:
-032b 6000c6b5 store 1 ,mem_mouse_cpi_count 
-032c 20203dc1 branch mouse_p3205_dpi + 3 
+031c 6000c6b5 store 1 ,mem_mouse_cpi_count 
+031d 20203dc1 branch mouse_p3205_dpi + 3 
 
 p_mouse_3065xy_set_cpi1:
-032d 6800cd13 fetch 1 ,mem_3065xy_dpi_1 
-032e 2020032b branch p_mouse_dpi_store 
+031e 6800cd13 fetch 1 ,mem_3065xy_dpi_1 
+031f 2020031c branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-032f 6800cd16 fetch 1 ,mem_3065xy_dpi_4 
-0330 2020032b branch p_mouse_dpi_store 
+0320 6800cd16 fetch 1 ,mem_3065xy_dpi_4 
+0321 2020031c branch p_mouse_dpi_store 
 
 p_mouse_seting_3212_dpi:
-0331 6800c77a fetch 1 ,mem_mouse_dpi 
-0332 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0333 2042831f call p_mouse_3205_dpi_recount ,zero 
-0334 6800c77a fetch 1 ,mem_mouse_dpi 
-0335 c0003d9b beq mouse_dpi_level1 ,mouse_set_p3212_cpi2 
-0336 c001bda1 beq mouse_dpi_level4 ,mouse_set_p3212_cpi4 
-0337 20203d9f branch mouse_set_p3212_cpi3 
+0322 6800c77a fetch 1 ,mem_mouse_dpi 
+0323 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+0324 20428310 call p_mouse_3205_dpi_recount ,zero 
+0325 6800c77a fetch 1 ,mem_mouse_dpi 
+0326 c0003d9b beq mouse_dpi_level1 ,mouse_set_p3212_cpi2 
+0327 c001bda1 beq mouse_dpi_level4 ,mouse_set_p3212_cpi4 
+0328 20203d9f branch mouse_set_p3212_cpi3 
 
 p_mouse_motion:
-0338 78547c00 disable user 
-0339 58000000 setarg 0 
-033a 6003469b store 6 ,mem_mouse_x 
-033b 20403fb5 call mouse_cheak_sensor_data 
-033c 20404079 call mouse_zwheel 
-033d 2040407e call mouse_t_zwheel 
-033e 20400351 call p_mouse_key 
-033f 20400346 call p_mouse_normal_data_trigger 
-0340 2040037f call p_mouse_customer_key 
-0341 24340344 nbranch p_mouse_motion_nodata ,user 
-0342 2040034a call p_mouse_logo_led_on_check 
-0343 20203fa0 branch mouse_motion + 9 
+0329 78547c00 disable user 
+032a 58000000 setarg 0 
+032b 6003469b store 6 ,mem_mouse_x 
+032c 20403fb5 call mouse_cheak_sensor_data 
+032d 20404079 call mouse_zwheel 
+032e 2040407e call mouse_t_zwheel 
+032f 20400343 call p_mouse_key 
+0330 20400338 call p_mouse_normal_data_trigger 
+0331 20400371 call p_mouse_customer_key 
+0332 24340336 nbranch p_mouse_motion_nodata ,user 
+0333 2040033c call p_mouse_logo_led_on_check 
+0334 2040026a call p_mouse_powerdown_sensor_timer_init 
+0335 20203fa0 branch mouse_motion + 9 
 
 p_mouse_motion_nodata:
-0344 704dad00 jam 0 ,mem_mouse_low_led_check_count 
-0345 20600000 rtn 
+0336 704dad00 jam 0 ,mem_mouse_low_led_check_count 
+0337 20600000 rtn 
 
 p_mouse_normal_data_trigger:
-0346 704da701 jam 1 ,mem_normal_data_trigger 
-0347 20740000 rtn user 
-0348 704da700 jam 0 ,mem_normal_data_trigger 
-0349 20600000 rtn 
+0338 704da701 jam 1 ,mem_normal_data_trigger 
+0339 20740000 rtn user 
+033a 704da700 jam 0 ,mem_normal_data_trigger 
+033b 20600000 rtn 
 
 p_mouse_logo_led_on_check:
-034a 6800cdad fetch 1 ,mem_mouse_low_led_check_count 
-034b 1fe0fe01 increase 1 ,pdata 
-034c 6000cdad store 1 ,mem_mouse_low_led_check_count 
-034d 1fe67c08 sub pdata ,low_voltage_led_count ,null 
-034e 20610000 rtn positive 
+033c 6800cdad fetch 1 ,mem_mouse_low_led_check_count 
+033d 1fe0fe01 increase 1 ,pdata 
+033e 6000cdad store 1 ,mem_mouse_low_led_check_count 
+033f 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+0340 20610000 rtn positive 
 
 p_mouse_logo_led_on:
-034f 704dab00 jam 0 ,mem_mouse_low_led_timer 
-0350 20600000 rtn 
+0341 704dab00 jam 0 ,mem_mouse_low_led_timer 
+0342 20600000 rtn 
 
 p_mouse_key:
-0351 20400353 call p_mouse_check_key_gpio 
-0352 2020409a branch mouse_key + 1 
+0343 20400345 call p_mouse_check_key_gpio 
+0344 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0353 da200000 arg 0 ,rega 
-0354 20400356 call p_mouse_check_lkey_gpio 
-0355 2020408e branch mouse_check_key_gpio_output 
+0345 da200000 arg 0 ,rega 
+0346 20400348 call p_mouse_check_lkey_gpio 
+0347 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_check_lkey_gpio:
-0356 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0357 20400374 call p_gpio_set_input_pu 
-0358 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0359 2040681d call gpio_get_bit 
-035a 7920a200 setflag true ,0 ,rega 
+0348 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0349 20400366 call p_gpio_set_input_pu 
+034a 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+034b 2040681d call gpio_get_bit 
+034c 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-035b 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-035c 20400374 call p_gpio_set_input_pu 
-035d 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-035e 2040681d call gpio_get_bit 
-035f 7920a201 setflag true ,1 ,rega 
+034d 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+034e 20400366 call p_gpio_set_input_pu 
+034f 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0350 2040681d call gpio_get_bit 
+0351 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-0360 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0361 20400374 call p_gpio_set_input_pu 
-0362 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0363 2040681d call gpio_get_bit 
-0364 7920a202 setflag true ,2 ,rega 
+0352 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0353 20400366 call p_gpio_set_input_pu 
+0354 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0355 2040681d call gpio_get_bit 
+0356 7920a202 setflag true ,2 ,rega 
 
 p_mouse_check_bk_key_gpio:
-0365 6808cd91 fetcht 1 ,mem_mouse_comm_gpio 
-0366 20400374 call p_gpio_set_input_pu 
-0367 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-0368 20400379 call p_gpio_set_input_pd 
-0369 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-036a 2040681d call gpio_get_bit 
-036b 7d20a203 nsetflag true ,3 ,rega 
-036c 20400374 call p_gpio_set_input_pu 
+0357 6808cd91 fetcht 1 ,mem_mouse_comm_gpio 
+0358 20400366 call p_gpio_set_input_pu 
+0359 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+035a 2040036b call p_gpio_set_input_pd 
+035b 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+035c 2040681d call gpio_get_bit 
+035d 7d20a203 nsetflag true ,3 ,rega 
+035e 20400366 call p_gpio_set_input_pu 
 
 p_mouse_check_fw_key_gpio:
-036d 6808cd91 fetcht 1 ,mem_mouse_comm_gpio 
-036e 20400374 call p_gpio_set_input_pu 
-036f 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0370 20400379 call p_gpio_set_input_pd 
-0371 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0372 2040681d call gpio_get_bit 
-0373 7d20a204 nsetflag true ,4 ,rega 
+035f 6808cd91 fetcht 1 ,mem_mouse_comm_gpio 
+0360 20400366 call p_gpio_set_input_pu 
+0361 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0362 2040036b call p_gpio_set_input_pd 
+0363 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0364 2040681d call gpio_get_bit 
+0365 7d20a204 nsetflag true ,4 ,rega 
 
 p_gpio_set_input_pu:
-0374 79200407 set1 gpio_active_bit ,temp 
+0366 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pu1:
-0375 d8a08078 arg core_gpio_pu0 ,contw 
-0376 20406830 call gpio_set_bit 
-0377 793f8407 set0 gpio_active_bit ,temp 
-0378 2020037d branch p_gpio_set_input_pd4 
+0367 d8a08078 arg core_gpio_pu0 ,contw 
+0368 20406830 call gpio_set_bit 
+0369 793f8407 set0 gpio_active_bit ,temp 
+036a 2020036f branch p_gpio_set_input_pd4 
 
 p_gpio_set_input_pd:
-0379 793f8407 set0 gpio_active_bit ,temp 
-037a d8a08078 arg core_gpio_pu0 ,contw 
-037b 20406830 call gpio_set_bit 
-037c 79200407 set1 gpio_active_bit ,temp 
+036b 793f8407 set0 gpio_active_bit ,temp 
+036c d8a08078 arg core_gpio_pu0 ,contw 
+036d 20406830 call gpio_set_bit 
+036e 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-037d d8a0807c arg core_gpio_pd0 ,contw 
-037e 2020680a branch gpio_set_high_impedance + 4 
+036f d8a0807c arg core_gpio_pd0 ,contw 
+0370 2020680a branch gpio_set_high_impedance + 4 
 
 p_mouse_customer_key:
-037f 704da800 jam 0 ,mem_customer_data_trigger 
-0380 20400391 call p_mouse_check_customer_key_gpio 
-0381 204040a8 call mouse_set_mult 
-0382 2040038b call p_mouse_24g_customer_key 
-0383 1a227e00 copy rega ,pdata 
-0384 6808cd93 fetcht 1 ,mem_customer_key 
-0385 6000cd93 store 1 ,mem_customer_key 
-0386 9842fe00 ixor temp ,pdata 
-0387 1fe67c00 sub pdata ,0 ,null 
-0388 20628000 rtn zero 
-0389 704da801 jam 1 ,mem_customer_data_trigger 
-038a 20207fe7 branch enable_user 
+0371 704da800 jam 0 ,mem_customer_data_trigger 
+0372 20400383 call p_mouse_check_customer_key_gpio 
+0373 204040a8 call mouse_set_mult 
+0374 2040037d call p_mouse_24g_customer_key 
+0375 1a227e00 copy rega ,pdata 
+0376 6808cd93 fetcht 1 ,mem_customer_key 
+0377 6000cd93 store 1 ,mem_customer_key 
+0378 9842fe00 ixor temp ,pdata 
+0379 1fe67c00 sub pdata ,0 ,null 
+037a 20628000 rtn zero 
+037b 704da801 jam 1 ,mem_customer_data_trigger 
+037c 20207fe7 branch enable_user 
 
 p_mouse_24g_customer_key:
-038b c6930000 rtnmark0 mark_24g 
-038c 1a227e00 copy rega ,pdata 
-038d 207a0000 rtn blank 
-038e 6000cd93 store 1 ,mem_customer_key 
-038f 704da801 jam 1 ,mem_customer_data_trigger 
-0390 20207fe7 branch enable_user 
+037d c6930000 rtnmark0 mark_24g 
+037e 1a227e00 copy rega ,pdata 
+037f 207a0000 rtn blank 
+0380 6000cd93 store 1 ,mem_customer_key 
+0381 704da801 jam 1 ,mem_customer_data_trigger 
+0382 20207fe7 branch enable_user 
 
 p_mouse_check_customer_key_gpio:
-0391 6808cd91 fetcht 1 ,mem_mouse_comm_gpio 
-0392 20400374 call p_gpio_set_input_pu 
-0393 da200000 arg 0 ,rega 
-0394 6808cd94 fetcht 1 ,mem_customer_key_gpio 
-0395 20400379 call p_gpio_set_input_pd 
-0396 6808cd94 fetcht 1 ,mem_customer_key_gpio 
-0397 2040681d call gpio_get_bit 
-0398 7d20a200 nsetflag true ,0 ,rega 
-0399 20400374 call p_gpio_set_input_pu 
-039a 2020408e branch mouse_check_key_gpio_output 
+0383 6808cd91 fetcht 1 ,mem_mouse_comm_gpio 
+0384 20400366 call p_gpio_set_input_pu 
+0385 da200000 arg 0 ,rega 
+0386 6808cd94 fetcht 1 ,mem_customer_key_gpio 
+0387 2040036b call p_gpio_set_input_pd 
+0388 6808cd94 fetcht 1 ,mem_customer_key_gpio 
+0389 2040681d call gpio_get_bit 
+038a 7d20a200 nsetflag true ,0 ,rega 
+038b 20400366 call p_gpio_set_input_pu 
+038c 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_bb_event_discovery_btn:
-039b 2020426d branch mouse_bb_event_discovery_btn + 1 
+038d 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
-039c 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
-039d 20200504 branch p_zcode_entrance 
+038e 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
+038f 202004f6 branch p_zcode_entrance 
 
 p_mouse_start_discovery:
-039e 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
-039f 20200504 branch p_zcode_entrance 
+0390 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
+0391 202004f6 branch p_zcode_entrance 
 
 p_le_adv_data_update:
-03a0 d8a0437b arg mem_le_adv_data + 11 ,contw 
-03a1 df200013 arg 19 ,loopcnt 
-03a2 20407f01 call memcpy 
-03a3 202057b8 branch le_modified_name_adv 
+0392 d8a0437b arg mem_le_adv_data + 11 ,contw 
+0393 df200013 arg 19 ,loopcnt 
+0394 20407f01 call memcpy 
+0395 202057b8 branch le_modified_name_adv 
 
 p_mouse_stop_discovery:
-03a4 2040047e call p_mouse_discovey_led_blink_off 
-03a5 58000000 setarg 0 
-03a6 600146ac store 2 ,mem_mouse_discovery_timer 
-03a7 6000c714 store 1 ,mem_mouse_blink_count 
-03a8 204000fd call p_mouse_init_sensor_reset 
-03a9 202042cb branch mouse_stop_discovery + 1 
+0396 20400470 call p_mouse_discovey_led_blink_off 
+0397 58000000 setarg 0 
+0398 600146ac store 2 ,mem_mouse_discovery_timer 
+0399 6000c714 store 1 ,mem_mouse_blink_count 
+039a 204000fd call p_mouse_init_sensor_reset 
+039b 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-03aa 6800c50f fetch 1 ,mem_le_md_count 
-03ab 1fe0fe01 pincrease 1 
-03ac 6000c50f store 1 ,mem_le_md_count 
-03ad c0065395 beq le_md_max_count ,le_slave_cont 
-03ae 204055aa call le_acknowledge 
-03af 2040561e call le_prepare_tx 
-03b0 204004a9 call power_ctrl_start 
-03b1 2020538f branch le_slave_match + 7 
+039c 6800c50f fetch 1 ,mem_le_md_count 
+039d 1fe0fe01 pincrease 1 
+039e 6000c50f store 1 ,mem_le_md_count 
+039f c0065395 beq le_md_max_count ,le_slave_cont 
+03a0 204055aa call le_acknowledge 
+03a1 2040561e call le_prepare_tx 
+03a2 2040049b call power_ctrl_start 
+03a3 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-03b2 68008016 fetch 1 ,mem_le_ch_mapped 
-03b3 1fe0fe01 increase 1 ,pdata 
-03b4 60008016 store 1 ,mem_le_ch_mapped 
-03b5 c1940000 rtnne 40 
-03b6 70001625 jam 37 ,mem_le_ch_mapped 
-03b7 20600000 rtn 
+03a4 68008016 fetch 1 ,mem_le_ch_mapped 
+03a5 1fe0fe01 increase 1 ,pdata 
+03a6 60008016 store 1 ,mem_le_ch_mapped 
+03a7 c1940000 rtnne 40 
+03a8 70001625 jam 37 ,mem_le_ch_mapped 
+03a9 20600000 rtn 
 
 p_le_receive_skip:
-03b8 204029bb call save_rssi 
-03b9 2040008b call p_rssi_signal 
-03ba 202054a3 branch le_receive_skip + 2 
+03aa 204029bb call save_rssi 
+03ab 2040008b call p_rssi_signal 
+03ac 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-03bb 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
-03bc 20200504 branch p_zcode_entrance 
+03ad 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
+03ae 202004f6 branch p_zcode_entrance 
 
 p_le_update_channel_map:
-03bd 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
-03be 20200504 branch p_zcode_entrance 
+03af 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
+03b0 202004f6 branch p_zcode_entrance 
 
 p_le_prepare_tx:
-03bf 68008456 fetch 1 ,mem_le_arq 
-03c0 c28283de bbit1 wak ,p_le_prepare_tx_wak 
-03c1 204004a3 call power_ctrl_pac_succ_incrs 
-03c2 6800c78e fetch 1 ,mem_empty_count 
-03c3 243a03c9 nbranch p_le_send_empyt ,blank 
-03c4 6800843f fetch 1 ,mem_le_state 
-03c5 c30203cd bbit0 lestate_encryption ,p_le_tx_4 
-03c6 680082da fetch 1 ,mem_le_rxbuf + 1 
-03c7 203a03cd branch p_le_tx_4 ,blank 
-03c8 20205664 branch le_send_empty 
+03b1 68008456 fetch 1 ,mem_le_arq 
+03b2 c28283d0 bbit1 wak ,p_le_prepare_tx_wak 
+03b3 20400495 call power_ctrl_pac_succ_incrs 
+03b4 6800c78e fetch 1 ,mem_empty_count 
+03b5 243a03bb nbranch p_le_send_empyt ,blank 
+03b6 6800843f fetch 1 ,mem_le_state 
+03b7 c30203bf bbit0 lestate_encryption ,p_le_tx_4 
+03b8 680082da fetch 1 ,mem_le_rxbuf + 1 
+03b9 203a03bf branch p_le_tx_4 ,blank 
+03ba 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-03c9 6800c78e fetch 1 ,mem_empty_count 
-03ca 1fe0ffff increase -1 ,pdata 
-03cb 6000c78e store 1 ,mem_empty_count 
-03cc 20205664 branch le_send_empty 
+03bb 6800c78e fetch 1 ,mem_empty_count 
+03bc 1fe0ffff increase -1 ,pdata 
+03bd 6000c78e store 1 ,mem_empty_count 
+03be 20205664 branch le_send_empty 
 
 p_le_tx_4:
-03cd 6800c4c4 fetch 1 ,mem_le_pairing_state 
-03ce c08283d0 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-03cf 70478e03 jam 3 ,mem_empty_count 
+03bf 6800c4c4 fetch 1 ,mem_le_pairing_state 
+03c0 c08283c2 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+03c1 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-03d0 20405892 call le_fifo_check_nearly_full 
-03d1 205a01c5 call p_mouse_data_pull ,blank 
-03d2 20205622 branch le_prepare_tx + 4 
+03c2 20405892 call le_fifo_check_nearly_full 
+03c3 205a01c9 call p_mouse_data_pull ,blank 
+03c4 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-03d3 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03d4 1fe17e03 and pdata ,0x03 ,pdata 
-03d5 c1818000 rtnne 0x03 
-03d6 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03d7 207a0000 rtn blank 
-03d8 6800c3dd fetch 1 ,mem_le_txlen 
-03d9 207a0000 rtn blank 
-03da 6800c3dc fetch 1 ,mem_le_txheader 
-03db 79207e04 set1 md ,pdata 
-03dc 6000c3dc store 1 ,mem_le_txheader 
-03dd 20205650 branch le_set_md 
+03c5 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03c6 1fe17e03 and pdata ,0x03 ,pdata 
+03c7 c1818000 rtnne 0x03 
+03c8 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03c9 207a0000 rtn blank 
+03ca 6800c3dd fetch 1 ,mem_le_txlen 
+03cb 207a0000 rtn blank 
+03cc 6800c3dc fetch 1 ,mem_le_txheader 
+03cd 79207e04 set1 md ,pdata 
+03ce 6000c3dc store 1 ,mem_le_txheader 
+03cf 20205650 branch le_set_md 
 
 p_le_prepare_tx_wak:
-03de 204003d3 call p_le_check_tx_retransmit_setmd 
+03d0 204003c5 call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
 
 power_ctrl_pac_succ_decrs:
-03df 6800cf78 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-03e0 1fe67c02 sub pdata ,2 ,null 
-03e1 244104a7 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-03e2 6800cf78 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-03e3 c1000000 rtneq 0 
-03e4 1fe0ffff increase -1 ,pdata 
-03e5 6000cf78 store 1 ,mem_power_ctrl_pac_succ_cnt 
-03e6 20600000 rtn 
+03d1 6800cf7d fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+03d2 1fe67c02 sub pdata ,2 ,null 
+03d3 24410499 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+03d4 6800cf7d fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+03d5 c1000000 rtneq 0 
+03d6 1fe0ffff increase -1 ,pdata 
+03d7 6000cf7d store 1 ,mem_power_ctrl_pac_succ_cnt 
+03d8 20600000 rtn 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-03e7 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-03e8 207a0000 rtn blank 
-03e9 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03ea 1fe17e03 and pdata ,0x03 ,pdata 
-03eb c1018000 rtneq 0x03 
-03ec 7046c60a jam 10 ,mem_le_start_encrypt_timer 
-03ed 20600000 rtn 
+03d9 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+03da 207a0000 rtn blank 
+03db 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03dc 1fe17e03 and pdata ,0x03 ,pdata 
+03dd c1018000 rtneq 0x03 
+03de 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+03df 20600000 rtn 
 
 p_le_parse:
-03ee c6078000 rtnmark1 mark_old_packet 
-03ef 20405890 call le_fifo_check_full 
-03f0 247a0000 nrtn blank 
-03f1 680082d9 fetch 1 ,mem_le_rxbuf 
-03f2 1fe17e03 and pdata ,0x3 ,pdata 
-03f3 6000c50c store 1 ,mem_le_packet_llid 
-03f4 e8c08000 ifetch 1 ,contr 
-03f5 1fe17e1f and pdata ,0x1f ,pdata 
-03f6 6000c50b store 1 ,mem_le_packet_size 
-03f7 207a0000 rtn blank 
-03f8 18c27e00 copy contr ,pdata 
-03f9 6001450d store 2 ,mem_le_payload_ptr 
-03fa 6800c50c fetch 1 ,mem_le_packet_llid 
-03fb c00183fd beq llid_le_ll ,p_le_parse_ll 
-03fc 2020568d branch le_parse_l2cap 
+03e0 c6078000 rtnmark1 mark_old_packet 
+03e1 20405890 call le_fifo_check_full 
+03e2 247a0000 nrtn blank 
+03e3 680082d9 fetch 1 ,mem_le_rxbuf 
+03e4 1fe17e03 and pdata ,0x3 ,pdata 
+03e5 6000c50c store 1 ,mem_le_packet_llid 
+03e6 e8c08000 ifetch 1 ,contr 
+03e7 1fe17e1f and pdata ,0x1f ,pdata 
+03e8 6000c50b store 1 ,mem_le_packet_size 
+03e9 207a0000 rtn blank 
+03ea 18c27e00 copy contr ,pdata 
+03eb 6001450d store 2 ,mem_le_payload_ptr 
+03ec 6800c50c fetch 1 ,mem_le_packet_llid 
+03ed c00183ef beq llid_le_ll ,p_le_parse_ll 
+03ee 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-03fd 680082db fetch 1 ,mem_le_rxbuf + 2 
-03fe c0008400 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-03ff 20205c65 branch le_parse_ll + 1 
+03ef 680082db fetch 1 ,mem_le_rxbuf + 2 
+03f0 c00083f2 beq ll_channel_map_req ,p_le_parse_channel_map_req 
+03f1 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_channel_map_req:
-0400 e8c28000 ifetch 5 ,contr 
-0401 6002c3ce store 5 ,mem_le_new_map 
-0402 e8c10000 ifetch 2 ,contr 
-0403 6001045f store 2 ,mem_le_instant 
-0404 20205c8a branch le_parse_channel_map_req + 7 
+03f2 e8c28000 ifetch 5 ,contr 
+03f3 6002c3ce store 5 ,mem_le_new_map 
+03f4 e8c10000 ifetch 2 ,contr 
+03f5 6001045f store 2 ,mem_le_instant 
+03f6 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-0405 e8c10000 ifetch 2 ,contr 
-0406 c0020409 beq le_l2cap_cid_att ,p_le_parse_att 
-0407 c003040d beq le_l2cap_cid_smp ,p_le_parse_smp 
-0408 20205698 branch le_parse_l2cap + 11 
+03f7 e8c10000 ifetch 2 ,contr 
+03f8 c00203fb beq le_l2cap_cid_att ,p_le_parse_att 
+03f9 c00303ff beq le_l2cap_cid_smp ,p_le_parse_smp 
+03fa 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0409 20407ea5 call store_contr 
-040a 204003e7 call p_mouse_le_reconn_write_enable_timer_reinit 
-040b 20407e9f call get_contr 
-040c 202058ab branch le_parse_att 
+03fb 20407ea5 call store_contr 
+03fc 204003d9 call p_mouse_le_reconn_write_enable_timer_reinit 
+03fd 20407e9f call get_contr 
+03fe 202058ab branch le_parse_att 
 
 p_le_parse_smp:
-040d e8c08000 ifetch 1 ,contr 
-040e c0008411 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-040f c0028413 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0410 20205af6 branch le_parse_smp + 2 
+03ff e8c08000 ifetch 1 ,contr 
+0400 c0008403 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0401 c0028405 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0402 20205af6 branch le_parse_smp + 2 
 
 p_le_parse_smp_pairing_request:
-0411 704d4501 jam 1 ,mem_le_send_security_request_flag 
-0412 20205b09 branch le_parse_smp_pairing_request 
+0403 704d4501 jam 1 ,mem_le_send_security_request_flag 
+0404 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-0413 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
-0414 20200504 branch p_zcode_entrance 
+0405 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
+0406 202004f6 branch p_zcode_entrance 
 
 p_le_adv_not_match:
-0415 68008016 fetch 1 ,mem_le_ch_mapped 
-0416 c093d6f2 bne 39 ,le_adv_loop 
-0417 180a7e00 random pdata 
-0418 d84001ff arg 0x1ff ,temp 
-0419 98417e00 iand temp ,pdata 
-041a 1fe0fefa add pdata ,250 ,pdata 
-041b 20403cbe call delay 
-041c d8e00000 arg le_adv_interval_timer ,queue 
-041d 68014482 fetch 2 ,mem_le_adv_interval 
-041e 20207f08 branch timer_init 
+0407 68008016 fetch 1 ,mem_le_ch_mapped 
+0408 c093d6f2 bne 39 ,le_adv_loop 
+0409 180a7e00 random pdata 
+040a d84001ff arg 0x1ff ,temp 
+040b 98417e00 iand temp ,pdata 
+040c 1fe0fefa add pdata ,250 ,pdata 
+040d 20403cbe call delay 
+040e d8e00000 arg le_adv_interval_timer ,queue 
+040f 68014482 fetch 2 ,mem_le_adv_interval 
+0410 20207f08 branch timer_init 
 
 p_le_lpm_setmult:
-041f 7855fc00 disable wake 
-0420 20370422 branch p_le_lpm_set_mult_attempt ,attempt 
-0421 2436d806 nbranch le_lpm_lost ,match 
+0411 7855fc00 disable wake 
+0412 20370414 branch p_le_lpm_set_mult_attempt ,attempt 
+0413 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-0422 20402bcb call lpm_match 
-0423 680140c1 fetch 2 ,mem_rx_window_sniff 
-0424 6001044d store 2 ,mem_le_receive_window 
-0425 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0426 2fe00603 compare 3 ,pdata ,3 
-0427 2420abde nbranch lpm_mult_short ,true 
-0428 202057fb branch le_lpm_set_mult_attempt + 3 
+0414 20402bcb call lpm_match 
+0415 680140c1 fetch 2 ,mem_rx_window_sniff 
+0416 6001044d store 2 ,mem_le_receive_window 
+0417 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0418 2fe00603 compare 3 ,pdata ,3 
+0419 2420abde nbranch lpm_mult_short ,true 
+041a 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-0429 7011c542 jam zcode_42 ,mem_zcode_temp_param0 
-042a 20200504 branch p_zcode_entrance 
+041b 7011c542 jam zcode_42 ,mem_zcode_temp_param0 
+041c 202004f6 branch p_zcode_entrance 
 
 p_twspi_reset:
-042b 68108077 hfetch 1 ,core_gpio_out3 
-042c 1fe17efd and_into 0xfd ,pdata 
-042d 60108077 hstore 1 ,core_gpio_out3 
-042e 68188073 hfetcht 1 ,core_gpio_oe3 
-042f 18418402 or_into 0x2 ,temp 
-0430 60188073 hstoret 1 ,core_gpio_oe3 
-0431 204063ee call twspi_disable 
-0432 184104fd and_into 0xfd ,temp 
-0433 2000000d nop 13 
-0434 20400438 call p_twspi_enable 
-0435 60188073 hstoret 1 ,core_gpio_oe3 
-0436 20600000 rtn 
+041d 68108077 hfetch 1 ,core_gpio_out3 
+041e 1fe17efd and_into 0xfd ,pdata 
+041f 60108077 hstore 1 ,core_gpio_out3 
+0420 68188073 hfetcht 1 ,core_gpio_oe3 
+0421 18418402 or_into 0x2 ,temp 
+0422 60188073 hstoret 1 ,core_gpio_oe3 
+0423 204063ee call twspi_disable 
+0424 184104fd and_into 0xfd ,temp 
+0425 2000000d nop 13 
+0426 2040042a call p_twspi_enable 
+0427 60188073 hstoret 1 ,core_gpio_oe3 
+0428 20600000 rtn 
 
 p_spid_init:
-0437 204064dd call spid_init_common 
+0429 204064dd call spid_init_common 
 
 p_twspi_enable:
-0438 68108081 hfetch 1 ,core_gpio_sel1 
-0439 79207e00 set1 0 ,pdata 
-043a 793ffe01 set0 1 ,pdata 
-043b 793ffe03 set0 3 ,pdata 
-043c 60108081 hstore 1 ,core_gpio_sel1 
-043d 20600000 rtn 
+042a 68108081 hfetch 1 ,core_gpio_sel1 
+042b 79207e00 set1 0 ,pdata 
+042c 793ffe01 set0 1 ,pdata 
+042d 793ffe03 set0 3 ,pdata 
+042e 60108081 hstore 1 ,core_gpio_sel1 
+042f 20600000 rtn 
 
 p_check_51cmd_once_continue:
-043e 204062bc call lmo_fifo_check 
-043f 243a7ddb nbranch check_51cmd_restore ,blank 
-0440 68008a99 fetch 1 ,mem_fifo_temp 
-0441 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-0442 c00f8449 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-0443 c010044c beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-0444 c0090446 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-0445 20207dca branch check_51cmd_once_continue + 2 
+0430 204062bc call lmo_fifo_check 
+0431 243a7ddb nbranch check_51cmd_restore ,blank 
+0432 68008a99 fetch 1 ,mem_fifo_temp 
+0433 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+0434 c00f843b beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+0435 c010043e beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+0436 c0090438 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+0437 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-0446 20405890 call le_fifo_check_full 
-0447 247a0000 nrtn blank 
-0448 20205abf branch le_l2cap_tx_update_req 
+0438 20405890 call le_fifo_check_full 
+0439 247a0000 nrtn blank 
+043a 20205abf branch le_l2cap_tx_update_req 
 
 p_flash_store_le_reconn_info:
-0449 70018534 jam rec_4_mode ,mem_record_bt_mode 
-044a 6803044f fetch 6 ,mem_le_plap 
-044b 2020044e branch p_flash_store_reconn_info 
+043b 70018534 jam rec_4_mode ,mem_record_bt_mode 
+043c 6803044f fetch 6 ,mem_le_plap 
+043d 20200440 branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-044c 70018533 jam rec_3_mode ,mem_record_bt_mode 
-044d 68030040 fetch 6 ,mem_plap 
+043e 70018533 jam rec_3_mode ,mem_record_bt_mode 
+043f 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-044e 60030186 store 6 ,mem_temp_lap 
+0440 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-044f 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-0450 c4038000 rtnbit0 mouse_store_eeprom_flag 
-0451 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0452 204043d2 call mouse_disable_function_flag 
-0453 204042e8 call mouse_check_device_addr 
+0441 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0442 c4038000 rtnbit0 mouse_store_eeprom_flag 
+0443 d8e00007 arg mouse_store_eeprom_flag ,queue 
+0444 204043d2 call mouse_disable_function_flag 
+0445 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-0454 204042fb call mouse_before_store_reconn_info 
-0455 2020012b branch p_mouse_store_flash_device_info 
+0446 204042fb call mouse_before_store_reconn_info 
+0447 2020012b branch p_mouse_store_flash_device_info 
 
 p_mouse_multi_led_blink_timer:
-0456 6800cd00 fetch 1 ,mem_mouse_multi_led_blink_enable 
-0457 207a0000 rtn blank 
-0458 6800cd03 fetch 1 ,mem_mouse_multi_led_type 
-0459 c000045c beq multi_led_on ,p_mouse_multi_led_type_on 
-045a c0008466 beq multi_led_blink ,p_mouse_multi_led_type_blink 
-045b 20600000 rtn 
+0448 6800cd00 fetch 1 ,mem_mouse_multi_led_blink_enable 
+0449 207a0000 rtn blank 
+044a 6800cd03 fetch 1 ,mem_mouse_multi_led_type 
+044b c000044e beq multi_led_on ,p_mouse_multi_led_type_on 
+044c c0008458 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+044d 20600000 rtn 
 
 p_mouse_multi_led_type_on:
-045c 20400476 call p_mouse_multi_led_on 
-045d 6800cd08 fetch 1 ,mem_mouse_multi_led_on_timer 
-045e 1fe0fe01 increase 1 ,pdata 
-045f 6000cd08 store 1 ,mem_mouse_multi_led_on_timer 
-0460 6808cd04 fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-0461 98467c00 isub temp ,null 
-0462 20428464 call p_mouse_multi_led_off_poweron2s ,zero 
-0463 20600000 rtn 
+044e 20400468 call p_mouse_multi_led_on 
+044f 6800cd08 fetch 1 ,mem_mouse_multi_led_on_timer 
+0450 1fe0fe01 increase 1 ,pdata 
+0451 6000cd08 store 1 ,mem_mouse_multi_led_on_timer 
+0452 6808cd04 fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+0453 98467c00 isub temp ,null 
+0454 20428456 call p_mouse_multi_led_off_poweron2s ,zero 
+0455 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-0464 704d0a00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-0465 20200484 branch p_mouse_multi_led_off 
+0456 704d0a00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+0457 20200476 branch p_mouse_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-0466 6800cd06 fetch 1 ,mem_mouse_multi_led_blink_timer 
-0467 1fe0ffff increase -1 ,pdata 
-0468 6000cd06 store 1 ,mem_mouse_multi_led_blink_timer 
-0469 247a0000 nrtn blank 
-046a 6800cd05 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-046b 6000cd06 store 1 ,mem_mouse_multi_led_blink_timer 
-046c 6800cd09 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-046d 203a0472 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-046e 6800cd07 fetch 1 ,mem_mouse_multi_led_blink_count 
-046f 1fe0ffff increase -1 ,pdata 
-0470 6000cd07 store 1 ,mem_mouse_multi_led_blink_count 
-0471 203a0482 branch p_mouse_multi_led_blink_off ,blank 
+0458 6800cd06 fetch 1 ,mem_mouse_multi_led_blink_timer 
+0459 1fe0ffff increase -1 ,pdata 
+045a 6000cd06 store 1 ,mem_mouse_multi_led_blink_timer 
+045b 247a0000 nrtn blank 
+045c 6800cd05 fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+045d 6000cd06 store 1 ,mem_mouse_multi_led_blink_timer 
+045e 6800cd09 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+045f 203a0464 branch p_mouse_multi_led_blink_count_no_limited ,blank 
+0460 6800cd07 fetch 1 ,mem_mouse_multi_led_blink_count 
+0461 1fe0ffff increase -1 ,pdata 
+0462 6000cd07 store 1 ,mem_mouse_multi_led_blink_count 
+0463 203a0474 branch p_mouse_multi_led_blink_off ,blank 
 
 p_mouse_multi_led_blink_count_no_limited:
-0472 6800cd02 fetch 1 ,mem_mouse_multi_led_state 
-0473 c0008484 beq on ,p_mouse_multi_led_off 
-0474 c0000476 beq off ,p_mouse_multi_led_on 
-0475 20600000 rtn 
+0464 6800cd02 fetch 1 ,mem_mouse_multi_led_state 
+0465 c0008476 beq on ,p_mouse_multi_led_off 
+0466 c0000468 beq off ,p_mouse_multi_led_on 
+0467 20600000 rtn 
 
 p_mouse_multi_led_on:
-0476 704d0201 jam on ,mem_mouse_multi_led_state 
-0477 6800c720 fetch 1 ,mem_device_flag 
-0478 c000847c beq 1 ,p_mouse_multi_24g_led_on 
-0479 c001047b beq 2 ,p_mouse_multi_bt_led_on 
-047a 2020047d branch p_mouse_multi_ble_led_on 
+0468 704d0201 jam on ,mem_mouse_multi_led_state 
+0469 6800c720 fetch 1 ,mem_device_flag 
+046a c000846e beq 1 ,p_mouse_multi_24g_led_on 
+046b c001046d beq 2 ,p_mouse_multi_bt_led_on 
+046c 2020046f branch p_mouse_multi_ble_led_on 
 
 p_mouse_multi_bt_led_on:
-047b 2020448c branch mouse_device2_led_on 
+046d 2020448c branch mouse_device2_led_on 
 
 p_mouse_multi_24g_led_on:
-047c 20204489 branch mouse_device1_led_on 
+046e 20204489 branch mouse_device1_led_on 
 
 p_mouse_multi_ble_led_on:
-047d 2020448f branch mouse_device3_led_on 
+046f 2020448f branch mouse_device3_led_on 
 
 p_mouse_discovey_led_blink_off:
-047e 6800cd08 fetch 1 ,mem_mouse_multi_led_on_timer 
-047f 247a0000 nrtn blank 
-0480 6800cd0a fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0481 247a0000 nrtn blank 
+0470 6800cd08 fetch 1 ,mem_mouse_multi_led_on_timer 
+0471 247a0000 nrtn blank 
+0472 6800cd0a fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0473 247a0000 nrtn blank 
 
 p_mouse_multi_led_blink_off:
-0482 58000000 setarg 0 
-0483 6001cd06 store 3 ,mem_mouse_multi_led_blink_timer 
+0474 58000000 setarg 0 
+0475 6001cd06 store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-0484 6800cd07 fetch 1 ,mem_mouse_multi_led_blink_count 
-0485 243a0488 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-0486 704d0000 jam 0 ,mem_mouse_multi_led_blink_enable 
-0487 704d0300 jam 0 ,mem_mouse_multi_led_type 
+0476 6800cd07 fetch 1 ,mem_mouse_multi_led_blink_count 
+0477 243a047a nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+0478 704d0000 jam 0 ,mem_mouse_multi_led_blink_enable 
+0479 704d0300 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-0488 704d0800 jam 0 ,mem_mouse_multi_led_on_timer 
-0489 704d0200 jam off ,mem_mouse_multi_led_state 
-048a 20404483 call mouse_devce_led_off + 1 
-048b 6800cd07 fetch 1 ,mem_mouse_multi_led_blink_count 
-048c 247a0000 nrtn blank 
-048d 6800cd92 fetch 1 ,mem_mouse_connected_state 
-048e 243a340a nbranch app_enter_hibernate ,blank 
-048f 20600000 rtn 
+047a 704d0800 jam 0 ,mem_mouse_multi_led_on_timer 
+047b 704d0200 jam off ,mem_mouse_multi_led_state 
+047c 20404483 call mouse_devce_led_off + 1 
+047d 6800cd07 fetch 1 ,mem_mouse_multi_led_blink_count 
+047e 247a0000 nrtn blank 
+047f 6800cd92 fetch 1 ,mem_mouse_connected_state 
+0480 243a340a nbranch app_enter_hibernate ,blank 
+0481 20600000 rtn 
 
 p_mouse_dpi_multi_led_blink:
-0490 704d0503 jam 3 ,mem_mouse_multi_led_blink_timer_init 
-0491 704d0901 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-0492 2020049c branch p_mouse_multi_led_blink_enable 
+0482 704d0503 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+0483 704d0901 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+0484 2020048e branch p_mouse_multi_led_blink_enable 
 
 p_mouse_mode_bt_device_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-0493 704d0a01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0494 704d0001 jam on ,mem_mouse_multi_led_blink_enable 
-0495 704d0300 jam multi_led_on ,mem_mouse_multi_led_type 
-0496 704d0800 jam 0 ,mem_mouse_multi_led_on_timer 
-0497 20600000 rtn 
+0485 704d0a01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0486 704d0001 jam on ,mem_mouse_multi_led_blink_enable 
+0487 704d0300 jam multi_led_on ,mem_mouse_multi_led_type 
+0488 704d0800 jam 0 ,mem_mouse_multi_led_on_timer 
+0489 20600000 rtn 
 
 p_mouse_discovery_multi_led_blink:
-0498 704d0a00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-0499 704d0503 jam 3 ,mem_mouse_multi_led_blink_timer_init 
-049a 704d0900 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-049b 704d0701 jam 1 ,mem_mouse_multi_led_blink_count 
+048a 704d0a00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+048b 704d0503 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+048c 704d0900 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+048d 704d0701 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-049c 704d0605 jam 5 ,mem_mouse_multi_led_blink_timer 
-049d 704d0001 jam on ,mem_mouse_multi_led_blink_enable 
-049e 704d0301 jam multi_led_blink ,mem_mouse_multi_led_type 
-049f 20600000 rtn 
+048e 704d0605 jam 5 ,mem_mouse_multi_led_blink_timer 
+048f 704d0001 jam on ,mem_mouse_multi_led_blink_enable 
+0490 704d0301 jam multi_led_blink ,mem_mouse_multi_led_type 
+0491 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_init:
-04a0 704f7b01 jam 1 ,mem_power_ctrl_level 
-04a1 704f7800 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-04a2 20600000 rtn 
+0492 704f8001 jam 1 ,mem_power_ctrl_level 
+0493 704f7d00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0494 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-04a3 6800cf78 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04a4 1fe0fe01 increase 1 ,pdata 
-04a5 6000cf78 store 1 ,mem_power_ctrl_pac_succ_cnt 
-04a6 20600000 rtn 
+0495 6800cf7d fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0496 1fe0fe01 increase 1 ,pdata 
+0497 6000cf7d store 1 ,mem_power_ctrl_pac_succ_cnt 
+0498 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-04a7 704f7803 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-04a8 20600000 rtn 
+0499 704f7d03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+049a 20600000 rtn 
 
 power_ctrl_start:
-04a9 68014682 fetch 2 ,mem_ui_state_map 
-04aa c3858000 rtnbit1 ui_state_ble_adv 
-04ab c3838000 rtnbit1 ui_state_bt_reconnect 
-04ac c3830000 rtnbit1 ui_state_bt_discovery 
-04ad da204f01 arg mem_rssi_signal_buf ,rega 
-04ae 2040007d call p_rssi_average 
-04af 6008cf79 storet 1 ,mem_rssi_avg_received 
-04b0 58000082 setarg rssi_dis_max_24g 
-04b1 c51304b3 bmark1 mark_24g ,power_ctrl_start_next 
-04b2 58000080 setarg rssi_dis_max_ble 
+049b 68014682 fetch 2 ,mem_ui_state_map 
+049c c3858000 rtnbit1 ui_state_ble_adv 
+049d c3838000 rtnbit1 ui_state_bt_reconnect 
+049e c3830000 rtnbit1 ui_state_bt_discovery 
+049f da204f06 arg mem_rssi_signal_buf ,rega 
+04a0 2040007d call p_rssi_average 
+04a1 6008cf7e storet 1 ,mem_rssi_avg_received 
+04a2 58000082 setarg rssi_dis_max_24g 
+04a3 c51304a5 bmark1 mark_24g ,power_ctrl_start_next 
+04a4 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-04b3 98467c00 isub temp ,null 
-04b4 242104cb nbranch power_ctrl_txpower_incrs_force ,positive 
-04b5 6800cf78 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04b6 1fe67c02 sub pdata ,2 ,null 
-04b7 242104bb nbranch power_ctrl_txpower_decrs_check ,positive 
-04b8 6800cf78 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04b9 c00004cc beq 0 ,power_ctrl_txpower_incrs 
-04ba 20600000 rtn 
+04a5 98467c00 isub temp ,null 
+04a6 242104bd nbranch power_ctrl_txpower_incrs_force ,positive 
+04a7 6800cf7d fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04a8 1fe67c02 sub pdata ,2 ,null 
+04a9 242104ad nbranch power_ctrl_txpower_decrs_check ,positive 
+04aa 6800cf7d fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04ab c00004be beq 0 ,power_ctrl_txpower_incrs 
+04ac 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-04bb 6800cf78 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04bc c1900000 rtnne 32 
-04bd 704f7800 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+04ad 6800cf7d fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04ae c1900000 rtnne 32 
+04af 704f7d00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-04be 6808cf79 fetcht 1 ,mem_rssi_avg_received 
-04bf 58000077 setarg rssi_dis_min_24g 
-04c0 c51304c2 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-04c1 58000075 setarg rssi_dis_min_ble 
+04b0 6808cf7e fetcht 1 ,mem_rssi_avg_received 
+04b1 58000077 setarg rssi_dis_min_24g 
+04b2 c51304b4 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+04b3 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-04c2 98467c00 isub temp ,null 
-04c3 24610000 nrtn positive 
-04c4 6800cf7b fetch 1 ,mem_power_ctrl_level 
-04c5 c00004d3 beq 0 ,power_ctrl_decrs_level0 
-04c6 1fe0ffff increase -1 ,pdata 
-04c7 6000cf7b store 1 ,mem_power_ctrl_level 
-04c8 c00004d3 beq 0 ,power_ctrl_decrs_level0 
+04b4 98467c00 isub temp ,null 
+04b5 24610000 nrtn positive 
+04b6 6800cf80 fetch 1 ,mem_power_ctrl_level 
+04b7 c00004c5 beq 0 ,power_ctrl_decrs_level0 
+04b8 1fe0ffff increase -1 ,pdata 
+04b9 6000cf80 store 1 ,mem_power_ctrl_level 
+04ba c00004c5 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-04c9 7041de00 jam tx_power_0db ,mem_tx_power 
-04ca 20600000 rtn 
+04bb 7041de00 jam tx_power_0db ,mem_tx_power 
+04bc 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-04cb 704f7800 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+04bd 704f7d00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-04cc 6800cf7b fetch 1 ,mem_power_ctrl_level 
-04cd c00104d1 beq 2 ,power_ctrl_incrs_level2 
-04ce 1fe0fe01 increase 1 ,pdata 
-04cf 6000cf7b store 1 ,mem_power_ctrl_level 
-04d0 c00084c9 beq 1 ,power_ctrl_incrs_level1 
+04be 6800cf80 fetch 1 ,mem_power_ctrl_level 
+04bf c00104c3 beq 2 ,power_ctrl_incrs_level2 
+04c0 1fe0fe01 increase 1 ,pdata 
+04c1 6000cf80 store 1 ,mem_power_ctrl_level 
+04c2 c00084bb beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-04d1 7041de02 jam tx_power_5db ,mem_tx_power 
-04d2 20600000 rtn 
+04c3 7041de02 jam tx_power_5db ,mem_tx_power 
+04c4 20600000 rtn 
 
 power_ctrl_decrs_level0:
-04d3 7041de04 jam tx_power_f5db ,mem_tx_power 
-04d4 20600000 rtn 
+04c5 7041de04 jam tx_power_f5db ,mem_tx_power 
+04c6 20600000 rtn 
 
 p_set_freq_tx:
-04d5 60088017 storet 1 ,mem_last_freq 
-04d6 1840a200 add temp ,0 ,rega 
-04d7 20402981 call rf_write_freq 
-04d8 58000500 setarg param_pll_setup 
-04d9 20402a8f call sleep 
+04c7 60088017 storet 1 ,mem_last_freq 
+04c8 1840a200 add temp ,0 ,rega 
+04c9 20402981 call rf_write_freq 
+04ca 58000500 setarg param_pll_setup 
+04cb 20402a8f call sleep 
 
 p_rf_tx_enable:
-04da 70890601 jam 0x1 ,rfen_adc 
-04db 7089003c jam 0x3c ,rfen_rx 
-04dc 708901e0 jam 0xe0 ,rfen_tx 
-04dd 2000000a nop 10 
-04de 70890201 jam 0x01 ,rfen_mdm 
-04df 7089023d jam 0x3d ,rfen_mdm 
-04e0 2000000a nop 10 
-04e1 708903b7 jam 0xb7 ,rfen_sn 
-04e2 2000000a nop 10 
-04e3 7089027d jam 0x7d ,rfen_mdm 
-04e4 6800c1de fetch 1 ,mem_tx_power 
-04e5 c00104ed beq tx_power_5db ,p_set_tx_power_5db 
-04e6 c00204f5 beq tx_power_f5db ,p_set_tx_power_f5db 
-04e7 c01004ff beq tx_power_pair ,p_set_tx_power_pair 
+04cc 70890601 jam 0x1 ,rfen_adc 
+04cd 7089003c jam 0x3c ,rfen_rx 
+04ce 708901e0 jam 0xe0 ,rfen_tx 
+04cf 2000000a nop 10 
+04d0 70890201 jam 0x01 ,rfen_mdm 
+04d1 7089023d jam 0x3d ,rfen_mdm 
+04d2 2000000a nop 10 
+04d3 708903b7 jam 0xb7 ,rfen_sn 
+04d4 2000000a nop 10 
+04d5 7089027d jam 0x7d ,rfen_mdm 
+04d6 6800c1de fetch 1 ,mem_tx_power 
+04d7 c00104df beq tx_power_5db ,p_set_tx_power_5db 
+04d8 c00204e7 beq tx_power_f5db ,p_set_tx_power_f5db 
+04d9 c01004f1 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-04e8 204004fa call p_rx_low_sens 
-04e9 708955d0 jam 0xd0 ,0x8955 
-04ea 708956e0 jam 0xe0 ,0x8956 
-04eb 7089586c jam 0x6c ,0x8958 
-04ec 2020294b branch set_tx_power_0db 
+04da 204004ec call p_rx_low_sens 
+04db 708955d0 jam 0xd0 ,0x8955 
+04dc 708956e0 jam 0xe0 ,0x8956 
+04dd 7089586c jam 0x6c ,0x8958 
+04de 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-04ed 70894cfb jam 0xfb ,0x894c 
-04ee 70894def jam 0xef ,0x894d 
-04ef 70894eec jam 0xec ,0x894e 
-04f0 70894f5e jam 0x5e ,0x894f 
-04f1 708955d0 jam 0xd0 ,0x8955 
-04f2 708956e0 jam 0xe0 ,0x8956 
-04f3 7089583c jam 0x3c ,0x8958 
-04f4 20202953 branch set_tx_power_5db 
+04df 70894cfb jam 0xfb ,0x894c 
+04e0 70894def jam 0xef ,0x894d 
+04e1 70894eec jam 0xec ,0x894e 
+04e2 70894f5e jam 0x5e ,0x894f 
+04e3 708955d0 jam 0xd0 ,0x8955 
+04e4 708956e0 jam 0xe0 ,0x8956 
+04e5 7089583c jam 0x3c ,0x8958 
+04e6 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-04f5 204004fa call p_rx_low_sens 
-04f6 708955d0 jam 0xd0 ,0x8955 
-04f7 708956c0 jam 0xc0 ,0x8956 
-04f8 7089586c jam 0x6c ,0x8958 
-04f9 2020295b branch set_tx_power_f5db 
+04e7 204004ec call p_rx_low_sens 
+04e8 708955d0 jam 0xd0 ,0x8955 
+04e9 708956c0 jam 0xc0 ,0x8956 
+04ea 7089586c jam 0x6c ,0x8958 
+04eb 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-04fa 70894c5b jam 0x5b ,0x894c 
-04fb 70894d96 jam 0x96 ,0x894d 
-04fc 70894e2c jam 0x2c ,0x894e 
-04fd 70894f46 jam 0x46 ,0x894f 
-04fe 20600000 rtn 
+04ec 70894c5b jam 0x5b ,0x894c 
+04ed 70894d96 jam 0x96 ,0x894d 
+04ee 70894e2c jam 0x2c ,0x894e 
+04ef 70894f46 jam 0x46 ,0x894f 
+04f0 20600000 rtn 
 
 p_set_tx_power_pair:
-04ff 708956c0 jam 0xc0 ,0x8956 
-0500 708955d0 jam 0xd0 ,0x8955 
-0501 20600000 rtn 
+04f1 708956c0 jam 0xc0 ,0x8956 
+04f2 708955d0 jam 0xd0 ,0x8955 
+04f3 20600000 rtn 
 
 p_shutdown_radio:
-0502 18002a08 force 8 ,radio_ctrl 
-0503 202028fa branch shutdown_radio + 1 
+04f4 18002a08 force 8 ,radio_ctrl 
+04f5 202028fa branch shutdown_radio + 1 
 
 p_zcode_entrance:
-0504 680891c5 fetcht 1 ,mem_zcode_temp_param0 
-0505 18518400 rshift4 temp ,temp 
-0506 6800cd2f fetch 1 ,mem_zcode_current_number 
-0507 98467c00 isub temp ,null 
-0508 20228523 branch p_zcode_run ,zero 
-0509 6008cd2f storet 1 ,mem_zcode_current_number 
-050a 18408401 increase 1 ,temp 
-050b 58000100 setarg zcode_buff_size 
-050c 984f8400 imul32 temp ,temp 
-050d 6801cd30 fetch 3 ,mem_xip_flash_offset 
-050e 98467e00 isub temp ,pdata 
-050f 6809cd33 fetcht 3 ,mem_flash_start_addr 
-0510 9840fe00 iadd temp ,pdata 
-0511 1fe0fffb increase -5 ,pdata 
-0512 6001cd36 store 3 ,mem_flash_address 
-0513 2040016f call p_flash_release_deep_power_down 
+04f6 680891c5 fetcht 1 ,mem_zcode_temp_param0 
+04f7 18518400 rshift4 temp ,temp 
+04f8 6800cd2f fetch 1 ,mem_zcode_current_number 
+04f9 98467c00 isub temp ,null 
+04fa 20228515 branch p_zcode_run ,zero 
+04fb 6008cd2f storet 1 ,mem_zcode_current_number 
+04fc 18408401 increase 1 ,temp 
+04fd 58000100 setarg zcode_buff_size 
+04fe 984f8400 imul32 temp ,temp 
+04ff 6801cd30 fetch 3 ,mem_xip_flash_offset 
+0500 98467e00 isub temp ,pdata 
+0501 6809cd33 fetcht 3 ,mem_flash_start_addr 
+0502 9840fe00 iadd temp ,pdata 
+0503 1fe0fffb increase -5 ,pdata 
+0504 6001cd36 store 3 ,mem_flash_address 
+0505 2040016f call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-0514 6801cd36 fetch 3 ,mem_flash_address 
-0515 d8400100 arg zcode_buff_size ,temp 
-0516 da201f00 arg mem_zcode_buff ,rega 
-0517 20406562 call spid_read_flash 
-0518 68021f00 fetch 4 ,mem_zcode_buff 
-0519 680a4d39 fetcht 4 ,mem_zcode_head 
-051a 98467c00 isub temp ,null 
-051b 24228514 nbranch p_zcode_read_loop ,zero 
-051c 2040013a call p_mouse_spi_init 
-051d 58001f00 setarg mem_zcode_buff 
-051e 60014199 store 2 ,mem_patch_ptr 
-051f 70419b40 jam zcode_code_size ,mem_patch_len 
-0520 204064ca call load_ucode 
-0521 58000000 setarg 0 
-0522 60024199 store 4 ,mem_patch_ptr 
+0506 6801cd36 fetch 3 ,mem_flash_address 
+0507 d8400100 arg zcode_buff_size ,temp 
+0508 da201f00 arg mem_zcode_buff ,rega 
+0509 20406562 call spid_read_flash 
+050a 68021f00 fetch 4 ,mem_zcode_buff 
+050b 680a4d39 fetcht 4 ,mem_zcode_head 
+050c 98467c00 isub temp ,null 
+050d 24228506 nbranch p_zcode_read_loop ,zero 
+050e 2040013a call p_mouse_spi_init 
+050f 58001f00 setarg mem_zcode_buff 
+0510 60014199 store 2 ,mem_patch_ptr 
+0511 70419b40 jam zcode_code_size ,mem_patch_len 
+0512 204064ca call load_ucode 
+0513 58000000 setarg 0 
+0514 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-0523 680091c5 fetch 1 ,mem_zcode_temp_param0 
-0524 20200001 branch p_zcode 
+0515 680091c5 fetch 1 ,mem_zcode_temp_param0 
+0516 20200001 branch p_zcode 
               org 0x2000
 
 start:
@@ -34465,7 +34453,7 @@
 z_mouse4_0_event_bb_disconn:
 2000d 204041c1 call mouse_le_clean_connect_flag 
 2000e 68014208 fetch app_disc_rsn_size ,mem_app_disconn_reason 
-2000f c285028b bbit1 app_disc_pb_button ,p_mouse_select_device_button_up 
+2000f c28502a4 bbit1 app_disc_pb_button ,p_mouse_select_device_button_up 
 20010 202041f7 branch mouse4_0_event_bb_disconn + 2 
 
 z_mouse_event_light_state_pairing:
@@ -34477,7 +34465,7 @@
 20014 68014682 fetch 2 ,mem_ui_state_map 
 20015 c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
 20016 204033a9 call app_disconn_reason_clear 
-20017 20400353 call p_mouse_check_key_gpio 
+20017 20400345 call p_mouse_check_key_gpio 
 20018 20608000 rtn true 
 20019 202033a7 branch app_bb_hibernate 
               org 0x30001
@@ -34491,7 +34479,7 @@
 
 z_mouse4_0_check_reconn_target:
 30006 704d4501 jam 1 ,mem_le_send_security_request_flag 
-30007 20400493 call p_mouse_mode_bt_device_multi_led_on 
+30007 20400485 call p_mouse_mode_bt_device_multi_led_on 
 30008 7047a101 jam 1 ,mem_mouse_le_reconnect_flag 
 30009 680146a8 fetch 2 ,mem_mouse_direct_timeout 
 3000a 6808cd8c fetcht 1 ,mem_mouse_fast_conn_flag 
@@ -34506,7 +34494,7 @@
 30011 58000004 setarg adv_flag_bredr_not_supported 
 30012 e0c08000 istore 1 ,contr 
 30013 d8c04390 arg mem_le_scan_data ,contr 
-30014 204003a0 call p_le_adv_data_update 
+30014 20400392 call p_le_adv_data_update 
 30015 20207df4 branch check_51cmd_adv 
 
 z_send_lmp_escape:
@@ -34537,7 +34525,7 @@
 30026 6800804b fetch 1 ,mem_op 
 30027 793ffe03 set0 op_disconn ,pdata 
 30028 6000804b store 1 ,mem_op 
-30029 2020024f branch p_mouse_sensor_powerdown 
+30029 20200253 branch p_mouse_sensor_powerdown 
 
 z_send_lmp_accepted:
 3002a 18007e02 force 2 ,pdata 
@@ -34730,7 +34718,7 @@
 60022 2040fddd call check_51cmd_start_discovery ,true 
 60023 704d2a00 jam 0 ,mem_mouse_bt_reconnect_flag 
 60024 204042c4 call mouse_start_discovery_norandom + 13 
-60025 20200498 branch p_mouse_discovery_multi_led_blink 
+60025 2020048a branch p_mouse_discovery_multi_led_blink 
 
 z_check_51cmd_adv:
 60026 7047a100 jam 0 ,mem_mouse_le_reconnect_flag 
@@ -34738,7 +34726,7 @@
 60028 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
 60029 e0c08000 istore 1 ,contr 
 6002a d8c04ceb arg mem_le_adv_swift_pair ,contr 
-6002b 204003a0 call p_le_adv_data_update 
+6002b 20400392 call p_le_adv_data_update 
 6002c 20207df4 branch check_51cmd_adv 
               org 0x70001
 
@@ -34788,7 +34776,7 @@
 90013 20405839 call le_set_justwork 
 90014 2040582c call le_set_fixed_ltk 
 90015 20405818 call le_set_config_read_authentication 
-90016 2040039c call p_le_addr_random_config 
+90016 2040038e call p_le_addr_random_config 
 90017 20400120 call p_mouse_load_flash_info_check 
 90018 df200003 arg 3 ,loopcnt 
 90019 d8c0473f arg mem_device2_addr ,contr 
@@ -34822,7 +34810,7 @@
 b000c 58000009 setarg le_interval_11_25ms 
 b000d 60014496 store 2 ,mem_le_interval_min 
 b000e 60014498 store 2 ,mem_le_interval_min + 2 
-b000f 20400243 call p_app_updata_le_param 
+b000f 20400247 call p_app_updata_le_param 
 b0010 7047c601 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
 b0011 20600000 rtn 
 
@@ -34839,7 +34827,7 @@
 
 z_mouse_le_bb_disconnected:
 b0019 6800cdae fetch 1 ,mem_select_device_button_statue_bt_discovery 
-b001a 205a0291 call p_mouse_le_bb_disconnected_led_blink_set ,blank 
+b001a 205a02aa call p_mouse_le_bb_disconnected_led_blink_set ,blank 
 b001b 704dae00 jam off ,mem_select_device_button_statue_bt_discovery 
 b001c 704d4300 jam 0 ,mem_mouse_le_bb_connected_flag 
 b001d 58000007 setarg le_interval_8_75ms 
@@ -34847,7 +34835,7 @@
 b001f 60014498 store 2 ,mem_le_interval_min + 2 
 b0020 7047c600 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 b0021 70479e00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-b0022 204001bc call p_mouse_data_init 
+b0022 204001c0 call p_mouse_data_init 
 b0023 20405816 call le_clr_config_more_data 
 b0024 2040012b call p_mouse_store_flash_device_info 
 b0025 202041d9 branch mouse_bb_disconnected 
@@ -34858,7 +34846,7 @@
 b0028 6012004c hstore 4 ,core_lpm_reg 
 b0029 20402c21 call lpm_write_ctrl 
 b002a 204074bd call disable_authrom 
-b002b 20400482 call p_mouse_multi_led_blink_off 
+b002b 20400474 call p_mouse_multi_led_blink_off 
 b002c 2040012b call p_mouse_store_flash_device_info 
 b002d 20403e9f call mouse_before_hibernate_wheel_gpio_set 
 b002e 204000a9 call p_mouse_setgpio_hibernate 
@@ -34897,7 +34885,7 @@
 c0013 20200016 branch z_mouse_le_ll_enable_start_enc_flag 
 
 z_mouse_le_ll_reconn_start_encryt:
-c0014 20400243 call p_app_updata_le_param 
+c0014 20400247 call p_app_updata_le_param 
 c0015 7046c60a jam 10 ,mem_le_start_encrypt_timer 
 
 z_mouse_le_ll_enable_start_enc_flag:
@@ -34907,7 +34895,7 @@
 z_mouse_bb_event_disconnected:
 c0018 704d9201 jam 1 ,mem_mouse_connected_state 
 c0019 704d070a jam 10 ,mem_mouse_multi_led_blink_count 
-c001a 20400490 call p_mouse_dpi_multi_led_blink 
+c001a 20400482 call p_mouse_dpi_multi_led_blink 
 c001b 704cda00 jam 0 ,mem_bt_rcvd_switch_req_accept 
 c001c 704cdc00 jam 0 ,mem_bt_send_lmp_setup_complete 
 c001d 704ce500 jam 0 ,mem_mouse_bt_send_first_package_flag 
@@ -34933,6 +34921,7 @@
 e0009 704d4414 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 z_mouse_le_bb_event_connected_next:
-e000a 204001bc call p_mouse_data_init 
-e000b 202041c3 branch mouse_le_bb_event_connected 
+e000a 2040026a call p_mouse_powerdown_sensor_timer_init 
+e000b 204001c0 call p_mouse_data_init 
+e000c 202041c3 branch mouse_le_bb_event_connected 
 
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/output/romcode.rom	(revision 3912)
+++ /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/output/romcode.rom	(working copy)
@@ -24587,7 +24587,7 @@
 202042b0
 204041c1
 68014208
-c285028b
+c28502a4
 202041f7
 c2828014
 c2818014
@@ -24595,7 +24595,7 @@
 68014682
 c28642b0
 204033a9
-20400353
+20400345
 20608000
 202033a7
 c0100016
@@ -24604,7 +24604,7 @@
 c0118006
 20600000
 704d4501
-20400493
+20400485
 7047a101
 680146a8
 6808cd8c
@@ -24617,7 +24617,7 @@
 58000004
 e0c08000
 d8c04390
-204003a0
+20400392
 20207df4
 68008048
 c042001a
@@ -24638,7 +24638,7 @@
 6800804b
 793ffe03
 6000804b
-2020024f
+20200253
 18007e02
 20406298
 68008049
@@ -24780,13 +24780,13 @@
 2040fddd
 704d2a00
 204042c4
-20200498
+2020048a
 7047a100
 204000e7
 58000005
 e0c08000
 d8c04ceb
-204003a0
+20400392
 20207df4
 20600000
 c0388003
@@ -24819,7 +24819,7 @@
 20405839
 2040582c
 20405818
-2040039c
+2040038e
 20400120
 df200003
 d8c0473f
@@ -24845,7 +24845,7 @@
 58000009
 60014496
 60014498
-20400243
+20400247
 7047c601
 20600000
 68014682
@@ -24856,7 +24856,7 @@
 c3828000
 202033a7
 6800cdae
-205a0291
+205a02aa
 704dae00
 704d4300
 58000007
@@ -24864,7 +24864,7 @@
 60014498
 7047c600
 70479e00
-204001bc
+204001c0
 20405816
 2040012b
 202041d9
@@ -24873,7 +24873,7 @@
 6012004c
 20402c21
 204074bd
-20400482
+20400474
 2040012b
 20403e9f
 204000a9
@@ -24901,13 +24901,13 @@
 6800c7a1
 c0008014
 20200016
-20400243
+20400247
 7046c60a
 d8e00001
 202041b9
 704d9201
 704d070a
-20400490
+20400482
 704cda00
 704cdc00
 704ce500
@@ -24923,6 +24923,7 @@
 6800c7a1
 243a000a
 704d4414
-204001bc
+2040026a
+204001c0
 202041c3
-00004c70
+00009087
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/program/patch.prog	(revision 3912)
+++ /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/program/patch.prog	(working copy)
@@ -151,6 +151,7 @@
 endif	
 	beq patch18_4,p_device_init
 	beq patch1c_3,p_mouse_seting_dpi
+	beq patch1c_4,p_mouse_wheel_check
 	beq patch1c_6,p_mouse_motion
 	beq patch1d_2,p_mouse_bb_event_discovery_btn
 	beq patch1d_3,p_mouse_start_discovery
@@ -177,7 +178,6 @@
 endif
 	beq patch31_4,p_twspi_reset
 	beq patch31_5,p_spid_init
-	beq patch34_0,p_vdd_calculate_by_mode
 	beq patch3f_2,p_check_51cmd_once_continue
 ifdef DEBUGLOG
 	beq patch2f_6,p_parse_lmp_opcode
@@ -1072,7 +1072,7 @@
 	and pdata,0xdf,pdata
 	store 1,mem_gpio_wakeup_low
 	fetch 1,mem_gpio_wakeup_low+3
-	and pdata,0xbe,pdata
+	and pdata,0xbf,pdata
 	store 1,mem_gpio_wakeup_low+3
 	rtn
 	
@@ -1498,7 +1498,7 @@
 else
 	nrtn user
 endif
-//	call p_mouse_le_current_mult_update
+	call p_mouse_le_current_mult_update
 //	call p_mouse_data_xy_release
 	call p_mouse_wheel_trigger
 	fetch 1,mem_customer_data_trigger
@@ -1542,12 +1542,12 @@
 	store 8,mem_pdatatemp
 	branch p_mouse_fill_customer_data_le
 
-//p_mouse_le_current_mult_update:
+p_mouse_le_current_mult_update:
 //	fetch 1,mem_config_function_enable
 //	rtnbit1 ENABLE_SENSOR_MOTION_PIN
-//	jam 0,mem_lpm_mult
-//	jam 30,mem_mouse_le_current_mult_timer
-//	rtn
+	jam 8,mem_lpm_mult
+	jam 30,mem_mouse_le_current_mult_timer
+	rtn
 
 //p_mouse_data_xy_release:
 //	fetch 1,mem_config_function_enable
@@ -1651,7 +1651,7 @@
 else
 	nrtn user
 endif
-//	call p_mouse_le_current_mult_update
+	call p_mouse_le_current_mult_update
 //	call p_mouse_data_xy_release
 	call p_mouse_wheel_trigger
 	fetch 1,mem_mouse_bt_boot_mode
@@ -1911,6 +1911,7 @@
 //	call p_mouse_null_enter_hibernate_disable
 	call p_mouse_init_sensor_reset
 p_mouse_24g_no_data_timer_init:
+	call p_mouse_powerdown_sensor_timer_init
 	branch mouse_no_data_timer_init
 endif
 
@@ -1948,7 +1949,7 @@
 ifdef BLE	
 	call p_mouse_check_direct_timeout_timer
 	call p_mouse_le_enable_att_list_timer
-//	call p_mouse_le_current_mult_update_timer
+	call p_mouse_le_current_mult_update_timer
 	call p_le_send_smp_security_request_timer
 	call p_mouse_customer_bt_send_empty_packet_timer
 endif
@@ -1957,8 +1958,27 @@
 	call mouse_check_hid_handshake_timer
 	call p_mouse_bt_check_sniff_req_timeout_timer
 endif
+	call p_mouse_powerdown_sensor_timer
 	branch p_mouse_multi_led_blink_timer
 
+p_mouse_powerdown_sensor_timer:
+	arg mem_mouse_powerdown_sensor_timer,regc
+	arg p_mouse_powerdown_sensor_timeout,regb
+	branch timer_single_step_2B
+p_mouse_powerdown_sensor_timeout:
+	fetch 1,mem_mouse_power_down_flag
+	nrtn blank
+	jam 1,mem_mouse_power_down_flag
+	branch p_mouse_sensor_powerdown
+
+p_mouse_powerdown_sensor_timer_init:
+	fetch 2,mem_mouse_powerdown_sensor_timeout
+	store 2,mem_mouse_powerdown_sensor_timer
+	fetch 1,mem_mouse_power_down_flag
+	rtn blank
+	jam 0,mem_mouse_power_down_flag
+	branch p_mouse_init_sensor_reset
+
 ifdef CLASSIC_BT
 p_mouse_send_switch_req_timer:
 	arg mem_mouse_send_switch_req_timer,regc
@@ -1990,16 +2010,14 @@
 	nrtn blank
 	branch mouse_check_direct_timeout
 
-//p_mouse_le_current_mult_update_timer:
-//	arg mem_mouse_le_current_mult_timer,regc
-//	arg p_mouse_le_current_mult_reinit,regb
-//	branch timer_single_step
-//p_mouse_le_current_mult_reinit:
-//	fetch 1,mem_lpm_mult_init
-//	store 1,mem_lpm_mult
-//p_mouse_long_mult_flag_enable:	
-//	jam 1,mem_mouse_long_mult_flag
-//	rtn	
+p_mouse_le_current_mult_update_timer:
+	arg mem_mouse_le_current_mult_timer,regc
+	arg p_mouse_le_current_mult_reinit,regb
+	branch timer_single_step
+p_mouse_le_current_mult_reinit:
+	fetch 1,mem_lpm_mult_init
+	store 1,mem_lpm_mult
+	rtn	
 
 p_mouse_customer_bt_send_empty_packet_timer:
 	arg mem_customer_bt_send_empty_packet_timer,regc
@@ -2037,7 +2055,9 @@
 //p_mouse_g24_long_sleep_normal_param:
 //	setarg G24_LONG_SLEEP_STEP3
 //	store 3,mem_24g_enter_hibernate
-//	branch p_mouse_long_mult_flag_enable
+//p_mouse_long_mult_flag_enable:	
+//	jam 1,mem_mouse_long_mult_flag
+//	rtn
 
 p_mouse_g24_stop_mode_timeout_timer:
 	arg mem_24g_stop_g24_mode_timeout,regc
@@ -2175,19 +2195,24 @@
 //	rtnbit0 MOUSE_ENABLE_ADC
 	fetch 2,mem_mouse_multi_led_blink_count
 	nrtn blank
+	fetch 1,mem_mouse_wheel_trigger
+	nrtn blank
 	fetch 1,mem_adc_read_timer
 	increase 1,pdata
 	store 1,mem_adc_read_timer
 	sub pdata,10,null              //1s read adc
-	branch p_mouse_adc_read_vinlpm,positive
+	rtn positive
+	call adc_init_data
 	jam 0,mem_adc_read_timer
-	call p_mouse_adc_read_set
+	call p_adc_set_mode
+	call vdd_calculate_by_mode
+	mul32 pdata,3,pdata
+	arg 0x0f,temp
+	isub temp,pdata
+	sub pdata,0x64,null
+	call p_mouse_vdd_decrease,positive
+	store 2,mem_mouse_vdd_now_vol
 	arg mem_mouse_vdd_calculate_set,rega
-	fetcht 1,mem_whee_ta_data_gpio
-	call gpio_get_bit
-	nbranch p_mouse_adc_read_next,true
-	arg mem_mouse_vdd_vinvol,rega
-p_mouse_adc_read_next:
 	call p_adc_bat_percent_lowpower_out
 	fetch 1,mem_adc_power_flag
 	bbit1 1,app_enter_hibernate
@@ -2195,29 +2220,6 @@
 	jam 1,mem_mouse_adc_last_low_voltage_flag
 	branch mouse_adc_low_voltage
 
-p_mouse_adc_read_vinlpm:
-	jam ADC_CONFIG_VINLPM,mem_adc_config_flag
-	call p_adc_set_mode
-	call vdd_calculate_by_mode
-	fetcht 2,mem_mouse_vdd_vin_now_vol_sum
-	iadd temp,temp
-	storet 2,mem_mouse_vdd_vin_now_vol_sum
-	rtn
-
-p_mouse_adc_read_set:
-	jam ADC_CONFIG_GPIO,mem_adc_config_flag
-	call p_adc_set_mode
-	call vdd_calculate_by_mode
-	store 2,mem_mouse_vdd_now_vol
-	fetch 2,mem_mouse_vdd_vin_now_vol_sum
-	div pdata,10
-	call wait_div_end
-	quotient pdata	
-	store 2,mem_mouse_vdd_vin_now_vol
-	setarg 0
-	store 2,mem_mouse_vdd_vin_now_vol_sum
-	rtn
-
 p_mouse_adc_no_low_voltage:
 	call mouse_adc_no_low_voltage
 	fetch 1,mem_mouse_adc_last_low_voltage_flag
@@ -2225,10 +2227,15 @@
 	jam 0,mem_mouse_adc_last_low_voltage_flag
 	branch p_mouse_multi_led_off
 
+p_mouse_vdd_decrease:
+	arg 0x05,temp
+	isub temp,pdata
+	rtn
+
 p_adc_set_mode:
-	fetch 1,mem_adc_config_flag
-	beq ADC_CONFIG_GPIO,p_adc_check_gpio
-	branch adc_set_mode+1
+//	fetch 1,mem_adc_config_flag
+//	beq ADC_CONFIG_GPIO,p_adc_check_gpio
+//	branch adc_set_mode+1
 p_adc_check_gpio:
 	hfetch 1,core_gpio_pu0	//gpio5 pull up disable
 	set0 5,pdata
@@ -2238,37 +2245,6 @@
 	set1 5,pdata
 	hstore 1,core_gpio_pu0
 	rtn
-p_vdd_calculate_by_mode:
-	fetch 1,mem_adc_config_flag
-	bne ADC_CONFIG_GPIO,vdd_calculate_by_mode+2
-	fetch 2,mem_1v_adc_io_data
-	fetcht 2,mem_0_5_adc_io_data
-	arg 500,regc
-	isub temp,rega
-	fetch 2,mem_adc_current_value
-	isub temp,pdata
-	nbranch p_vdd_calculate1,positive
-	arg 500,temp
-	imul32 temp,regb
-	copy regc,pdata
-	imul32 rega,pdata
-	iadd regb,pdata
-p_vdd_calculate2:
-	idiv rega
-	call wait_div_end
-	quotient pdata	
-	rtn
-
-p_vdd_calculate1:
-	copy temp,pdata
-	arg 500,temp
-	isub temp,pdata
-	fetcht 2,mem_reference_voltage
-	imul32 temp,regb
-	copy regc,pdata
-	imul32 rega,pdata
-	isub regb,pdata
-	branch p_vdd_calculate2
 
 p_adc_bat_percent_lowpower_out:
 	ifetch 8,rega
@@ -2407,6 +2383,7 @@
 endif
 	call p_mouse_logo_led_on_check
 endif
+	call p_mouse_powerdown_sensor_timer_init
 	branch mouse_motion+9
 
 
Index: program/z.prog
===================================================================
--- /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/program/z.prog	(revision 3912)
+++ /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/program/z.prog	(working copy)
@@ -938,6 +938,7 @@
 	nbranch z_mouse_le_bb_event_connected_next,blank
 	jam 0x14,mem_mouse_send_secutiry_request_timer
 z_mouse_le_bb_event_connected_next:
+	call p_mouse_powerdown_sensor_timer_init
 	call p_mouse_data_init
 	branch mouse_le_bb_event_connected
 
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/sched/mouse.dat	(revision 3912)
+++ /branch/mouse_project/LeXiang/1066_Project/PBSwitch_OnlyBLE_D1027E8/sched/mouse.dat	(working copy)
@@ -11,7 +11,7 @@
 mem_patch16:02#mem_patch16:06
 mem_patch18:10
 #mem_patch19:08
-mem_patch1c:48
+mem_patch1c:58
 mem_patch1d:1c#mem_patch1d:1e
 #mem_patch20:20
 mem_patch27:02
@@ -24,7 +24,6 @@
 mem_patch2e:80
 #mem_patch30:05
 mem_patch31:30#mem_patch31:31
-mem_patch34:01
 mem_patch3f:04
 
 
@@ -136,6 +135,7 @@
 mem_discovery_timeout:58 02#1min
 mem_mouse_direct_timeout:2c 01#8s
 mem_mouse_no_data_timeout:78 ff #109min
+mem_mouse_powerdown_sensor_timeout:70 17#10min
 
 mem_flash_ncs_gpio:0a
 mem_spi_ncs_gpio:ff
@@ -147,13 +147,13 @@
 mem_24g_device_number:00 #devie 2 :24g mode
 mem_adc_config_flag:02 #0 vinlpm 1 hvin 2 gpio
 mem_adc_channel:32 #gpio5
-mem_mouse_vdd_full_vol:87 03#3.7v
-0f 03#mem_mouse_vdd_empty_vol:34 01#3.1v
-37 03#mem_mouse_vdd_low_vol:4c 01  #3.3v
-
-mem_mouse_vdd_full_vinvol:00 00
-eb 00#mem_mouse_vdd_empty_vinvol
-f8 00#mem_mouse_vdd_low_vinvol
+mem_mouse_vdd_full_vol:96 00#1.5v
+5a 00#mem_mouse_vdd_empty_vol:34 01#0.9v
+6e 00#mem_mouse_vdd_low_vol:4c 01  #1.1v
+
+#mem_mouse_vdd_full_vinvol:00 00
+#eb 00#mem_mouse_vdd_empty_vinvol
+#f8 00#mem_mouse_vdd_low_vinvol
 
 mem_config_sensor_type:00
 02 #mem_config_sensor_motion:01
@@ -481,7 +481,7 @@
 mem_24g_allpowerful_addr:0f 0f 0f 0f 0f 0f
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:80 4f 12 	#  240ms  dpi  B4  B5 check easy
-mem_firmware_version:01 00
+mem_firmware_version:02 00
 
 mem_device_flag:02
 mem_device1_type:34
