?? uhal.h
字號:
#if !defined __UHAL_H
#define __UHAL_H
/* ARM board targetting source file.
file name: uhal.h
date: 2001. 9. 1
made by cho dong-seok
homepage: www.pusanssm.com/~cthr36/
*/
//Define board cooperation
#define SAMSUNG
//#define NONE
//Indicate debug mode.
//#define DEBUG
//Define version of uC/OS Hardware Associated Layer code.
#define uHAL_VERSION_STRING "Version 1.00 LCN"
//Output through LCD or serial port to print information.
int uHALr_printf(const char *format, ...);
/*** Called by ARMTargetInit() ***/
//Reset memory management unit.
void uHALr_ResetMMU(void);
//Define pre & post-process routines for Interrupt.
void uHALir_DefineIRQ(void *is, void *iq, void *n);
//Initialze interrupts.
void uHALr_InitInterrupts(void);
//Initialize timer that is used OS.
void uHALr_InitTimers(void);
/*** Called by ARMTargetStart() ***/
//Request the system timer.
//return value 1:success 0:fail
int uHALr_RequestSystemTimer(void *tick, const unsigned char *str);
//Start system timer & enable the interrupt.
void uHALr_InstallSystemTimer(void);
void SysENInterrupt(unsigned ISPC_BIT);
void SysDISInterrupt(unsigned ISPC_BIT);
void Uart_SendByte(int data);
void Port_Init(void);
//for debugging
void BreakPoint(void);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -