📄 samsunglcd.cod
字号:
; Listing generated by Microsoft (R) Optimizing Compiler Version 13.10.4345
TTL E:\WM604\PLATFORM\SEUICBSP\SRC\BOOTLOADER\EBOOT\.\SamsungLCD.c
CODE32
00000 AREA |.drectve|, DRECTVE
DCB "-defaultlib:coredll.lib "
DCB "-defaultlib:corelibc.lib "
EXPORT |g_pClkRegs| [ DATA ]
EXPORT |g_pGPIORegs| [ DATA ]
EXPORT |g_pSSP1Regs| [ DATA ]
EXPORT |LcmInitTable| [ DATA ]
00000 AREA |.data|, DATA
|g_pSSP1Regs| DCD 0xa5500000
|g_pGPIORegs| DCD 0xa5300000
|g_pClkRegs| DCD 0xa5800000
00000 AREA |.rdata|, DATA, READONLY
|EdbgVendorIds| DCW 0x0
DCW 0x0
DCD 0x4033
DCB 0x1
DCB "AD", 0x0
DCW 0x1050
DCW 0x940
DCD 0x4005
DCB 0x1
DCB "LS", 0x0
DCW 0x1050
DCW 0x940
DCD 0x2078
DCB 0x1
DCB "LS", 0x0
DCW 0x10ec
DCW 0x8029
DCD 0xc0f0
DCB 0x1
DCB "KS", 0x0
DCW 0x10ec
DCW 0x8129
DCD 0x0
DCB 0x4
DCB "RT", 0x0
DCW 0x10ec
DCW 0x8139
DCD 0x900b
DCB 0x4
DCB "RT", 0x0
DCW 0x10ec
DCW 0x8139
DCD 0xd0c9
DCB 0x4
DCB "RT", 0x0
DCW 0x10ec
DCW 0x8139
DCD 0xe04c
DCB 0x4
DCB "RT", 0x0
DCW 0x1186
DCW 0x1300
DCD 0x50ba
DCB 0x4
DCB "DL", 0x0
DCW 0x100b
DCW 0x20
DCD 0xa0cc
DCB 0x5
DCB "NG", 0x0
DCW 0x10b7
DCW 0x9050
DCD 0x6008
DCB 0x6
DCB "3C", 0x0
DCW 0x10b7
DCW 0x9200
DCD 0x476
DCB 0x6
DCB "3C", 0x0
|LcmInitTable| DCW 0x7
DCW 0x0
DCW 0x0
DCW 0x13
DCW 0x0
DCW 0xa
DCW 0x11
DCW 0x3004
DCW 0x0
DCW 0x14
DCW 0x200f
DCW 0x0
DCW 0x10
DCW 0x1a20
DCW 0x0
DCW 0x13
DCW 0x40
DCW 0x32
DCW 0x13
DCW 0x60
DCW 0x0
DCW 0x13
DCW 0x70
DCW 0x50
DCW 0x1
DCW 0x927
DCW 0x0
DCW 0x2
DCW 0x700
DCW 0x0
DCW 0x3
DCW 0x1030
DCW 0x0
DCW 0x8
DCW 0x208
DCW 0x0
DCW 0xb
DCW 0x620
DCW 0x0
DCW 0xc
DCW 0x110
DCW 0x0
DCW 0x30
DCW 0x120
DCW 0x0
DCW 0x31
DCW 0x127
DCW 0x0
DCW 0x32
DCW 0x0
DCW 0x0
DCW 0x33
DCW 0x503
DCW 0x0
DCW 0x34
DCW 0x727
DCW 0x0
DCW 0x35
DCW 0x124
DCW 0x0
DCW 0x36
DCW 0x706
DCW 0x0
DCW 0x37
DCW 0x701
DCW 0x0
DCW 0x38
DCW 0xf00
DCW 0x0
DCW 0x39
DCW 0xf00
DCW 0x0
DCW 0x40
DCW 0x0
DCW 0x0
DCW 0x41
DCW 0x0
DCW 0x0
DCW 0x42
DCW 0x13f
DCW 0x0
DCW 0x43
DCW 0x0
DCW 0x0
DCW 0x44
DCW 0x13f
DCW 0x0
DCW 0x45
DCW 0x0
DCW 0x0
DCW 0x46
DCW 0xef00
DCW 0x0
DCW 0x47
DCW 0x13f
DCW 0x0
DCW 0x48
DCW 0x0
DCW 0x0
DCW 0x7
DCW 0x15
DCW 0x1e
DCW 0x7
DCW 0x17
DCW 0x1e
DCW 0x20
DCW 0x0
DCW 0x0
DCW 0x21
DCW 0x0
DCW 0x0
DCW 0x22
DCW 0x0
DCW 0x0
EXPORT |ResetLCD|
IMPORT |GPIOSetController|
IMPORT |GPIOSetControllerValue|
IMPORT |msWait|
; File e:\wm604\platform\seuicbsp\src\bootloader\eboot\samsunglcd.c
00000 AREA |.text| { |ResetLCD| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 AREA |.pdata$$ResetLCD|, PDATA, SELECTION=5, ASSOC=|.text| { |ResetLCD| } ; comdat associative
|$T42929| DCD |$L42928|
DCD 0x40002001
; Function compile flags: /Ogsy
00000 AREA |.text| { |ResetLCD| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 |ResetLCD| PROC
; 72 : {
00000 |$L42928|
00000 e92d4010 stmdb sp!, {r4, lr}
00004 |$M42926|
; 73 : GPIOSetController((XLLP_GPIO_T *)g_pGPIORegs, LCDRESET | GPIO_AF0 | GPIO_OUT);
00004 e59f4070 ldr r4, [pc, #0x70]
00008 e3a01a02 mov r1, #2, 20
0000c e381100e orr r1, r1, #0xE
00010 e5940000 ldr r0, [r4]
00014 eb000000 bl GPIOSetController
; 74 : GPIOSetControllerValue((XLLP_GPIO_T *)g_pGPIORegs, LCDRESET | GPIO_OUT_1);
00018 e5940000 ldr r0, [r4]
0001c e3a01f43 mov r1, #0x43, 30
00020 e3811002 orr r1, r1, #2
00024 eb000000 bl GPIOSetControllerValue
; 75 : msWait(20);
00028 e3a00014 mov r0, #0x14
0002c eb000000 bl msWait
; 76 : GPIOSetControllerValue((XLLP_GPIO_T *)g_pGPIORegs, LCDRESET | GPIO_OUT_0);
00030 e5940000 ldr r0, [r4]
00034 e3a0100e mov r1, #0xE
00038 eb000000 bl GPIOSetControllerValue
; 77 : msWait(2);
0003c e3a00002 mov r0, #2
00040 eb000000 bl msWait
; 78 : GPIOSetControllerValue((XLLP_GPIO_T *)g_pGPIORegs, LCDRESET | GPIO_OUT_1);
00044 e5940000 ldr r0, [r4]
00048 e3a01f43 mov r1, #0x43, 30
0004c e3811002 orr r1, r1, #2
00050 eb000000 bl GPIOSetControllerValue
; 79 :
; 80 : // GPIOSetController((XLLP_GPIO_T *)g_pGPIORegs, DMB_PWREN | GPIO_AF0 | GPIO_OUT);
; 81 : // GPIOSetControllerValue((XLLP_GPIO_T *)g_pGPIORegs, DMB_PWREN | GPIO_OUT_0);
; 82 :
; 83 : // 打开keypad背景灯
; 84 : GPIOSetController((XLLP_GPIO_T *)g_pGPIORegs, KEYBLT | GPIO_AF0 | GPIO_OUT);
00054 e5940000 ldr r0, [r4]
00058 e3a01a02 mov r1, #2, 20
0005c e3811011 orr r1, r1, #0x11
00060 eb000000 bl GPIOSetController
; 85 : GPIOSetControllerValue((XLLP_GPIO_T *)g_pGPIORegs, KEYBLT | GPIO_OUT_1);
00064 e5940000 ldr r0, [r4]
00068 e3a01e11 mov r1, #0x11, 28
0006c e3811001 orr r1, r1, #1
00070 eb000000 bl GPIOSetControllerValue
; 86 : }
00074 e8bd4010 ldmia sp!, {r4, lr}
00078 e12fff1e bx lr
0007c |$L42931|
0007c 00000000 DCD |g_pGPIORegs|
00080 |$M42927|
ENDP ; |ResetLCD|
EXPORT |XllpInitSspLink|
EXPORT |??_C@_0BE@DEJFNFJC@dwTmpData?5?$DN?50x?$CFX?4?$AN?6?$AA@| [ DATA ] ; `string'
EXPORT |??_C@_0BI@FPOJCNOE@pSSPRegs?9?$DOssr?5?$DN?50x?$CFX?4?$AN?6?$AA@| [ DATA ] ; `string'
IMPORT |EdbgOutputDebugString|
00000 AREA |.text| { |XllpInitSspLink| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -