/* Copyright: Hagen Reddmann mailto HaReddmann at T-Online dot de Author: Hagen Reddmann Remarks: this Copyright must be included known Problems: none Version: 2.1. 2004 Description: Graphic Library for Nokia 6100 Display and compatible */ .nolist #include "glcd.inc" #include "regs.inc" .list .text .global glcdDisplayOff glcdDisplayOff: ldi T1, DISPLAY_OFF fcall glcdDispCommand ldi T1, SLEEP_IN fcall glcdDispCommand ldi T1, BOOSTER_OFF fcall glcdDispCommand glcdDisplayOff1: #if defined (SPI_IN_LOWER_IO_REGS) sbic LCD_SPCR, SPE #else sbis LCD_PORT, LCD_CS #endif rjmp glcdDisplayOff1 ret .end