📄 main.h
字号:
//*----------------------------------------------------------------------------//* 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.h//* Object ://*//* 1.0 27/03/03 HIi : Creation//* 1.01 03/05/04 HIi : AT9C_VERSION incremented to 1.01//* 1.02 15/06/04 HIi : AT9C_VERSION incremented to 1.02 ==> //* Add crc32 to verify dataflash download//* 1.03 25/05/05 GGi : AT9C_VERSION incremented to 1.03 ==> 9261 version//*----------------------------------------------------------------------------#ifndef main_h#define main_h#include "AT91SAM9260.h"#include "lib_AT91SAM9260.h"#define TRUE (1==1)#define FALSE (1==0)//#undef MCK_100_MHZ #define MCK_100_MHZ#ifdef MCK_100_MHZ#define AT91C_MASTER_CLOCK 99300000 #else#define AT91C_MASTER_CLOCK 45174500#endif#define AT91C_BAUD_RATE 115200#define AT91C_DOWNLOAD_BASE_ADDRESS 0x20000000#define AT91C_DOWNLOAD_MAX_SIZE 0x00040000#define AT91C_OFFSET_VECT6 0x14 //* Offset for ARM vector 6#define AT91C_VERSION "VER 1.0"// Global variables and functions definitionextern void AT91F_DBGU_Printk(char *);extern unsigned int GetTickCount(void);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -