📄 uhal.h.bak
字号:
#include "../ucos-ii/includes.h" /* uC/OS interface */
#ifndef __UHAL_H__
#define __UHAL_H__
//for CPU Define
#include "..\ucos-ii\Os_cpu.h"
#include "..\target\44b.h"
#include "..\target\option.h"
//for LCD
//void Delay(INT32 time);
//void uHAL_InitPort(void);
/*** Called by ARMTargetInit() ***/
//Define pre & post-process routines for Interrupt.
void uHAL_DefineIRQ(void *is, void *iq, void *n);
//Initialze interrupts.
void uHAL_InitInterrupts(void);
//Initialize timer that is used OS.
void uHAL_InitTimers(void);
/*** Called by ARMTargetStart() ***/
//Request the system timer.
INT32 uHAL_RequestSystemTimer(void *tick, const INT8U *str);
//Start system timer & enable the interrupt.
void uHAL_InstallSystemTimer(void);
//for debugging
void BreakPoint(void);
void Led_Display(INT32 data);
// to make uCOS-II happy
INT32 uHAL_Printf(const INT8 *format, ...);
void Cache_Flush(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -