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

📄 hal_platform.h

📁 用C语言设计的EPSON LCD控制器S1D13700驱动。
💻 H
字号:
//===========================================================================
//	HAL_PLATFORM.H
// (Tabs set to every 4)
//---------------------------------------------------------------------------
//  Copyright (c) 2002 Epson Research and Development, Inc.
//  All Rights Reserved.
//===========================================================================


#ifndef _HAL_PLATFORM_H_
#define _HAL_PLATFORM_H_


#include "datatype.h"



// Allow both standard C and C++ linkages.
#ifdef __cplusplus
   extern "C" {
#endif


Boolean		halpDelayUS( UInt32 microseconds );
int			halpMapPhysicalToVirtual( UInt32 PhysicalAddr, UInt32 *pVirtualAddr, UInt32 *pBlockSize );
int			halpAddInterruptRegister( UInt32 EnableReg, UInt32 StatusReg, UInt32 BitMask, UInt32 AccessSize, Boolean fRawStatus );
int			halpSetISRCallback( void(*pISRCallback)(void) );

UInt32		halpDirectRead(  int Size, UInt32 Address );
void		halpDirectWrite( int Size, UInt32 Address, UInt32 Value, UInt32 Count );
void		halpDirectReadData(  int Size, UInt32 Address,       void* pData, UInt32 Count );
void		halpDirectWriteData( int Size, UInt32 Address, const void* pData, UInt32 Count );
void		halpSetProcessExclusivity( Boolean fExclusive );


#ifdef __cplusplus
   }
#endif


#endif	// _HAL_PLATFORM_H_

⌨️ 快捷键说明

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