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

📄 r2d_board_isample_i.inc

📁 MMI层OBJ不能完全编译
💻 INC
字号:
;
;
;  LCD DESCRIPTION
;
;


; Size of the LCD in pixels
R2D_WIDTH .set 176
R2D_HEIGHT .set 220


; Kind of display
R2D_LCD_DISPLAY .set R2D_COLOR

; Refresh mode of LCD
R2D_REFRESH .set R2D_HORIZONTAL


; ln2 of the number of bits to code a pixel value
; (color depth)
;R2D_PIXEL_DEPTH .set 32 ; 8 for alpha channel 
R2D_PIXEL_DEPTH .set 16 ; No alpha channel 

; ln2 of previous value
R2D_PIXEL_POS_TO_BIT_POS .set 4



; ln2 of the number of pixels in one memory word
; (Number of pixels MUST BE A POWER OF TWO 
; for optimization reasons since to compute the address of a pixel
; in memory one would like to avoid division and would prefer
; to use shifts)
; 2^0 = 1 pixel

R2D_PIXELS_PER_MEMORY_WORD .set 1

⌨️ 快捷键说明

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