main.c
来自「基于OMAP的UART驱动和测试程序」· C语言 代码 · 共 29 行
C
29 行
#include <stdio.h>
#include "type.h"
#include "io.h"
void main(void)
{
//select 5910 mode(:configured in page p6-37)
//SetIo32(0x0000, 0xFFFE100C);
InitSystem();
printf("\nOmap device basic boot is finished!\n");
printf("\nSerial Uart1 Test...\n");
SerialTest();
printf("The serial test is complete!"); //Why not display?
}
void Delay(int Dtime)
{
int i;
for(i = 0; i < Dtime; i++)
{
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?