LCD1602键盘显示模块实例
源代码在线查看: menu_implement.o
XL
H 3 areas 12 global symbols
M Menu_Implement.c
S _RunString Ref0000
S _LCDSetXY Ref0000
S push_xgsetF000 Ref0000
S push_xgset300C Ref0000
S _g_wSystemTimer Ref0000
S _g_Menus Ref0000
S _Flash Ref0000
S _g_cReturnKeyNum Ref0000
S _LCDSendCommand Ref0000
S _LCDDisplayString Ref0000
S pop_xgsetF000 Ref0000
S pop_xgset300C Ref0000
S _Get_Key_Code Ref0000
S _LCDWaitForReady Ref0000
S xicallx Ref0000
S _g_cReturnLongPressKeyNum Ref0000
A text size 450 flags 0
dbfile O:\2007全国电子设计大赛\键盘显示模块\Menu_Implement.c
dbfunc e Menu_Process_INIT 0 fV
dbline FFFFFFFF 0
dbline 54 0
dbline 55 0
dbline 56 10
dbline 57 18
dbline FFFFFFFE 1E
dbline 0 1E
dbfunc s Show_Welcome 20 fV
dbline FFFFFFFF 22
dbline 61 22
dbline 62 22
dbline 63 32
dbline 64 44
dbline 65 56
dbline FFFFFFFE 68
dbline 0 68
dbfunc e PROC_Menu 6C fc
dbline FFFFFFFF 72
dbline 6F 72
dbline 70 72
dbline 71 82
dbline 72 82
dbline 73 8C
dbline 75 8C
dbline 76 94
dbline 77 94
dbline 79 9A
dbline 7A 9C
dbline 7B A4
dbline 7C A4
dbline 7C A8
dbline 7C AE
dbline 7C B2
dbline 7D B8
dbline 7E BE
dbline 7F BE
dbline 82 C2
dbline 83 E2
dbline 85 E2
dbline 86 F2
dbline 87 F2
dbline 88 FA
dbline 89 FC
dbline 8A 10C
dbline 8B 10C
dbline 8C 114
dbline 8E 116
dbline 90 116
dbline 91 11E
dbline 93 122
dbline 95 122
dbline 96 138
dbline 97 138
dbline 98 13E
dbline 9A 140
dbline 9B 140
dbline 9C 14C
dbline 9E 14C
dbline 9F 156
dbline A1 156
dbline A2 15C
dbline A2 160
dbline A2 166
dbline A2 16A
dbline A3 170
dbline A6 19E
dbline A7 1B4
dbline A8 1B4
dbline A9 1C6
dbline AA 1C6
dbline AB 1DC
dbline AC 1E4
dbline AD 1E4
dbline AF 1E6
dbline B0 1E6
dbline B1 1F6
dbline B2 1F6
dbline B4 1F8
dbline B5 20E
dbline B6 20E
dbline B7 220
dbline B8 220
dbline B9 236
dbline BA 236
dbline BC 238
dbline BD 238
dbline BE 248
dbline BF 25A
dbline C0 25A
dbline C1 270
dbline C2 270
dbline C3 270
dbline C7 272
dbline C8 288
dbline C9 288
dbline CA 29E
dbline CB 2A6
dbline CC 2A8
dbline CD 2BE
dbline CE 2BE
dbline CF 2D6
dbline D1 2D8
dbline D2 2D8
dbline D2 2DC
dbline D2 2E2
dbline D2 2E6
dbline D2 2EC
dbline D3 2EC
dbline D3 2F4
dbline D4 2F4
dbline D4 2FC
dbline D6 2FE
dbline D7 2FE
dbline D8 30E
dbline D5 30E
dbline D9 318
dbline D9 31C
dbline D9 322
dbline D9 326
dbline DA 32C
dbline DB 32C
dbline DD 32E
dbline DE 344
dbline DF 344
dbline E0 35A
dbline E1 362
dbline E2 362
dbline E4 362
dbline E8 362
dbline EB 36C
dbline EC 37C
dbline ED 38C
dbline EF 38C
dbline F1 38C
dbline F3 38C
dbline FFFFFFFE 38E
dbline 0 38E
dbfunc s Show_Menu 394 fV
dbsym r cHandPOS 14 c
dbsym r pStart 16 pkS[Menu_Item]
dbline FFFFFFFF 39E
dbline FD 39E
dbline FF 39E
dbline 100 3A4
dbline 101 3A4
dbline 101 3A8
dbline 101 3AE
dbline 101 3B2
dbline 101 3B8
dbline 102 3B8
dbline 102 3C0
dbline 103 3C0
dbline 103 3C8
dbline 105 3CA
dbline 106 3CA
dbline 107 3DA
dbline 104 3DA
dbline 108 3E2
dbline 10B 3E4
dbline 10B 3EC
dbline 10C 3EC
dbline 10C 3F6
dbline 10E 3F6
dbline 10F 406
dbline 110 406
dbline 110 40E
dbline 111 40E
dbline 111 420
dbline 113 420
dbline 113 430
dbline 114 430
dbline 114 438
dbline 115 438
dbline 117 43A
dbline 118 43A
dbline 118 442
dbline 119 442
dbline 119 44A
dbline 11A 44A
dbline FFFFFFFE 44A
dbline 0 44A
S _PROC_Menu Def006C
S _Menu_Process_INIT Def0000
A data size 94 flags 20
dbfile O:\2007全国电子设计大赛\键盘显示模块\Menu_Implement.c
dbstruct 13 Menu_Item
dbfield 0 String pc
dbfield 2 bIfEnable c
dbfield 3 fnTask pfV
dbfield 5 pParent pkS[Menu_Item]
dbfield 7 pChild pkS[Menu_Item]
dbfield 9 pPreviouse pkS[Menu_Item]
dbfield 11 pNext pkS[Menu_Item]
dbend
A idata size 94 flags 0
T 00 00 00 00
R 00 00 02 00 02 02 05 00
T 02 00 00 00
R 00 00 02 00
T 04 00 00 00
R 00 00 02 00
T 06 00 00
R 00 00 02 00
T 00 00 20 90 00 00 30 90 01 00 30 92 03 00 20 92
R 00 00 00 00 00 04 01 00 00 08 01 00 00 0C 01 00
T 0E 00 02 00 30 92 05 00 20 92 04 00 8A E0 80 93
R 00 00 00 00 00 02 01 00 00 06 01 00 00 0A 01 00
T 1C 00 06 00 08 95
R 00 00 00 00 00 02 01 00
T 20 00 23 97 81 E0 8A 83 88 83 20 E2 00 E0 10 E0
R 00 00 00 00 20 0C 01 00 92 00 40 0E 01 00 92 00
T 2E 00 0E 94 00 00 81 E0 8A 83 80 E1 88 83 20 E2
R 00 00 00 00 12 04 06 00
T 3C 00 00 E0 10 E0
R 00 00 00 00 20 02 01 00 90 00 40 04 01 00 90 00
T 40 00 0E 94 00 00 8F E0 8A 83 82 E0 88 83 21 E0
R 00 00 00 00 12 04 06 00
T 4E 00 00 E0 10 E0
R 00 00 00 00 20 02 01 00 3C 00 40 04 01 00 3C 00
T 52 00 0E 94 00 00 82 E0 8A 83 81 E0 88 83 20 E2
R 00 00 00 00 12 04 00 00
T 60 00 00 E0 10 E0
R 00 00 00 00 20 02 01 00 2B 00 40 04 01 00 2B 00
T 64 00 0E 94 00 00 23 96 08 95
R 00 00 00 00 12 04 06 00
T 6C 00 0E 94 00 00 23 97 80 91 00 00 90 91 01 00
R 00 00 00 00 12 04 03 00 02 0A 04 00 02 0E 04 00
T 7A 00 93 70 80 30 89 07 29 F4 80 91 06 00 8F 5F
R 00 00 00 00 00 0C 01 00
T 88 00 80 93 06 00 80 91 06 00 8A 30 B8 F0 8A E0
R 00 00 00 00 00 04 01 00 00 08 01 00
T 96 00 80 93 06 00 C2 DF 0E 94 00 00 00 23 69 F0
R 00 00 00 00 00 04 01 00 12 0A 0C 00
T A4 00 0E 94 00 00 01 E0 0E 94 00 00 0E 94 00 00
R 00 00 00 00 12 04 0D 00 12 0A 08 00 12 0E 0D 00
T B2 00 02 E0 0E 94 00 00 22 24 20 92 06 00 01 E0
R 00 00 00 00 12 06 08 00 00 0C 01 00
T C0 00 66 C1 20 90 04 00 30 90 05 00 22 20 11 F4
R 00 00 00 00 00 06 01 00 00 0A 01 00
T CE 00 33 20 41 F0 20 90 02 00 30 90 03 00 22 20
R 00 00 00 00 00 08 01 00 00 0C 01 00
T DC 00 11 F5 33 20 01 F5 20 90 04 00 30 90 05 00
R 00 00 00 00 00 0A 01 00 00 0E 01 00
T EA 00 22 20 11 F4 33 20 29 F0 30 92 03 00 20 92
R 00 00 00 00 00 0C 01 00
T F8 00 02 00 13 C0 20 90 02 00 30 90 03 00 22 20
R 00 00 00 00 00 02 01 00 00 08 01 00 00 0C 01 00
T 06 01 11 F4 33 20 29 F0 30 92 05 00 20 92 04 00
R 00 00 00 00 00 0A 01 00 00 0E 01 00
T 14 01 06 C0 21 E0 00 27 11 27 3B D1 01 E0 36 C1
R 00 00 00 00
T 22 01 20 90 02 00 30 90 03 00 40 90 04 00 50 90
R 00 00 00 00 00 04 01 00 00 08 01 00 00 0C 01 00
T 30 01 05 00 42 14 53 04 21 F4 21 E0 82 01 2B D1
R 00 00 00 00 00 02 01 00
T 3E 01 06 C0 22 E0 00 91 04 00 10 91 05 00 24 D1
R 00 00 00 00 00 08 01 00 00 0C 01 00
T 4C 01 0E 94 00 00 00 23 09 F4 1B C1 22 24 20 92
R 00 00 00 00 12 04 0C 00
T 5A 01 06 00 0E 94 00 00 01 E0 0E 94 00 00
R 00 00 00 00 00 02 01 00 12 06 0D 00 12 0C 08 00
T 66 01 0E 94 00 00 02 E0 0E 94 00 00 40 91 00 00
R 00 00 00 00 12 04 0D 00 12 0A 08 00 02 0E 07 00
T 74 01 41 30 99 F0 44 30 09 F4 D8 C0 45 30 09 F4
R 00 00 00 00
T 82 01 77 C0 46 30 09 F4 74 C0 49 30 09 F4 34 C0
R 00 00 00 00
T 90 01 41 30 08 F4 E6 C0 43 31 09 F4 6B C0 E2 C0
R 00 00 00 00
T 9E 01 20 90 02 00 30 90 03 00 40 90 04 00 50 90
R 00 00 00 00 00 04 01 00 00 08 01 00 00 0C 01 00
T AC 01 05 00 42 14 53 04 C9 F4 F1 01 39 96 25 90
R 00 00 00 00 00 02 01 00
T BA 01 34 90 22 20 19 F4 33 20 09 F4 CE C0 E0 91
R 00 00 00 00
T C8 01 02 00 F0 91 03 00 39 96 25 90 34 90 30 92
R 00 00 00 00 00 02 01 00 00 06 01 00
T D6 01 03 00 20 92 02 00 30 92 05 00 20 92
R 00 00 00 00 00 02 01 00 00 06 01 00 00 0A 01 00
T E2 01 04 00 BE C0 20 90 04 00 30 90 05 00 30 92
R 00 00 00 00 00 02 01 00 00 08 01 00 00 0C 01 00
T F0 01 03 00 20 92 02 00 B5 C0 20 90 02 00 30 90
R 00 00 00 00 00 02 01 00 00 06 01 00 00 0C 01 00
T FE 01 03 00 40 90 04 00 50 90 05 00 42 14 53 04
R 00 00 00 00 00 02 01 00 00 06 01 00 00 0A 01 00
T 0C 02 A9 F4 F1 01 3B 96 25 90 34 90 22 20 19 F4
R 00 00 00 00
T 1A 02 33 20 09 F4 A1 C0 E0 91 02 00 F0 91 03 00
R 00 00 00 00 00 0A 01 00 00 0E 01 00
T 28 02 3B 96 25 90 34 90 30 92 03 00 20 92 02 00
R 00 00 00 00 00 0A 01 00 00 0E 01 00
T 36 02 95 C0 20 90 02 00 30 90 03 00 30 92 05 00
R 00 00 00 00 00 06 01 00 00 0A 01 00 00 0E 01 00
T 44 02 20 92 04 00 F1 01 3B 96 25 90 34 90 22 20
R 00 00 00 00 00 04 01 00
T 52 02 19 F4 33 20 09 F4 84 C0 E0 91 02 00 F0 91
R 00 00 00 00 00 0C 01 00
T 60 02 03 00 3B 96 25 90 34 90 30 92 03 00 20 92
R 00 00 00 00 00 02 01 00 00 0C 01 00
T 6E 02 02 00 78 C0 E0 91 02 00 F0 91 03 00 37 96
R 00 00 00 00 00 02 01 00 00 08 01 00 00 0C 01 00
T 7C 02 25 90 34 90 22 20 11 F4 33 20 81 F0 E0 91
R 00 00 00 00
T 8A 02 02 00 F0 91 03 00 37 96 25 90 34 90 30 92
R 00 00 00 00 00 02 01 00 00 06 01 00
T 98 02 03 00 20 92 02 00 30 92 05 00 20 92
R 00 00 00 00 00 02 01 00 00 06 01 00 00 0A 01 00
T A4 02 04 00 5D C0 E0 91 02 00 F0 91 03 00 33 96
R 00 00 00 00 00 02 01 00 00 08 01 00 00 0C 01 00
T B2 02 25 90 34 90 22 20 11 F4 33 20 69 F0 40 91
R 00 00 00 00
T C0 02 02 00 50 91 03 00 4D 5F 5F 4F FA 01 05 90
R 00 00 00 00 00 02 01 00 00 06 01 00
T CE 02 14 90 F0 01 0E 94 00 00 45 C0 0E 94 00 00
R 00 00 00 00 12 08 0E 00 12 0E 0D 00
T DC 02 01 E0 0E 94 00 00 0E 94 00 00 02 E0
R 00 00 00 00 12 06 08 00 12 0A 0D 00
T E8 02 0E 94 00 00 21 E0 00 27 0E 94 00 00
R 00 00 00 00 12 04 08 00 12 0C 01 00
T F4 02 00 E0 10 E0
R 00 00 00 00 20 02 01 00 2B 00 40 04 01 00 2B 00
T F8 02 0E 94 00 00 08 C0 81 E0 8A 83 88 83 20 E2
R 00 00 00 00 12 04 09 00
T 06 03 00 E0 10 E0
R 00 00 00 00 20 02 01 00 19 00 40 04 01 00 19 00
T 0A 03 0E 94 00 00 0E 94 00 00 A0 2E 00 23 99 F3
R 00 00 00 00 12 04 06 00 12 08 0C 00
T 18 03 0E 94 00 00 01 E0 0E 94 00 00 0E 94 00 00
R 00 00 00 00 12 04 0D 00 12 0A 08 00 12 0E 0D 00
T 26 03 02 E0 0E 94 00 00 1A C0 E0 91 02 00 F0 91
R 00 00 00 00 12 06 08 00 00 0C 01 00
T 34 03 03 00 35 96 25 90 34 90 22 20 11 F4 33 20
R 00 00 00 00 00 02 01 00
T 42 03 79 F0 E0 91 02 00 F0 91 03 00 35 96 25 90
R 00 00 00 00 00 06 01 00 00 0A 01 00
T 50 03 34 90 30 92 03 00 20 92 02 00 30 92 05 00
R 00 00 00 00 00 06 01 00 00 0A 01 00 00 0E 01 00
T 5E 03 20 92 04 00 40 91 00 00 44 30 09 F0 10 C0
R 00 00 00 00 00 04 01 00 02 08 0F 00
T 6C 03 20 90 00 00 30 90 01 00 30 92 03 00 20 92
R 00 00 00 00 00 04 01 00 00 08 01 00 00 0C 01 00
T 7A 03 02 00 20 90 02 00 30 90 03 00 30 92
R 00 00 00 00 00 02 01 00 00 06 01 00 00 0A 01 00
T 86 03 05 00 20 92 04 00 01 E0 23 96 0C 94 00 00
R 00 00 00 00 00 02 01 00 00 06 01 00 12 0E 0B 00
T 94 03 0E 94 00 00 42 2F B8 01 23 97 60 30 67 07
R 00 00 00 00 12 04 02 00
T A2 03 01 F5 0E 94 00 00 01 E0 0E 94 00 00
R 00 00 00 00 12 06 0D 00 12 0C 08 00
T AE 03 0E 94 00 00 02 E0 0E 94 00 00 21 E0 00 27
R 00 00 00 00 12 04 0D 00 12 0A 08 00
T BC 03 0E 94 00 00 00 E0
R 00 00 00 00 12 04 01 00 20 06 01 00 2B 00
T C2 03 10 E0 0E 94 00 00 08 C0 81 E0 8A 83 88 83
R 00 00 00 00 40 02 01 00 2B 00 12 06 09 00
T D0 03 20 E2 00 E0 10 E0
R 00 00 00 00 20 04 01 00 09 00 40 06 01 00 09 00
T D6 03 0E 94 00 00 0E 94 00 00 00 23 A1 F3 33 C0
R 00 00 00 00 12 04 06 00 12 08 0C 00
T E4 03 22 27 03 E0 0E 94 00 00 FB 01 05 91 14 91
R 00 00 00 00 12 08 01 00
T F2 03 0E 94 00 00 FB 01 3B 96 25 90 34 90 22 20
R 00 00 00 00 12 04 09 00
T 00 04 11 F4 33 20 D1 F0 21 E0 03 E0 0E 94 00 00
R 00 00 00 00 12 0E 01 00
T 0E 04 FB 01 3B 96 05 90 14 90 F0 01 05 91 14 91
R 00 00 00 00
T 1C 04 0E 94 00 00 24 2F 21 50 21 70 2F 5F 21 50
R 00 00 00 00 12 04 09 00
T 2A 04 01 E0 0E 94 00 00 00 E0
R 00 00 00 00 12 06 01 00 20 08 01 00 07 00
T 32 04 10 E0 0E 94 00 00 08 C0 22 27 01 E0
R 00 00 00 00 40 02 01 00 07 00 12 06 09 00
T 3E 04 0E 94 00 00 00 E0
R 00 00 00 00 12 04 01 00 20 06 01 00 07 00
T 44 04 10 E0 0E 94 00 00 23 96
R 00 00 00 00 40 02 01 00 07 00 12 06 09 00
T 4C 04 0C 94 00 00
R 00 00 00 00 12 04 0A 00
T 07 00 3E 00
R 00 00 02 00
T 09 00 45 52 52 4F 52 3A 20 4E 4F 20 4D 45 4E 55
R 00 00 02 00
T 17 00 21 00
R 00 00 02 00
T 19 00 45 52 52 4F 52 3A 20 4E 55 4C 4C 20 49 54
R 00 00 02 00
T 27 00 45 4D 21 00
R 00 00 02 00
T 2B 00 50 52 45 53 53 20 41 4E 59 20 4B 45 59 2E
R 00 00 02 00
T 39 00 2E 2E 00
R 00 00 02 00
T 3C 00 4E 61 74 69 6F 6E 61 6C 20 55 6E 64 65 72
R 00 00 02 00
T 4A 00 67 72 61 64 75 74 65 20 45 6C 65 63 74 72
R 00 00 02 00
T 58 00 6F 6E 69 63 20 44 65 73 69 67 6E 20 43 6F
R 00 00 02 00
T 66 00 6E 74 65 73 74 20 32 30 30 38 20 20 20 20
R 00 00 02 00
T 74 00 44 61 72 65 20 74 6F 20 43 72 65 61 74 65
R 00 00 02 00
T 82 00 20 26 20 45 6E 6A 6F 79 21 20 20 20 20 00
R 00 00 02 00
T 90 00 5D 00
R 00 00 02 00
T 92 00 5B 00
R 00 00 02 00