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

📄 main.h

📁 AT91RM3400芯片 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              :
//*
//* 1.0 27/03/03 HIi    : Creation
//*----------------------------------------------------------------------------

#ifndef main_h
#define main_h

//* Include chips definition

#include "AT91RM3400.h"
#include "lib_AT91RM3400.h"
#include "includes/com.h"

//* TRACE
extern void AT91F_DBGU_Printk(	char *buffer); // \arg pointer to a string ending by \0


#include "embedded_services.h"

#define AT91C_MASTER_CLOCK				48000000
#define AT91C_BAUD_RATE					115200

//#define AT91C_DOWNLOAD_BASE_ADDRESS		0x20000000
//#define AT91C_DOWNLOAD_MAX_SIZE			0x00020000

#define AT91C_OFFSET_VECT6				0x14		//* Offset for ARM vector 6

#define AT91C_VERSION	"VER 1.0"


// Global variables and functions definition
extern unsigned int GetTickCount(void);
extern unsigned char XmodemTrame[];
extern unsigned int			dataflash_load_address;
extern AT91S_SvcDataFlash	SvcDataFlash;
extern int 			mainclock;
extern unsigned int 	StTick;

#endif

⌨️ 快捷键说明

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