📄 m5373evb.h
字号:
/* * File: m5373evb.h * Purpose: Validation board definitions and memory map information * * Notes: */#ifndef __M5373EVB_H__#define __M5373EVB_H__/********************************************************************/#define CPU_MCF5373#define DEBUG_PRINT#define M5373EVB/* * System Bus Clock Info */#define REF_CLK_MHZ (16)#define REF_CLK_KHZ (16000)#define SYS_CLK_MHZ 80 /* system bus frequency in MHz */#define SYS_CLK_KHZ 80000 /* system bus frequency in kHz */#define SYSTEM_PERIOD 12.5 /* system bus period in ns */extern int sys_clk_khz;extern int sys_clk_mhz;/* Serial Port Info */#define TERMINAL_PORT (0)#define TERMINAL_BAUD (19200)#undef HW_FLOW_CONTROL/* * Ethernet Info */#define FEC_PHY0 (0x01)/* * SDRAM Timing Parameters */ #define SDRAM_BL 8 /* # of beats in a burst */#define SDRAM_TWR 2 /* in clocks */#define SDRAM_CASL 2.5 /* CASL in clocks */#define SDRAM_TRCD 2 /* in clocks */#define SDRAM_TRP 2 /* in clocks */#define SDRAM_TRFC 7 /* in clocks */#define SDRAM_TREFI 7800 /* in ns *//* * Memory map definitions from linker command files */extern uint8 __SDRAM[];extern uint8 __SDRAM_SIZE[];extern uint8 __CORE_SRAM[];extern uint8 __CORE_SRAM_SIZE[];extern uint8 __EXT_SRAM[];extern uint8 __EXT_SRAM_SIZE[];extern uint8 __FLASH[];extern uint8 __FLASH_SIZE[];/* * Memory Map Info *//* This is the address that will be used as the CS1 * base address to access the latch on the Fire * engine card. */ #define LATCH_ADDRESS (uint32)0x10080000 #define LATCH_BASE_ADDRESS (uint32)0x10000000 #define SDRAM_ADDRESS (uint32)__SDRAM#define SDRAM_SIZE (uint32)__SDRAM_SIZE#define SRAM_ADDRESS (uint32)__CORE_SRAM#define SRAM_SIZE (uint32)__CORE_SRAM_SIZE#define EXT_SRAM_ADDRESS (uint32)__EXT_SRAM#define EXT_SRAM_SIZE (uint32)__EXT_SRAM_SIZE#define FLASH_ADDRESS (uint32)__FLASH#define FLASH_SIZE (uint32)__FLASH_SIZE/********************************************************************/#endif /* __M5373EVB_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -