www.pudn.com > bu1566.rar > BUxx_aDRT.h


/* ************************************************************************ */ 
/*                                                                          */ 
/* ROHM BU15xx demo firmware on MD2306                                      */ 
/*     Client   : ROHM Co., Ltd.                                       */ 
/*     End User :                                                           */ 
/*                                                                          */ 
/*     Processor: ARM-7TDMI(THUMB Mode)                                     */ 
/*     Dev.Env. : ARM-SDTv2.51                                              */ 
/*                                                                          */ 
/*     API:LCD DIRECT control Routines Header                               */ 
/*                                                                          */ 
/*     file     : BUxx_aDRT.h                                               */ 
/*     Auther   : J.SATO(NTC)                                              */ 
/*     Date     : 2004/Jul./1	                                            */ 
/*                                                                          */ 
/*     Copyright (c) 2002-04 Naritagiken Co., Ltd. All rights reserved.     */ 
/* ************************************************************************ */ 
/* History:								    */ 
/* 2004/Jul./1 Rev 1.00 create		                                    */ 
/*                                                                          */ 
/* ************************************************************************ */ 
 
#if !defined BUXX_ADRT_H_INCLUDED 
#define	BUXX_ADRT_H_INCLUDED 
/* ************************************************** */ 
/*		     INCLUDE FILES		      */ 
/* ************************************************** */ 
#include  
#include  
#include "BUxx_setuptable.h" 
#include "BUxx_aDSC.h" 
 
/* ************************************************** */ 
/*		        TYPEDEF		    	      */ 
/* ************************************************** */ 
 
/* ************************************************** */ 
/*		        DEFINES			      */ 
/* ************************************************** */ 
#if defined DEBUG 
#define DEBUG_WRITE(arg)	debug_write arg 
#else 
#define DEBUG_WRITE(arg) 
#endif 
 
/* ************************************************** */ 
/*		    GLOBAL VARIABLE		      */ 
/* ************************************************** */ 
 
/* ************************************************** */ 
/*		    GLOBAL FUNCTIONS		      */ 
/* ************************************************** */ 
 
/* ***** lcd direct ***** */ 
 
void aDRT_clear(const UINT16 st_x, const UINT16 st_y, const UINT16 xsize, 
                const UINT16 ysize, const UINT32 back_color); 
void aDRT_write_rgb565(const UINT16 * rgb_data, const UINT16 st_x, 
                       const UINT16 st_y); 
void aDRT_transparent_write_rgb565(const UINT16 * rgb_data, 
                                   const UINT16 st_x, const UINT16 st_y, 
                                   const UINT16 c_mask); 
void aDRT_write_string(const char *string, const int space, 
                       const UINT16 st_x, const UINT16 st_y); 
void debug_write(const UINT16 st_x, const UINT16 st_y, const char *format, 
                 ...); 
 
extern const UINT16 *const fonttable[]; 
 
 
#endif                          /* BUXX_ADRT_H_INCLUDED */