Epson SED1352 Technical Manual page 160

Graphics lcd controller
Table of Contents

Advertisement

Page 64
// Step 2: Wait for LCD power supply to drop to zero volts
//
For the SDU1353B0C, wait about a half second.
//
Delay(500);
//
// Step 3: Enter Power Save Mode
//
val = ReadRegister(3);
val &= 0x3f;
val |= 0x80;
WriteRegister(3, val);
printf("Press any key to cancel power saving\n");
getch();
//
// The following are the steps to exit a power save mode.
//
//
// Step 1: Exit Power Save Mode
//
val = ReadRegister(3);
val &= 0x3f;
WriteRegister(3, val);
//
// Step 2: Enable LCDE (turn on LCD power supply).
//
For the SDU1353B0C, set LCDE bit to 1.
//
val = ReadRegister(1);
val |= 0x10;
WriteRegister(1, val);
//
// Step 3: Turn on display.
//
val = ReadRegister(1);
val |= 0x80;
WriteRegister(1, val);
ShowMenu();
}
SED1352
X16-BG-007-04
// Set power saving mode 2
// Cancel power saving mode 2
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 98/10/08

Advertisement

Table of Contents
loading

Table of Contents