📄 gui_selectlayer.txt
字号:
; generated by ARM C/C++ Compiler with , RVCT4.0 [Build 524] for uVision
; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Obj\gui_selectlayer.o --depend=.\Obj\gui_selectlayer.d --device=DARMSTM --apcs=interwork -O3 -I..\..\include -I..\..\..\FWLib\library\inc -I..\..\..\USBLib\library\inc -I..\..\Config -I..\..\GUI\Core -I..\..\GUI\Font -I..\..\GUI\ConvertColor -I..\..\GUI\AntiAlias -I..\..\GUI\ConvertMono -I..\..\GUI\JPEG -I..\..\GUI\MemDev -I..\..\GUI\MultiLayer -I..\..\GUI\Widget -I..\..\GUI\WM -IC:\Keil\ARM\INC\ST\STM32F10x ..\..\GUI\Core\GUI_SelectLayer.c]
THUMB
AREA ||i.GUI_SelectLayer||, CODE, READONLY, ALIGN=2
GUI_SelectLayer PROC
;;;32 */
;;;33 unsigned int GUI_SelectLayer(unsigned int Index) {
000000 b510 PUSH {r4,lr}
;;;34 unsigned int OldIndex;
;;;35 GUI_LOCK();
;;;36 OldIndex = GUI_Context.SelLayer;
000002 4904 LDR r1,|L1.20|
000004 7b4c LDRB r4,[r1,#0xd] ; GUI_Context
;;;37 if (Index < GUI_NUM_LAYERS) {
000006 b918 CBNZ r0,|L1.16|
;;;38 GUI_Context.SelLayer = Index;
000008 2000 MOVS r0,#0
00000a 7348 STRB r0,[r1,#0xd]
;;;39 GUI_SelectLCD();
00000c f7fffffe BL GUI_SelectLCD
|L1.16|
;;;40 }
;;;41 GUI_UNLOCK();
;;;42 return OldIndex;
000010 4620 MOV r0,r4
;;;43 }
000012 bd10 POP {r4,pc}
;;;44
ENDP
|L1.20|
DCD GUI_Context
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -