uhal.h.bak

来自「这是实验室在进行嵌入式开发的时候的首选」· BAK 代码 · 共 32 行

BAK
32
字号
#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 + =
减小字号Ctrl + -
显示快捷键?