⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 key_io.a30

📁 电表解决方案概要power_meter_r8c2g_source_code
💻 A30
📖 第 1 页 / 共 5 页
字号:
	._inspect	'V', 'e', "ac_frequency", 'G', 522, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_table_row", 'G', 523, 1, 0, 0, 00h
	._inspect	'V', 'e', "ext_stream_table_row", 'G', 524, 1, 0, 0, 00h
	._inspect	'V', 'e', "main_stream_time", 'G', 526, 1, 0, 0, 00h
	._inspect	'V', 'e', "ext_stream_time", 'G', 527, 1, 0, 0, 00h
	._inspect	'V', 'e', "mot_cycle_buff", 'G', 529, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_buff", 'G', 530, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_100ms_buff", 'G', 531, 1, 0, 0, 00h
	._inspect	'V', 'e', "base_100ms_buff", 'G', 532, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_run_time_buff", 'G', 534, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_stop_time_buff", 'G', 535, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_start_flag", 'G', 536, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_stop_flag", 'G', 537, 1, 0, 0, 00h
	._inspect	'V', 'e', "pro_default_flag", 'G', 539, 1, 0, 0, 00h
	._inspect	'V', 'e', "program_left_time", 'G', 541, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buzz_flag", 'G', 544, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buzz_time", 'G', 545, 1, 0, 0, 00h
	._inspect	'V', 'e', "led_disp", 'G', 580, 5, 0, 0, 00h
	._inspect	'V', 'e', "flag", 'G', 590, 5, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_A", 'G', 601, 120, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_B", 'G', 602, 144, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_Ext_A", 'G', 603, 32, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_Ext_B", 'G', 604, 32, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_TEST", 'G', 605, 24, 0, 0, 00h
	._inspect	'V', 'e', "Balance_Stream_A", 'G', 607, 8, 0, 0, 00h
	._inspect	'V', 'e', "Speedy_Stream_A", 'G', 608, 16, 0, 0, 00h
	._inspect	'V', 'e', "Fastest_Stream_A", 'G', 609, 8, 0, 0, 00h
	._inspect	'V', 'e', "Common_Time_Table", 'G', 613, 27, 0, 0, 00h
	._inspect	'V', 'e', "Standard_Time_Table", 'G', 615, 17, 0, 0, 00h
	._inspect	'V', 'e', "Memo_Time_Table", 'G', 617, 25, 0, 0, 00h
	._inspect	'V', 'e', "Strong_Time_Table", 'G', 619, 23, 0, 0, 00h
	._inspect	'V', 'e', "Silk_Time_Table", 'G', 621, 23, 0, 0, 00h
	._inspect	'V', 'e', "Soft_Time_Table", 'G', 623, 33, 0, 0, 00h
	._inspect	'V', 'e', "Child_Time_Table", 'G', 625, 33, 0, 0, 00h
	._inspect	'V', 'e', "Wool_Time_Table", 'G', 627, 33, 0, 0, 00h
	._inspect	'V', 'e', "Speedy_Time_Table", 'G', 629, 21, 0, 0, 00h
	._inspect	'V', 'e', "Fastest_Time_Table", 'G', 631, 16, 0, 0, 00h
	._inspect	'V', 'e', "TubeDry_Time_Table", 'G', 633, 7, 0, 0, 00h
	._inspect	'V', 'e', "Single_Wash_Time_Table", 'G', 636, 0, 0, 0, 00h
	._inspect	'V', 'e', "Rinse_Time_Table", 'G', 638, 0, 0, 0, 00h
	._inspect	'V', 'e', "Single_Spin_Time_Table", 'G', 640, 0, 0, 0, 00h
	._inspect	'V', 'e', "Woven_Time_Table", 'G', 643, 33, 0, 0, 00h
	._inspect	'V', 'e', "Maotan_Time_Table", 'G', 645, 33, 0, 0, 00h
	._inspect	'V', 'e', "Common_Soak_Time_Table", 'G', 649, 9, 0, 0, 00h
	._inspect	'V', 'e', "Common_Wash_Time_Table", 'G', 651, 9, 0, 0, 00h
	._inspect	'V', 'e', "Standard_Soak_Time_Table", 'G', 653, 9, 0, 0, 00h
	._inspect	'V', 'e', "Standard_Wash_Time_Table", 'G', 655, 9, 0, 0, 00h
	._inspect	'V', 'e', "Jeans_Soak_Time_Table", 'G', 657, 3, 0, 0, 00h
	._inspect	'V', 'e', "Jeans_Wash_Time_Table", 'G', 659, 3, 0, 0, 00h
	._inspect	'V', 'e', "Fiber_Soak_Time", 'G', 661, 1, 0, 0, 00h
	._inspect	'V', 'e', "Fiber_Wash_Time", 'G', 662, 1, 0, 0, 00h
	._inspect	'V', 'e', "Cotton_Soak_Time", 'G', 663, 1, 0, 0, 00h
	._inspect	'V', 'e', "Cotton_Wash_Time", 'G', 664, 1, 0, 0, 00h
	._inspect	'V', 'e', "seg_led_table", 'G', 666, 0, 0, 0, 00h

	._inspect	'M', "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/global.h", "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/key_io"
	._inspect	'F', 'p', "cpu_init", "_cpu_init", 'G', 111, 0, 00h, 0
	._inspect	'F', 'p', "sfr_ref", "_sfr_ref", 'G', 112, 0, 00h, 0
	._inspect	'F', 'p', "sfr_init", "_sfr_init", 'G', 113, 0, 00h, 0
	._inspect	'F', 'p', "ram_init", "_ram_init", 'G', 114, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_power", "_disp_key_power", 'G', 117, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_start", "_disp_key_start", 'G', 118, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_setup", "_disp_key_setup", 'G', 119, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_confirm", "_disp_key_confirm", 'G', 121, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_function", "_disp_key_function", 'G', 123, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_program", "_disp_key_program", 'G', 124, 0, 00h, 0
	._inspect	'F', 'p', "disp_key_water", "_disp_key_water", 'G', 125, 0, 00h, 0
	._inspect	'F', 'p', "key_scan", "_key_scan", 'G', 127, 0, 00h, 0
	._inspect	'F', 'p', "key_logic", "_key_logic", 'G', 128, 0, 00h, 0
	._inspect	'F', 'p', "menu_display", "_menu_display", 'G', 129, 0, 00h, 0
	._inspect	'F', 'p', "process_flash", "$process_flash", 'G', 135, 0, 00h, 0
	._inspect	'F', 'p', "lcd_flash", "$lcd_flash", 'G', 138, 0, 00h, 0
	._inspect	'F', 'p', "menu_page_shift", "$menu_page_shift", 'G', 141, 0, 00h, 0
	._inspect	'V', 'e', "Lcd_Byte_0", 'G', 168, 1, 0, 0, 00h
	._inspect	'V', 'e', "Lcd_Byte_1", 'G', 169, 1, 0, 0, 00h
	._inspect	'V', 'e', "Lcd_Byte_2", 'G', 170, 1, 0, 0, 00h
	._inspect	'V', 'e', "T1seccnt", 'G', 175, 1, 0, 0, 00h
	._inspect	'V', 'e', "T10seccnt", 'G', 176, 1, 0, 0, 00h
	._inspect	'V', 'e', "epprom_4ms_buff", 'G', 178, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_4ms_buff", 'G', 179, 1, 0, 0, 00h
	._inspect	'V', 'e', "Tflash", 'G', 180, 1, 0, 0, 00h
	._inspect	'V', 'e', "Pflash", 'G', 181, 1, 0, 0, 00h
	._inspect	'V', 'e', "scan_buff", 'G', 182, 1, 0, 0, 00h
	._inspect	'V', 'e', "scan_count", 'G', 183, 1, 0, 0, 00h
	._inspect	'V', 'e', "flash_flag", 'G', 185, 1, 0, 0, 00h
	._inspect	'V', 'e', "flash_switch_flag", 'G', 186, 1, 0, 0, 00h
	._inspect	'V', 'e', "Pflash_switch_flag", 'G', 187, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num", 'G', 189, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num_lev_0", 'G', 190, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num_lev_1", 'G', 191, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num_lev_2", 'G', 192, 1, 0, 0, 00h
	._inspect	'V', 'e', "set_num_lev_3", 'G', 193, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_level_buff", 'G', 198, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_level_3_back_flag", 'G', 200, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_0", 'G', 202, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_1", 'G', 203, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_2", 'G', 204, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_3", 'G', 205, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_4", 'G', 206, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_5", 'G', 207, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_buff_6", 'G', 208, 1, 0, 0, 00h
	._inspect	'V', 'e', "menu_0_flag", 'G', 213, 1, 0, 0, 00h
	._inspect	'V', 'e', "function_set_flag", 'G', 222, 1, 0, 0, 00h
	._inspect	'V', 'e', "program_set_flag", 'G', 223, 1, 0, 0, 00h
	._inspect	'V', 'e', "water_set_flag", 'G', 224, 1, 0, 0, 00h
	._inspect	'V', 'e', "power_flag", 'G', 225, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_press_flag", 'G', 226, 1, 0, 0, 00h
	._inspect	'V', 'e', "first_water_flag", 'G', 229, 1, 0, 0, 00h
	._inspect	'V', 'e', "first_wash_flag", 'G', 230, 1, 0, 0, 00h
	._inspect	'V', 'e', "first_rinse_flag", 'G', 231, 1, 0, 0, 00h
	._inspect	'V', 'e', "first_spin_flag", 'G', 232, 1, 0, 0, 00h
	._inspect	'V', 'e', "first_preset_flag", 'G', 233, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_debunce_0", 'G', 236, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_debunce_1", 'G', 237, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_0", 'G', 242, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_1", 'G', 243, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_2", 'G', 245, 2, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_3", 'G', 246, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_buff_4", 'G', 247, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_key_1", 'G', 250, 2, 0, 0, 00h
	._inspect	'V', 'e', "save_key_2", 'G', 251, 1, 0, 0, 00h
	._inspect	'V', 'e', "left_time_buff", 'G', 256, 1, 0, 0, 00h
	._inspect	'V', 'e', "program_buff_0", 'G', 262, 1, 0, 0, 00h
	._inspect	'V', 'e', "water_level_buff_0", 'G', 263, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_time_buff_0", 'G', 264, 1, 0, 0, 00h
	._inspect	'V', 'e', "wash_time_buff_0", 'G', 265, 1, 0, 0, 00h
	._inspect	'V', 'e', "rinse_time_buff_0", 'G', 266, 1, 0, 0, 00h
	._inspect	'V', 'e', "spin_time_buff_0", 'G', 267, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_water_num_buff_0", 'G', 268, 1, 0, 0, 00h
	._inspect	'V', 'e', "winddry_time_buff_0", 'G', 269, 1, 0, 0, 00h
	._inspect	'V', 'e', "preset_time_buff_0", 'G', 270, 1, 0, 0, 00h
	._inspect	'V', 'e', "function_set_buff_0", 'G', 271, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_time_buff", 'G', 275, 1, 0, 0, 00h
	._inspect	'V', 'e', "wash_time_buff", 'G', 276, 1, 0, 0, 00h
	._inspect	'V', 'e', "rinse_time_buff", 'G', 277, 1, 0, 0, 00h
	._inspect	'V', 'e', "spin_time_buff", 'G', 278, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_water_num_buff", 'G', 279, 1, 0, 0, 00h
	._inspect	'V', 'e', "winddry_time_buff", 'G', 280, 1, 0, 0, 00h
	._inspect	'V', 'e', "preset_time_buff", 'G', 281, 1, 0, 0, 00h
	._inspect	'V', 'e', "function_set_buff", 'G', 282, 1, 0, 0, 00h
	._inspect	'V', 'e', "program_start_flag", 'G', 285, 1, 0, 0, 00h
	._inspect	'V', 'e', "program_pause_flag", 'G', 286, 1, 0, 0, 00h

	._inspect	'M', "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/key_io.c", "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/key_io"
	._inspect	'V', 'd', "key_tag_flag", "_key_tag_flag", 'G', 6, 1, 0, 0, 00h
	._inspect	'V', 'd', "preset_key_1s5_buff", "_preset_key_1s5_buff", 'G', 8, 1, 0, 0, 00h

;## #	FUNCTION serial
;## #	ARG Size(0)	Auto Size(0)	Context Size(3)


	.SECTION	program,CODE,align
	._inspect	'U', 2, "program", "program", 0
	._file	'D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/key_io.c'
	._type	256,'v'
	._type	257,'v'
	._type	258,'x',256,1
	._type	258,'m','',3,257
	._func	'serial','G',0,258,_serial,0
	._inspect	'F', 's', "serial", "_serial", 'G', 3
	.align
	._block
	._line	39
	.glb	_serial
_serial:
	._line	40
	rts	
E1:
	._eblock
M1:
	._efunc	M1
	._inspect	'F', 'd', "serial", "_serial", 'G', 39, 0, 00h, 0
	._inspect	'F', 't', "serial", 'G', 258
	._inspect	'F', 'e', "serial", "_serial", 'G', 0, 0


;## #	FUNCTION key
;## #	ARG Size(0)	Auto Size(0)	Context Size(3)

	._type	259,'v'
	._type	260,'v'
	._type	261,'x',259,1
	._type	261,'m','',0,260
	._func	'key','G',0,261,_key,0
	._inspect	'F', 's', "key", "_key", 'G', 3
	.align
	._line	43
	.glb	_key
_key:
	._block
	._line	45
	._inspect	'S', 'c', "key_logic", "_key_logic", 'G', 0, 45
	jsr	_key_logic
	._eblock
	._line	46
	rts	
E2:
M2:
	._efunc	M2
	._inspect	'F', 'd', "key", "_key", 'G', 43, 0, 00h, 0
	._inspect	'F', 't', "key", 'G', 261
	._inspect	'F', 'r', "key_logic", "_key_logic", 'G', 45, 0, 00h, 0
	._inspect	'F', 'e', "key", "_key", 'G', 0, 0


;## #	FUNCTION key_led
;## #	ARG Size(0)	Auto Size(0)	Context Size(3)

	._type	262,'v'
	._type	263,'v'
	._type	264,'x',262,1
	._type	264,'m','',0,263
	._func	'key_led','G',0,264,_key_led,0
	._inspect	'F', 's', "key_led", "_key_led", 'G', 3
	.align
	._line	49
	.glb	_key_led
_key_led:
	._line	51
	rts	
E3:
M3:
	._efunc	M3
	._inspect	'F', 'd', "key_led", "_key_led", 'G', 49, 0, 00h, 0
	._inspect	'F', 't', "key_led", 'G', 264
	._inspect	'F', 'e', "key_led", "_key_led", 'G', 0, 0


;## #	FUNCTION key_power
;## #	ARG Size(0)	Auto Size(0)	Context Size(3)

	._type	265,'v'
	._type	266,'v'
	._type	267,'x',265,1
	._type	267,'m','',0,266
	._func	'key_power','G',0,267,_key_power,0
	._inspect	'F', 's', "key_power", "_key_power", 'G', 3
	.align
	._line	413
	.glb	_key_power
_key_power:
	._block
	._line	414
	mov.b	#01H,_key_buzz_flag
	._line	416
	mov.b	_status_buff,R0L
	jne	L1
	._line	417
	._block
	._line	419
	mov.b	#01H,_status_buff
	._line	420
	mov.b	#05H,_status_5m_buff
	._line	421
	mov.b	#01H,_default_flag
	._line	422
	mov.b	#00H,_run_1s_buff
	._line	424
	rts	
	._eblock
	._line	426
L1:
	mov.b	_status_buff,R0L
	jeq	L11
	._line	427
	._block
	._line	428
	mov.b	#00H,_status_buff
	._line	429
	mov.b	#00H,_run_1s_buff
	._line	431
	._inspect	'S', 'c', "init", "_init", 'G', 0, 431
	jsr	_init
	._eblock
L11:
	._line	435
	rts	
E4:
	._eblock
M4:
	._efunc	M4
	._inspect	'F', 'd', "key_power", "_key_power", 'G', 413, 0, 00h, 0
	._inspect	'F', 't', "key_power", 'G', 267
	._inspect	'V', 'r', "key_buzz_flag", 'G', 414, 1, 0, 0, 00h
	._inspect	'V', 'r', "status_buff", 'G', 416, 1, 0, 0, 00h
	._inspect	'V', 'r', "status_buff", 'G', 419, 1, 0, 0, 00h
	._inspect	'V', 'r', "status_5m_buff", 'G', 420, 1, 0, 0, 00h
	._inspect	'V', 'r', "default_flag", 'G', 421, 1, 0, 0, 00h
	._inspect	'V', 'r', "run_1s_buff", 'G', 422, 1, 0, 0, 00h
	._inspect	'V', 'r', "status_buff", 'G', 426, 1, 0, 0, 00h
	._inspect	'V', 'r', "status_buff", 'G', 428, 1, 0, 0, 00h
	._inspect	'V', 'r', "run_1s_buff", 'G', 429, 1, 0, 0, 00h
	._inspect	'F', 'r', "init", "_init", 'G', 431, 0, 00h, 0
	._inspect	'F', 'e', "key_power", "_key_power", 'G', 0, 0


;## #	FUNCTION key_start
;## #	ARG Size(0)	Auto Size(0)	Context Size(3)

	._type	268,'v'
	._type	269,'v'
	._type	270,'x',268,1
	._type	270,'m','',0,269
	._func	'key_start','G',0,270,_key_start,0
	._inspect	'F', 's', "key_start", "_key_start", 'G', 3
	.align
	._line	443
	.glb	_key_start
_key_start:
	._block
	._line	444
	mov.b	#01H,_key_buzz_flag
	._line	446
	cmp.b	#01H,_status_buff
	jeq	L109
	cmp.b	#03H,_status_buff
	jne	L45
L109:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -