Vancouver Design Center; Sample Code; Introduction; Sample Code Using The S1D13505 Hal Api - Epson S1D13505 Technical Manual

Embedded ramdac lcd/crt controller
Table of Contents

Advertisement

Page 84

12 Sample Code

12.1 Introduction

12.1.1 Sample code using the S1D13505 HAL API

*/
// Sample code using 1355HAL API
*/
*/
**-------------------------------------------------------------------------
**
** Created 1998, Epson Research & Development
** Vancouver Design Centre
** Copyright (c) Epson Research and Development, Inc. 1998. All rights reserved.
**
** The HAL API code is configured for the following:
**
** 25.175 MHz ClkI
** 640x480 8 bit dual color STN panel @60Hz
** 50 ns EDO, 32 ms (self) refresh time
** Initial color depth - 8 bpp
**
**-------------------------------------------------------------------------
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "hal.h"
constants and prototypes. */
#include "appcfg.h"
ration information. */
/*--------------------------------------------------------------------------*/
void main(void)
{
int ChipId;
int Device;
/*
** Initialize the HAL.
S1D13505
X23A-G-003-07
There are two included examples of programming the S1D13505 color graphics controller.
First is a demonstration using the HAL library and the second without. These code samples
are for example purposes only. Lastly, are three header files that may make some of the
structures used clearer.
Epson Research and Development

Vancouver Design Center

/* Structures,
/* HAL configu-
Programming Notes and Examples
Issue Date: 01/02/05

Advertisement

Table of Contents
loading

Table of Contents