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

📄 main.c

📁 s3c2440 io_port模块的代码。用ADS1.2开发。
💻 C
字号:
#include "def.h"#include "option.h"#include "2440addr.h"#include "2440lib.h" #include "led.h"void Main(void){			int i;	ChangeMPllValue(110,3,1);		Uart_Init(PCLK, 115200);	Uart_Select(1);	Uart_TxEmpty(1);   Uart_Printf("\n\rEx01. Test I/O Ports \n\r\n\r");	Delay(100);	Port_Init();	    while(1)    {    	for(i=1;i<=4;i++)    	{	    	Uart_SendString(".");        	Led_Display(i);      		Delay(10000000);     	}    		    }} // end of main(...)

⌨️ 快捷键说明

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