?? eb_desc.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 : eb_desc.h
//* Object : Evaluation Board Definition File.
//*
//* 1.0 9/04/02 NL : Creation
//*----------------------------------------------------------------------------
#ifndef eb_desc_h
#define eb_desc_h
//*----------------------------------------------------------------------------
//* Enum
typedef enum Type_Instr {
READ,
WRITE,
POLL
} Type_Instr;
//*----------------------------------------------------------------------------
//* Structure
typedef struct Instr {
Type_Instr type_instr;
u_int address;
u_int data;
} Instr;
typedef struct Init_Periph {
Instr *instruction;
u_short nb_instr;
} Init_Periph;
typedef struct Program {
u_int *prg;
u_int size;
u_int load_addr;
} Program;
typedef struct Target {
u_int id_chip;
Init_Periph pll;
Init_Periph ebi;
u_short flash;
Program flash_prg;
Program flash_ident;
Program boot;
Program angel;
Program appli;
Program mirror;
} Target;
//*----------------------------------------------------------------------------
//* Constants
//* Periph
#define EBI 0
#define PLL 1
//* Targets
#define EB40 0x04080700
#define EB40A 0x04000800
#define EB42 0x04280000
#define EB55 0x05580000
#define EB63 0x06320000
#define NB_TARGET_SUPPORTED 5
//* Flash type
#define FLASH_LV 0
#define FLASH_BV 1
//* Flash Program Address
#define FLASH_LV_PRG 0x01018000
#define FLASH_BV_PRG 0x0101A000
#endif /* flash_uploader_appl_h */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -