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

📄 lcdp1.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\lcdp1.o --depend=.\Obj\lcdp1.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\LCDP1.c]
                          THUMB

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

                  LCD_Color2Index_1 PROC
;;;58     */
;;;59     unsigned LCD_Color2Index_1(LCD_COLOR Color) {
000000  b2c1              UXTB     r1,r0
;;;60       int r,g,b;
;;;61       r = Color      &255;
;;;62       g = (Color>>8) &255;
000002  f3c02207          UBFX     r2,r0,#8,#8
;;;63       b = Color>>16;
;;;64       return (r+g+b+383) /(3*255);
000006  4411              ADD      r1,r1,r2
000008  eb014010          ADD      r0,r1,r0,LSR #16
00000c  f200107f          ADD      r0,r0,#0x17f
000010  f24021fd          MOV      r1,#0x2fd
000014  fb90f0f1          SDIV     r0,r0,r1
;;;65     }
000018  4770              BX       lr
;;;66     
                          ENDP


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

                  LCD_GetIndexMask_1 PROC
;;;78     */
;;;79     unsigned LCD_GetIndexMask_1(void) {
000000  2001              MOVS     r0,#1
;;;80       return 0x01;
;;;81     }
000002  4770              BX       lr
;;;82     
                          ENDP


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

                  LCD_Index2Color_1 PROC
;;;70     */
;;;71     LCD_COLOR LCD_Index2Color_1(int Index) {
000000  2800              CMP      r0,#0
;;;72       return Index ? 0xFFFFFF : 0;
000002  d001              BEQ      |L3.8|
000004  f06f407f          MVN      r0,#0xff000000
                  |L3.8|
;;;73     }
000008  4770              BX       lr
;;;74     
                          ENDP


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

                  LCD_API_ColorConv_1
                          DCD      LCD_Color2Index_1
                          DCD      LCD_Index2Color_1
                          DCD      LCD_GetIndexMask_1

⌨️ 快捷键说明

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