Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 195 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 195 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 191Page - STMicroelectronics UM0851 Datasheet HTML 192Page - STMicroelectronics UM0851 Datasheet HTML 193Page - STMicroelectronics UM0851 Datasheet HTML 194Page - STMicroelectronics UM0851 Datasheet HTML 195Page - STMicroelectronics UM0851 Datasheet HTML 196Page - STMicroelectronics UM0851 Datasheet HTML 197Page - STMicroelectronics UM0851 Datasheet HTML 198Page - STMicroelectronics UM0851 Datasheet HTML 199Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 195 / 245 page
background image
UM0851
Audio/video drivers
Doc ID 16604 Rev 2
195/245
void (*fb_fillrect)(struct fb_info *info, const struct fb_fillrect *rect);
/*Accelerated method to copy a rectangular area from one screen region to another
*/
void (*fb_copyarea)(struct fb_info *info,const struct fb_copyarea *region);
/* Ioctl interface to support device-specific commands */
int (*fb_ioctl)(struct fb_info *info, unsigned int cmd, unsigned long arg);
/* ... */
};
Framebuffer sources
/dev/fb0 also allows several IOCTLs on it, by which a lot of information about the hardware
can be queried and set. The color map handling works via IOCTLs, too. Look into
<linux/fb.h> for more information on what IOCTLs exist and on which data structures they
work. Here's just a brief overview:
8.1.4
How to support a new CLCD panel
There is a separate application note (AN2641) which discusses this in detail. However in
short, for a new CLCD panel at least following needs to be checked in the device driver:
Step 1: CLCD panel information should be defined in platform/amba device of arch.
Step 2: CLCD panel should be supported by ARM PL110 Controller. The types of panels
supported by controller are listed in the corresponding SPEAr user manual).
8.1.5
CLCD driver usage
A framebuffer device is a memory device like /dev/mem and it has the same features. You
can read it, write it, seek to some location in it and mmap () it (the main usage). The
difference is just that the memory that appears in the special file is not the whole memory,
but the frame buffer of the video hardware.
Data structures for using Framebuffer
The following three structures must be understood, because they are needed for any user
application that uses framebuffer.
1.
Variable information pertaining to the video card is held in struct fb_var_screeninfo.
This structure contains fields such as the X-resolution, Y-resolution, bits required to
Table 50.
Framebuffer information in source code
Directory or resource
Purpose
drivers/video/
The frame buffer core layer and low-level frame buffer driversreside in this
directory
include/linux/fb.h
Generic frame buffer structures are defined in this directory
include/video/
Chipset-specific headers stay inside this directory
drivers/video/fbmem.c
Creates the /dev/fbX character devices and is the front end for handling
frame buffer ioctl commands issued by user applications



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com