Epson S1D13504 Technical Manual page 194

Color graphics lcd/crt controller
Hide thumbs Also See for S1D13504:
Table of Contents

Advertisement

Page 56
**
through the array writing each element to a control register.
**
3) The pointer assignment for the register offset does not work on
**
Intel 16 bit platforms.
**
**---------------------------------------------------------------------------
**
Created 1998, Epson Research & Development
**
**
Copyright (c) 1998 Epson Research and Development, Inc.
**
All rights reserved.
**---------------------------------------------------------------------------
**
**
$Header:
$
**
**
$Revision: $
**
**
$Log:
$
**
**===========================================================================
*/
unsigned char LUT8[8*3] = {
0x00, 0x00, 0x00,
0x02, 0x02, 0x05,
0x04, 0x04, 0x0A,
0x06, 0x06, 0x0F,
0x09, 0x09, 0x00,
0x0B, 0x0B, 0x00,
0x0D, 0x0D, 0x00,
0x0F, 0x0F, 0x00,
};
/*
** REGISTER_OFFSET points to the starting address of the S1D13504 registers
*/
#define REGISTER_OFFSET
void main(void)
{
unsigned char * pRegs;
unsigned char * pLUT;
int idx;
int rgb;
pRegs = REGISTER_OFFSET;
/*
** Initialize the chip.
*/
/*
** Step 1: Enable the host interface.
**
** Register 1B: Miscellaneous Disable - host interface enabled, half frame
**
*/
S1D13504
X19A-G-002-07
Vancouver Design Centre
((unsigned char *) 0x1234)
buffer enabled.
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/01

Advertisement

Table of Contents
loading

Table of Contents