sed1374 ETC-unknow, sed1374 Datasheet - Page 160

no-image

sed1374

Manufacturer Part Number
sed1374
Description
Sed1374 Embedded Memory Color Lcd Controller
Manufacturer
ETC-unknow
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sed137460B5
Manufacturer:
HIROSE
Quantity:
49 000
Part Number:
sed1374F0A
Manufacturer:
EPSON
Quantity:
650
Part Number:
sed1374FOA
Manufacturer:
NICHIA
Quantity:
12 000
Part Number:
sed1374FOA
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Page 64
10.1.2 Sample code without using the SED1374 HAL API
/*
**===========================================================================
** SAMPLE2.C - Sample code demonstating a direct access of the SED1374.
**-------------------------------------------------------------------------
** Created 1998, Vancouver Design Centre
** Copyright (c) 1998 Epson Research and Development, Inc.
** All Rights Reserved.
**-------------------------------------------------------------------------
**
** The sample code using direct SED1374 access
** will configure for the following:
**
** 320x240 Single Color 8-bit STN (format 2)
** 4 bpp - 70 Hz Frame Rate (25 MHz CLKi)
** High Performance enabled
**
** Notes:
** 1) This code is pseudo-C code intended to show technique.
**
** 2) Register setup is done with discreet writes rather than being table
**
**
** 3) The array of register values as produced by 1374CFG.EXE is included
**
**
**
**===========================================================================
*/
#include <conio.h>
/*
** Look-up table for 4 bpp color.
*/
unsigned char Color_4BPP[16*3] =
{
SED1374
X26A-G-002-02
It is assumed that pointers can access the relevant memory addresses.
driven. This allows for clearer commenting. It is more efficient to
loop through the array writing each element to a control register.
here. I used the values directly rather than refer to the register
array in the sample code.
0x00, 0x00, 0x00,/* BLACK
0x00, 0x00, 0x0A,/* BLUE
0x00, 0x0A, 0x00,/* GREEN
0x00, 0x0A, 0x0A,/* CYAN
0x0A, 0x00, 0x00,/* RED
0x0A, 0x00, 0x0A,/* PURPLE */
0x0A, 0x0A, 0x00,/* YELLOW */
0x0A, 0x0A, 0x0A,/* WHITE
0x00, 0x00, 0x00,/* BLACK
This second sample demonstrates exactly the same sequence as the first howerver the HAL
is not used, all manipulation is done by manually adjusting the registers.
*/
*/
*/
*/
*/
*/
*/
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 99/04/27

Related parts for sed1374