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

📄 lcdp2.txt

📁 STM32F103ZET6+UCOSII+UCGUI源码
💻 TXT
字号:
; generated by ARM C/C++ Compiler with , RVCT4.0 [Build 524] for uVision
; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Obj\lcdp2.o --depend=.\Obj\lcdp2.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\ConvertMono\LCDP2.c]
                          THUMB

                          AREA ||i.LCD_Color2Index_2||, CODE, READONLY, ALIGN=1

                  LCD_Color2Index_2 PROC
;;;56     */
;;;57     unsigned LCD_Color2Index_2(LCD_COLOR Color) {
000000  b2c1              UXTB     r1,r0
;;;58       int r,g,b;
;;;59       r = Color      &255;
;;;60       g = (Color>>8) &255;
000002  f3c02207          UBFX     r2,r0,#8,#8
;;;61       b = Color>>16;
;;;62       return (r+g+b+127) /255;
000006  4411              ADD      r1,r1,r2
000008  eb014010          ADD      r0,r1,r0,LSR #16
00000c  307f              ADDS     r0,r0,#0x7f
00000e  21ff              MOVS     r1,#0xff
000010  fb90f0f1          SDIV     r0,r0,r1
;;;63     }
000014  4770              BX       lr
;;;64     
                          ENDP


                          AREA ||i.LCD_GetIndexMask_2||, CODE, READONLY, ALIGN=1

                  LCD_GetIndexMask_2 PROC
;;;76     */
;;;77     unsigned LCD_GetIndexMask_2(void) {
000000  2003              MOVS     r0,#3
;;;78       return 0x03;
;;;79     }
000002  4770              BX       lr
;;;80     
                          ENDP


                          AREA ||i.LCD_Index2Color_2||, CODE, READONLY, ALIGN=2

                  LCD_Index2Color_2 PROC
;;;68     */
;;;69     LCD_COLOR LCD_Index2Color_2(int Index) {
000000  4901              LDR      r1,|L3.8|
;;;70       return ((U32)Index)*0x555555;
000002  4348              MULS     r0,r1,r0
;;;71     }
000004  4770              BX       lr
;;;72     
                          ENDP

000006  0000              DCW      0x0000
                  |L3.8|
                          DCD      0x00555555

                          AREA ||.constdata||, DATA, READONLY, ALIGN=2

                  LCD_API_ColorConv_2
                          DCD      LCD_Color2Index_2
                          DCD      LCD_Index2Color_2
                          DCD      LCD_GetIndexMask_2

⌨️ 快捷键说明

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