?? system.h
字號:
#ifndef __SYSTEM_DEFINED
#define __SYSTEM_DEFINED
//--------------------------------------------------------------------------//
// Header files //
//--------------------------------------------------------------------------//
#include <cdefBF533.h>
#include <sys\exception.h>
//--------------------------------------------------------------------------//
// Types declaration //
//--------------------------------------------------------------------------//
#define BYTE unsigned char
#define WORD unsigned short
#define DWORD unsigned long
#define BOOL bool
#define TRUE true
#define FALSE false
//--------------------------------------------------------------------------//
// Symbolic constants //
//--------------------------------------------------------------------------//
// addresses for Led and Light
#define pLed (volatile unsigned char *)0x20210000
#define pLight (volatile unsigned char *)0x20200000
//--------------------------------------------------------------------------//
// Prototypes //
//--------------------------------------------------------------------------//
// in file Initialization.c
void Init_UART(void);
void Init_SDRAM(void);
void Init_EBIU(void);
void Init_Interrupts(void);
// in file ISRs.c
EX_INTERRUPT_HANDLER(UART_ISR);
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -