44blcd.h

来自「在ARM7 44B0上开发的一个能下五子棋的程序 ADS1.2版本」· C头文件 代码 · 共 41 行

H
41
字号
#ifndef __44BLCD_H__
#define __44BLCD_H__

#ifdef __cplusplus
extern "C" {
#endif
#include "option.h"
#include "def.h"
#include "44b.h"
#include "44blib.h"
#include "44blcd.h"
#include "lcdlib.h"
#include <string.h>

#define frameBuffer   0xc400000

void LcdInit(void);
void clrscreen(void);

void PutPixelColor(U32 x,U32 y,U8 c);
void clrscreen(void);
void Lcd_Init(void);
U8 High_Low( U8 x );

//my extention funtion

void LCD_DrawHLine(U32 x1,U32 x2,U32 y,U8 c,U32 Width);
void LCD_DrawVLine(U32 y1,U32 y2,U32 x,U8 c,U32 Width);
void LCD_DrawRectange(U32 left,U32 top,U32 right,U32 bottom,U8 c);
void LCD_DrawCircle(U32 x0,U32 y0,U32 r,U8 c);

unsigned int (*frameBuffer1)[SCR_XSIZE/32];
unsigned int (*frameBuffer4)[SCR_XSIZE/16];
unsigned int (*frameBuffer16)[SCR_XSIZE/8];
unsigned int (*frameBuffer256)[SCR_XSIZE/4];


#endif /*__44blcd_H__*/


⌨️ 快捷键说明

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