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

📄 edm19264.i

📁 电表解决方案概要power_meter_r8c2g_source_code
💻 I
📖 第 1 页 / 共 5 页
字号:




















 


union{
	struct{
		char	clk0:1;								 
		char	clk1:1;								 
		char	b2:1;
		char	txept:1;							 
		char	b4:1;
		char	nch:1;								 
		char	ckpol:1;							 
		char	uform:1;							 
	} bit;
	char	byte;
} u0c0_addr, u1c0_addr, u2c0_addr;

 





























 


union{
	struct{
		char	te:1;								 
		char	ti:1;								 
		char	re:1;								 
		char	ri:1;								 
		char	irs:1;
		char	rrm:1;
		char	b6:1;
		char	b7:1;
	} bit;
	char	byte;
} u0c1_addr, u1c1_addr, u2c1_addr;

 





























 


union{
	struct{
		char	b0:1;
		char	b1:1;
		char	b2:1;
		char	b3:1;
		char	b4:1;
		char	b5:1;
		char	b6:1;
		char	b7:1;
		char	b8:1;
		char	b9:1;
		char	b10:1;
		char	b11:1;
		char	oer:1;								 
		char	fer:1;								 
		char	per:1;								 
		char	sum:1;								 
	} bit;
	struct{
		char	low;								 
		char	high;								 
	} byte;
	unsigned short	word;
} u0rb_addr, u1rb_addr, u2rb_addr;

 


























 



union{
	struct{
		char	b0:1;
		char	b1:1;
		char	b2:1;
		char	b3:1;
		char	b4:1;
		char	b5:1;
		char	b6:1;
		char	b7:1;
		char	b8:1;
		char	b9:1;
		char	b10:1;
		char	b11:1;
		char	b12:1;
		char	b13:1;
		char	b14:1;
		char	b15:1;
		char	b16:1;
		char	b17:1;
		char	b18:1;
		char	b19:1;
	} bit;
	struct{
		char	low;								 
		char	mid;								 
		char	high;								 
		char	nc;									 
	} byte;

	unsigned long	dword;
} rmad0_addr,rmad1_addr;











union{
	struct{
		char	b0:1;
		char	b1:1;
		char	b2:1;
		char	b3:1;
		char	b4:1;
		char	b5:1;
		char	b6:1;
		char	b7:1;
		char	b8:1;
		char	b9:1;
		char	b10:1;
		char	b11:1;
		char	b12:1;
		char	b13:1;
		char	b14:1;
		char	b15:1;
	} bit;
	struct{
		char	low;								 
		char	high;								 
	} byte;
	unsigned int	word;
} u0tb_addr, u1tb_addr, u2tb_addr, ad0_addr;

















#line 2 "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/edm19264.c"

#line 1 "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/s6b0108.h"

 



	
 


 

















 




 









 











 







 
 

 
 
 
 

 
 


 












 



extern void Delay(int);									 
extern void Long_Delay(int);							 
extern void Write_0108_Reg(unsigned char);				 
extern void Write_0108_Data(unsigned char);				 
extern void Set_XY(unsigned char, unsigned char);		 
extern void Init_0108();								 
extern void Clr_Screen_0();								 
extern void Clr_Screen_1();
extern void Clr_Screen_2();

extern void Set_Screen3();								 
extern void Set_Screen4();
extern void Set_Screen5();
extern void Set_Screen5_1();

			 
extern void Set_Char(unsigned char, unsigned char, unsigned char, unsigned char far *);

			 
extern void Set_Caracter(unsigned char, unsigned char, unsigned char, unsigned char far *);

			 
extern void Set_Two_Page(unsigned char, unsigned char, unsigned char far *);

			 
extern void FSH_Set_Two_Page(unsigned char, unsigned char, unsigned char far *);

			 
extern void Comp_Set_Two_Page(unsigned char, unsigned char, unsigned char far *);

			 
extern void Set_Screen(unsigned char, unsigned char far *);
 

			 
extern void Comp_Set_Screen(unsigned char, unsigned char, unsigned char, unsigned char far *);

			 
extern void Flash_Set_Screen(unsigned char, unsigned char, unsigned char, unsigned char far *);

			 
extern void Change_Set_Screen(unsigned char cs, unsigned char x3, unsigned char y3, unsigned char far * new_bitmap, unsigned char far * bitmap);

			 
extern unsigned char Data_Convert(unsigned char);	 

			 
extern unsigned char Read_0108_Data();				 

 

			 
extern unsigned char flash_switch_flag;

 





far extern const unsigned char nBitmapDot0_KaiJi_1[];			 
far extern const unsigned char  nBitmapDot0_KaiJi_2[];			 
far extern const unsigned char  nBitmapDot0_KaiJi_3[];			 

 

extern const unsigned char nBitmapDot_num_0[];			 
extern const unsigned char nBitmapDot_num_1[];			 
extern const unsigned char nBitmapDot_num_2[];			 
extern const unsigned char nBitmapDot_num_3[];			 
extern const unsigned char nBitmapDot_num_4[];			 
extern const unsigned char nBitmapDot_num_5[];			 
extern const unsigned char nBitmapDot_num_6[];			 
extern const unsigned char nBitmapDot_num_7[];			 
extern const unsigned char nBitmapDot_num_8[];			 
extern const unsigned char nBitmapDot_num_9[];			 

 



extern const unsigned char nBitmapDot0_1[];			 
extern const unsigned char nBitmapDot0_2[];			 
extern const unsigned char nBitmapDot0_3[];			 
 
extern const unsigned char nBitmapDot0_5[];			 
extern const unsigned char nBitmapDot0_6[];			 

 



extern const unsigned char nBitmapDot1_1[];			 
extern const unsigned char nBitmapDot1_2[];			 
extern const unsigned char nBitmapDot1_3[];			 
 
extern const unsigned char nBitmapDot1_5[];			 
extern const unsigned char nBitmapDot1_6[];			 

extern const unsigned char nBitmapDot1_DanXi_2[];			 
extern const unsigned char nBitmapDot1_DanXi_3[];			 
extern const unsigned char nBitmapDot1_PiaoXi_2[];			 
extern const unsigned char nBitmapDot1_DanTuo_2[];			 
extern const unsigned char nBitmapDot1_TeShu_2[];			 

extern const unsigned char nBitmapDot1_JiYi[];				 
extern const unsigned char nBitmapDot1_QiangLi[];			 
extern const unsigned char nBitmapDot1_QingRou[];			 
extern const unsigned char nBitmapDot1_KuaiSu[];			 
extern const unsigned char nBitmapDot1_BiaoZhun[];			 
extern const unsigned char nBitmapDot1_ErTong[];			 
extern const unsigned char nBitmapDot1_MaoZhiPin[];			 
extern const unsigned char nBitmapDot1_SiZhiPin[];			 
extern const unsigned char nBitmapDot1_DanXi[];				 
extern const unsigned char nBitmapDot1_PiaoXi[];			 
extern const unsigned char nBitmapDot1_DanTuo[];			 
extern const unsigned char nBitmapDot1_TeShu[];				 
 


extern const unsigned char nBitmapDot2_GongNeng_1[];			 
extern const unsigned char nBitmapDot2_GongNeng_2[];			 
extern const unsigned char nBitmapDot2_GongNeng_3[];			 
extern const unsigned char nBitmapDot2_GongNeng_4[];			 
extern const unsigned char nBitmapDot2_GongNeng_5[];			 
extern const unsigned char nBitmapDot2_GongNeng_6[];			 
extern const unsigned char nBitmapDot2_GongNeng_7[];			 
extern const unsigned char nBitmapDot2_GongNeng_8[];			 
extern const unsigned char nBitmapDot2_GongNeng_9[];			 

extern const unsigned char nBitmapDot2_ShuiWei_1[];			 
extern const unsigned char nBitmapDot2_ShuiWei_2[];			 
extern const unsigned char nBitmapDot2_ShuiWei_3[];			 

extern const unsigned char nBitmapDot2_JinPao_1[];			 
extern const unsigned char nBitmapDot2_JinPao_3[];			 

extern const unsigned char nBitmapDot2_XiDi_1[];			 
extern const unsigned char nBitmapDot2_XiDi_3[];			 

extern const unsigned char nBitmapDot2_PiaoXi_1[];			 
extern const unsigned char nBitmapDot2_PiaoXi_3[];			 

extern const unsigned char nBitmapDot2_TuoShui_1[];			 
extern const unsigned char nBitmapDot2_TuoShui_3[];			 

extern const unsigned char nBitmapDot2_LiuShui_1[];			 
extern const unsigned char nBitmapDot2_LiuShui_3[];			 

extern const unsigned char nBitmapDot2_FengGan_1[];			 
extern const unsigned char nBitmapDot2_FengGan_3[];			 

extern const unsigned char nBitmapDot2_YuYue_1[];			 
extern const unsigned char nBitmapDot2_YuYue_3[];			 

 



extern const unsigned char nBitmapDot3_GuoCheng_1[];			 
extern const unsigned char nBitmapDot3_GuoCheng_2[];			 
extern const unsigned char nBitmapDot3_GuoCheng_3[];			 

 



extern const unsigned char nBitmapDot4_Process_2[];			 
extern const unsigned char nBitmapDot4_Process_3[];			 


extern const unsigned char nBitmapDot4_JinShui_1[];		 
extern const unsigned char nBitmapDot4_JinShui_2[];		 
extern const unsigned char nBitmapDot4_JinShui_3[];		 
extern const unsigned char nBitmapDot4_JinShui_4[];		 

extern const unsigned char nBitmapDot4_JinPao_1[];		 
extern const unsigned char nBitmapDot4_JinPao_2[];		 
extern const unsigned char nBitmapDot4_JinPao_3[];		 
extern const unsigned char nBitmapDot4_JinPao_4[];		 

extern const unsigned char nBitmapDot4_XiDi_1[];		 
extern const unsigned char nBitmapDot4_XiDi_2[];		 
extern const unsigned char nBitmapDot4_XiDi_3[];		 
extern const unsigned char nBitmapDot4_XiDi_4[];		 

extern const unsigned char nBitmapDot4_PiaoXi_1[];		 
extern const unsigned char nBitmapDot4_PiaoXi_2[];		 
extern const unsigned char nBitmapDot4_PiaoXi_3[];		 
extern const unsigned char nBitmapDot4_PiaoXi_4[];		 

extern const unsigned char nBitmapDot4_TuoShui_1[];		 
extern const unsigned char nBitmapDot4_TuoShui_2[];		 
extern const unsigned char nBitmapDot4_TuoShui_3[];		 
extern const unsigned char nBitmapDot4_TuoShui_4[];		 

extern const unsigned char nBitmapDot4_YuYue_1[];		 
extern const unsigned char nBitmapDot4_YuYue_2[];		 
extern const unsigned char nBitmapDot4_YuYue_3[];		 
extern const unsigned char nBitmapDot4_YuYue_4[];		 

extern const unsigned char nBitmapDot4_Tubedry_1[];		 
extern const unsigned char nBitmapDot4_Tubedry_2[];		 
extern const unsigned char nBitmapDot4_Tubedry_3[];		 
extern const unsigned char nBitmapDot4_Tubedry_4[];		 

extern const unsigned char nBitmapDot4_JinShui_1_2[];		 
extern const unsigned char nBitmapDot4_JinPao_1_2[];		 
extern const unsigned char nBitmapDot4_XiDi_1_2[];			 
extern const unsigned char nBitmapDot4_PiaoXi_1_2[];		 
extern const unsigned char nBitmapDot4_TuoShui_1_2[];		 
extern const unsigned char nBitmapDot4_YuYue_1_2[];			 
extern const unsigned char nBitmapDot4_Tubedry_1_2[];		 

 



extern const unsigned char nBitmapDot4_JinShui_ZT_2[];		 

extern const unsigned char nBitmapDot4_JinShui_ZT_1[];		 
extern const unsigned char nBitmapDot4_JinPao_ZT_1[];		 
extern const unsigned char nBitmapDot4_XiDi_ZT_1[];			 
extern const unsigned char nBitmapDot4_PiaoXi_ZT_1[];		 
extern const unsigned char nBitmapDot4_TuoShui_ZT_1[];		 
extern const unsigned char nBitmapDot4_YuYue_ZT_1[];		 
extern const unsigned char nBitmapDot4_Tubedry_ZT_1[];		 

 

extern const unsigned char nBitmapDot4_ZT_FS1[];		 
extern const unsigned char nBitmapDot4_ZT_FS2[];		 

 

extern const unsigned char nBitmapDot4_LS_1[];		 
extern const unsigned char nBitmapDot4_CW_1[];		 

extern const unsigned char nBitmapDot4_LS_2[];		 
extern const unsigned char nBitmapDot4_CW_2[];		 

extern const unsigned char nBitmapDot4_SY_2_1[];	 
extern const unsigned char nBitmapDot4_SY_2_2[];	 
extern const unsigned char nBitmapDot4_SY_2_3[];	 
extern const unsigned char nBitmapDot4_SY_2_4[];	 
extern const unsigned char nBitmapDot4_SY_2_5[];	 
extern const unsigned char nBitmapDot4_SY_2_6[];	 

 

extern const unsigned char nBitmapDot4_FZ_3[];		 
extern const unsigned char nBitmapDot4_CI_3[];		 
extern const unsigned char nBitmapDot4_XS_3[];		 

extern const unsigned char nBitmapDot4_GN_3_1[];	 
extern const unsigned char nBitmapDot4_GN_3_2[];	 
extern const unsigned char nBitmapDot4_GN_3_3[];	 
extern const unsigned char nBitmapDot4_GN_3_4[];	 

extern const unsigned char nBitmapDot4_CW_3_1[];	 
extern const unsigned char nBitmapDot4_CW_3_2[];	 
extern const unsigned char nBitmapDot4_CW_3_3[];	 
extern const unsigned char nBitmapDot4_CW_3_4[];	 
extern const unsigned char nBitmapDot4_CW_3_5[];	 
extern const unsigned char nBitmapDot4_CW_3_6[];	 

 



extern const unsigned char nBitmapDot5_JieShu_1[];	 
extern const unsigned char nBitmapDot5_JieShu_2[];	 
extern const unsigned char nBitmapDot5_JieShu_3[];	 

 



extern const unsigned char nBitmapDot3_QiDong_1[];	 
extern const unsigned char nBitmapDot3_QiDong_2[];	 
extern const unsigned char nBitmapDot3_QiDong_3[];	 

 

extern const unsigned char nBitmapDot2_Num_0_0[];		 
extern const unsigned char nBitmapDot2_Num_0[];			 
extern const unsigned char nBitmapDot2_Num_1[];			 
extern const unsigned char nBitmapDot2_Num_2[];			 
extern const unsigned char nBitmapDot2_Num_3[];			 
extern const unsigned char nBitmapDot2_Num_4[];			 

extern const unsigned char nBitmapDot2_Num_5[];			 
extern const unsigned char nBitmapDot2_Num_6[];			 
extern const unsigned char nBitmapDot2_Num_7[];			 
extern const unsigned char nBitmapDot2_Num_8[];			 
extern const unsigned char nBitmapDot2_Num_9[];			 

extern const unsigned char nBitmapDot2_Num_10[];			 
extern const unsigned char nBitmapDot2_Num_11[];			 
extern const unsigned char nBitmapDot2_Num_12[];			 
extern const unsigned char nBitmapDot2_Num_13[];			 
extern const unsigned char nBitmapDot2_Num_14[];			 
extern const unsigned char nBitmapDot2_Num_15[];			 

extern const unsigned char nBitmapDot2_Num_16[];			 
extern const unsigned char nBitmapDot2_Num_17[];			 
extern const unsigned char nBitmapDot2_Num_18[];			 
extern const unsigned char nBitmapDot2_Num_19[];			 
extern const unsigned char nBitmapDot2_Num_20[];			 

extern const unsigned char nBitmapDot2_Num_21[];			 
extern const unsigned char nBitmapDot2_Num_22[];			 
extern const unsigned char nBitmapDot2_Num_23[];			 
extern const unsigned char nBitmapDot2_Num_24[];			 
extern const unsigned char nBitmapDot2_Num_25[];			 

 

extern const unsigned char nBitmapDot2_LiuShui_Num_1[];			 
extern const unsigned char nBitmapDot2_LiuShui_Num_2[];			 
extern const unsigned char nBitmapDot2_LiuShui_Num_3[];			 
extern const unsigned char nBitmapDot2_LiuShui_Num_4[];			 
extern const unsigned char nBitmapDot2_LiuShui_Num_5[];			 
extern const unsigned char nBitmapDot2_LiuShui_Num_6[];			 

extern const unsigned char nBitmapDot2_JinPao_Num_0[];			 
extern const unsigned char nBitmapDot2_JinPao_Num_10[];			 
extern const unsigned char nBitmapDot2_JinPao_Num_20[];			 
extern const unsigned char nBitmapDot2_JinPao_Num_30[];			 
extern const unsigned char nBitmapDot2_JinPao_Num_40[];			 

extern const unsigned char nBitmapDot2_FengGan_Num_0_5[];			 
extern const unsigned char nBitmapDot2_FengGan_Num_1_0[];			 
extern const unsigned char nBitmapDot2_FengGan_Num_2_0[];			 
extern const unsigned char nBitmapDot2_FengGan_Num_3_0[];			 
extern const unsigned char nBitmapDot2_FengGan_Num_4_0[];			 
extern const unsigned char nBitmapDot2_FengGan_Num_0_0[];			 



#line 3 "D:/Projects/Haier/General Washer/workspace/General_Washer/General_Washer/src/edm19264.c"

 

 





 

far const unsigned char nBitmapDot0_KaiJi_1[] =                   
{
      0xFF,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
      0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
      0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
      0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
      0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
      0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
      0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
      0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
      0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x40,0xC0,0xC0,0x40,0x40,0xC0,
      0x80,0x00,0x40,0xC0,0xC0,0x40,0x40,0xC0,
      0xC0,0x00,0xC0,0xC0,0x80,0x00,0x00,0xC0,
      0xC0,0x00,0x40,0xC0,0xC0,0x40,0x40,0xC0,
      0xC0,0x00,0x80,0xC0,0x40,0x40,0x40,0xC0,
      0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x80,0xFF,0xFF,0x04,0x0C,0xFF,
      0xF3,0x00,0x80,0xFF,0xFF,0x84,0x8E,0xC0,
      0xE1,0x00,0xFF,0xFF,0x03,0x07,0x0E,0xFF,
      0xFF,0x00,0x80,0xFF,0xFF,0x84,0x8E,0xC0,
      0xE1,0x00,0x61,0xE3,0x86,0x84,0x8C,0xF9,
      0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,
      0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x82,0x82,
      0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
      0xFF,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
      0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,

⌨️ 快捷键说明

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