My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
sw_fb.c File Reference
#include <sw_board.h>
#include <sw_fb.h>
#include <mem_mng.h>
#include <fat32.h>
#include <sw_debug.h>
#include <sw_mem_functions.h>
#include <sw_timer_functions.h>

Functions

void sw_fb_init ()
 
void sw_fb_exit ()
 
void sw_fb_write (s32int offset, u32 color)
 
s32int get_sw_window_info (s32int info_num)
 
void sw_flush_cache ()
 flushes the cache More...
 
void init_pl111 (u32 clcd_base, s32int width, s32int height, u32 frame_base)
 
s32int init_lcd (s32int width, s32int height)
 
void screen_clear (int width, int height)
 
void write_media_player_data (void)
 

Variables

u32 * g_framebuff
 
s32int fb_open = 0
 
s32int xres = 1024
 
s32int yres = 600
 
s32int bpp = 16
 
u8 rgb444 = 0
 

Function Documentation

s32int get_sw_window_info ( s32int  info_num)
s32int init_lcd ( s32int  width,
s32int  height 
)
void init_pl111 ( u32  clcd_base,
s32int  width,
s32int  height,
u32  frame_base 
)
Parameters
clcd_base
width
height
frame_base
void screen_clear ( int  width,
int  height 
)
Parameters
width
height
void sw_fb_exit ( )
void sw_fb_init ( )
void sw_fb_write ( s32int  offset,
u32  color 
)
void sw_flush_cache ( )

flushes the cache

void write_media_player_data ( void  )

Variable Documentation

s32int bpp = 16
s32int fb_open = 0
u32* g_framebuff
u8 rgb444 = 0
s32int xres = 1024
s32int yres = 600