Header Files - Epson S1D13704 Technical Manual

Embedded memory color lcd controller
Table of Contents

Advertisement

Page 72

10.1.3 Header Files

/*
**===========================================================================
** HAL.H - Typical HAL header file for use with programs written to
**
use the S1D13704 HAL.
**---------------------------------------------------------------------------
** Created 1998, Vancouver Design Centre
** Copyright (c) 1998 Epson Research and Development, Inc.
** All Rights Reserved.
**===========================================================================
*/
#ifndef _HAL_H_
#define _HAL_H_
#pragma warning(disable:4001)
#include "hal_regs.h"
/*-------------------------------------------------------------------------*/
typedef unsigned char
typedef unsigned short WORD;
typedef unsigned long
typedef unsigned int
typedef
int
#ifdef INTEL
typedef BYTE
far *LPBYTE;
typedef WORD
far *LPWORD;
typedef UINT
far *LPUINT;
typedef DWORD far *LPDWORD;
#else
typedef BYTE
typedef WORD
typedef UINT
typedef DWORD
#endif
#ifndef LOBYTE
#define LOBYTE(w)
#endif
#ifndef HIBYTE
#define HIBYTE(w)
#endif
#ifndef LOWORD
#define LOWORD(l)
#endif
#ifndef HIWORD
#define HIWORD(l)
#endif
S1D13704
X26A-G-002-03
The header files included here are the required for the HAL sample to compile correctly.
// Disable the 'single line comment' warning.
BYTE;
DWORD;
UINT;
BOOL;
*LPBYTE;
*LPWORD;
*LPUINT;
*LPDWORD;
((BYTE)(w))
((BYTE)(((UINT)(w) >> 8) & 0xFF))
((WORD)(DWORD)(l))
((WORD)((((DWORD)(l)) >> 16) & 0xFFFF))
*
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/12

Advertisement

Table of Contents
loading

Table of Contents