main.c
来自「我自己写的在ARM 44B0上能跑通的LCD display 程序」· C语言 代码 · 共 47 行
C
47 行
/*********************************************************************************************
* 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 + =
减小字号Ctrl + -
显示快捷键?