Beginnings of AT91SAM3U LCD driver

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2613 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-04-18 16:39:12 +00:00
parent f1571fd333
commit 03099d1df0
11 changed files with 1606 additions and 9 deletions
+3 -3
View File
@@ -469,7 +469,7 @@ EXTERN void up_udelay(useconds_t microseconds);
* If an architecture supports a framebuffer, then it must provide APIs
* to access the framebuffer as follows:
*
* up_fbinitialize - Initialize the video hardware
* up_fbinitialize - Initialize the framebuffer video hardware
* up_fbgetvplane - Return a a reference to the framebuffer object for
* the specified video plane. Most OSDs support
* multiple planes of video.
@@ -490,11 +490,11 @@ EXTERN void fb_uninitialize(void);
* If an architecture supports a parallel or serial LCD, then it must
* provide APIs to access the LCD as follows:
*
* up_lcdinitialize - Initialize the video hardware
* up_lcdinitialize - Initialize the LCD video hardware
* up_lcdgetdev - Return a a reference to the LCD object for
* the specified LCD. This allows support for
* multiple LCD devices.
* up_lcduninitialize - Unitialize the framebuffer support
* up_lcduninitialize - Unitialize the LCD support
*
***************************************************************************/
+3 -3
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/fb.h
*
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -184,8 +184,8 @@ typedef uint16_t fb_coord_t;
struct fb_videoinfo_s
{
uint8_t fmt; /* see FB_FMT_* */
fb_coord_t xres; /* Resolution in pixels */
fb_coord_t yres;
fb_coord_t xres; /* Horizontal resolution in pixel columns */
fb_coord_t yres; /* Vertical resolution in pixel rows */
uint8_t nplanes; /* Number of color planes supported */
};