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

📄 sanosentry.c

📁 三星 S3C2410 开发板 LCD测试配套程序
💻 C
字号:
// file: SanOSentry.c
// by  : Sanicle
// ver : 2005.03.20
// from: http://3mn.net

// This file is used to test SanOSlib on Samsung2410

#include <stdlib.h>
#include <string.h>
#include "def.h"
#include "2410lib.h"
#include "SanOSlib.h"
#include "Drivers\SanDriverMouse.h"
#include "Drivers\SanDriverLCD.h"
#include "SanOSgui.h"

///////////   	   C Entry Point		////////////

void Starting(void)
{   
    // Initialize Uart
    Uart_Init();
    Uart_SendString("\n #############################\n");
    Uart_SendString(" ##   SanOS BootLoader 0.2  ##\n");
    Uart_SendString(" #############################\n\n");
    
    pISR_UART1		= (U32)MouseInterrupt;	

    mouseInit();
    
	// Test LCD
	// Run SanOS_GUI
	// 640*480 LCD or CRT Display
	Lcd_Tft_8Bit_640480_Init();
	Lcd_Tft_8Bit_640480_GUI();	
	
    for(;TRUE;)
    {
    	Delay(3000000);
    	Uart_SendString("SanOS\n");
    }
    	//Finish Starting will goto 0x0
}

⌨️ 快捷键说明

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