S1D13705 Epson Electronics America, Inc., S1D13705 Datasheet - Page 158
![no-image](/images/no-image-200.jpg)
S1D13705
Manufacturer Part Number
S1D13705
Description
S1d13705 Embedded Memory Lcd Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
1.S1D13705.pdf
(480 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D1370500A1
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Company:
Part Number:
S1D13705F00A100
Manufacturer:
EPSON
Quantity:
1 831
Part Number:
S1D13705F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
- Current page: 158 of 480
- Download datasheet (4Mb)
Page 66
10 Sample Code
10.1 Sample code using the S1D13705 HAL API
/*
**===========================================================================
** SAMPLE1.C - Sample code demonstrating a program using the S1D13705 HAL.
**-------------------------------------------------------------------------
** Created 1998, Vancouver Design Centre
** Copyright (c) 1998, 1999 Epson Research and Development, Inc.
** All Rights Reserved.
**-------------------------------------------------------------------------
**
** The HAL API code is configured for the following:
**
** 320x240 Single Color 4-bit STN
** 8 bpp - 70 Hz Frame Rate (6 MHz CLKi)
** High Performance enabled
**
**===========================================================================
*/
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "hal.h"
#include "appcfg.h"
/*--------------------------------------------------------------------------*/
void main(void)
{
S1D13705
X27A-G-002-02
int
/*
** Initialize the HAL.
** The call to seRegisterDevice() actually prepares the HAL library
** for use. The S1D13705 is not accessed, except to read the revision
** code register.
*/
if (ERR_OK != seRegisterDevice(&HalInfo))
{
}
ChipId;
printf("\nERROR: Could not register S1D13705 device.");
exit(1);
Included in the sample code section are two examples of programing the S1D13705. The
first sample uses the HAL to draw a red square, wait for user input then rotates to portrait
mode and draws a blue square. The second sample code performs the same procedures but
directly accesses the registers of the S1D13705. These code samples are for example
purposes only.
/* Structures, constants and prototypes. */
/* HAL configuration information. */
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 01/02/13
Related parts for S1D13705
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![S1D-0515WD](/images/no-image3.png)
Part Number:
Description:
Dc Solid State Relay
Manufacturer:
BRIGHT TOWARD INDUSTRIAL CO.,LTD.
Datasheet:
![S1D/DB](/images/no-image3.png)
Part Number:
Description:
1.0A Surface Mount Glass Passivated Rectifier
Manufacturer:
Vishay Telefunken
![S1D-T3](/images/no-image3.png)
Part Number:
Description:
1.0A SURFACE MOUNT GLASS PASSIVATED RECTIFIER
Manufacturer:
Won-Top Electronics
![S1D-NL](/images/manufacturer_photos/0/2/252/fairchild_semiconductor_tmb.jpg)
Part Number:
Description:
S1a - S1m General Purpose Rectifiers
Manufacturer:
Fairchild Semiconductor
Datasheet:
![S1D-L](/images/no-image3.png)
Part Number:
Description:
1 Amp Silicon Rectifier 50 to 1000 Volts
Manufacturer:
MCC [Micro Commercial Components]
Datasheet:
![MSK844](/images/no-image3.png)
Part Number:
Description:
Optical Devicepbs-prism For Blue
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
![MSK955](/images/no-image3.png)
Part Number:
Description:
Optical Device Ir-cut Filter
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
![MSK114](/images/no-image3.png)
Part Number:
Description:
Optical Device
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
![S1D10605](/images/no-image3.png)
Part Number:
Description:
S1d15000 Series Lcd Driver With Ram
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
![S1D12200](/images/no-image3.png)
Part Number:
Description:
S1d12000 Series Lcd Driver Ic Technical Manual Technical Manual
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
![S1D13521](/images/no-image3.png)
Part Number:
Description:
S1d13521 Epd Controller
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
![S1D13710](/images/no-image3.png)
Part Number:
Description:
S1d13710 Mobile Graphics Engine
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
![S1D13711](/images/no-image3.png)
Part Number:
Description:
S1d13711 Mobile Graphics Engine
Manufacturer:
Epson Electronics America, Inc.
Datasheet:
![S1D15715](/images/no-image3.png)
Part Number:
Description:
Liquid Crystal Display =lcd Driver
Manufacturer:
Epson Electronics America, Inc.
Datasheet: