LCD1602四线接口应用范例(AVR_GCC)

源代码在线查看: lcd1602四线接口应用范例.dbg

软件大小: 111 K
上传用户: Even_Moon
关键词: AVR_GCC 1602 LCD 线接口
下载地址: 免注册下载 普通下载 VIP

相关代码

				IMAGECRAFT DEBUG FORMAT
				VERSION 1.1
				CPU AVR
				DIR E:\刻录的\电子技术\项目\驱动程序\LCD1602四线接口应用范例\
				FILE LCD_1602_Driver.c
				FUNC LCD_init C6 fV
				BLOCK 21 C6
				LINE 21 C6
				LINE 22 C6
				LINE 23 C8
				LINE 24 CA
				LINE 25 CC
				LINE 26 CE
				LINE 27 D0
				LINE 29 D2
				LINE 30 D4
				LINE 31 D6
				LINE 32 D8
				LINE 33 DA
				LINE 34 DC
				LINE 36 DE
				LINE 37 E8
				LINE 38 EE
				LINE 39 F8
				LINE 40 FE
				LINE 41 108
				LINE 42 10E
				LINE 43 118
				LINE 44 11E
				LINE 45 128
				LINE 46 12E
				LINE 47 138
				LINE 48 13A
				LINE 49 140
				BLOCKEND 0 142
				FUNCEND 142
				FUNC LCD_write_char 144 fV
				BLOCK 57 14A
				DEFREG data 20 i
				DEFREG command 22 i
				LINE 57 14A
				LINE 58 14A
				LINE 59 150
				LINE 61 154
				LINE 63 156
				LINE 64 15A
				LINE 65 16E
				LINE 66 174
				BLOCKEND 0 188
				FUNCEND 188
				FUNC LCD_write_DATA_PORT 18A fV
				BLOCK 76 18E
				DEFREG data 20 c
				LINE 76 18E
				LINE 77 18E
				LINE 78 19C
				LINE 80 1A0
				LINE 82 1A2
				LINE 83 1B6
				LINE 85 1BA
				LINE 87 1BC
				LINE 88 1D2
				LINE 90 1D6
				LINE 92 1D8
				LINE 93 1F0
				LINE 95 1F4
				LINE 97 1F6
				LINE 98 1F8
				LINE 99 1FE
				LINE 100 200
				BLOCKEND 0 208
				FUNCEND 208
				FUNC LCD_clear 20A fV
				BLOCK 110 20C
				DEFREG i 20 c
				LINE 110 20C
				LINE 112 20C
				LINE 113 216
				LINE 114 21A
				LINE 115 21A
				LINE 116 22A
				LINE 113 22A
				LINE 113 22C
				LINE 117 230
				BLOCKEND 0 238
				FUNCEND 238
				FUNC LCD_check 23A fV
				BLOCK 128 242
				DEFLOCAL lcd 0 A[2:2]c
				DEFREG i 20 c
				DEFREG y 22 c
				DEFREG x 20 c
				LINE 128 242
				LINE 130 242
				LINE 131 256
				LINE 132 262
				LINE 133 276
				LINE 134 28A
				LINE 135 296
				LINE 136 29A
				LINE 137 29A
				LINE 137 2BA
				LINE 137 2BA
				LINE 139 2BC
				LINE 139 2BC
				LINE 139 2D8
				LINE 140 2D8
				LINE 141 2E2
				LINE 135 2E2
				LINE 135 2E4
				LINE 142 2E8
				BLOCKEND 0 2F2
				FUNCEND 2F2
				FUNC LCD_write_string 2F4 fV
				BLOCK 153 2FC
				DEFREG e 20 c
				DEFREG s 22 pkc
				DEFREG y 18 c
				DEFREG x 16 c
				LINE 153 2FC
				LINE 154 2FC
				LINE 155 300
				LINE 157 30E
				LINE 158 30E
				LINE 159 326
				LINE 159 326
				LINE 160 328
				LINE 160 328
				LINE 160 346
				LINE 161 346
				LINE 162 34A
				LINE 163 354
				LINE 156 354
				LINE 164 35C
				LINE 165 360
				LINE 166 362
				LINE 167 364
				LINE 167 364
				LINE 167 376
				LINE 166 376
				LINE 166 380
				LINE 168 388
				BLOCKEND 0 390
				FUNCEND 390
				FUNC LCD_write_number 392 fV
				BLOCK 182 3A2
				DEFREG c 10 c
				DEFREG b 12 c
				DEFLOCAL lcd 0 A[10:10]c
				DEFREG i 14 c
				DEFREG e 6 c
				DEFREG s 8 pkc
				DEFLOCAL dat 24 l
				DEFLOCAL d 22 c
				DEFLOCAL y 20 c
				DEFREG x 14 c
				LINE 182 3A2
				LINE 184 3A2
				LINE 185 3A4
				LINE 186 3A8
				LINE 187 3BC
				LINE 188 3C2
				LINE 190 3D0
				LINE 191 3D6
				LINE 192 3D6
				LINE 193 416
				LINE 194 440
				LINE 190 440
				LINE 190 442
				LINE 196 44A
				LINE 197 450
				LINE 198 450
				LINE 199 45A
				LINE 200 45A
				LINE 201 46E
				LINE 201 46E
				LINE 203 470
				LINE 203 470
				LINE 203 480
				LINE 204 480
				LINE 205 48A
				LINE 206 48A
				LINE 207 49E
				LINE 208 49E
				LINE 209 4AA
				LINE 210 4AA
				LINE 211 4CA
				LINE 211 4CA
				LINE 213 4CC
				LINE 213 4CC
				LINE 213 4E8
				LINE 214 4E8
				LINE 215 4F2
				LINE 217 4F2
				LINE 217 4F2
				LINE 218 4F2
				LINE 220 4F4
				LINE 221 4F4
				LINE 222 514
				LINE 222 514
				LINE 224 516
				LINE 224 516
				LINE 224 532
				LINE 225 532
				LINE 226 53C
				LINE 227 540
				LINE 228 540
				LINE 196 540
				LINE 196 542
				LINE 230 54C
				LINE 231 54C
				LINE 232 564
				LINE 232 564
				LINE 233 566
				LINE 233 566
				LINE 233 584
				LINE 234 584
				LINE 235 58A
				LINE 236 594
				LINE 229 594
				LINE 237 59C
				LINE 238 5A2
				LINE 239 5A8
				LINE 240 5AA
				LINE 240 5AA
				LINE 240 5BC
				LINE 239 5BC
				LINE 239 5C6
				LINE 241 5CE
				BLOCKEND 0 5DA
				FUNCEND 5DA
				FUNC LCD_write_time 5DC fV
				BLOCK 252 5E4
				DEFLOCAL lcd 0 A[8:8]c
				DEFREG i 20 c
				DEFLOCAL s 16 c
				DEFLOCAL m 14 c
				DEFLOCAL h 12 c
				DEFREG y 22 c
				DEFREG x 20 c
				LINE 252 5E4
				LINE 254 5E4
				LINE 255 5F8
				LINE 256 5FC
				LINE 257 608
				LINE 258 614
				LINE 259 620
				LINE 260 624
				LINE 261 630
				LINE 262 63C
				LINE 263 640
				LINE 264 64C
				LINE 270 658
				LINE 271 65C
				LINE 272 65C
				LINE 273 67C
				LINE 273 67C
				LINE 275 67E
				LINE 275 67E
				LINE 275 69A
				LINE 276 69A
				LINE 277 6A4
				LINE 270 6A4
				LINE 270 6A6
				LINE 278 6AA
				BLOCKEND 0 6B4
				FUNCEND 6B4
				FUNC LCD_write_new 6B6 fV
				BLOCK 287 6B8
				DEFREG address 20 c
				DEFREG new_add 22 c
				LINE 287 6B8
				LINE 289 6B8
				LINE 291 6BC
				LINE 292 6BC
				LINE 293 6C4
				LINE 294 6C6
				LINE 295 6DC
				LINE 296 6DC
				LINE 297 6E0
				LINE 298 6E0
				LINE 299 6EA
				LINE 301 6F0
				LINE 302 6F6
				LINE 303 700
				LINE 304 700
				LINE 305 718
				LINE 306 738
				LINE 307 74A
				LINE 308 74C
				LINE 310 74E
				LINE 311 750
				LINE 312 75A
				LINE 290 75A
				BLOCKEND 0 766
				FUNCEND 766
				FUNC LCD_write_CGRAM 768 fV
				BLOCK 322 76C
				DEFREG n 20 c
				DEFREG y 18 c
				DEFREG x 16 c
				LINE 322 76C
				LINE 323 76C
				LINE 324 770
				LINE 325 77C
				LINE 326 780
				LINE 327 782
				LINE 328 792
				BLOCKEND 0 79A
				FUNCEND 79A
				FUNC LCD_init_CGRAM 79C fV
				BLOCK 336 7A2
				DEFREG ads 20 c
				DEFLOCAL CGRAM 0 A[64:8:8]c
				DEFREG y 20 c
				DEFREG x 22 c
				LINE 336 7A2
				LINE 338 7A2
				LINE 348 7B6
				LINE 351 7B8
				LINE 352 7C2
				LINE 353 7C6
				LINE 354 7C6
				LINE 355 7CA
				LINE 356 7CA
				LINE 357 7E8
				LINE 354 7E8
				LINE 354 7EA
				LINE 358 7EE
				LINE 352 7EE
				LINE 352 7F0
				BLOCKEND 0 7FA
				FUNCEND 7FA
				FILE main.c
				FUNC main 7FC fV
				BLOCK 22 7FE
				LINE 22 7FE
				LINE 23 7FE
				LINE 24 804
				LINE 26 806
				LINE 27 812
				LINE 28 81C
				LINE 29 828
				LINE 29 82E
				LINE 29 834
				LINE 31 83A
				LINE 32 850
				LINE 33 87A
				LINE 34 8A4
				LINE 36 8CE
				LINE 38 8D2
				LINE 39 8D2
				LINE 40 8D8
				LINE 37 8D8
				BLOCKEND 0 8DC
				FUNCEND 8DC
				FILE delay.c
				FUNC delay_1ms 8DE fV
				BLOCK 5 8DE
				DEFREG i 16 i
				LINE 5 8DE
				LINE 7 8DE
				LINE 8 8E0
				LINE 9 8E6
				LINE 10 8E6
				LINE 8 8E6
				LINE 8 8EA
				BLOCKEND 0 8F2
				FUNCEND 8F2
				FUNC delay_nms 8F4 fV
				BLOCK 14 8F8
				DEFREG i 20 i
				DEFREG n 22 i
				LINE 14 8F8
				LINE 16 8F8
				LINE 17 8FE
				LINE 16 900
				LINE 16 904
				BLOCKEND 0 90C
				FUNCEND 90C
				FUNC delay_nus 90E fV
				BLOCK 21 910
				DEFREG i 20 i
				DEFREG n 16 i
				LINE 21 910
				LINE 23 910
				LINE 24 916
				LINE 25 916
				LINE 26 918
				LINE 27 91A
				LINE 23 91A
				LINE 23 91E
				BLOCKEND 0 926
				FUNCEND 926
				FILE LCD_1602_Driver.c
				DEFGLOBAL new 60 c
				DEFGLOBAL num 61 i
				FILE LCD_1602_Driver.c
				DEFGLOBAL add 63 c
				DEFGLOBAL data 64 A[32:32]c
				DEFGLOBAL lcd_data 84 A[32:32]c
				FILE main.c
				DEFGLOBAL D882_P A4 i
				DEFGLOBAL BT1_T A6 i
				DEFGLOBAL BT1_time A8 i
				DEFGLOBAL time AA c
				DEFGLOBAL sec AB c
				DEFGLOBAL min AC c
				DEFGLOBAL hour AD c
				START 0086
							

相关资源