📄 main.c
字号:
//*----------------------------------------------------------------------------
//* ATMEL Microcontroller Software Support - ROUSSET -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//* File Name : main.c
//* Object : main application written in C
//* Creation : ODi 06/26/2002
//*
//*----------------------------------------------------------------------------
#include "include/AT91RM9200.h"
#include "include/lib_AT91RM9200.h"
#include "drv/timer.h"
// AT91F_DBGU_Printk is defined in init.c
extern void AT91F_DBGU_Printk(char *);
int main()
{
AT91F_DBGU_Printk("\n\r==============================================");
AT91F_DBGU_Printk("\n\r== 欢迎使用英贝德公司的产品 ==");
AT91F_DBGU_Printk("\n\r== EBD9200 Timer中断测试 ==");
AT91F_DBGU_Printk("\n\r== http://www.szembed.com ==");
AT91F_DBGU_Printk("\n\r==============================================\n\r");
Timer0_Init ();
Timer1_Init ();
while (1);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -