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

📄 main.c

📁 我自己写的在ARM 44B0上能跑通的LCD display 程序
💻 C
字号:
/*********************************************************************************************
* File:	main.c
* Author:	embest
* Desc:	c main entry
* History:	
*********************************************************************************************/
/*--- include files ---*/
#include "44blib.h"
#include "44b.h"
#include "tp.h"
void main(void);
extern LCD_main_init();
extern LcdByPass();
extern Beep1();
extern Led();
/*********************************************************************************************
* name:		main
* func:		c code entry
* para:		none
* ret:		none
* modify:
* comment:		
*********************************************************************************************/
void Main(void)
{
	Uart_Printf("\n Start----");
	Port_Init();					/* Initial 44B0X's I/O port */
	Uart_Printf("\n Port_Init success----");
	rI_ISPC = 0xffffffff;			/* clear all interrupt pend	*/
	
	rPDATE = 0x1ff;                   // initial value	
    Delay(0);						/* delay time				*/
    Beep1();
	Uart_Init(0,115200);			/* Initial Serial port 1	*/
    /******************/
	/* user interface */
	/******************/
    Led();
	Uart_Printf("\n BYD Clc 346 lcd test----");
	Delay(100);
//	ByPass_Setting(1);
	LcdByPass();
//	TS_close();
	return;
}

⌨️ 快捷键说明

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