add cortex-v7a support
How To Run: see TencentOS-tiny\board\ALPHA_I.MX_emmc_256ddr\README.md TODO Next: 1. VFP support 2. fault diagnosis support 3. qemu vexpress ca9 support 4. raspberry pi support 5. SMP support
This commit is contained in:
28
board/ALPHA_I.MX_emmc_256ddr/bsp/lcd/bsp_lcdapi.h
Normal file
28
board/ALPHA_I.MX_emmc_256ddr/bsp/lcd/bsp_lcdapi.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef BSP_LCDAPI_H
|
||||
#define BSP_LCDAPI_H
|
||||
/***************************************************************
|
||||
Copyright © zuozhongkai Co., Ltd. 1998-2019. All rights reserved.
|
||||
文件名 : bsp_lcdapi.h
|
||||
作者 : 左忠凯
|
||||
版本 : V1.0
|
||||
描述 : LCD显示API函数。
|
||||
其他 : 无
|
||||
论坛 : www.openedv.com
|
||||
日志 : 初版V1.0 2019/3/18 左忠凯创建
|
||||
***************************************************************/
|
||||
#include "bsp.h"
|
||||
#include "bsp_lcd.h"
|
||||
|
||||
/* 函数声明 */
|
||||
void lcd_drawline(unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2);
|
||||
void lcd_draw_rectangle(unsigned short x1, unsigned short y1, unsigned short x2, unsigned short y2);
|
||||
void lcd_draw_Circle(unsigned short x0,unsigned short y0,unsigned char r);
|
||||
void lcd_showchar(unsigned short x,unsigned short y,unsigned char num,unsigned char size, unsigned char mode);
|
||||
unsigned int lcd_pow(unsigned char m,unsigned char n);
|
||||
void lcd_shownum(unsigned short x, unsigned short y, unsigned int num, unsigned char len,unsigned char size);
|
||||
void lcd_showxnum(unsigned short x, unsigned short y, unsigned int num, unsigned char len, unsigned char size, unsigned char mode);
|
||||
void lcd_show_string(unsigned short x,unsigned short y,
|
||||
unsigned short width, unsigned short height, unsigned char size,char *p);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user