s65_glcd_V01

所属分类:单片机开发
开发工具:C/C++
文件大小:323KB
下载次数:3
上传日期:2011-01-30 05:35:41
上 传 者marcinmaster999
说明:  LCD c65 code for avr

文件列表:
V01\font\clock20x37.font (1256, 2004-03-30)
V01\font\clock20x37.h (10142, 2004-03-30)
V01\font\clock27x49.font (1820, 2004-03-30)
V01\font\clock27x49.h (13736, 2004-03-30)
V01\font\eye.font (222, 2004-03-30)
V01\font\eye.h (3517, 2004-03-30)
V01\font\f12x12.font (740, 2004-03-30)
V01\font\f12x12.h (6824, 2004-03-30)
V01\font\f13x16.font (1518, 2004-03-30)
V01\font\f13x16.h (11781, 2004-03-30)
V01\font\f15x22.font (2014, 2004-03-30)
V01\font\f15x22.h (14954, 2004-03-30)
V01\font\f8x11.font (684, 2004-03-30)
V01\font\f8x11.h (6456, 2004-03-30)
V01\font\f8x8.font (374, 2004-03-30)
V01\font\f8x8.h (4474, 2004-03-30)
V01\font\f9x13.font (1304, 2004-04-16)
V01\font\f9x13.h (10540, 2004-04-16)
V01\font\f9x14.font (1534, 2004-03-30)
V01\font\f9x14.h (11875, 2004-03-30)
V01\font\Font.exe (231936, 2004-03-30)
V01\font\Font.ini (287, 2005-10-09)
V01\font\Font.template (2332, 2004-04-13)
V01\font\nums.font (1056, 2004-03-30)
V01\font\nums.h (8830, 2004-04-13)
V01\glcd\glcd.h (6777, 2005-10-07)
V01\glcd\glcd.inc (6378, 1997-01-03)
V01\glcd\glcd_charscallback.asm (1553, 2005-10-07)
V01\glcd\glcd_charswidth.asm (731, 2005-10-07)
V01\glcd\glcd_circle.asm (13018, 2005-10-07)
V01\glcd\glcd_clearscreen.asm (4644, 2005-10-07)
V01\glcd\glcd_dispoff.asm (796, 2005-10-07)
V01\glcd\glcd_dispon.asm (672, 2005-10-07)
V01\glcd\glcd_dogetcolor.asm (982, 2005-10-07)
V01\glcd\glcd_dosavecoords.asm (890, 2005-10-07)
V01\glcd\glcd_fontlibglobals.asm (730, 2005-10-07)
V01\glcd\glcd_frame.asm (4010, 2005-10-07)
V01\glcd\glcd_init.asm (9225, 1997-03-16)
V01\glcd\glcd_init_interrupt.asm (8788, 2005-10-07)
V01\glcd\glcd_intfont.asm (25855, 2005-10-07)
... ...

This is a link library for the Siemens S65, M65, SX65 and RX65 mobile phone display. This port copyright 2005 by Christian Kranz. Based on the glcd copyright 2004 Hagen Reddmann, HaReddmann at T-Online dot de The S65-Display is a 132x176x65536 color display. The display use a slave SPI communication The controller is unknown and can be used with an SPI clock up to 13 MHz. The software was used with an ATmega128 at 8MHz SPI clock. The graphic library is for WinAVR C compiler, but use only gcc assembler source, handmade. What supports the library ? - colors - pixel setting - lines - rectangles with border and filling, transparent and full color - ellipses and circles with border and filling, transparent and full color - proportional and fixed fonts with multiple colors - fonts are highly compressed with an table based RLE coding, like a mini Huffmann - fontroutines use an separate window for display texts (glcd_Window) - a full featured font creator for MS Window is included - with fonts it is easy possible to design own bitmaps and icons with transparency - all font routines such as glcdPrint() can work on nullterminated strings stored in Flash or RAM - the font data access can be controlled trough own callbacks to support external I2C EEPROMs or other external memories, thus there is no need to store large fonts in flash - all display operation can be truncated with a clipping rect - all display operation supports transparency - 65536 color modes - own bitmap data can be used - with some hopefully small changes on the base display functions in glcd00.S it should be easily possible to support other controllers, mainly all highlevel routines such as glcdLine(), glcdEllipse() are hardware independend. - display resolution can be upto 254x254 without any changes - inculded are a LFSR-SG (linear feedback shift register shrinking generator) as random generator with period 2**63-2 - this RNG is faster, stronger and far more resource fiendly as the gcc inbuild LCG rand() function - i have included 2x 1000 random and certified irreducible polynomials for the LFSR Whats not supported ? - the library don't use double buffering of display RAM, otherwise we need 46 KByte SRAM - the S65-Display don't support reading of internal display RAM, thus any operation, such as pixel XOR'ing, that need reading of display can't be supported - the adressspace for the font routines is assumed to 16bit and don't support 24bits directly. But with installing an own font read callback there exists the possibility to access any memory space in chunks of ***Kb. Thus take care on useing fonts on MCU's with 128 Kb flash. - one font can't and must not excide ***Kb. - i can't give expensive support, thus use the lib as is without any warrenties IMPORTANT! please remember the library use hardware SPI and you have to ensure that ~SS Pin is configured as output or is driven high to ensure SPI Master. Best choice, with single Master SPI, is to use ~SS Pin as ~CS for the Nokia LCD. But sometimes on ATmega8 as example the ~SS Pin is equal to OCR1B and we want to use this Pin as PWM Output. So far as this Pin is an output there exists no problems. best regards, Christian&Hagen

近期下载者

相关文件


收藏者