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

📄 main.h

📁 at91rm9200 的rom程序
💻 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              :
//*----------------------------------------------------------------------------
#ifndef main_h
#define main_h

#define BASE_LOAD_ADDRESS			0x00200000	//* base address for uploading and downloading
#define BASE_EBI_CS0_ADDRESS		0x10000000	//* base address to access memory on CS0
#define TIMEOUT_READ_DATAFLASH		30   		//* timeout dataflash in ms 

#ifdef THUNDER
#define MEMORY_SIZE					(12*1024)	//* memory size for the application area in SRAM
#else
#define MEMORY_SIZE					(64*1024)	//* memory size for the application area in SRAM
#endif
//* The define POD is used to adapt the system master clock and the baudrate for POD+ board
#ifdef POD
#define MASTER_CLOCK				10000000
#define BAUD_RATE					38400
#else
#define MASTER_CLOCK				48000000
#define BAUD_RATE					115200
#endif

//* The define SIMU is only used to reduce Timeout during the simulation 
#ifndef SIMU
#define	DELAY_PLLA					1000
#define DELAY_MAIN_FREQ				1000
#else
#define	DELAY_PLLA					5
#define DELAY_MAIN_FREQ				5
#endif

extern unsigned int GetTickCount(void);

#endif

⌨️ 快捷键说明

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