main.h

来自「AT91RM3400芯片 ROM引导程序」· C头文件 代码 · 共 52 行

H
52
字号
//*----------------------------------------------------------------------------
//*      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 + =
减小字号Ctrl + -
显示快捷键?