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

📄 lcd.c

📁 ARM 44b0中的LCD 驱动程序
💻 C
字号:
#include "..\inc\lcd.h"
#include "..\inc\def.h"
#include "..\inc\44b.h"
#include <stdarg.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>

void BitmapActiveView320x240x256(INT8U *pucBuffer)
{
	INT32U i;
	INT32U *pView = (INT32U*)aLcdActiveBuffer;

	for (i = 0; i < SCR_XSIZE * SCR_YSIZE / 4; i++)
	{
		*pView++ = ((*pucBuffer++) << 24) + ((*pucBuffer++) << 16) + ((*pucBuffer++) << 8) + (*pucBuffer++);
	}
}

INT32U aLcdActiveBuffer[LCD_YSIZE][LCD_XSIZE/4];
//*****************************************************************
// 函数名:void Lcd_Init(void)
// 输 入: Null

⌨️ 快捷键说明

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