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

📄 frmwrk.h

📁 arm7的嵌入式系统ucos2移植
💻 H
字号:
/*++
Module name:

        FRMWRK.h

Abstract:

        External interface & Module configuration header for FRMWRK
        Infrastructure module.

Author:

        Michael Anburaj
        URL              : http:\\embedded.n3.net      Email : embeddedeng@hotmail.com

Environment:

        Processor        : EP73XX (32 bit ARM720T RISC core from CIRRUS)
        IDE              : SDT 2.51 & ADS 1.0

--*/

/* ********************************************************************* */

#include "def.h"

#ifndef __FRMWRK_H__
#define __FRMWRK_H__

#ifdef __cplusplus
extern "C" {
#endif


/* ********************************************************************* */
/* Module configuration */

#define __mDate "09/24/01"             /* Revision date */
#define __mVer  "1.00"                 /* Revision number */

#define __nConsolBaud         115200   /* Consol Baud rate */
#define __nConsolFifoEn       True     /* FIFO Enable flag */

//#define MMU_enabled                    /* This switch is included with the compiler flags */

#define MCLK (20000000)

#define DRAM          1                /* In case DRAM is used */
#define SDRAM         2                /* In case SDRAM is used */
#define SRAM          3                /* In case SRAM is used */
              
#define BDRAMTYPE     SRAM

#define BUSWIDTH      (16)

#ifdef MMU_enabled
        #define FSADDR        0x00000000
        #define RSADDR        0x00020000
        #define SBADDR        0x0002c000
        #define IBADDR        0x00020000  /* ISR vector table start address
                                             note: Reflect the changes in init.s */
#else
        #define FSADDR        0x00000000
        #define RSADDR        0x60000000
        #define SBADDR        0x80000000
        #define IBADDR        0x60000000  /* ISR vector table start address
        	        	                           note: Reflect the changes in init.s */
#endif


/* ********************************************************************* */
/* Interface macro & data definition */


/* ********************************************************************* */
/* Interface function definition */

void FRMWRK_vStartTicker(U32 wTicksPerSec); /* wTicksPerSec = 10...10000 ticks per sec */
void APP_vMain(void);


/* ********************************************************************* */

#ifdef __cplusplus
}
#endif

#endif /*__FRMWRK_H__*/

⌨️ 快捷键说明

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