sanosentry.c
来自「三星 S3C2410 开发板 LCD测试配套程序」· C语言 代码 · 共 43 行
C
43 行
// 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 + =
减小字号Ctrl + -
显示快捷键?