lcd_display.a30

来自「电表解决方案概要power_meter_r8c2g_source_code」· A30 代码 · 共 1,382 行 · 第 1/5 页

A30
1,382
字号
	._inspect	'V', 'e', "stream_run", 'G', 500, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_stop", 'G', 501, 1, 0, 0, 00h
	._inspect	'V', 'e', "finish", 'G', 503, 1, 0, 0, 00h
	._inspect	'V', 'e', "key_release", 'G', 504, 1, 0, 0, 00h
	._inspect	'V', 'e', "test_2_3s_buff", 'G', 505, 1, 0, 0, 00h
	._inspect	'V', 'e', "test_2_7s_buff", 'G', 506, 1, 0, 0, 00h
	._inspect	'V', 'e', "check_2s_buff", 'G', 508, 1, 0, 0, 00h
	._inspect	'V', 'e', "kaiji_3s_buff", 'G', 509, 1, 0, 0, 00h
	._inspect	'V', 'e', "inlet_10s_buff", 'G', 511, 1, 0, 0, 00h
	._inspect	'V', 'e', "inlet_20m_buff", 'G', 512, 2, 0, 0, 00h
	._inspect	'V', 'e', "inlet_2m_buff", 'G', 513, 1, 0, 0, 00h
	._inspect	'V', 'e', "drain_8m_buff", 'G', 516, 2, 0, 0, 00h
	._inspect	'V', 'e', "drain_2m_buff", 'G', 517, 1, 0, 0, 00h
	._inspect	'V', 'e', "drain_60s_buff", 'G', 518, 1, 0, 0, 00h
	._inspect	'V', 'e', "drain_10s_buff", 'G', 519, 1, 0, 0, 00h
	._inspect	'V', 'e', "drain_20s_buff", 'G', 520, 1, 0, 0, 00h
	._inspect	'V', 'e', "main_soak_time", 'G', 522, 1, 0, 0, 00h
	._inspect	'V', 'e', "main_wash_time", 'G', 523, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_1m_buff", 'G', 525, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_2m_buff", 'G', 526, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_3m_buff", 'G', 527, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_4m_buff", 'G', 528, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_9m_buff", 'G', 529, 2, 0, 0, 00h
	._inspect	'V', 'e', "soak_1_cycle_buff", 'G', 531, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_2_cycle_buff", 'G', 532, 1, 0, 0, 00h
	._inspect	'V', 'e', "soak_3_cycle_buff", 'G', 533, 1, 0, 0, 00h
	._inspect	'V', 'e', "run_stream_time", 'G', 535, 2, 0, 0, 00h
	._inspect	'V', 'e', "balance_time_buff", 'G', 536, 1, 0, 0, 00h
	._inspect	'V', 'e', "wash_start_flag", 'G', 537, 1, 0, 0, 00h
	._inspect	'V', 'e', "wash_finish_flag", 'G', 538, 1, 0, 0, 00h
	._inspect	'V', 'e', "interm_spin_10s_buff", 'G', 540, 1, 0, 0, 00h
	._inspect	'V', 'e', "interm_spin_5s_buff", 'G', 541, 1, 0, 0, 00h
	._inspect	'V', 'e', "interm_spin_4s_buff", 'G', 542, 1, 0, 0, 00h
	._inspect	'V', 'e', "interm_spin_3s_buff", 'G', 543, 1, 0, 0, 00h
	._inspect	'V', 'e', "spin_balance_time_buff", 'G', 545, 1, 0, 0, 00h
	._inspect	'V', 'e', "inertial_30s_buff", 'G', 547, 1, 0, 0, 00h
	._inspect	'V', 'e', "break_5s_buff", 'G', 548, 1, 0, 0, 00h
	._inspect	'V', 'e', "output_buff", 'G', 550, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_output_buff", 'G', 551, 1, 0, 0, 00h
	._inspect	'V', 'e', "machine_type", 'G', 552, 1, 0, 0, 00h
	._inspect	'V', 'e', "err_buff", 'G', 553, 1, 0, 0, 00h
	._inspect	'V', 'e', "process_left_time", 'G', 555, 2, 0, 0, 00h
	._inspect	'V', 'e', "total_run_time", 'G', 556, 1, 0, 0, 00h
	._inspect	'V', 'e', "total_left_time", 'G', 557, 1, 0, 0, 00h
	._inspect	'V', 'e', "water_level_buff", 'G', 559, 1, 0, 0, 00h
	._inspect	'V', 'e', "status_buff", 'G', 561, 1, 0, 0, 00h
	._inspect	'V', 'e', "lid_open", 'G', 562, 1, 0, 0, 00h
	._inspect	'V', 'e', "save_lid_status", 'G', 563, 1, 0, 0, 00h
	._inspect	'V', 'e', "manual_process_buff", 'G', 564, 1, 0, 0, 00h
	._inspect	'V', 'e', "ac_frequency", 'G', 566, 1, 0, 0, 00h
	._inspect	'V', 'e', "mesure_time_buff", 'G', 567, 1, 0, 0, 00h
	._inspect	'V', 'e', "frequency_tmp", 'G', 568, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_table_row", 'G', 570, 1, 0, 0, 00h
	._inspect	'V', 'e', "ext_stream_table_row", 'G', 571, 1, 0, 0, 00h
	._inspect	'V', 'e', "main_stream_time", 'G', 573, 1, 0, 0, 00h
	._inspect	'V', 'e', "ext_stream_time", 'G', 574, 1, 0, 0, 00h
	._inspect	'V', 'e', "mot_cycle_buff", 'G', 576, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_buff", 'G', 577, 1, 0, 0, 00h
	._inspect	'V', 'e', "stream_100ms_buff", 'G', 578, 1, 0, 0, 00h
	._inspect	'V', 'e', "base_100ms_buff", 'G', 579, 1, 0, 0, 00h
	._inspect	'V', 'e', "program_left_time", 'G', 581, 1, 0, 0, 00h
	._inspect	'V', 'e', "buzz_24ms_buff", 'G', 583, 1, 0, 0, 00h
	._inspect	'V', 'e', "buzz_15m_buff", 'G', 585, 1, 0, 0, 00h
	._inspect	'V', 'e', "buzz_500ms_buff", 'G', 587, 1, 0, 0, 00h
	._inspect	'V', 'e', "buzz_time", 'G', 588, 1, 0, 0, 00h
	._inspect	'V', 'e', "unbalance_count", 'G', 590, 1, 0, 0, 00h
	._inspect	'V', 'e', "led_disp", 'G', 625, 5, 0, 0, 00h
	._inspect	'V', 'e', "flag", 'G', 635, 5, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_A", 'G', 646, 216, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_B", 'G', 647, 144, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_Ext_A", 'G', 648, 32, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_Ext_B", 'G', 649, 32, 0, 0, 00h
	._inspect	'V', 'e', "Stream_Table_TEST", 'G', 650, 24, 0, 0, 00h
	._inspect	'V', 'e', "Balance_Stream_A", 'G', 652, 8, 0, 0, 00h
	._inspect	'V', 'e', "Speedy_Stream_A", 'G', 653, 16, 0, 0, 00h
	._inspect	'V', 'e', "Fastest_Stream_A", 'G', 654, 8, 0, 0, 00h
	._inspect	'V', 'e', "Standard_Time_Table", 'G', 660, 21, 0, 0, 00h
	._inspect	'V', 'e', "Memo_Time_Table", 'G', 662, 25, 0, 0, 00h
	._inspect	'V', 'e', "Strong_Time_Table", 'G', 664, 23, 0, 0, 00h
	._inspect	'V', 'e', "Silk_Time_Table", 'G', 666, 21, 0, 0, 00h
	._inspect	'V', 'e', "Soft_Time_Table", 'G', 668, 33, 0, 0, 00h
	._inspect	'V', 'e', "Child_Time_Table", 'G', 670, 33, 0, 0, 00h
	._inspect	'V', 'e', "Wool_Time_Table", 'G', 672, 25, 0, 0, 00h
	._inspect	'V', 'e', "Speedy_Time_Table", 'G', 674, 14, 0, 0, 00h
	._inspect	'V', 'e', "Fastest_Time_Table", 'G', 676, 16, 0, 0, 00h
	._inspect	'V', 'e', "TubeDry_Time_Table", 'G', 678, 7, 0, 0, 00h
	._inspect	'V', 'e', "Single_Wash_Time_Table", 'G', 681, 0, 0, 0, 00h
	._inspect	'V', 'e', "Rinse_Time_Table", 'G', 683, 0, 0, 0, 00h
	._inspect	'V', 'e', "Single_Spin_Time_Table", 'G', 685, 0, 0, 0, 00h
	._inspect	'V', 'e', "Woven_Time_Table", 'G', 688, 33, 0, 0, 00h
	._inspect	'V', 'e', "Maotan_Time_Table", 'G', 690, 33, 0, 0, 00h
	._inspect	'V', 'e', "Memo_Soak_Time_Table", 'G', 698, 9, 0, 0, 00h
	._inspect	'V', 'e', "Memo_Wash_Time_Table", 'G', 700, 9, 0, 0, 00h
	._inspect	'V', 'e', "Standard_Soak_Time_Table", 'G', 702, 9, 0, 0, 00h
	._inspect	'V', 'e', "Standard_Wash_Time_Table", 'G', 704, 9, 0, 0, 00h
	._inspect	'V', 'e', "Strong_Soak_Time_Table", 'G', 706, 3, 0, 0, 00h
	._inspect	'V', 'e', "Strong_Wash_Time_Table", 'G', 708, 3, 0, 0, 00h
	._inspect	'V', 'e', "Soft_Soak_Time", 'G', 711, 1, 0, 0, 00h
	._inspect	'V', 'e', "Soft_Wash_Time", 'G', 712, 1, 0, 0, 00h
	._inspect	'V', 'e', "Child_Soak_Time", 'G', 714, 1, 0, 0, 00h
	._inspect	'V', 'e', "Child_Wash_Time", 'G', 715, 1, 0, 0, 00h
	._inspect	'V', 'e', "Wool_Soak_Time", 'G', 717, 1, 0, 0, 00h
	._inspect	'V', 'e', "Wool_Wash_Time", 'G', 719, 1, 0, 0, 00h
	._inspect	'V', 'e', "Silk_Wash_Time", 'G', 721, 1, 0, 0, 00h
	._inspect	'V', 'e', "Speedy_Wash_Time", 'G', 722, 1, 0, 0, 00h
	._inspect	'V', 'e', "seg_led_table", 'G', 724, 0, 0, 0, 00h
	._inspect	'V', 'e', "OPT_Table", 'G', 726, 0, 0, 0, 00h
	._inspect	'V', 'e', "Left_time_Colum_Table", 'G', 728, 0, 0, 0, 00h

	._inspect	'M', "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/lcd_display.c", "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/lcd_display"

;## #	FUNCTION key_scan
;## #	FRAME	AUTO	(       j)	size  1,	offset -2
;## #	FRAME	AUTO	(       i)	size  1,	offset -1
;## #	ARG Size(0)	Auto Size(2)	Context Size(5)


	.SECTION	program,CODE,align
	._inspect	'U', 2, "program", "program", 0
	._file	'D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/lcd_display.c'
	._type	256,'v'
	._type	257,'v'
	._type	258,'x',256,1
	._type	258,'m','',0,257
	._func	'key_scan','G',2,258,_key_scan,0
	._inspect	'F', 's', "key_scan", "_key_scan", 'G', 7
	.align
	._block
	._line	36
	.glb	_key_scan
_key_scan:
	enter	#02H
	._block
	._var	'i','A',3,-1
	._var	'j','A',3,-2
	._var	'k','A',3,0
	._line	41
	mov.b	_key_4ms_buff,R0L
	jne	L89
	._line	42
	._block
	._line	43
	mov.b	#01H,_key_4ms_buff
	._line	45
	mov.b	_scan_buff,-1[FB]	;  i 
	._line	46
	sha.b	#-01H,_scan_buff
	._line	47
	jne	L1
	._line	48
	._block
	._line	49
	mov.b	#10H,_scan_buff
	._line	50
	inc.b	_scan_count
	._eblock
L1:
	._line	53
	mov.w	#_p2_addr,A0
	mov.b	[A0],A1
	and.w	#00e0H,A1
	mov.b	A1,[A0]
	._line	55
;#### ASM START
nop
;#### ASM END
	._line	57
	mov.w	#_p2_addr,A0
	or.b	-1[FB],[A0]	;  i 
	._line	59
;#### ASM START
nop
;#### ASM END
	._line	61
	mov.b	_p2_addr,-2[FB]	;  j 
	._line	63
;#### ASM START
nop
;#### ASM END
	._line	65
	mov.b	-2[FB],A0	;  j 
	and.w	#0060H,A0
	mov.b	A0,-2[FB]	;  j 
	._line	67
	shl.b	#01H,-2[FB]	;  j 
	._line	69
	cmp.b	#02H,-1[FB]	;  i 
	jleu	L11
	._line	70
	._block
	._line	71
	add.b	-2[FB],_key_buff_0	;  j 
	._line	72
	shl.b	#-2,_key_buff_0
	._eblock
	._line	73
	jmp	L125
	._line	75
L11:
	cmp.b	#02H,-1[FB]	;  i 
	jne	L21
	._line	76
	._block
	._line	77
	add.b	-2[FB],_key_buff_0	;  j 
	._line	78
	mov.b	_key_buff_0,_key_buff_4
	._eblock
	._line	79
	jmp	L125
	._line	81
L21:
	cmp.b	#01H,-1[FB]	;  i 
	jne	L41
	._line	82
	._block
	._line	83
	cmp.b	#00H,-2[FB]	;  j 
	stzx	#00H,#0c0H,_key_buff_1
	._line	88
	mov.b	#00H,_key_buff_0
	._eblock
L41:
L125:
	._line	91
	cmp.b	_key_buff_4,_key_debunce_0
	jne	L119
	cmp.b	_key_buff_1,_key_debunce_1
	jeq	L51
L119:
	._line	92
	._block
	._line	93
	mov.b	_key_buff_4,_key_debunce_0
	._line	94
	mov.b	_key_buff_1,_key_debunce_1
	._line	95
	mov.b	#00H,_scan_count
	._eblock
	._line	96
	jmp	L127
	._line	97
L51:
	cmp.b	#02H,_scan_count
	jne	L123
	._line	98
	._block
	._line	99
	mov.b	_key_buff_4,R0L
	mov.b	R0L,_key_buff_2
	mov.b	#00H,_key_buff_2+1
	._line	100
	mov.b	_key_buff_1,_key_buff_3
	._line	101
	mov.b	#00H,_scan_count
	._eblock
	._eblock
L127:
L123:
L89:
	._line	105
	exitd	
E1:
	._eblock
	._eblock
M1:
	._efunc	M1
	._inspect	'F', 'd', "key_scan", "_key_scan", 'G', 36, 0, 00h, 0
	._inspect	'F', 't', "key_scan", 'G', 258
	._inspect	'V', 'r', "key_4ms_buff", 'G', 41, 1, 0, 0, 00h
	._inspect	'V', 'r', "key_4ms_buff", 'G', 43, 1, 0, 0, 00h
	._inspect	'V', 'r', "scan_buff", 'G', 45, 1, 0, 0, 00h
	._inspect	'V', 'r', "scan_buff", 'G', 46, 1, 0, 0, 00h
	._inspect	'V', 'r', "scan_buff", 'G', 46, 1, 0, 0, 00h
	._inspect	'V', 'r', "scan_buff", 'G', 47, 1, 0, 0, 00h
	._inspect	'V', 'r', "scan_buff", 'G', 49, 1, 0, 0, 00h
	._inspect	'V', 'r', "scan_count", 'G', 50, 1, 0, 0, 00h

⌨️ 快捷键说明

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