⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bitmap.h

📁 用PIC24F128GA006做的CF与TFT液晶演示
💻 H
字号:

/*************************************************************************************
 Programmer	: Stanley Huang, The FAE of Hsinchu office.
 Date		: 2007.05.20
 
 Processor	: PIC24FJ128GA006
 Compiler	: C30 v2.03
 Board		: Microchip Taiwan PIC24 64-pin demo board
 		  TPO 1.77" 128x160xRGB LTPS panel, TD018THEM2,
 
 Purpose	: This file is used to define Bitmap file structure.
 
 *************************************************************************************/

typedef struct 
{
  union 
  {
	struct {
		unsigned char	Headerbuffer[54];
	       };
    	   
	struct {
		unsigned int	bfType;			// Identifier, 'B'=0x42, 'W'=0x4D
		unsigned long	bfSize; 		// Total File length
		unsigned int	bfReserved1;
		unsigned int	bfReserved2; 
		unsigned long	bfOffBits;
		unsigned long	biSize;          	// size of structure, in bytes
		unsigned long	biWidth;         	// bitmap width, in pixels
		unsigned long	biHeight;        	// bitmap height, in pixels
		unsigned int	biPlanes;
		unsigned int	biBitCount;
		unsigned long	biCompression;
		unsigned long	biSizeImage;
		unsigned long	biXPelsPerMeter;
		unsigned long	biYPelsPerMeter;
		unsigned long	biClrUsed;
		unsigned long	biClrImportant;
	       };
  };
  
} BITMAPFILEHEADER;


typedef struct 
{
 	unsigned char	Rdata;
 	unsigned char	Gdata;
 	unsigned char	Bdata;
 	  
} BITMAPPIXEL;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -